platform_bootable_recovery/minadbd
Rahul Chaudhry b29f23f7e7 Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap.
static_cast is preferable to reinterpret_cast when casting from void*
pointers returned by malloc/calloc/realloc/mmap calls.

Discovered while looking at compiler warnings (b/26936282).

Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mma
Change-Id: Iaffd537784aa857108f6981fdfd82d0496eb5592
Merged-In: I151642d5a60c94f312d0611576ad0143c249ba3d
2016-11-15 23:24:54 -08:00
..
Android.mk minadbd: rename adb_server_main to minadbd_main. 2016-08-30 13:15:12 -07:00
fuse_adb_provider.cpp Minor minadbd cleanup. 2016-06-16 19:57:20 -07:00
fuse_adb_provider.h Switch minadb over to C++. 2015-04-10 13:59:19 -07:00
fuse_adb_provider_test.cpp Remove unused libutils references. 2015-03-13 22:33:38 -07:00
minadbd.cpp minadbd: rename adb_server_main to minadbd_main. 2016-08-30 13:15:12 -07:00
minadbd.h minadbd: rename adb_server_main to minadbd_main. 2016-08-30 13:15:12 -07:00
minadbd_services.cpp Use static_cast to cast pointers returned by malloc/calloc/realloc/mmap. 2016-11-15 23:24:54 -08:00
README.txt Kill of most of the remainder of minadbd. 2015-02-19 15:41:35 -08:00

minadbd is now mostly built from libadbd. The fuse features are unique to
minadbd, and services.c has been modified as follows:

  - all services removed
  - all host mode support removed
  - sideload_service() added; this is the only service supported.  It
    receives a single blob of data, writes it to a fixed filename, and
    makes the process exit.