34080 Commits

Author SHA1 Message Date
Kenny Root
c42f974e0b am be3267aa: Merge "Add a native library to test APKs" into jb-mr1-dev
* commit 'be3267aad1faacc0ee767e746018e7b795a9b151':
  Add a native library to test APKs
2012-09-09 15:20:38 -07:00
Kenny Root
57d1d078d6 am 785aaa2d: Merge "Add more testing for native libraries" into jb-mr1-dev
* commit '785aaa2d19c690248dfdb5db6e589474192709cf':
  Add more testing for native libraries
2012-09-09 15:18:55 -07:00
Kenny Root
be3267aad1 Merge "Add a native library to test APKs" into jb-mr1-dev 2012-09-09 15:18:35 -07:00
Kenny Root
785aaa2d19 Merge "Add more testing for native libraries" into jb-mr1-dev 2012-09-09 15:17:11 -07:00
Kenny Root
e64e097147 Add a native library to test APKs
In order to make sure we have unpacking and deletion working, add a fake
JNI library to every APK.

This can be expanded in the future to make sure replacement is working
correctly as well.

Change-Id: I1ad04c61df9518429aa17795b8a9d3608791cd8e
2012-09-09 15:12:16 -07:00
Kenny Root
7e921a157d Add more testing for native libraries
Make sure that native library paths have the correct permissions and
owners. Also make it easier to do a "String#startsWith" test so we can
get better errors when it fails.

Change the observer to have more sane semantics with a CountDownLatch
instead of weird synchronization on a local variable.

Change-Id: I2437e5ea886d6e6cb8b4edeab80d6053b79857d4
2012-09-09 15:12:16 -07:00
Dianne Hackborn
592877daab am 8727a731: Merge "A little cleanup." into jb-mr1-dev
* commit '8727a73127dde026a797511d28355868797f0e46':
  A little cleanup.
2012-09-09 14:49:11 -07:00
Dianne Hackborn
8727a73127 Merge "A little cleanup." into jb-mr1-dev 2012-09-09 14:45:58 -07:00
Dianne Hackborn
1b8ecc5031 A little cleanup.
Change-Id: Ie33fd1b02011606e67ce08df3cce887c07680c60
2012-09-09 14:41:34 -07:00
Kenny Root
e1f36f514f am 25c925e6: Throw ALL the exceptions! (in the PackageManagerTests)
* commit '25c925e6659e57f1cc8fef83be07f3917a108e3c':
  Throw ALL the exceptions! (in the PackageManagerTests)
2012-09-09 12:35:44 -07:00
Kenny Root
25c925e665 Throw ALL the exceptions! (in the PackageManagerTests)
Change all the test method headers to throw Exception so we don't have
to try to catch anything during the tests. Catching an exception might
mask an error during the tests.

Also fix a lot of formatting errors that have built up over the years.
This includes 3-space indentations instead of 4-space, missing spaces
between braces and parens, too-long lines, wrapping when it isn't
needed, etc.

Change-Id: Ifccea5f0706b6f9235f37974a5f80bee76c654dd
2012-09-09 12:32:03 -07:00
Jeff Brown
1c897dc9ac am a3909a93: Work around crash when display is removed.
* commit 'a3909a93958676d341424d574752bc7b3280d421':
  Work around crash when display is removed.
2012-09-09 01:15:56 -07:00
Jeff Brown
a3909a9395 Work around crash when display is removed.
After a display is removed, there may be a brief time
when a Context still exists that is bound to it.
We need to provide metrics in this case.

Bug: 7131637
Change-Id: I11b264a000653adbf0f3da399eaab66c4b40fb2a
2012-09-09 01:05:38 -07:00
Jeff Brown
2ff27aae3b am 20ec8ac5: Merge "Improve Wifi display discovery API." into jb-mr1-dev
* commit '20ec8ac58665e6e2991988c134ba3b8590911648':
  Improve Wifi display discovery API.
2012-09-09 00:26:09 -07:00
Jeff Brown
20ec8ac586 Merge "Improve Wifi display discovery API." into jb-mr1-dev 2012-09-09 00:23:59 -07:00
Jeff Brown
180bbc7181 Improve Wifi display discovery API.
Change-Id: I4d46503e5413f52da16f79bbc9c631cc5ae9c178
2012-09-08 23:15:00 -07:00
Amith Yamasani
c143c25e58 am 8f008e73: Merge "More multi-user methods in PM" into jb-mr1-dev
* commit '8f008e737a84be289d07cc603f98da1bbbfcf837':
  More multi-user methods in PM
