Commit Graph

24 Commits

Author SHA1 Message Date
Weilun Du
c9c6c19f5d [SdkSetup] Clean up
1, Fixed AndroidManifests.xml parsing error.
2, Connect to AndroidWifi access point for emulator only.

Bug: 185242318

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: I5d4863b3c5aba8e7dfccdd061739afe30ded5162
2021-07-01 16:50:21 -07:00
TreeHugger Robot
9b4e646bda Merge "Sdksetup: Set path for display settings file for freeform display" into sc-dev 2021-04-26 17:42:38 +00:00
Weilun Du
cedad08727 [SdkSetup] Add open network "AndroidWifi"
Instead of relying on WifiConfigStore.xml, we configure Wifi in SdkSetup
to make data partition empty at build team.

Bug: 185242318

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: I0f5d7f3a6e67414f4213f98b7f3b0b19e7cc129c
2021-04-23 22:54:21 -07:00
Huan Song
a9fde290dd Sdksetup: Set path for display settings file for freeform display
Bug: 183668221

Test: config emualtor with display.settings.xml=freeform, run emulator
Change-Id: I7c303c82c07e467bdb4a3b587bbd2ef6d1e61ae5
2021-04-20 16:54:19 +00:00
Weilun Du
b7e6e532da Rename qemu.keyboard_layout to vendor.qemu.keyboard_layout
Bug: 178143857

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: I27170464b9a8301ca56bd333a3e5304b8290008e
2021-01-26 21:27:46 -08:00
bohu
2e90b7b031 emulator: setup preferred network mode to 5g(NR)
BUG: 158040335

This will ensure the phone is using the 5g(NR)
as the preferred network mode.

User can change it in setting later, if desired.

Change-Id: I69583d1769739124a51355ff8b887e727ba61df8
Merged-In: I69583d1769739124a51355ff8b887e727ba61df8
2020-06-05 15:58:45 +00:00
Weilun Du
c734c3fc01 [SdkSetup] Disable Offload Tethering
Unbreak emulator system crash when WiFi tethering switch is turned
on in Settings app.

BUG: 150408099

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: I893258171c9a6aa4659c8a636f410414c0216d41
2020-03-30 21:17:07 +00: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
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
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
c91a33d3df Change settings only for emulator
Bug: 79584197
Test: Manual
Change-Id: I953bfd4fd6977d5502b511df3bac41d95c35e5fa
2018-05-11 12:26:49 -07: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
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
f57025e457 emulator: merge oc-emu-dev development project
BUG: 64401460

Change-Id: I9f757a14d9bb59db2e6c62f4a4c83a4373b7b4d6
2017-08-04 16:28:34 -07:00
bohu
50dc27b2ca Revert "Emulator: update development to 2362bfb6"
It breaks build of docs because SdkSetup has dependency
on gsf-client

This reverts commit 5c26bfa4bc.
2017-06-23 14:19:05 -07:00
bohu
5c26bfa4bc Emulator: update development to 2362bfb6
Bug: 37302997

oc-emu-dev
commit 2362bfb6d6c4ee4540af5e69130951849c7e109e
Author: bohu <bohu@google.com>
Date:   Thu Apr 6 16:37:48 2017 -0700
Emulator: copy encryptionkey.img to SDK img zip

Change-Id: I057d58733bb39e0777d2f5c9494d5969ac46953a
(cherry picked from commit 6620016eb673ac885e5892604f04d3123a8ee0b9)
2017-06-15 18:13:02 +00:00
bohu
83529e3a2c Setup flags to make SDK images provisioned.
USER_SETUP_COMPLETE is set to 1 so that the device can be fully functional.

bug: 21164174
Change-Id: Ibd5db3a939df56b8e8963a3fa056db9c49b96f5e
2015-05-21 14:13:05 -07:00
Jeff Sharkey
7b4874660e Clean up Global settings stragglers.
Bug: 7242121
Change-Id: I27fd307e2ee4854558a6f6e4d2fdbbae3e89ffe0
2012-09-26 17:10:48 -07:00
Xavier Ducrohet
71027e1b75 Provision the backup manager in the SDK System image.
Change-Id: Ib1c9ef22558e71452cf979e36dd1d1fdbf844ce8
2010-06-07 19:24:17 -07:00
Mike Lockwood
8dc883fe46 AI 144415: am: CL 144372 Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
  making LocationManager.updateProviders() unnecessary.
  Removed LocationManager.updateProviders()
  Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
  of enabling or disabling a single location provider.
  This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
  BUG=1729031
  Original author: lockwood

Automated import of CL 144415
2009-04-02 23:41:32 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
e943f2fd8e Code drop from //branches/cupcake/...@124589 2008-12-17 18:04:04 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00