Commit Graph

548 Commits

Author SHA1 Message Date
Automerger Merge Worker
af6230c3bd Merge "Move the app to /system_ext" am: eaee8a5229 am: 86783efdf4 am: 956724b58a
Change-Id: I26c0a9ef03959256fe732a5b3a13fbd3182d7344
2019-12-31 19:30:36 +00:00
Jeongik Cha
b7aa057aa1 Move the app to /system_ext
As mentioned in go/partitions-in-r, we plan to forbid hidden API in
product partition.
So this app should be moved to /system_ext because it uses hidden API.
It is not permanent, so they can be moved back to /product due to
needs if there isn't hidden usage anymore.

Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: Id1e897eadea814b780f199fa7f3d683924eb4ab3
2019-12-30 04:42:01 +00:00
Automerger Merge Worker
483bf94fe4 Merge "[Bug Fix] Not able to create secondary user due to lack of permission" am: 3addde7f6b am: 98c3040b52 am: 61cb8f964c
Change-Id: I19980209284d6740b576515bfd55ef09512bd648
2019-12-12 03:00:37 +00:00
Weilun Du
aa2ec781e8 [Bug Fix] Not able to create secondary user due to lack of permission
BUG: 145353724

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Icce8f6d280b29c4390dcd5947516a06448799862
2019-12-11 09:58:45 -08:00
David Su
6e08a584fb Migrate to official API getWifiActivityEnergyInfoAsync()
getControllerActivityEnergyInfo() is an @hide API,
migrate to getWifiActivityEnergyInfoAsync() which is an
@SystemApi.

Bug: 145244073
Test: m Development && adb install Development.apk,
open Dev Tools app, go to Connectivity page, tap on
Link Stats button, ensure link stats printed in text
box below.

Change-Id: I0a9edfff7d924a31c5a3470a89e03bd161f1a8fb
2019-12-04 16:36:03 -08:00
David Su
3c48b7354e Move WifiActivityEnergyInfo to android.os.connectivity
Fix import of WifiActivityEnergyInfo to package
android.os.connectivity

Bug: 145244073
Test: compiles
Change-Id: Ibe16e826bde9017df989e12289b2961a18fab281
2019-12-03 22:31:24 -08:00
Weilun Du
8810570222 Merge "[SdkSetup] Set physical keyboard layout"
am: c3aecfaf2e

Change-Id: I8ad6436164705d7c18d68706ef2266f46664e829
2019-11-14 18:17:57 -08:00
Weilun Du
3cac24167f [SdkSetup] Set physical keyboard layout
Emulator host will set the guest keyboard layout with boot
properties based on the host keyboard layout.

Also, fixed complaints in setting properties adb_enabled and
install_non_market_apps.

BUG: 78115103
Merged-In: Iad3750af5383ba27fbf20eb9b26652f037853f1f
Change-Id: Iad3750af5383ba27fbf20eb9b26652f037853f1f
Signed-off-by: Weilun Du <wdu@google.com>
2019-11-12 10:08:09 -08:00
Weilun Du
7b0baf44b5 [SdkSetup] Set physical keyboard layout
Emulator host will set the guest keyboard layout with boot
properties based on the host keyboard layout.

Also, fixed complaints in setting properties adb_enabled and
install_non_market_apps.

BUG: 78115103

Change-Id: Iad3750af5383ba27fbf20eb9b26652f037853f1f
Signed-off-by: Weilun Du <wdu@google.com>
2019-11-11 19:43:38 +00:00
Xin Li
4ccc65c62e DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master
Bug: 142003500
Change-Id: Ia918710dfff36bdc415863a7490a72d7b98f66ad
2019-10-30 11:46:47 -07:00
bohu
76c4f8f1c0 emulator: move SdkSetup to product
Change-Id: I32d9b486ea131e0bd40e3714c83009faa13d592a
Merged-In: I32d9b486ea131e0bd40e3714c83009faa13d592a
2019-10-28 09:15:27 -07:00
bohu
1440c5aa5a emulator: move SdkSetup to product
Change-Id: I32d9b486ea131e0bd40e3714c83009faa13d592a
2019-10-26 23:30:54 -07:00
Bill Yi
560a83674f Import translations. DO NOT MERGE
Change-Id: I12508fbb7397a8cdd7dd22a2c30ce9229548b7b1
Auto-generated-cl: translation import
2019-10-15 14:50:47 -07:00
Bill Yi
ca7c713d45 Import translations. DO NOT MERGE
Change-Id: I5e33ae9d1117e0459d01f8d02157578f35760d16
Auto-generated-cl: translation import
2019-09-24 19:39:27 -07:00
gopinath
fdf10818e5 Remove Local compatibility suite from Developement app.
Bug: b/139647239

