summaryrefslogtreecommitdiff
path: root/core/java/android/provider/DeviceConfig.java
Commit message (Collapse)AuthorAgeFilesLines
* Add experiment flag namespace for Multi-Gen LRUKalesh Singh2022-11-141-0/+7
| | | | | | | | | | | For testing Multi-Gen LRU page reclaim Bug: 258917809 Bug: 227651406 Test: adb shell device_config put mglru_native lru_gen_enabled [none, core, ..., all] Test: verify MG RLU is enabled/disabled: cat /sys/kernel/mm/lru_gen/enabled Merged-In: I2aa7032de2c45385e4c0ada787ba7799e50c8a53 Change-Id: I2aa7032de2c45385e4c0ada787ba7799e50c8a53
* Add DeviceConfig namespace for Vendor System Native BootRichard Chang2022-08-121-0/+7
| | | | | | | Bug: 241730607 Test: Build Change-Id: I568e5e98d1af602ce363962341c5655085aa2ab7 Merged-In: I8cd86f14d5aec72cdf93985217e501ad7d13a229
* Reporting the Autofill IDs and Positions of active views in list viewMihir Patel2022-08-091-1/+1
| | | | | | Test: atest CtsContentCaptureServiceTestCases, observed events reported only once on scroll and stop as well as on fling Bug: 211899037 Change-Id: Id67fcc360bf63fcab1d9f345c31d2bf7b9a173d6
* Add device policy manager namespace to public namespaceskholoud mohamed2022-05-121-9/+10
| | | | | | Bug: 225178429 Test: manual Change-Id: I5091ac4e4198b76bad5bc91341e3d32f60176090
* RESTRICT AUTOMERGE Add namespace for DevicePolicyManager P/H experimentskholoud mohamed2022-05-081-0/+8
| | | | | | Bug: 225178429 Test: N/A Change-Id: Ic4a57962a69a31daf498bf87888bae23246f60b6
* Add DeviceConfig namespace for Vendor System NativeRichard Chang2022-04-261-0/+7
| | | | | | Bug: 226456604 Test: Build Change-Id: I33d31d92393cbe7433c4c73420ba56afed028c0c
* Merge "[DeviceConfig] true/false should be wrapped in @code tags" am: ↵Songchun Fan2022-04-041-4/+5
|\ | | | | | | | | | | | | | | | | d47a35e3a7 am: 0a426efbe4 am: 278068b3ca Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2053134 Change-Id: I94152a5526d7c2ab9adf93180c3eda2a3313847e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * Merge "[DeviceConfig] true/false should be wrapped in @code tags" am: d47a35e3a7Songchun Fan2022-04-041-4/+5
| |\ | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2053134 Change-Id: I4449d905ed20e10e65b93e5d82f7cefb8f7b2b15 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * [DeviceConfig] true/false should be wrapped in @code tagsSongchun Fan2022-04-011-4/+5
| | | | | | | | | | | | | | | | | | BUG: 227781337 Test: n/a Change-Id: I89a6f148e975a69c4632e8ced1676f4b1a8d0f0b
| * | Merge changes from topic "merge_8391262" into stage-aosp-masterXin Li2022-04-031-0/+7
| |\ \ | | |/ | |/| | | | | | | | | | * changes: Fixup OWNERS file merge conflicts. Merge Android 12 QPR3 ab/8391262
| | * Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi" am: 6ff14106fc ↵Treehugger Robot2022-03-311-1/+17
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: ab9e828a43 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2040764 Change-Id: Id0b7cb4f43df62a2a900fc0eab016aeb1a08c89c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * \ Merge "Use flag to control the restart period value." into sc-v2-dev am: ↵TreeHugger Robot2022-03-251-0/+7
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3e2ea81f2 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17344416 Change-Id: Iaca5fda743044360512e7742522b1f5e94c4b862 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | * | Use flag to control the restart period value.Joanne Chung2022-03-241-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 224618257 Test: adb shell cmd device_config get/put voice_interaction \ restart_period_in_seconds works fine Test: the value is expected by command: adb shell dumpsys \ voiceinteraction | grep RESTART_PERIOD_SECONDS Change-Id: Icd8d19c2a482d0d6b9bf0432e2176ca10f3bd2eb Merged-In: Icd8d19c2a482d0d6b9bf0432e2176ca10f3bd2eb (cherry picked from commit 46e69448046fb9093ca7526d7428bf23a177a0f8)
| | | * | Merge "Adding native flag namespace for lmkd." into sc-qpr1-dev am: aeb139aca5Tim Joines2021-09-151-0/+7
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15787681 Change-Id: Ib632461ecfc34beebe8d37e7d5962e5fc52b749a
| | | | * | Adding native flag namespace for lmkd.Suren Baghdasaryan2021-09-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For experiment flag testing, adding lmkd flag in DeviceConfig. Bug: 194316048 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4 Merged-In: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
| * | | | | [SettingsProvider] update API javadocSongchun Fan2022-04-011-2/+2
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Address comments from API review BUG: 227781337 Test: N/A Change-Id: I3042be0671728d06bf1c7ae09baee538bb82fbe7 Merged-In: I3042be0671728d06bf1c7ae09baee538bb82fbe7
| * | | | Merge "[DeviceConfig] cherry-pick deleteProperty SystemApi"Treehugger Robot2022-03-311-1/+17
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | [DeviceConfig] cherry-pick deleteProperty SystemApiMuhammad Qureshi2022-03-241-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a cherry-pick of deleteProperty SystemApi that is already added in internal branches. Currently there is only a shell command to delete a property. Adding an API to do the same. Bug: 184001163 Bug: 226423598 Test: atest android.provider.DeviceConfigTest Change-Id: I43d7177c509501efd65e32ab3ad000d17d6ffb6c Merged-In: I43d7177c509501efd65e32ab3ad000d17d6ffb6c
* | | | | Use flag to control the restart period value.Joanne Chung2022-03-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 224618257 Test: adb shell cmd device_config get/put voice_interaction \ restart_period_in_seconds works fine Test: the value is expected by command: adb shell dumpsys \ voiceinteraction | grep RESTART_PERIOD_SECONDS Change-Id: Icd8d19c2a482d0d6b9bf0432e2176ca10f3bd2eb
* | | | | Merge "ComponentAlias: Change device config namespace" into tm-devTreeHugger Robot2022-03-111-0/+7
|\ \ \ \ \
| * | | | | ComponentAlias: Change device config namespaceMakoto Onuki2022-03-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now use the namespace "activity_manager_ca". Reason: When the device boots up, phenotype will reset all the values in "activity_manager". To avoid it, we use a different namespace. Test: atest ComponentAliasTests ComponentAliasTests1 ComponentAliasTests2 Bug: 196254758 Change-Id: I540417a1e1b612424e8426981c1e02e1c68132f8
* | | | | | Add OnDevicePersonalization to DeviceConfig.java.Frank2022-03-101-0/+7
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Test: TH Bug: 218749359, 223666720 Change-Id: I232d36f7904f27a441b66acf5f833ca6cf1890cc
* | | | | Merge "Add DeviceConfig namespace for AdServices module" into tm-devBinh Nguyen2022-03-021-2/+2
|\ \ \ \ \
| * | | | | Add DeviceConfig namespace for AdServices moduleBinh Nguyen2022-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 213604390 Test: build Change-Id: I57e02d0b4a3131afe3dace7b211de4a904ff4ce3
* | | | | | Add namespace for SdkSandbox related features.Anton Kulakov2022-02-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Build Bug: 216303182 Change-Id: I352951c5bac6a53c2ae3875569c7589aa8bd00ba
* | | | | | Make fill dialog feature controlled by device configTYM Tsai2022-02-241-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use device config to control whether autofill dialog feature is enabled. To support this, the autofill namespace of DeviceConfig needs to be exposed for AutofillManager to read in the app thread. There are augmented_autofill_mode, smart_suggestion_supported_modes and compat_mode_allowed_packages existed in autofill space. These can be made app readable. Bug: 210926084 Test: atest android.autofillservice.cts.dialog.LoginActivityTest Change-Id: Idfb846656a0c26eba1db4f8ef6ec427ae4ca666d
* | | | | Merge "AmbientContext (aka Ambient PCC) Framework API, with a client API for ↵Kathy Chen2022-01-231-0/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | apps to subscribe for AmbientContextEvents, and a provider API for AiAi to implement and provide the detected events."
| * | | | | AmbientContext (aka Ambient PCC) Framework API, with a client API for apps ↵Kathy Xiaoming Chen2022-01-221-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to subscribe for AmbientContextEvents, and a provider API for AiAi to implement and provide the detected events. Client apps need the ACCESS_AMBIENT_CONTEXT_EVENT permission to use the service. The permission protection level is internal|role. API overview: http://go/ambient-framework-api PRD: http://go/ambient-attribution-prd Design doc: http://go/ambient-service-api Test: CTS test Bug: 192476579 Change-Id: I9daede83af34f215c278cb0530238faba1be5c70 Ignore-AOSP-First: to prevent new feature leak.
* | | | | | Add DeviceConfig namespace for Supplemental APIBinh Nguyen2022-01-211-0/+7
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 213604390 Test: build Change-Id: I1c92873887e4cbabec6e592da7ebcef353a4b38f
* | | | | Add selection_toolbar experiment namespaceJoanne Chung2021-12-241-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a namespace definition for selection toolbar. Bug: 190030331 Bug: 205822301 Test: manual. Can set and get correct value via this namespace Change-Id: Icb56cafee3576b6df083aeab68d04cd05e6ee95e
* | | | | Add the P/H experiment support for UWB moduleKai Shi2021-12-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 209617179 Test: atest com.android.server.uwb.DeviceConfigFacadeTest Change-Id: I69bc5e39b498ede447df5fcf6bf6c3f93a5ab1ce
* | | | | Merge "Add virtualization_framework_native flag namespace" am: 5d72f2eaed ↵David Brazdil2021-11-101-0/+8
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3169ea6042 am: f1a14ae3e2 am: c153ab1a07 am: 4babb35935 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873903 Change-Id: I73b53a85f37bb3e9ea0d13f4bbca4cd8f493353e
| * | | | Merge "Add virtualization_framework_native flag namespace" am: 5d72f2eaed ↵David Brazdil2021-11-101-0/+8
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 3169ea6042 am: f1a14ae3e2 am: c153ab1a07 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873903 Change-Id: I2ba101bd25a1840bcdaae7ce397ff1cc472c127f
| | * | | Add virtualization_framework_native flag namespaceAndrew Scull2021-11-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 192819132 Test: n/a Change-Id: Ie604a6a9f0c980a43f8470869f8c5619be40ecfc
| * | | | Merge "Add a separate namespace for Tethering module." am: 8f2ec1df33 am: ↵Xiao Ma2021-11-021-0/+8
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2300efc24c am: 421813d450 am: b3920be9ef Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873993 Change-Id: I67672a53ebbbd025acf31cba742931856ae428b6
| | * | | Add a separate namespace for Tethering module.Xiao Ma2021-11-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 202940451 Test: m -j passed Merged-In: I393d25f4c1a15927686c984e47c01f2646d0867d Change-Id: I8a2bc2c80b087f304c6f0471736d7a0a6e0b9cd7
| * | | | Merge "Add a separate namespace for CaptivePortalLogin module." am: ↵Xiao Ma2021-11-011-0/+8
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c9b6889e04 am: 6c6b1f1c4b am: 8089e2a48a am: a086351846 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873954 Change-Id: Id20b9fa3b0a7eb4dae431f82abad5d54926da7f0
| | * | | Add a separate namespace for CaptivePortalLogin module.Xiao Ma2021-10-281-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 202940451 Test: m -j passed Merged-In: I5657a886b4ecc4f0ff4126588ae1f6e0712269a0 Change-Id: I05308bdc681d1037ce86a686101e9067faf0dca3
* | | | | Add a namespace for TARE.Kweku Adams2021-11-081-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 158300259 Bug: 205624100 Test: Android builds Change-Id: I5ab2ba992a4ab284bc05dfdca27f6d2abb0480fe
* | | | | Merge "Add a separate namespace for Tethering module."TreeHugger Robot2021-10-211-0/+8
|\ \ \ \ \
| * | | | | Add a separate namespace for Tethering module.Xiao Ma2021-10-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 202940451 Test: m -j passed Change-Id: I393d25f4c1a15927686c984e47c01f2646d0867d
* | | | | | Merge "Add nnapi_native flag namespace." am: bae244ddd1 am: a2cc0a2c8a am: ↵Ian Hua2021-10-191-0/+8
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | | | | | | | | | | | | | | | | 0d6f3a81ff am: 31f99e11a9 am: 9c925277e5 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845056 Change-Id: I6430c3e426a4e9025186392f6478c8d00481ab9a
| * | | | Merge "Add nnapi_native flag namespace." am: bae244ddd1 am: a2cc0a2c8a am: ↵Ian Hua2021-10-191-0/+8
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d6f3a81ff am: 31f99e11a9 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1845056 Change-Id: I18714fe4ab1ee31e6a8658a44c0b8d366055baf9
| | * | | Add nnapi_native flag namespace.Ian Hua2021-10-081-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: mm Bug: 201399117 Change-Id: I04eff84ac0433b0f829aca7793b1aa261b02a098
| * | | | Merge "Adding native flag namespace for lmkd." into sc-dev-plus-aosp am: ↵Suren Baghdasaryan2021-08-111-0/+8
| |\| | | | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 6e6a94d00b am: ef43faede1 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15503926 Change-Id: Ie64240f2226b1bc6a6a5418da731cdf7d4f65dae
| | * | Adding native flag namespace for lmkd.Suren Baghdasaryan2021-08-091-0/+8
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | For experiment flag testing, adding lmkd flag in DeviceConfig. Bug: 194316048 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4 Merged-In: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
* | | Add a separate namespace for CaptivePortalLogin module.Xiao Ma2021-10-131-0/+8
| | | | | | | | | | | | | | | | | | Bug: 202940451 Test: m -j passed Change-Id: I5657a886b4ecc4f0ff4126588ae1f6e0712269a0
* | | Adding native flag namespace for lmkd.Suren Baghdasaryan2021-08-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | For experiment flag testing, adding lmkd flag in DeviceConfig. Bug: 194316048 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I1f13d6bbb4a9a7fd8825d7e5acde416750271df4
* | | [SettingsProvider] update API javadocSongchun Fan2021-07-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Address comments from API review BUG: 194183938 Test: N/A Change-Id: I3042be0671728d06bf1c7ae09baee538bb82fbe7
* | | [DeviceConfig] add an API to delete a propertySongchun Fan2021-07-131-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there is only a shell command to delete a property. Adding an API to do the same. BUG: 184001163 Test: atest android.provider.DeviceConfigTest Test: atest CtsDeviceConfigTestCases Test: atest com.android.server.testables.TestableDeviceConfigTest Change-Id: I43d7177c509501efd65e32ab3ad000d17d6ffb6c