2012-09-08 20:24:11 -07:00
Amith Yamasani
8f008e737a Merge "More multi-user methods in PM" into jb-mr1-dev 2012-09-08 20:20:57 -07:00
Amith Yamasani
151ec4c9f8 More multi-user methods in PM
pm can list installed packages by user now.

Bug: 6926465

Change-Id: I822311bfd6e7e2d6fb315fc484739fbf953c9bb6
2012-09-08 19:14:00 -07:00
Jeff Brown
a24b598b28 am 1edf63ef: Merge "Enable auto-brightness adjustment feature with system prop." into jb-mr1-dev
* commit '1edf63ef4c7484355a6d9371bea912d6518a7d1e':
  Enable auto-brightness adjustment feature with system prop.
2012-09-08 15:56:37 -07:00
Jeff Brown
1edf63ef4c Merge "Enable auto-brightness adjustment feature with system prop." into jb-mr1-dev 2012-09-08 15:53:50 -07:00
Jeff Brown
631938f26d Enable auto-brightness adjustment feature with system prop.
This feature is experimental and disabled by default.

Change-Id: I183534370da7613557e4d1535f556873f8a763df
2012-09-08 15:11:11 -07:00
Jeff Brown
34cf966057 am b0d10aa9: Merge "Add new wifi display discovery API." into jb-mr1-dev
* commit 'b0d10aa9831fb74a28db63cac9d111559bed62ab':
  Add new wifi display discovery API.
2012-09-08 14:57:55 -07:00
Jeff Brown
b0d10aa983 Merge "Add new wifi display discovery API." into jb-mr1-dev 2012-09-08 14:55:02 -07:00
Jeff Brown
f1764a1fda am f82b5836: Merge "Add permissions to control and configure wifi display." into jb-mr1-dev
* commit 'f82b58368e1bd502f82ad7791647c5922ba5d0c0':
  Add permissions to control and configure wifi display.
2012-09-08 14:54:18 -07:00
Jeff Brown
e08ae388d6 Add new wifi display discovery API.
The API is quite simple.  There are a few extra functions
on DisplayManager to scan, connect and disconnect from
wifi displays and get status, and a single protected
broadcast sent when the status changes.

Change-Id: Ic91dbab5ee818e790b27fa32e1a1e93788793be0
2012-09-08 14:53:34 -07:00
Jeff Brown
f82b58368e Merge "Add permissions to control and configure wifi display." into jb-mr1-dev 2012-09-08 14:51:55 -07:00
Dianne Hackborn
25653cbca5 am 5d75052b: Merge "Add Binder.getCallingUserHandle()." into jb-mr1-dev
* commit '5d75052b2da7ed7c153faea69a28f13a4000788f':
  Add Binder.getCallingUserHandle().
2012-09-07 18:37:29 -07:00
Dianne Hackborn
5d75052b2d Merge "Add Binder.getCallingUserHandle()." into jb-mr1-dev 2012-09-07 18:35:02 -07:00
Dianne Hackborn
74ee8652e0 Add Binder.getCallingUserHandle().
Change-Id: I2a7eedfdc7baeeb4c2cd2ca0153aa95e0cf0bf45
2012-09-07 18:33:18 -07:00
Jim Miller
1ddefc779a am ddb12e84: Merge "Enable lazy-loading of security views in keyguard" into jb-mr1-dev
* commit 'ddb12e845d7c5eae7a6bca6af17702f9bc619ae9':
  Enable lazy-loading of security views in keyguard
2012-09-07 18:16:41 -07:00
Jim Miller
e46efc0460 Enable lazy-loading of security views in keyguard
This change removes all but the default KeyguardSelectorView from KeyguardViewHost
to (1) reduce the overall memory footprint (2) reduce initial layout inflation
time and (3) avoid initializing the camera until needed by face unlock.

Fixes bug 7127666

Change-Id: Ibac1838dd7a490dcadbfab5bdfdd82734b69055a
2012-09-07 18:07:59 -07:00
Jeff Brown
4b71e4e66c Add permissions to control and configure wifi display.
Change-Id: I54af6da53b7243516becd6a3d5985c0feda6c225
2012-09-07 17:50:57 -07:00
Jeff Brown
5ea4944a20 am 7017e483: Merge "Add support for Wifi display." into jb-mr1-dev
* commit '7017e48380ab0c1be033594bb2a9331898ad5be8':
  Add support for Wifi display.
2012-09-07 16:44:32 -07:00
Nick Kralevich
8348ab372b am cd620591: Merge "installd: fix forward locking symlink" into jb-mr1-dev
* commit 'cd620591b764cd999f18878985444fba01d5b710':
  installd: fix forward locking symlink
