Home
last modified time | relevance | path

Searched refs:getKeyset (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java399 assertThat(properties.getKeyset()).isEmpty(); in getProperties_fullNamespace()
404 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2); in getProperties_fullNamespace()
410 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2); in getProperties_fullNamespace()
416 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2, KEY3); in getProperties_fullNamespace()
428 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2); in getProperties_getString()
440 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2, KEY3); in getProperties_getBoolean()
461 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2); in getProperties_getInt()
475 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2); in getProperties_getFloat()
489 assertThat(properties.getKeyset()).containsExactly(KEY, KEY2); in getProperties_getLong()
501 assertThat(properties.getKeyset()).containsExactly(KEY); in getProperties_defaults()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DDeviceConfigProxyFakeTest.java63 assertThat(onPropertiesChangedListener.mProperties.getKeyset().size()).isEqualTo(1); in testOnPropertiesChanged()
80 assertThat(onPropertiesChangedListener.mProperties.getKeyset().size()).isEqualTo(1); in testOnMultiplePropertiesChanged()
86 assertThat(onPropertiesChangedListener.mProperties.getKeyset().size()).isEqualTo(1); in testOnMultiplePropertiesChanged()
/frameworks/base/services/core/java/com/android/server/
DBluetoothDeviceConfigListener.java57 for (String name : properties.getKeyset()) {
63 for (String name : properties.getKeyset()) {
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionDeviceConfig.java62 final Set<String> keys = properties.getKeyset(); in refresh()
63 properties.getKeyset().forEach(key -> { in refresh()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DTestableDeviceConfigTest.java128 assertThat(properties.getKeyset()).containsExactly(newKey, unsetKey); in getProperties()
139 assertThat(properties.getKeyset().size()).isEqualTo(1); in testListener()
140 assertThat(properties.getKeyset()).contains(sKey); in testListener()
DTestableDeviceConfig.java163 when(properties.getKeyset()).thenReturn(keyValues.keySet()); in getProperties()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerConstants.java103 for (String name : properties.getKeyset()) { in onAndroidPropertiesChanged()
128 for (String name : properties.getKeyset()) { in onWindowPropertiesChanged()
DHighRefreshRateDenylist.java108 if (properties.getKeyset().contains(KEY_HIGH_REFRESH_RATE_BLACKLIST)) { in onPropertiesChanged()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricStrengthController.java52 if (properties.getKeyset().contains(KEY_BIOMETRIC_STRENGTHS)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DAssistantFeedbackController.java61 if (properties.getKeyset().contains(ENABLE_NAS_FEEDBACK)) {
/frameworks/base/services/core/java/com/android/server/timedetector/
DServerFlags.java185 if (intersects(listenerEntry.getValue(), properties.getKeyset())) { in handlePropertiesChanged()
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java149 for (String key : properties.getKeyset()) { in updatePropertiesFromSettings()
DCacheOomRanker.java91 for (String name : properties.getKeyset()) {
DCachedAppOptimizer.java182 for (String name : properties.getKeyset()) {
221 for (String name : properties.getKeyset()) {
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchConfig.java380 for (String key : properties.getKeyset()) { in updateCachedValues()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerService.java106 (properties) -> onDeviceConfigChange(properties.getKeyset())); in onBootPhase()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DEdgeBackGestureHandler.java165 && (properties.getKeyset().contains(
167 || properties.getKeyset().contains(
169 || properties.getKeyset().contains(
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDeviceConfigService.java240 List<String> keys = new ArrayList<>(properties.getKeyset()); in onCommand()
/frameworks/base/services/core/java/com/android/server/power/
DAttentionDetector.java198 (properties) -> onDeviceConfigChange(properties.getKeyset())); in systemReady()
DFaceDownDetector.java184 (properties) -> onDeviceConfigChange(properties.getKeyset())); in systemReady()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java160 if (properties.getKeyset().contains( in onPropertiesChanged()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreConfig.java186 properties.getKeyset().forEach(key -> { in refresh()
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java215 if (p.getKeyset().contains(PROPERTY_DISCRETE_HISTORY_CUTOFF)) { in setDiscreteHistoryParameters()
225 if (p.getKeyset().contains(PROPERTY_DISCRETE_HISTORY_QUANTIZATION)) { in setDiscreteHistoryParameters()
235 sDiscreteFlags = p.getKeyset().contains(PROPERTY_DISCRETE_FLAGS) ? sDiscreteFlags = in setDiscreteHistoryParameters()
237 sDiscreteOps = p.getKeyset().contains(PROPERTY_DISCRETE_OPS_LIST) ? parseOpsList( in setDiscreteHistoryParameters()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipTouchHandler.java229 if (properties.getKeyset().contains(PIP_STASHING)) { in init()
241 if (properties.getKeyset().contains(PIP_STASH_MINIMUM_VELOCITY_THRESHOLD)) { in init()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java368 for (String name : properties.getKeyset()) { in onPropertiesChanged()
1228 final Set<String> keys = mLastDeviceConfigProperties.getKeyset(); in dump()

123