Commit Graph

520 Commits

Author SHA1 Message Date
Dmitry Dementyev
186068aa50 Add buttons to Enable/Disable Authenticator component.
New functions are helpful to test Authenticator data  migration.

Bug: 117892680
Test: manual
Change-Id: Ieedf58ab8a6c72c78daa6dab7548dab811c586bf
2018-10-22 16:51:31 -07:00
Jack He
4c16e7e849 Merge "Remove BluetoothDevice.ACTION_DISAPPEARED" am: 2411e46a1c am: 8166b7f309
am: 3b3805d851

Change-Id: I78c73f72bca96e40afcb9fa1822eaabd26efe615
2018-10-10 21:10:00 -07:00
Jack He
8d0b9b8da2 Remove BluetoothDevice.ACTION_DISAPPEARED
This intent was never sent by the Bluetooth stack

Bug: 112115770
Test: make
Change-Id: I2df8751022149bcdd815279addb16bea3a2c3638
2018-10-09 21:33:31 -07:00
Lorenzo Colitti
50445e3e1c Merge changes I1b9dc4d5,I44da96fa am: ee0870d0a2 am: c9ba8a847a
am: fe82e6eba4

Change-Id: Ib0d38141c3313becb1e6329113fd2cac15bc5ed5
2018-10-01 21:13:14 -07:00
Lorenzo Colitti
223fc59aca Log broadcasts in DevToolsConnectivity.
Test: manual
Change-Id: I1b9dc4d56b56dae5da779aec1d99cd7190e94a4e
2018-10-02 10:20:33 +09:00
Lorenzo Colitti
2b9b9b44be Add OWNERS for the connectivity page in the Dev Tools app.
Test: ../../../build/make/tools/checkowners.py src/com/android/development/OWNERS
Change-Id: I44da96fa7daaa6fcd0033797a7ca3f633509364b
2018-10-02 10:20:33 +09:00
gopinath
51c56d2c5f Set property for atest to identify Developement app.
Bug: b/111928925

Change-Id: I65f192791d25ac69589d4f6f281486b1dba0f607
2018-09-03 13:12:10 -07:00
Sundong Ahn
ec1eae039e Change LOCAL_SDK_VERSION
launchperf use the private APIs in android.test.runner. So
LOCAL_SDK_VERSION of launchperf will be changed to platform.

Bug: 77577799
Test: m -j

Merged-In: I4ab94e009d96c297b37c7afee35f8ddd2546b977
Change-Id: I4ab94e009d96c297b37c7afee35f8ddd2546b977
2018-08-20 10:06:52 +09:00
Sundong Ahn
4d09c68ad1 Change LOCAL_SDK_VERSION
launchperf use the private APIs in android.test.runner. So
LOCAL_SDK_VERSION of launchperf will be changed to platform.

Bug: 77577799
Test: m -j

Change-Id: I4ab94e009d96c297b37c7afee35f8ddd2546b977
2018-07-31 17:51:05 +09:00
Roshan Pius
d109cfc821 Development: Remove unused param in getControllerActivityEnergyInfo
Bug: 34076874
Test: Compiles
Change-Id: Ib537d7cf75868abc9b6aeff4eb85697aa1dc880a
2018-07-20 09:37:15 -07:00
Antoan Angelov
150a621234 Merge "Revert "Move SdkSetup.apk to vendor partition"" am: e6964f00a8 am: b0ed71b318
am: ef784728f2

Change-Id: I2db0acaf96f80e3bdce265d227a314d2775f1ce7
2018-07-19 06:11:58 -07:00
Antoan Angelov
b0ed71b318 Merge "Revert "Move SdkSetup.apk to vendor partition""
am: e6964f00a8

Change-Id: Id38c8952fe64a84212907d0c17acf05baf00e897
2018-07-19 06:04:05 -07:00
Antoan Angelov
e867e27a3b Revert "Move SdkSetup.apk to vendor partition"
This reverts commit 3bf31401fe.

Reason for revert: Build cop revert because this change is breaking Blueline builds. 

