Home
last modified time | relevance | path

Searched refs:mSystemProperties (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayTransformManagerTest.java54 private HashMap<String, String> mSystemProperties; field in DisplayTransformManagerTest
66 mSystemProperties = new HashMap<>(); in setUp()
69 mSystemProperties.put(invocationOnMock.getArgument(0), in setUp()
79 mSystemProperties.clear(); in tearDown()
85 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_DISPLAY_COLOR)) in setColorMode_natural()
87 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_SATURATION)) in setColorMode_natural()
95 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_DISPLAY_COLOR)) in setColorMode_boosted()
97 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_SATURATION)) in setColorMode_boosted()
104 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_DISPLAY_COLOR)) in setColorMode_saturated()
106 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_SATURATION)) in setColorMode_saturated()
[all …]
/frameworks/base/core/java/android/hardware/devicestate/
DDeviceState.java281 return mDeviceStateConfiguration.mSystemProperties.contains(propertyToCheckFor) in hasProperty()
329 private final ArraySet<@SystemDeviceStateProperties Integer> mSystemProperties; field in DeviceState.Configuration
340 mSystemProperties = systemProperties; in Configuration()
358 return mSystemProperties; in getSystemProperties()
371 + ", app_accessible=" + mSystemProperties.contains(PROPERTY_APP_INACCESSIBLE) in toString()
373 + mSystemProperties.contains(PROPERTY_POLICY_CANCEL_WHEN_REQUESTER_NOT_ON_TOP) in toString()
384 && Objects.equals(mSystemProperties, that.mSystemProperties) in equals()
390 return Objects.hash(mIdentifier, mName, mSystemProperties, mPhysicalProperties); in hashCode()
402 dest.writeArraySet(mSystemProperties); in writeToParcel()
434 private Set<@SystemDeviceStateProperties Integer> mSystemProperties = field in DeviceState.Configuration.Builder
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTestable.java29 private final FakeSystemProperties mSystemProperties; field in RecoverySystemServiceTestable.MockInjector
44 mSystemProperties = systemProperties; in MockInjector()
61 return mSystemProperties.get(key); in systemPropertiesGet()
66 mSystemProperties.set(key, value); in systemPropertiesSet()
DRecoverySystemServiceTest.java76 private RecoverySystemServiceTestable.FakeSystemProperties mSystemProperties; field in RecoverySystemServiceTest
93 mSystemProperties = new RecoverySystemServiceTestable.FakeSystemProperties(); in setup()
116 mRecoverySystemService = new RecoverySystemServiceTestable(mContext, mSystemProperties, in setup()
129 assertThat(mSystemProperties.getCtlStart(), is("clear-bcb")); in clearBcb_success()
142 assertThat(mSystemProperties.getCtlStart(), is("clear-bcb")); in clearBcb_uncrypt_failure()
162 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in setupBcb_success()
176 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in setupBcb_uncrypt_failure()
197 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in rebootRecoveryWithCommand_success()
212 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in rebootRecoveryWithCommand_failure()
235 assertThat(mSystemProperties.getCtlStart(), is("uncrypt")); in uncrypt_success()
/frameworks/base/ravenwood/junit-src/android/platform/test/ravenwood/
DRavenwoodRule.java131 final RavenwoodSystemProperties mSystemProperties = new RavenwoodSystemProperties(); field in RavenwoodRule
195 mRule.mSystemProperties.setValue(key, value); in setSystemPropertyImmutable()
196 mRule.mSystemProperties.setAccessReadOnly(key); in setSystemPropertyImmutable()
212 mRule.mSystemProperties.setValue(key, value); in setSystemPropertyMutable()
213 mRule.mSystemProperties.setAccessReadWrite(key); in setSystemPropertyMutable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DFeatureFlagsClassicReleaseTest.kt41 @Mock private lateinit var mSystemProperties: SystemPropertiesHelper variable in com.android.systemui.flags.FeatureFlagsClassicReleaseTest
55 mSystemProperties, in setup()
101 whenever(mSystemProperties.getBoolean(flagName, flagDefault)).thenReturn(flagDefault) in testSysPropBooleanFlag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DFeatureFlagsClassicRelease.java50 private final SystemPropertiesHelper mSystemProperties; field in FeatureFlagsClassicRelease
99 mSystemProperties = systemProperties; in FeatureFlagsClassicRelease()
141 mSystemProperties.getBoolean(flag.getName(), flag.getDefault())); in isEnabled()
231 def = mSystemProperties.getBoolean(f.getName(), f.getDefault()); in dump()
DFeatureFlagsClassicDebug.java78 private final SystemPropertiesHelper mSystemProperties; field in FeatureFlagsClassicDebug
133 mSystemProperties = systemProperties; in FeatureFlagsClassicDebug()
192 mSystemProperties.getBoolean( in isEnabled()
326 mSystemProperties.erase(flag.getName()); in eraseFlag()
392 mSystemProperties.setBoolean(flag.getName(), value); in setBooleanFlagInternal()
512 overridden = !mSystemProperties.get(f.getName()).isEmpty();
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodRuleImpl.java103 setSystemProperties(rule.mSystemProperties); in init()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java329 private final SystemPropertiesWrapper mSystemProperties; field in PowerManagerService
1173 mSystemProperties = injector.createSystemPropertiesWrapper();
1277 sQuiescent = mSystemProperties.get(SYSTEM_PROPERTY_QUIESCENT, "0").equals("1")
1600 mSystemProperties.get(SYSTEM_PROPERTY_RETAIL_DEMO_ENABLED, null))) {
1601 mSystemProperties.set(SYSTEM_PROPERTY_RETAIL_DEMO_ENABLED, retailDemoValue);
6970 String line = mSystemProperties.get(SYSTEM_PROPERTY_REBOOT_REASON, null);