Home
last modified time | relevance | path

Searched refs:mDeviceConfig (Results 1 – 20 of 20) 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 …]
DSynchedDeviceConfigTests.java58 private SynchedDeviceConfig mDeviceConfig; field in SynchedDeviceConfigTests
69 mDeviceConfig = SynchedDeviceConfig in setUp()
80 DeviceConfig.removeOnPropertiesChangedListener(mDeviceConfig); in tearDown()
102 spyOn(mDeviceConfig); in testWhenUpdated_onlyEnabledChanges()
107 }).when(mDeviceConfig).onPropertiesChanged(any()); in testWhenUpdated_onlyEnabledChanges()
130 expectedValue, /* actual */ mDeviceConfig.getFlagValue(key)); in assertFlagValue()
137 expectedValue, /* actual */ mDeviceConfig.isBuildTimeFlagEnabled(key)); in assertFlagEnabled()
DBackgroundActivityStartControllerExemptionTests.java103 DeviceConfigStateHelper mDeviceConfig = new DeviceConfigStateHelper( field in BackgroundActivityStartControllerExemptionTests
673 mDeviceConfig.set("system_exempt_from_activity_bg_start_restriction_enabled", "true"); in testCaller_isExemptFromBgStartRestriction()
DBackgroundActivityStartControllerTests.java96 DeviceConfigStateHelper mDeviceConfig = new DeviceConfigStateHelper( field in BackgroundActivityStartControllerTests
DActivityStarterTests.java158 protected final DeviceConfigStateHelper mDeviceConfig = new DeviceConfigStateHelper( field in ActivityStarterTests
182 mDeviceConfig.close(); in tearDown()
/frameworks/base/services/core/java/com/android/server/display/feature/
DDeviceConfigParameterProvider.java38 private final DeviceConfigInterface mDeviceConfig; field in DeviceConfigParameterProvider
41 mDeviceConfig = deviceConfig; in DeviceConfigParameterProvider()
59 return mDeviceConfig.getBoolean(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in isDisableScreenWakeLocksWhileCachedFeatureEnabled()
66 return mDeviceConfig.getFloat(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getPeakRefreshRateDefault()
75 return mDeviceConfig.getString(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getPowerThrottlingData()
81 return mDeviceConfig.getString(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getBrightnessThrottlingData()
86 return mDeviceConfig.getInt(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getRefreshRateInHbmSunlight()
91 return mDeviceConfig.getInt(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getRefreshRateInHbmHdr()
97 return mDeviceConfig.getInt(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getRefreshRateInHighZone()
102 return mDeviceConfig.getInt(DeviceConfig.NAMESPACE_DISPLAY_MANAGER, in getRefreshRateInLowZone()
[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()
139 mDeviceConfig.getLong(DeviceConfig.NAMESPACE_WINDOW_MANAGER, in updateSystemGestureExclusionLogDebounceMillis()
145 mDeviceConfig.getInt(DeviceConfig.NAMESPACE_ANDROID, in updateSystemGestureExclusionLimitDp()
150 mSystemGestureExcludedByPreQStickyImmersive = mDeviceConfig.getBoolean( in updateSystemGestureExcludedByPreQStickyImmersive()
DLetterboxConfiguration.java309 @NonNull private final SynchedDeviceConfig mDeviceConfig; field in LetterboxConfiguration
405 mDeviceConfig = SynchedDeviceConfig.builder(DeviceConfig.NAMESPACE_WINDOW_MANAGER, in LetterboxConfiguration()
442 return mDeviceConfig.getFlagValue(KEY_ALLOW_IGNORE_ORIENTATION_REQUEST); in isIgnoreOrientationRequestAllowed()
603 return mDeviceConfig.getFlagValue(KEY_ENABLE_LETTERBOX_BACKGROUND_WALLPAPER) in getDefaultLetterboxBackgroundType()
1226 || mDeviceConfig.getFlagValue(KEY_ENABLE_LETTERBOX_TRANSLUCENT_ACTIVITY); in isTranslucentLetterboxingEnabled()
1269 return mDeviceConfig.getFlagValue(KEY_ENABLE_COMPAT_FAKE_FOCUS); in isCompatFakeFocusEnabled()
1293 return mDeviceConfig.getFlagValue(KEY_ENABLE_CAMERA_COMPAT_TREATMENT); in isCameraCompatTreatmentEnabled()
1302 return mDeviceConfig.isBuildTimeFlagEnabled(KEY_ENABLE_CAMERA_COMPAT_TREATMENT); in isCameraCompatTreatmentEnabledAtBuildTime()
1357 return mDeviceConfig.isBuildTimeFlagEnabled( in isDisplayRotationImmersiveAppCompatPolicyEnabledAtBuildTime()
1370 return mDeviceConfig.getFlagValue(KEY_ENABLE_DISPLAY_ROTATION_IMMERSIVE_APP_COMPAT_POLICY); in isDisplayRotationImmersiveAppCompatPolicyEnabled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyConstants.java66 private final DeviceConfigProxy mDeviceConfig; field in SmartReplyConstants
95 mDeviceConfig = deviceConfig; in SmartReplyConstants()
101 mDeviceConfig.addOnPropertiesChangedListener( in registerDeviceConfigListener()
133 mMaxSqueezeRemeasureAttempts = mDeviceConfig.getInt( in updateConstants()
143 mMinNumSystemGeneratedReplies = mDeviceConfig.getInt( in updateConstants()
147 mMaxNumActions = mDeviceConfig.getInt( in updateConstants()
151 mOnClickInitDelay = mDeviceConfig.getInt( in updateConstants()
160 String value = mDeviceConfig.getProperty(DeviceConfig.NAMESPACE_SYSTEMUI, propertyName); in readDeviceConfigBooleanOrDefaultIfEmpty()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubblePositioner.java65 private DeviceConfig mDeviceConfig; field in BubblePositioner
105 mDeviceConfig = DeviceConfig.create(context, windowManager); in BubblePositioner()
106 update(mDeviceConfig); in BubblePositioner()
114 mDeviceConfig = deviceConfig; in update()
158 } else if (mDeviceConfig.isSmallTablet()) { in updateInternal()
165 if (mDeviceConfig.isLargeScreen()) { in updateInternal()
166 if (mDeviceConfig.isSmallTablet()) { in updateInternal()
253 return mDeviceConfig.isLandscape(); in isLandscape()
264 && !mDeviceConfig.isSmallTablet() in areBubblesBottomAligned()
270 return mDeviceConfig.isLargeScreen(); in isLargeScreen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java54 private final DeviceConfigProxy mDeviceConfig; field in FalsingManagerProxy
70 mDeviceConfig = deviceConfig; in FalsingManagerProxy()
73 mDeviceConfig.addOnPropertiesChangedListener( in FalsingManagerProxy()
208 mDeviceConfig.removeOnPropertiesChangedListener(mDeviceConfigListener); in cleanupInternal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSmartReplyConstantsTest.java47 private DeviceConfigProxyFake mDeviceConfig; field in SmartReplyConstantsTest
53 mDeviceConfig = new DeviceConfigProxyFake(); in setUp()
69 mDeviceConfig in setUp()
213 mDeviceConfig.setProperty(DeviceConfig.NAMESPACE_SYSTEMUI, in overrideSetting()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java139 private final DeviceConfigWrapper mDeviceConfig; field in LowPowerStandbyController
358 mDeviceConfig = deviceConfig; in LowPowerStandbyController()
401 mDeviceConfig.registerPropertyUpdateListener(mContext.getMainExecutor(), in systemReady()
403 mEnableCustomPolicy = mDeviceConfig.enableCustomPolicy(); in systemReady()
404 mEnableStandbyPorts = mDeviceConfig.enableStandbyPorts(); in systemReady()
424 boolean enableCustomPolicy = mDeviceConfig.enableCustomPolicy(); in onDeviceConfigFlagsChanged()
431 mEnableStandbyPorts = mDeviceConfig.enableStandbyPorts(); in onDeviceConfigFlagsChanged()
/frameworks/base/services/core/java/com/android/server/powerstats/
DPowerStatsService.java96 private final DeviceConfigInterface mDeviceConfig; field in PowerStatsService
270 mDeviceConfig.addOnPropertiesChangedListener(DeviceConfig.NAMESPACE_BATTERY_STATS, in startListening()
389 mDeviceConfig = injector.getDeviceConfig(); in PowerStatsService()
393 setPowerMonitorApiEnabled(mDeviceConfig.getBoolean(DeviceConfig.NAMESPACE_BATTERY_STATS, in refreshFlags()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java522 private DeviceConfigWrapper mDeviceConfig; field in HdmiControlService
583 mDeviceConfig = new DeviceConfigWrapper(); in HdmiControlService()
593 mDeviceConfig = new DeviceConfigWrapper(); in HdmiControlService()
719 mSoundbarModeFeatureFlagEnabled = mDeviceConfig.getBoolean( in initService()
721 mEarcTxFeatureFlagEnabled = mDeviceConfig.getBoolean( in initService()
723 mTransitionFromArcToEarcTxEnabled = mDeviceConfig.getBoolean( in initService()
725 mNumericSoundbarVolumeUiOnTvFeatureFlagEnabled = mDeviceConfig.getBoolean( in initService()
931 mDeviceConfig.addOnPropertiesChangedListener(getContext().getMainExecutor(), in initService()
965 mDeviceConfig.addOnPropertiesChangedListener(getContext().getMainExecutor(), in initService()
991 mDeviceConfig.addOnPropertiesChangedListener(getContext().getMainExecutor(), in initService()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardViewMediatorTest.java202 private DeviceConfigProxy mDeviceConfig = new DeviceConfigProxyFake(); field in KeyguardViewMediatorTest
1208 mDeviceConfig, in createAndStartViewMediator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java1376 private DeviceConfigProxy mDeviceConfig;
1495 mDeviceConfig = deviceConfig;
1498 mShowHomeOverLockscreen = mDeviceConfig.getBoolean(
1502 mDeviceConfig.addOnPropertiesChangedListener(
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp1950 &data->mDeviceConfig, data->mEffects, in threadLoop()
2313 data->mDeviceConfig = *deviceConfig; in recordingConfigurationUpdateCommand()
DAudioPolicyService.h742 struct audio_config_base mDeviceConfig; variable
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DDisplayModeDirectorTest.java3635 private final FakeDeviceConfig mDeviceConfig; field in DisplayModeDirectorTest.FakesInjector
3653 mDeviceConfig = new FakeDeviceConfig(); in FakesInjector()
3667 return mDeviceConfig; in getDeviceConfig()