summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* libusbhost: Save endpoint ID in usb_request structMike Lockwood2011-02-141-1/+4
| | | | | Change-Id: I2cf189cee67c2efbcf919c8bae1447a6cb112f02 Signed-off-by: Mike Lockwood <lockwood@android.com>
* am 57cd87d9: am 1ace223f: Set default permissions for preloaded /data/media ↵Paul Eastham2011-02-071-0/+3
|\ | | | | | | | | | | | | aka /sdcard content. * commit '57cd87d9ccf57a2c874fafd1a0b8cab7ebea646f': Set default permissions for preloaded /data/media aka /sdcard content.
| * Set default permissions for preloaded /data/media aka /sdcard content.Paul Eastham2011-02-031-0/+3
| | | | | | | | Change-Id: Ia67cbdbfbcd423cf163f0fce5c6edc215564e782
* | Stop using netmask in the frameworkRobert Greenwalt2011-02-021-2/+3
| | | | | | | | | | | | | | This pushes prefixLength down as far as we can. bug:2542681 Change-Id: I94b7cde9d10e97ee2c071d92f25555cff5934f0b
* | libusbhost: Add call for synchronous bulk transfersMike Lockwood2011-01-271-9/+17
| | | | | | | | | | | | | | Also clean up and add timeout to control request transfer Change-Id: Ibc2d8ac64d0fa90e0a23e6225ce2c49b23bb0d97 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge "libnetutils: Clean all IPs assigned to the interface on cleaning"Dmitry Shmidt2011-01-271-0/+1
|\ \
| * | libnetutils: Clean all IPs assigned to the interface on cleaningDmitry Shmidt2011-01-271-0/+1
| | | | | | | | | | | | | | | Change-Id: Ic285bbb4b224fc4e62e88e76b8b448edbe814a17 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | Change our dhcp interface to be IPv6 compat.Robert Greenwalt2011-01-251-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Doesn't do IPv6, but removes v4-specific structures from the framework (netmask, ints for addrs) bug:2542681 Change-Id: I1110e6f32d42a472b104835a4298e18b391db0a7
* | | am 3b093369: am 1147407b: Merge "Remove unconditional swap from the android ↵Carl Shapiro2011-01-243-50/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | atomic operations suite." into honeycomb * commit '3b093369d85f2d248799073152ece79987d4b30b': Remove unconditional swap from the android atomic operations suite.
| * | Remove unconditional swap from the android atomic operations suite.Carl Shapiro2011-01-233-50/+0
| | | | | | | | | | | | | | | Bug: 3381237 Change-Id: I7bdc7c8eb4c1cc6303d96e40ca2f196a007c4dd2
* | | Merge "Bug 3361124 Remove drmioserver"Glenn Kasten2011-01-231-2/+2
|\ \ \
| * | | Bug 3361124 Remove drmioserverGlenn Kasten2011-01-201-2/+2
| | |/ | |/| | | | | | | | | | Change-Id: Ie3b20b487c1466737921567ab2d043e230356bf4 Note: safe to re-use the drmio uid/gid as no files were ever created.
* | | libusbhost: Add usb_device_connect_kernel_driver()Mike Lockwood2011-01-221-0/+7
| |/ |/| | | | | | | | | | | | | | | | | This can be used to ask the kernel to disconnect its driver for a device so usb_device_claim_interface() can claim it instead. Also increased size of descriptor buffer and added some debugging logs Change-Id: I4945196d957fb8493716eb9b7e5463c06b168ef1 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | libsysutils: Fix race condition in SocketListener thread.David 'Digit' Turner2011-01-191-1/+1
|/ | | | | | | | + Handle EINTR in accept(), write() and select() + Fix a memory leak when deleting the mClients list + Fix typo in SocketListener.h Change-Id: Ie68bb3e2dbefe0dfdaa22a5cd06a42dbc4c0f8aa
* Add separate permission and group for access to MTP USB driverMike Lockwood2011-01-101-0/+2
| | | | | | | | | Since the "usb" group and ACCESS_USB permission will be used by regular apps to access USB devices in host mode, we need a separate permission for the device side MTP driver. Change-Id: Ibb546b8726d61e041fc7c273f71929624ad1575b Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Tweak comments.Mike Lockwood2011-01-071-6/+2
| | | | | Change-Id: I45fdba7a94438f7c15fbca5dd65f07df9b522fb3 Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Support for multiple pending requests on a single endpointMike Lockwood2011-01-061-27/+23
| | | | | | | Add new usb_request struct to replace usb_endpoint, which is no longer needed. Change-Id: Ia3637b3431a3597caced41bfec677ef0b044a453 Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Add usb_device_get_name_from_unique_id()Mike Lockwood2010-12-291-2/+9
| | | | | | | This allows converting from unique IDs to USB device names Change-Id: I8e3b300790c01383aed8e3d4f547b54bcb7c2cd4 Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Add accessor for the USB device descriptorMike Lockwood2010-12-131-0/+2
| | | | | Change-Id: Ic3a54e2a06f3b4fa72f99b64025a911fbf525daf Signed-off-by: Mike Lockwood <lockwood@android.com>
* libusbhost: Add support for creating a usb_device struct from an existing fdMike Lockwood2010-12-131-0/+10
| | | | | | | We will use this for sharing USB file descriptors across address spaces via Binder Change-Id: Iadbd3e0a4178f79d1d778fdfd5175f6fe0e2aaf5 Signed-off-by: Mike Lockwood <lockwood@android.com>
* Merge changes I4dcadf8e,I166d2859Erik Gilling2010-12-091-0/+7
|\ | | | | | | | | | | * changes: libusbhost: add usb chapter 9 include to usbhost.h toolbox: add lsusb command
| * libusbhost: add usb chapter 9 include to usbhost.hErik Gilling2010-12-091-0/+7
| | | | | | | | Change-Id: I4dcadf8e8d9b25782351c9aeefb0d2cea81bbc9e
* | Cygwin needs HAVE_OFF64_T and fix descriptionKenny Root2010-12-088-9/+9
|/ | | | | | | | | During testing of compilation, it was discovered that Cygwin actually has off64_t. Also the description was wrong for HAVE_OFF64_T Change-Id: I6eb73d13da5a53fb03bf99ab7de82bfb6acab058
* Add HAVE_OFF64_T to AndroidConfig.hKenny Root2010-12-068-0/+40
| | | | | | | | For platforms that have _FILE_OFFSET_BITS=32 and need to access large files, we need some way to access 64-bit file APIs. This adds a hint to allow programs to choose alternate APIs if possible. Change-Id: Ifdc204df269350a22f52c0e4221e9d7d3b7a57fe
* Add new AID_MEDIA_RW group to control write access to /data/mediaMike Lockwood2010-10-291-0/+2
| | | | | | | BUG: 3113970 Change-Id: I233bd57e36d1e65847ead503e378304a958f492d Signed-off-by: Mike Lockwood <lockwood@android.com>
* Let SocketClient users write binary data to clients.Brad Fitzpatrick2010-10-271-0/+4
| | | | | | | | | | This is a dependency for the DNS proxy CLs. This CL also adds a new socket for the netd process to inherit which is owned by the inet group. (so only apps with the INTERNET permission can use the DNS proxy...) Change-Id: Ic3475c697913ba85805b4e49801b65e7a1d59289
* am ec70a9e1: am f2ff2112: Merge "Add config header file for Linux/PPC."Jean-Baptiste Queru2010-10-211-0/+321
|\ | | | | | | | | | | | | Merge commit 'ec70a9e1b5c12cde090749dc07e29b396b12f656' * commit 'ec70a9e1b5c12cde090749dc07e29b396b12f656': Add config header file for Linux/PPC.
| * am f2ff2112: Merge "Add config header file for Linux/PPC."Jean-Baptiste Queru2010-10-201-0/+321
| |\ | | | | | | | | | | | | | | | | | | Merge commit 'f2ff2112309d03674b88433276a57500b723fa9e' into gingerbread-plus-aosp * commit 'f2ff2112309d03674b88433276a57500b723fa9e': Add config header file for Linux/PPC.
| | * Add config header file for Linux/PPC.Marcus Comstedt2010-10-161-0/+321
| | | | | | | | | | | | Change-Id: I892e9d922ba4b4090bdb5de00d8cc7adf0123cfe
* | | am 67672e04: Merge a775965b from gingerbreadJean-Baptiste Queru2010-10-171-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '67672e04111a6cfdf572023a154675749c3fb550' * commit '67672e04111a6cfdf572023a154675749c3fb550': Add AID_NFC for use by the NFC service.
| * | Merge a775965b from gingerbreadJean-Baptiste Queru2010-10-151-0/+2
| |\ \ | | | | | | | | | | | | Change-Id: I8c08cca033ef3efe6badd2a7ba4674dfb02d6b60
| | * | Add AID_NFC for use by the NFC service.Nick Pelly2010-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I5b92f87dbacb9d855d99e10b3811f290fb64a144 Signed-off-by: Nick Pelly <npelly@google.com>
* | | | am 7e65ede6: am 9cd8057b: Merge "Define HAVE_STAT_ST_MTIM and disable it ↵Raphael Moll2010-10-157-0/+69
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | under MinGW/Cygwin." into gingerbread Merge commit '7e65ede62065925e29b5b18f253758bb280f9383' * commit '7e65ede62065925e29b5b18f253758bb280f9383': Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.
| * | | am 9cd8057b: Merge "Define HAVE_STAT_ST_MTIM and disable it under ↵Raphael Moll2010-10-147-0/+69
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | MinGW/Cygwin." into gingerbread Merge commit '9cd8057b6e8f5fc1254a4ed19e8127b5091b5dce' into gingerbread-plus-aosp * commit '9cd8057b6e8f5fc1254a4ed19e8127b5091b5dce': Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.
| | * | Define HAVE_STAT_ST_MTIM and disable it under MinGW/Cygwin.Raphael Moll2010-10-137-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used by build\libs\host\CopyFile.c Also define HAVE_PRINTF_ZD since printf %zd is not supported on MinGW/Cygwin. This is used by frmk/base/libs/utils/ZipFileRO.cpp Change-Id: I570ac5dd0a5b256ee67ad62433f1226597da3ea4
| * | | am 6be460d5: Add HAVE_PREAD definition to platformsKenny Root2010-10-047-0/+35
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '6be460d5b0b60aca4e8d649e2254f8a8920f4d98' into gingerbread-plus-aosp * commit '6be460d5b0b60aca4e8d649e2254f8a8920f4d98': Add HAVE_PREAD definition to platforms
| | * | Add HAVE_PREAD definition to platformsKenny Root2010-10-047-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ZipFileRO uses pread() to guarantee atomic reads at an offset, so use the HAVE_PREAD flag to trigger off of. The only platform that doesn't implement it directly is Windows. Change-Id: Ic927611dc45b75ff8f672ed59afee5be1ad07ab4
* | | | Add HAVE_PREAD definition to platformsKenny Root2010-10-047-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ZipFileRO uses pread() to guarantee atomic reads at an offset, so use the HAVE_PREAD flag to trigger off of. The only platform that doesn't implement it directly is Windows. Change-Id: I52d4e61010bb97e2d50af09943a2e94c0417bb5f
* | | | Use DMB ST for store fence.Andy McFadden2010-10-011-2/+1
| | | | | | | | | | | | | | | | Change-Id: Ic713f30fcec0f2d2eb486c549917575ff0afa82f
* | | | am df2f5a07: am d55f0adf: Qualify the source argument of atomic loads as a ↵Carl Shapiro2010-09-283-12/+20
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | const pointer. Merge commit 'df2f5a07aecac7be4ac2d1100668a0396fd256e7' * commit 'df2f5a07aecac7be4ac2d1100668a0396fd256e7': Qualify the source argument of atomic loads as a const pointer.
| * | | am d55f0adf: Qualify the source argument of atomic loads as a const pointer.Carl Shapiro2010-09-283-12/+20
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit 'd55f0adfb5ec4202ad5bd5d188e66c0f6a27b0aa' into gingerbread-plus-aosp * commit 'd55f0adfb5ec4202ad5bd5d188e66c0f6a27b0aa': Qualify the source argument of atomic loads as a const pointer.
| | * | Qualify the source argument of atomic loads as a const pointer.Carl Shapiro2010-09-283-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | Also normalizes the opening brace placment in a few locations. Change-Id: I8f518e933094337d5d3371321326ffc03b3a5f5a
* | | | am d1971c4c: resolved conflicts for merge of c29919c8 to gingerbread-plus-aospMike Lockwood2010-09-271-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | Merge commit 'd1971c4cac37fccdccd105f78f7252582685ccd9' * commit 'd1971c4cac37fccdccd105f78f7252582685ccd9': Add AID_GPS user ID for GPS daemon
| * | | resolved conflicts for merge of c29919c8 to gingerbread-plus-aospMike Lockwood2010-09-271-0/+2
| |\ \ \ | | |/ / | | | | | | | | Change-Id: I860b7690c40428839e45e2c2b122661b00d47e0e
| | * | Add AID_GPS user ID for GPS daemonMike Lockwood2010-09-271-0/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I2f8ffba40e3f5145b37296f19c698e08d768ce59 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | Add definitions for store barrier.Brian Carlstrom2010-09-243-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I usually call this a "store/store barrier" for maximum clarity, but the common way of describing it is "store barrier" or "store fence". This doesn't use "dmb st" yet since we're waiting on the toolchain update, but it gets the various macros and inline functions in place so we can use them in the VM. Bug 3003477 git cherry-pick 2ba5eec3972b4ce46feb677116534fcd3d136e0a Change-Id: Ifd2d3588be96aa529d490789436cf48c962021ba
* | | | resolved conflicts for merge of 3b5214a6 to masterBrian Swetland2010-09-191-0/+2
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: Id73c53c6c2e9c21eb9b1d1e624aaeb25097ea7a4
| * | | am 02863b95: add /vendor supportBrian Swetland2010-09-191-0/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '02863b957cfbfc302d3136ed78c0cba86accacd8' into gingerbread-plus-aosp * commit '02863b957cfbfc302d3136ed78c0cba86accacd8': add /vendor support
| | * | add /vendor supportBrian Swetland2010-09-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - look in /vendor/firmware/... in addition to /system/etc/firmware/... for firmware loading - add /vendor/bin to path before /system/bin - add /vendor/lib to ldpath before /system/lib - configure appropriate permissions for /system/vendor/bin - symlink /vendor -> /system/vendor Change-Id: I0c06ca1e38a44f0c7024cee6cea8907aa93a4532
* | | | am 1db75e7b: am 6fd75635: Merge "Fetch peer credentials for local sockets" ↵Kenny Root2010-09-151-0/+13
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | into gingerbread Merge commit '1db75e7b9b5159fa3bcf1cfdc4efba62c570d860' * commit '1db75e7b9b5159fa3bcf1cfdc4efba62c570d860': Fetch peer credentials for local sockets