Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/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/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTest.java56 private RecoverySystemServiceTestable.FakeSystemProperties mSystemProperties; field in RecoverySystemServiceTest
65 mSystemProperties = new RecoverySystemServiceTestable.FakeSystemProperties(); in setup()
74 mRecoverySystemService = new RecoverySystemServiceTestable(mContext, mSystemProperties, in setup()
86 assertThat(mSystemProperties.getCtlStart(), is("clear-bcb")); in clearBcb_success()
99 assertThat(mSystemProperties.getCtlStart(), is("clear-bcb")); in clearBcb_uncrypt_failure()
119 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in setupBcb_success()
133 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in setupBcb_uncrypt_failure()
154 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in rebootRecoveryWithCommand_success()
169 assertThat(mSystemProperties.getCtlStart(), is("setup-bcb")); in rebootRecoveryWithCommand_failure()
192 assertThat(mSystemProperties.getCtlStart(), is("uncrypt")); in uncrypt_success()
DRecoverySystemServiceTestable.java26 private final FakeSystemProperties mSystemProperties; field in RecoverySystemServiceTestable.MockInjector
35 mSystemProperties = systemProperties; in MockInjector()
48 return mSystemProperties.get(key); in systemPropertiesGet()
53 mSystemProperties.set(key, value); in systemPropertiesSet()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java241 private final MockableSystemProperties mSystemProperties; field in DnsManager
258 mSystemProperties = sp; in DnsManager()
483 mSystemProperties.set(key, value); in setNetDnsProperty()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java101 @Mock MockableSystemProperties mSystemProperties; field in DnsManagerTest
140 mDnsManager = new DnsManager(mCtx, mMockDnsResolver, mSystemProperties); in setUp()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java302 private MockableSystemProperties mSystemProperties; field in ConnectivityService
972 mSystemProperties = mDeps.getSystemProperties(); in ConnectivityService()
1002 mLingerDelayMs = mSystemProperties.getInt(LINGER_DELAY_PROPERTY, DEFAULT_LINGER_DELAY_MS); in ConnectivityService()
1039 boolean wifiOnly = mSystemProperties.getBoolean("ro.radio.noril", false); in ConnectivityService()
1167 mDnsManager = new DnsManager(mContext, mDnsResolver, mSystemProperties); in ConnectivityService()
2451 mSystemProperties.getInt("net.tcp.default_init_rwnd", 0)); in updateTcpBufferSizes()
2454 mSystemProperties.set(sysctlKey, rwndValue.toString()); in updateTcpBufferSizes()
2460 String restoreDefaultNetworkDelayStr = mSystemProperties.get( in getRestoreDefaultNetworkDelay()