Change-Id: I54f87f21eec0e93873ffedec6b0bbe154584ba4b
2018-07-19 12:57:33 +00:00
Bowgo Tsai
c7e1c51df1 Merge "Move SdkSetup.apk to vendor partition" am: 2cf91f337c am: 208ebb195c
am: bf43c71132

Change-Id: I7687595555a899a2b979a60a7a711e9615a9310c
2018-07-18 23:40:26 -07:00
Bowgo Tsai
208ebb195c Merge "Move SdkSetup.apk to vendor partition"
am: 2cf91f337c

Change-Id: I26ab29dda2efe61b2831d4a59062bd97c881218e
2018-07-18 23:30:18 -07:00
Bowgo Tsai
3bf31401fe Move SdkSetup.apk to vendor partition
Otherwise, it causes the CTS-on-GSI failure on non-emulator devices:
  CtsPermission2TestCases android.permission2.cts.PrivappPermissionsTest#testPrivappPermissionsEnforcement

Because non-emulator devices lack the permission file in their /vendor.
  /system/priv-app/SdkSetup/SdkSetup.apk
  /vendor/etc/permissions/privapp-permissions-goldfish.xml

Bug: 110517983
Test: boot a GSI and checks that SdkSetup.apk is moved to /vendor
Change-Id: I3086f99c477eeca38f42041e1809a5aa3b8bfa7a
2018-07-17 18:18:46 +08:00
Makoto Onuki
702694128e Add "dumpsys activity lastanr-traces"
Bug: 110088132
Test: manual test on ToT master
Change-Id: I033c022c4d8fbdba0caeea2365c6aa5ced070573
2018-06-27 14:53:38 -07:00
Makoto Onuki
08119a57ff DumpViewer improvement:
- Support "pcre2grep" on master
- Add regexp metachar picker
- Add package name picker

Change-Id: Ie56ab3278fe948d0b8aa15f4094de81167f5f733
But: 110088132
Test: manual
2018-06-25 15:18:09 -07:00
Makoto Onuki
e2166d847e Make header collapsable
Test: manual
Change-Id: Icf86455d146f6818c2085413e30014890175a525
2018-06-22 15:34:04 -07:00
Makoto Onuki
30e2eb3a72 DumpViewer: Minor UI improvement
Test: manual
Change-Id: Id3e8c50180120e8de0f70bbe86680619dbc7eae4
2018-06-22 09:28:29 -07:00
Makoto Onuki
ba87ac2e3a DumpViewer first cut
An on-device dumpsys / logcat viewer.

It needs the following 3 permissions in order to access logcat / dumpsys.
    <uses-permission android:name="android.permission.READ_LOGS"/>
    <uses-permission android:name="android.permission.DUMP"/>
    <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>

Use "adb install -r -g DumpViewer.apk" to give the permissions.

Alternatively, you can grant the permissions with "pm grant":
pm grant com.android.dumpviewer android.permission.PACKAGE_USAGE_STATS
pm grant com.android.dumpviewer android.permission.READ_LOGS
pm grant com.android.dumpviewer android.permission.DUMP

Bug: 110088132
Test: manual test

Change-Id: If5aed1e459e67989f6759a2f53c80a26c3eacccf
2018-06-22 03:22:22 +00:00
Roman Kiryanov
260d98d6a5 Revert "ANDROID: allow using network as a location provider" am: b83b0f1f72
am: c5b37f0c45

Change-Id: I43fec0137a75722d0f7b740cdc447100a9cde238
2018-05-15 12:40:58 -07:00
Roman Kiryanov
c5b37f0c45 Revert "ANDROID: allow using network as a location provider"
am: b83b0f1f72

Change-Id: I40eb438cbd574fb20a949136bb427c62aef439f5
2018-05-15 12:11:59 -07:00
Roman Kiryanov
b83b0f1f72 Revert "ANDROID: allow using network as a location provider"
This reverts commit 3431578839.