2012-09-07 16:44:28 -07:00
rich cannings
b0bf0e9281 am 1275abd0: Merge "Move verification settings to Settings.Global" into jb-mr1-dev
* commit '1275abd013eee87b3fec5b704a799440cb1c71fe':
  Move verification settings to Settings.Global
2012-09-07 16:44:21 -07:00
Chet Haase
647eaf8691 am 89b3f48f: Merge "Enable changing properties of layer paint" into jb-mr1-dev
* commit '89b3f48fa3ccaf9a05628f0e540c1f94716809f7':
  Enable changing properties of layer paint
2012-09-07 16:43:05 -07:00
Dianne Hackborn
6980972657 am 649d0d71: Merge "More multi-user stuff:" into jb-mr1-dev
* commit '649d0d71b245d88746b78399ffa1f75da7c80974':
  More multi-user stuff:
2012-09-07 16:42:48 -07:00
Christopher Tate
34937378b6 am 970683c5: Merge "Further fixup of migration to global settings" into jb-mr1-dev
* commit '970683c5d42a1d8588d656d4e570ce4f0f6e0abc':
  Further fixup of migration to global settings
2012-09-07 16:42:25 -07:00
Teng-Hui Zhu
9f05220ef2 am 4db5d23d: Merge "Back key to dismiss full screen video" into jb-mr1-dev
* commit '4db5d23deab9ea8de34cdb1c56af31e6e3cff79b':
  Back key to dismiss full screen video
2012-09-07 16:42:15 -07:00
Svetoslav Ganov
f1960a7095 am 390a06b8: Merge "Restore accessibility focus after ListView layout." into jb-mr1-dev
* commit '390a06b882f555b73f466985067d71d856f55f2f':
  Restore accessibility focus after ListView layout.
2012-09-07 16:41:39 -07:00
Romain Guy
318eef97a0 am 6543c292: Merge "The drawables cache strikes again Bug #7117785" into jb-mr1-dev
* commit '6543c292b2d1cb3547f4565f89b7cb649ad955d6':
  The drawables cache strikes again Bug #7117785
2012-09-07 16:41:35 -07:00
Fabrice Di Meglio
a7f9bc5232 am f6aa537c: Merge "Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction" into jb-mr1-dev
* commit 'f6aa537c2dddfa9c68af161c082b5d4f316bd068':
  Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction
2012-09-07 16:41:29 -07:00
Fabrice Di Meglio
8ea5d2e2ca am 01fcb728: Merge "Use "ldrtl" and "ldltr" config qualifiers for RTL / LTR resources" into jb-mr1-dev
* commit '01fcb728940c12498ab2c7503fe86a849725ea12':
  Use "ldrtl" and "ldltr" config qualifiers for RTL / LTR resources
2012-09-07 16:41:25 -07:00
Jeff Brown
7017e48380 Merge "Add support for Wifi display." into jb-mr1-dev 2012-09-07 16:00:13 -07:00
Nick Kralevich
cd620591b7 Merge "installd: fix forward locking symlink" into jb-mr1-dev 2012-09-07 15:58:44 -07:00
Nick Kralevich
7de350a913 installd: fix forward locking symlink
installd was not creating a compatibility symlink when
installing a forward locked application.  Fix.

Bug: 7121527
Change-Id: Ied507ab2b759d8658af563e6ac8f0dbb0d286cce
2012-09-07 15:48:11 -07:00
rich cannings
4d8fc793f0 Move verification settings to Settings.Global
Move Settings.Secure.PACKAGE_VERIFIER_ENABLE,
Settings.Secure.PACKAGE_VERIFIER_TIMEOUT,
Settings.Secure.PACKAGE_VERIFIER_DEFAULT_RESPONSE to
Settings.Global.PACKAGE_VERIFIER_ENABLE,
Settings.Global.PACKAGE_VERIFIER_TIMEOUT,
Settings.Global.PACKAGE_VERIFIER_DEFAULT_RESPONSE, respectively.

Bug: 7082362
Change-Id: I21fde031a330563891c0129132f3d6369ac5e7a5
2012-09-07 15:34:08 -07:00
Raph Levien
965e7ff4de Merge "Fix Time.parse and Time.parse3339 crashing bugs. DO NOT MERGE" into jb-mr1-dev 2012-09-07 15:08:42 -07:00
Chet Haase
89b3f48fa3 Merge "Enable changing properties of layer paint" into jb-mr1-dev 2012-09-07 14:44:43 -07:00