summaryrefslogtreecommitdiffstats
path: root/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
...
| * | am 1fa3cdf0: Merge "Move offline-pdk to where the source is." into jb-mr2-devYing Wang2013-05-221-22/+0
| |\ \ | | |/ | | | | | | | | | * commit '1fa3cdf0cbc9bc788a313eda5d3ca3e2ad77fcc4': Move offline-pdk to where the source is.
| | * Move offline-pdk to where the source is.Ying Wang2013-05-211-22/+0
| | | | | | | | | | | | Change-Id: I10b05c28954a27f11482751e14287ec21422dce2
* | | am 9da9947d: am 05002977: Merge "Include support library resource modules ↵Jeff Brown2013-05-131-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | when building docs." into jb-mr2-dev * commit '9da9947d4c7a2195bf440f0af8370f0667af90bf': Include support library resource modules when building docs.
| * | am 05002977: Merge "Include support library resource modules when building ↵Jeff Brown2013-05-131-1/+2
| |\ \ | | |/ | | | | | | | | | | | | | | | docs." into jb-mr2-dev * commit '0500297714a26c744304a323267d5d642f351326': Include support library resource modules when building docs.
| | * Include support library resource modules when building docs.Jeff Brown2013-05-101-1/+2
| | | | | | | | | | | | | | | Bug: 8175766 Change-Id: I0f0739d9f71386bae6c4ad23a2eb33e38d6a2d87
* | | am 2ff5a479: am a6303d8a: am 67430e8e: am 2e52e815: am 6b6fd9d1: am ↵Dirk Dougherty2013-05-071-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | 36aa2759: am b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings. * commit '2ff5a47999c5a6801e2e0530fbe1bf80ed25e8f1': Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.
| * | am a6303d8a: am 67430e8e: am 2e52e815: am 6b6fd9d1: am 36aa2759: am ↵Dirk Dougherty2013-05-061-0/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | b582c678: Doc change: delete legacy intl dir and update toc\'s for devsite-compatible lang strings. * commit 'a6303d8a211543a8e1f5fd2425024a1c4d0f88ff': Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.
| | * am 67430e8e: am 2e52e815: am 6b6fd9d1: am 36aa2759: am b582c678: Doc change: ↵Dirk Dougherty2013-05-061-0/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | delete legacy intl dir and update toc\'s for devsite-compatible lang strings. * commit '67430e8ec735c83f1f3304da7037e518aef6128a': Doc change: delete legacy intl dir and update toc's for devsite-compatible lang strings.
| | | * Doc change: delete legacy intl dir and update toc's for devsite-compatible ↵Dirk Dougherty2013-05-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | lang strings. Change-Id: Ie390d2bbd8abc0d063c1f313797e8c3d21d27490
* | | | Pack preloaded framework assets in a texture atlasRomain Guy2013-05-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the Android runtime starts, the system preloads a series of assets in the Zygote process. These assets are shared across all processes. Unfortunately, each one of these assets is later uploaded in its own OpenGL texture, once per process. This wastes memory and generates unnecessary OpenGL state changes. This CL introduces an asset server that provides an atlas to all processes. Note: bitmaps used by skia shaders are *not* sampled from the atlas. It's an uncommon use case and would require extra texture transforms in the GL shaders. WHAT IS THE ASSETS ATLAS The "assets atlas" is a single, shareable graphic buffer that contains all the system's preloaded bitmap drawables (this includes 9-patches.) The atlas is made of two distinct objects: the graphic buffer that contains the actual pixels and the map which indicates where each preloaded bitmap can be found in the atlas (essentially a pair of x and y coordinates.) HOW IS THE ASSETS ATLAS GENERATED Because we need to support a wide variety of devices and because it is easy to change the list of preloaded drawables, the atlas is generated at runtime, during the startup phase of the system process. There are several steps that lead to the atlas generation: 1. If the device is booting for the first time, or if the device was updated, we need to find the best atlas configuration. To do so, the atlas service tries a number of width, height and algorithm variations that allows us to pack as many assets as possible while using as little memory as possible. Once a best configuration is found, it gets written to disk in /data/system/framework_atlas 2. Given a best configuration (algorithm variant, dimensions and number of bitmaps that can be packed in the atlas), the atlas service packs all the preloaded bitmaps into a single graphic buffer object. 3. The packing is done using Skia in a temporary native bitmap. The Skia bitmap is then copied into the graphic buffer using OpenGL ES to benefit from texture swizzling. HOW PROCESSES USE THE ATLAS Whenever a process' hardware renderer initializes its EGL context, it queries the atlas service for the graphic buffer and the map. It is important to remember that both the context and the map will be valid for the lifetime of the hardware renderer (if the system process goes down, all apps get killed as well.) Every time the hardware renderer needs to render a bitmap, it first checks whether the bitmap can be found in the assets atlas. When the bitmap is part of the atlas, texture coordinates are remapped appropriately before rendering. Change-Id: I8eaecf53e7f6a33d90da3d0047c5ceec89ea3af0
* | | | am e9ae6822: resolved conflicts for merge of 1f6e789b to jb-mr2-dev-plus-aospKenny Root2013-04-301-1/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'e9ae6822a80cb1f3bd13c785f1727c03d35da52e': Track change to JSSE provider
| * | | resolved conflicts for merge of 1f6e789b to jb-mr2-dev-plus-aospKenny Root2013-04-291-1/+2
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: I06c05d637613215b6d83df3e29cd495f6a5a0176
| | * | | Track change to JSSE providerKenny Root2013-04-291-1/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I35e824e47ad758ab6408e91e2ba5dcda053a82f5
* | | | | am eb6403e9: resolved conflicts for merge of bfdd2566 to jb-mr2-dev-plus-aospJeff Brown2013-04-261-14/+23
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'eb6403e95d601b62be7b4610599e72fd329f2666': Generate SDK docs for v7 support library packages.
| * | | | resolved conflicts for merge of bfdd2566 to jb-mr2-dev-plus-aospJeff Brown2013-04-261-14/+23
| |\ \ \ \ | | | |/ / | | |/| | | | | | | Change-Id: I42e15a186561222edd0d97047fcd207208a87282
| | * | | Generate SDK docs for v7 support library packages.Jeff Brown2013-04-261-13/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change required fixing some bugs in how AAPT handles qualified symbols such as "android:layout_height" when generating JavaDoc links. The links were being generated using the package name of the generated R file rather than the package name of the referenced symbol. These broken links caused the JavaDoc build to fail. Bug: 8175766 Change-Id: I52fbef27825a25abca960cb44b59c2132267e9d6
* | | | | am 09e9e1a5: am edced26f: Merge "Add ContentValues & CursorWindow to ↵Nick Pelly2013-04-231-1/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | framework.aidl" into jb-mr2-dev * commit '09e9e1a5e7e3dd161b73f4254f239cab0410438a': Add ContentValues & CursorWindow to framework.aidl
| * | | | am edced26f: Merge "Add ContentValues & CursorWindow to framework.aidl" into ↵Nick Pelly2013-04-231-1/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit 'edced26f162b0232338064e569fe651b8c805f93': Add ContentValues & CursorWindow to framework.aidl
| | * | | Add ContentValues & CursorWindow to framework.aidlNick Pelly2013-04-231-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By adding these stubs, they will be automatically added to framework.aidl in sdk builds. This makes it easier for unbundled apps to pass these objects across AIDL calls. ContentValues & CursorWindow are already public Parcelables. It is an oversight that they were not already in framework.aidl. There are a lot of other public Parcelables that are missing from framework.aidl. This just fixes two commonly requested ones. Change-Id: If61e19b1206da1680413d9ea03de87a90b6d233e
* | | | | am d5af1724: am 176c245c: Merge "Hardware geofence API changes." into jb-mr2-devJaikumar Ganesh2013-04-171-0/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'd5af1724500f42e389cc2b8a0be9bacdf53405ad': Hardware geofence API changes.
| * | | | am 176c245c: Merge "Hardware geofence API changes." into jb-mr2-devJaikumar Ganesh2013-04-171-0/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '176c245cefaf08f33043e9b67cb787efeb6ad662': Hardware geofence API changes.
| | * | | Hardware geofence API changes.Jaikumar Ganesh2013-04-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/8631678 1.GeofenceRequest object created. 2.MonitorState moved to a new callback 3.getTypeAndStatus separated to 2 calls. 4.Binder death implemented 5.geofenceChange callback name changed. 6.Parameters rearranged in some calls. Change-Id: I8fe9621186aeb49efeb0eef1821a2556afe03cfc
* | | | | am 2f8caf6a: am dac80f63: Merge "add api level 18 to javadoc \'since\' tags" ↵Scott Main2013-04-111-0/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr2-dev * commit '2f8caf6a74c5d6bcddbc4fae57945c83e85788bd': add api level 18 to javadoc 'since' tags
| * | | | am dac80f63: Merge "add api level 18 to javadoc \'since\' tags" into jb-mr2-devScott Main2013-04-111-0/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'dac80f633977308ec87cca1dea802e81d0fb75ad': add api level 18 to javadoc 'since' tags
| | * | | add api level 18 to javadoc 'since' tagsScott Main2013-04-111-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Iea2e13ef2fad47d6a19d380b5655aeeda0414930
* | | | | am 7228e1ae: am 8ce470dd: GPS Hardware geofencing.Jaikumar Ganesh2013-04-101-0/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '7228e1aeb9a2af8fad410749e2adc61266b2649a': GPS Hardware geofencing.
| * | | | am 8ce470dd: GPS Hardware geofencing.Jaikumar Ganesh2013-04-101-0/+4
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '8ce470dd4ba0608abb6b5eae117cefca927af96b': GPS Hardware geofencing.
| | * | | GPS Hardware geofencing.Jaikumar Ganesh2013-04-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for doing geofencing in hardware. Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
* | | | | resolved conflicts for merge of 29211d3a to masterJohn Spurlock2013-04-051-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
| * | | | am 5feceebb: New NotificationListenerService.Daniel Sandler2013-04-051-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '5feceebb892d4cb5777cea3c6174b206705d456b': New NotificationListenerService.
| | * | | New NotificationListenerService.Daniel Sandler2013-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the best and only way for apps to listen for notifications: create a NotificationListenerService, wait for the NoMan to bind to you (as a result of the user checking a box somewhere in Settings and agreeing to a scary dialog box), and you'll start receiving notification posted and dismissed callbacks. Your service, while enabled, will also be able to clear one or all notifications. Use this power wisely. This change moves StatusBarNotification out of com.android.internal into android.service.notification. [Internal customers, including System UI and early users of the system-only listener binder API, will need to be updated.] Bug: 8199624 Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
* | | | | am 3c7df09d: am 6fdcb168: Merge "Adjust the HttpResponseCache for OkHttp."Brian Carlstrom2013-04-031-1/+2
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '3c7df09d4dd00fb23da888726182f00788957cd9': Adjust the HttpResponseCache for OkHttp.
| * | | | am 6fdcb168: Merge "Adjust the HttpResponseCache for OkHttp."Brian Carlstrom2013-04-031-1/+2
| |\ \ \ \ | | |/ / / | |/| / / | | |/ / | | | | * commit '6fdcb168a7a0a4f508063019ca4d2ec35458f892': Adjust the HttpResponseCache for OkHttp.
| | * | Adjust the HttpResponseCache for OkHttp.jwilson2013-04-031-1/+2
| | | | | | | | | | | | | | | | Change-Id: I2a80f3c3f30a3d15673d797fa3d1211286f75030
| | * | Revert "makefile changes for gcm javadocs"Robert Ly2013-02-121-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5f9922d7c3bce158e4c7a58929d4075e7c91e32e Change-Id: I310f27b231c6d64d6d407ae451b189a6ecf6b34f
* | | | am 901b77c6: am ca3d655d: Merge "Use input transport for communications ↵Jeff Brown2013-03-261-2/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | between app and IME." into jb-mr2-dev * commit '901b77c63bc707c5785a149975e2113a43e38ad6': Use input transport for communications between app and IME.
| * | | Use input transport for communications between app and IME.Jeff Brown2013-03-261-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The input method manager service now supplies an input channel for communication while creating an IME session on behalf of the application. This change significanly reduces the overhead of IME event dispatch by using a standard input channel to send input events rather than using binder. This results in fewer thread context switches and fewer object allocations. What's more, the IME may perform additional batching of the motion events that it receives which may help it catch up if it is getting behind while processing them. Bug: 7984576 Bug: 8473020 Change-Id: Ibe26311edd0060cdcae80194f1753482e635786f
* | | | am 621c35e4: am 765ddb4b: Merge "Separate sessionCreated and finishedEvents ↵Michael Wright2013-03-221-0/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | callbacks" into jb-mr2-dev * commit '621c35e4fc83c2864a82da31aac767832ce86df6': Separate sessionCreated and finishedEvents callbacks
| * | | Separate sessionCreated and finishedEvents callbacksMichael Wright2013-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 8276952 Change-Id: If7051086c060fcce5d1e958ebbddec0784c851da
| * | | DO NOT MERGE - Full backup/restore now handles OBBs sensiblyChristopher Tate2013-03-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OBB backup/ restore is no longer handled within the target app process. This is done to avoid having to require that OBB-using apps have full read/write permission for external storage. The new OBB backup service is a new component running in the same app as the already-existing shared storage backup agent. The backup infrastructure delegates backup/restore of apps' OBB contents to this component (because the system process may not itself read/write external storage). From the command line, OBB backup is enabled by using new -obb / -noobb flags with adb backup. The default is noobb. Finally, a couple of nit fixes: - buffer-size mismatch between the writer and reader of chunked file data has been corrected; now the reading side won't be issuing an extra pipe read per chunk. - bu now explicitly closes the transport socket fd after adopting it. This was benign but triggered a logged warning about leaked fds. (Cherrypicked) Change-Id: I471f6348abcccb7bf1e1710b7beda9f23de53e14
* | | | Full backup/restore now handles OBBs sensiblyChristopher Tate2013-03-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OBB backup/ restore is no longer handled within the target app process. This is done to avoid having to require that OBB-using apps have full read/write permission for external storage. The new OBB backup service is a new component running in the same app as the already-existing shared storage backup agent. The backup infrastructure delegates backup/restore of apps' OBB contents to this component (because the system process may not itself read/write external storage). From the command line, OBB backup is enabled by using new -obb / -noobb flags with adb backup. The default is noobb. Finally, a couple of nit fixes: - buffer-size mismatch between the writer and reader of chunked file data has been corrected; now the reading side won't be issuing an extra pipe read per chunk. - bu now explicitly closes the transport socket fd after adopting it. This was benign but triggered a logged warning about leaked fds. Bug: 6718844 Change-Id: Ie252494e2327e9ab97cf9ed87c298410a8618492
* | | | am 530b2b1c: am a5513616: Merge "Add new WindowId for cross-process ↵Dianne Hackborn2013-03-051-1/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | monitoring of focus." into jb-mr2-dev * commit '530b2b1c98e3a3d86fd90cd91a08005370b8aa49': Add new WindowId for cross-process monitoring of focus.
| * | | Add new WindowId for cross-process monitoring of focus.Dianne Hackborn2013-03-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a class representing a window and providing limited interaction with it, which can be handed across processes. Change-Id: I22885f2064a9cc8c68d690a5858c2e28bbb6a0f3
* | | | Post-review Keyguard cleanup.Jim Miller2013-02-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove userActivity() from KeyguardService interface and call it on PowerManager directly - Split IKeyguardResult into two parts: IKeyguardShowCallback and IKeyguardExitCallback. - Misc other changes from the review. Change-Id: I3f679cfa5d3f8bc742f2b2259ac354045e89a87b
* | | | am 23b046c4: Merge "Initial version of BLE support for Bluedroid" into ↵Matthew Xie2013-02-281-0/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | jb-mr2-dev * commit '23b046c4af6672d96a4ef7bb27fb444e40f0bd5d': Initial version of BLE support for Bluedroid
| * | | Initial version of BLE support for BluedroidGanesh Ganapathi Batta2013-02-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | The API classes are hidden for now. Will unhide after API console approval. Change-Id: I8283dd562fd6189fdd15c866ef2efb8bbdbc4109
* | | | Move keyguard to its own process.Jim Miller2013-02-271-0/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation to moving keyguard into its own process. Moved keyguard source and resources into new .apk. Got basic test app working. Still need to implement MockPatternUtils and means to pass it into KeyguardService with local binder interface. Added new ACCESS_KEYGUARD_SECURE_STORAGE permission. Temporarily disabled USER_PRESENT broadcast. Remove unintentional whitespace changes in PhoneWindowManager, etc. Checkpoint basic working version. Move to systemui process. Synchronize with TOT. Sync with recent user API changes. Fix bug with returing interface instead of stub for IKeyguardResult. Create KeyguardServiceDelegate to allow for runtime-selectable local or remote interface. More keyguard crash robustness. Keyguard crash recovery working. Currently fails safe (locked). Fix selector view which was still using frameworks resources. Remove more references to internal framework variables. Use aliases for those we should move but currently have dependencies. Allow runtime switching between service and local mode. Fix layout issue on tablets where orientation was reading the incorrect constant from the framework. Remove more framework dependencies. Fix PIN keyboard input. Remove unnecessary copy of orientation attrs. Remove unused user selector widget and attempt to get multi user working again. Fix multi-user avatar icon by grabbing it from UserManager rather than directly since keyguard can no longer read it. Merge with AppWidget userId changes in master. Change-Id: I254d6fc6423ae40f6d7fef50aead4caa701e5ad2
* | | New INotificationListener interface.Daniel Sandler2013-02-191-0/+1
| | | | | | | | | | | | | | | | | | | | | Use with INotificationManager.registerListener(). Limited to system only right now. Change-Id: I65b6a8778267022cdc5e58eb75ae607a54b1cc52
* | | Remove the unnecessary framework-res-package-targetYing Wang2013-02-121-6/+0
| | | | | | | | | | | | | | | | | | | | | Now the dependency should be correctly established by framework_docs_LOCAL_JAVA_LIBRARIES. Change-Id: I4c0ed2d3fb2855539027c7a0eb663f5747ae3ebd
* | | am e47033f9: am 4d9aa17a: am 87db373a: am 2328a779: am 9eb66b2d: Merge ↵Robert Ly2013-02-121-27/+0
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | "Revert "makefile changes for gcm javadocs"" into jb-mr1-dev # Via Android Git Automerger (4) and Android (Google) Code Review (2) * commit 'e47033f9294056ab54c63608ab0a46de995fae63': Revert "makefile changes for gcm javadocs"