Bug: 72886046
Test: run a cts test
Reason for revert: I found a better fix:
https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/3790358
Change-Id: Id2047740e85895868b97b4582903a376c6a49f17
2018-05-14 13:10:03 -07:00
huans
ec04ce868e Change settings only for emulator am: c91a33d3df
am: 8738f6a884

Change-Id: I98c08d2f3a1bacb363c5268d0af06b096140f73b
2018-05-14 11:08:01 -07:00
huans
8738f6a884 Change settings only for emulator
am: c91a33d3df

Change-Id: Ie630b302fff2235977d512ca77e49abc3fd54895
2018-05-14 10:49:49 -07:00
huans
c91a33d3df Change settings only for emulator
Bug: 79584197
Test: Manual
Change-Id: I953bfd4fd6977d5502b511df3bac41d95c35e5fa
2018-05-11 12:26:49 -07:00
Jaekyun Seok
e53ebb1f49 Set sharedUserId="android.uid.system" to use protected broadcast
Bug: 78372687
Test: suceeded building and tested with taimen
Change-Id: Iefa08beffd6377bdd5c0c49065471a59f79f79a1
(cherry picked from commit 376cc06104)
2018-04-26 16:39:12 +09:00
android-build-prod (mdb)
c97a0cbc03 Merge "Set sharedUserId="android.uid.system" to use protected broadcast" am: e2920891c1 am: 09a7cc5318
am: 2c105b6c83

Change-Id: I0a63bdd6e19253a87a439301f05d0116049bcdcd
2018-04-25 21:20:16 -07:00
android-build-prod (mdb)
2c105b6c83 Merge "Set sharedUserId="android.uid.system" to use protected broadcast" am: e2920891c1
am: 09a7cc5318

Change-Id: I0ddf41fbdf44f630525a3eb5916073546fc9700c
2018-04-25 21:15:43 -07:00
Jaekyun Seok
376cc06104 Set sharedUserId="android.uid.system" to use protected broadcast
Bug: 78372687
Test: suceeded building and tested with taimen
Change-Id: Iefa08beffd6377bdd5c0c49065471a59f79f79a1
2018-04-25 23:02:34 +00:00
bohu
dd72147d49 sdk-img: grant sdksetup app MANAGE_USERS permission am: 651aad5b02
am: 68dfd1c5f9

Change-Id: I2afabe6880a302449854c410a03c728f1a91e96c
2018-03-25 15:54:10 +00:00
bohu
68dfd1c5f9 sdk-img: grant sdksetup app MANAGE_USERS permission
am: 651aad5b02

Change-Id: Iaf5f6b656d6c2a2b39b3d588f43891b2d1df56cb
2018-03-25 15:46:30 +00:00
bohu
651aad5b02 sdk-img: grant sdksetup app MANAGE_USERS permission
BUG: 76298073
Change-Id: I8ea002b75ce24cb11d5861d0ae131fb7cdbbbd75
2018-03-24 18:04:06 -07:00
Roman Kiryanov
c70ce3b60c ANDROID: allow using network as a location provider am: 3431578839
am: ef24cd767b

Change-Id: Ie861f0e12a819e105b4303df89ab61556674a003
2018-03-22 22:01:47 +00:00
Roman Kiryanov
ef24cd767b ANDROID: allow using network as a location provider
am: 3431578839

Change-Id: If252b167e4e98a02afa034093ed6ca1e3ce07f44
2018-03-22 21:23:57 +00:00
Roman Kiryanov
3431578839 ANDROID: allow using network as a location provider
Bug: 72886046
Bug: 66366228
Test: ./android-cts/tools/cts-tradefed run cts -m CtsTelephonyTestCases
Change-Id: I658d0556dfb87ab463f02ec285879caf62c215df
Signed-off-by: Roman Kiryanov <rkir@google.com>
2018-03-22 11:29:22 -07:00
Bill Yi
aed950ed86 Import translations. DO NOT MERGE
Change-Id: I3d982fb64aff116f7808033f0468f0bab92cee68
Auto-generated-cl: translation import
2018-03-09 05:41:49 -08:00
Bill Yi
d879e88bf1 Import translations. DO NOT MERGE
Change-Id: Ia0beadf5a9e2e7fcd5d91f4bf57756be509ea254
Auto-generated-cl: translation import
2018-03-06 10:34:18 -08:00
bohu
68b10564cf emulator: enable adb in SdkSetup
(cherry picked from commit 2c111bd94a)