Test: Builds development app successfully.
Change-Id: Iad56df9b9098b5860f1f61b578db774f3a9775bf
2019-08-22 21:44:45 +00:00
gopinath
402e9c8c7c Remove Local compatibility suite from Developement app.
Bug: b/139647239

Test: Builds development app successfully.
Change-Id: Iad56df9b9098b5860f1f61b578db774f3a9775bf
2019-08-22 14:19:58 -07:00
Bill Yi
dacfa5f1a2 Import translations. DO NOT MERGE
Change-Id: If8114e9158c167b90ebe82b4b90f5550b3cc7052
Auto-generated-cl: translation import
2019-08-21 21:46:56 -07:00
Neil Fuller
2c8aae5dd3 Merge "Remove unused import" 2019-07-04 09:13:07 +00:00
Neil Fuller
61165ed11a Remove unused import
Bug: 16550209
Test: build / boot / treehugger
Change-Id: I559afeba4532520185a659f425f8e052682d5323
2019-07-03 18:02:39 +01:00
Alexander Smundak
dc5a7ea905 Merge "Convert Android.mk files to Android.bp" am: 1ccb28f28a
am: aabc1be2ea

Change-Id: Ic2e36324d145bc7ff064647b8304f548235382aa
2019-06-27 09:34:48 -07:00
Sasha Smundak
bef01b9173 Convert Android.mk files to Android.bp
See build/soong/README.md for more information.

Bug: 122332515
Test: treehugger
Change-Id: I0f6ae8d880114d1bc83f7aac2b96eafef76dc046
2019-06-25 14:18:16 -07:00
Steven Moreland
c33f3327aa Merge "Remove unused import of ServiceManagerNative." am: 9958d0da90
am: 9a67b9d69e

Change-Id: Ibedc16800360be966fb3e47a802f58147775c461
2019-06-22 17:14:15 -07:00
Steven Moreland
bdc5faa067 Remove unused import of ServiceManagerNative.
Bug: 135768100
Test: N/A
Change-Id: Ieb11d0a7b083ba2518047596241d31887f81a916
2019-06-21 15:37:20 -07:00
Xin Li
f5d0a65e40 DO NOT MERGE - Merge pi-platform-release (PPRL.190505.001) into stage-aosp-master
Bug: 132622481
Change-Id: Ic40523fde41ba87e570f3992b644a31e53265d62
2019-05-13 15:38:44 -07:00
Bill Yi
943d60667a Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I4545cc06e123a46f1b3ef6c659d7754d2c5cfd52
2019-02-21 22:07:35 -08:00
Bill Yi
c671e95929 Import translations. DO NOT MERGE
Change-Id: I9516c15e1d61f8d8cb211622206341d851b6ffe9
Auto-generated-cl: translation import
2019-02-02 00:45:04 -08:00
Aurimas Liutikas
b75f769bd3 Remove unused androidx.design_design dependency.
Test: make -j DumpViewer
Change-Id: Ifb558e0b73fb791c4a9cb3d6cd37ff61a8aff1ad
2019-01-30 22:34:12 -08:00
Chandan Nath
89231b9e44 [Backup cleanup] remove call to no-op method setBackupProvisioned
Bug: 120120742

Test: 1) atest RunBackupFrameworksServicesRoboTests
2) atest $(find \
frameworks/base/services/tests/servicestests/src/com/android/server/backup \
-name '*Test.java')

Change-Id: I9d6d312f32d79646384adb60726e4c12ee12c052
2018-12-20 16:34:22 +00:00
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