Home
last modified time | relevance | path

Searched refs:mDeviceConfig (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerConstantsTest.java50 FakeDeviceConfigInterface mDeviceConfig; field in WindowManagerConstantsTest
56 mDeviceConfig = new FakeDeviceConfigInterface(); in setUp()
59 mUpdateSystemGestureExclusionCallback, mDeviceConfig); in setUp()
69 mDeviceConfig.putProperty(NAMESPACE_ANDROID, KEY_SYSTEM_GESTURE_EXCLUSION_LIMIT_DP, "400"); in test_constantsAreLoaded_initially()
70 mDeviceConfig.putProperty(NAMESPACE_ANDROID, in test_constantsAreLoaded_initially()
72 mDeviceConfig.putProperty(NAMESPACE_WINDOW_MANAGER, in test_constantsAreLoaded_initially()
86 mDeviceConfig.putPropertyAndNotify( in test_constantsAreLoaded_afterChange()
88 mDeviceConfig.putPropertyAndNotify(NAMESPACE_ANDROID, in test_constantsAreLoaded_afterChange()
90 mDeviceConfig.putPropertyAndNotify(NAMESPACE_WINDOW_MANAGER, in test_constantsAreLoaded_afterChange()
102 mDeviceConfig.putPropertyAndNotify( in test_changedGestureExclusionLimit_invokesCallback()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerConstants.java63 private final DeviceConfigInterface mDeviceConfig; field in WindowManagerConstants
78 mDeviceConfig = deviceConfig; in WindowManagerConstants()
84 mDeviceConfig.addOnPropertiesChangedListener(DeviceConfig.NAMESPACE_ANDROID, executor, in start()
86 mDeviceConfig.addOnPropertiesChangedListener(DeviceConfig.NAMESPACE_WINDOW_MANAGER, in start()
96 mDeviceConfig.removeOnPropertiesChangedListener(mListenerAndroid); in dispose()
97 mDeviceConfig.removeOnPropertiesChangedListener(mListenerWindowManager); in dispose()
145 mDeviceConfig.getLong(DeviceConfig.NAMESPACE_WINDOW_MANAGER, in updateSystemGestureExclusionLogDebounceMillis()
151 mDeviceConfig.getInt(DeviceConfig.NAMESPACE_ANDROID, in updateSystemGestureExclusionLimitDp()
156 mSystemGestureExcludedByPreQStickyImmersive = mDeviceConfig.getBoolean( in updateSystemGestureExcludedByPreQStickyImmersive()
DHighRefreshRateBlacklist.java44 private DeviceConfigInterface mDeviceConfig; field in HighRefreshRateBlacklist
54 mDeviceConfig = deviceConfig; in HighRefreshRateBlacklist()
55 mDeviceConfig.addOnPropertiesChangedListener(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in HighRefreshRateBlacklist()
57 final String property = mDeviceConfig.getProperty(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in HighRefreshRateBlacklist()
101 mDeviceConfig.removeOnPropertiesChangedListener(mListener); in dispose()
102 mDeviceConfig = null; in dispose()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingManagerProxyTest.java64 private DeviceConfigProxy mDeviceConfig; field in FalsingManagerProxyTest
75 mDeviceConfig = new DeviceConfigProxyFake(); in setup()
76 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in setup()
90 mProximitySensor, mDeviceConfig, mDockManager, mKeyguardUpdateMonitor, in test_brightLineFalsingManagerDisabled()
97 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerEnabled()
101 mProximitySensor, mDeviceConfig, mDockManager, mKeyguardUpdateMonitor, in test_brightLineFalsingManagerEnabled()
109 mProximitySensor, mDeviceConfig, mDockManager, mKeyguardUpdateMonitor, in test_brightLineFalsingManagerToggled()
113 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerToggled()
119 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in test_brightLineFalsingManagerToggled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyConstants.java65 private final DeviceConfigProxy mDeviceConfig; field in SmartReplyConstants
94 mDeviceConfig = deviceConfig; in SmartReplyConstants()
100 mDeviceConfig.addOnPropertiesChangedListener( in registerDeviceConfigListener()
132 mMaxSqueezeRemeasureAttempts = mDeviceConfig.getInt( in updateConstants()
142 mMinNumSystemGeneratedReplies = mDeviceConfig.getInt( in updateConstants()
146 mMaxNumActions = mDeviceConfig.getInt( in updateConstants()
150 mOnClickInitDelay = mDeviceConfig.getInt( in updateConstants()
159 String value = mDeviceConfig.getProperty(DeviceConfig.NAMESPACE_SYSTEMUI, propertyName); in readDeviceConfigBooleanOrDefaultIfEmpty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java68 private final DeviceConfigProxy mDeviceConfig; field in FalsingManagerProxy
91 mDeviceConfig = deviceConfig; in FalsingManagerProxy()
95 mDeviceConfig.addOnPropertiesChangedListener( in FalsingManagerProxy()
132 boolean brightlineEnabled = mDeviceConfig.getBoolean( in setupFalsingManager()
149 mDeviceConfig, in setupFalsingManager()
351 mDeviceConfig.removeOnPropertiesChangedListener(mDeviceConfigListener); in cleanup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyConstantsTest.java45 private DeviceConfigProxyFake mDeviceConfig; field in SmartReplyConstantsTest
50 mDeviceConfig = new DeviceConfigProxyFake(); in setUp()
67 mDeviceConfig in setUp()
211 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in overrideSetting()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java74 private DeviceConfigProxy mDeviceConfig = new DeviceConfigProxyFake(); field in KeyguardViewMediatorTest
91 mPowerManager, mTrustManager, mDeviceConfig, mNavigationModeController); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java710 private DeviceConfigProxy mDeviceConfig; field in KeyguardViewMediator
738 mDeviceConfig = deviceConfig; in KeyguardViewMediator()
739 mShowHomeOverLockscreen = mDeviceConfig.getBoolean( in KeyguardViewMediator()
743 mDeviceConfig.addOnPropertiesChangedListener( in KeyguardViewMediator()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1345 &data->mDeviceConfig, data->mEffects, in threadLoop()
1648 data->mDeviceConfig = *deviceConfig; in recordingConfigurationUpdateCommand()
DAudioPolicyService.h615 struct audio_config_base mDeviceConfig; variable