Change-Id: I0b07a23049d7026a9151842be40b345a84e880ff
Merged-In: I8d7f495932da12ba378293282ae8ff8009218e75
2018-03-05 23:32:58 +00:00
bohu
2c111bd94a emulator: enable adb in SdkSetup
Change-Id: I8d7f495932da12ba378293282ae8ff8009218e75
2018-03-05 11:27:25 -08:00
Bill Yi
d0a0184ae0 Import translations. DO NOT MERGE
Change-Id: Ida8de3ef9c95792e66961bd34a773770105e3aa1
Auto-generated-cl: translation import
2018-03-01 18:26:21 -08:00
Anton Hansson
97f205fcc1 Merge "development: Set LOCAL_SDK_VERSION where possible." am: 76ce83e999 am: 132d4f2bc2
am: 5fad00498b

Change-Id: Ib16c0ff647fe0d6da63c6f562458ea047c6756d4
2018-02-26 16:53:23 +00:00
Anton Hansson
5fad00498b Merge "development: Set LOCAL_SDK_VERSION where possible." am: 76ce83e999
am: 132d4f2bc2

Change-Id: I4cfa3f21c957c32c8497051925fb34f3155817be
2018-02-26 16:45:11 +00:00
Anton Hansson
44b2e0dfcb development: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Change-Id: I371bd0b43e66bcc4be1e26decb95c70519ac3342
2018-02-21 19:02:11 +00:00
Jiyong Park
8c8cb53a4f Use stubs libs for android.test.base/runner/mock
android.test.base/runner/mock libraries are shared libraries that are
built without SDK, but with framework interanl libraries (framework.jar,
etc). Apps or libs that are built with SDK (LOCAL_SDK_VERSION is set)
shouldn't use them, but instead the stubs version of the test framework
libraries, which are built using SDK.

This is because, the build system does not allow a module built with SDK
to depend on another module built without SDK. This has been
exceptionally allowed with warnings, but will soon be errors.

In order to prevent the expected build breakage, direct reference to the
shared libraries are all changed to the stubs libraries.

Note: no one has been using these shared libs statically. So, it is
guaranteed that they won't encounter a problem due to missing
<uses-library name="android.test.runner"/> even after this change.

Bug: 69899800
Test: m -j checkbuild
Change-Id: I7f25e0127c52c56adf288163a760f3dc9aee6586
2018-01-24 15:21:38 +09:00
Bill Yi
44e597d0af Import translations. DO NOT MERGE
Change-Id: I43bc317bd3c640d82348b7eb33ab6c0cee91a1ad
Auto-generated-cl: translation import
2018-01-17 14:14:37 -08:00
Weilun Du
f11e49ee42 Fixed the bug where there are multiple developer options
BUG: 69679218

Change-Id: Ib44bf9441ecc7378d810cb55e5d9acdedbde99d6
Signed-off-by: Weilun Du <wdu@google.com>
2017-12-01 17:59:56 -08:00
bohu
9fdedf9df7 emulator: merge oc-emu-dev development project
BUG: 64401460

Change-Id: I3fdce5c8aeb4fccb52d04f5da69807da9c86d57a
Merged-In: I3fdce5c8aeb4fccb52d04f5da69807da9c86d57a
Merged-In: I9f757a14d9bb59db2e6c62f4a4c83a4373b7b4d6
2017-10-26 22:08:12 -07:00
Bill Yi
72771a3a7c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 68003463
Change-Id: I69bcf4d4eade7256a5ca3a4ac69bdf635d2e7231
2017-10-20 01:35:52 -07:00