Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayTransformManagerTest.java52 private HashMap<String, String> mSystemProperties; field in DisplayTransformManagerTest
64 mSystemProperties = new HashMap<>(); in setUp()
67 mSystemProperties.put(invocationOnMock.getArgument(0), in setUp()
77 mSystemProperties.clear(); in tearDown()
83 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_DISPLAY_COLOR)) in setColorMode_natural()
85 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_SATURATION)) in setColorMode_natural()
93 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_DISPLAY_COLOR)) in setColorMode_boosted()
95 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_SATURATION)) in setColorMode_boosted()
102 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_DISPLAY_COLOR)) in setColorMode_saturated()
104 assertThat(mSystemProperties.get(PERSISTENT_PROPERTY_SATURATION)) in setColorMode_saturated()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsManager.java236 private final MockableSystemProperties mSystemProperties; field in DnsManager
253 mSystemProperties = sp; in DnsManager()
444 mSystemProperties.set(key, value); in setNetDnsProperty()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java77 @Mock MockableSystemProperties mSystemProperties; field in DnsManagerTest
86 mDnsManager = new DnsManager(mCtx, mMockDnsResolver, mSystemProperties); in setUp()
DTetheringTest.java147 @Mock private MockableSystemProperties mSystemProperties; field in TetheringTest
379 mLooper.getLooper(), mSystemProperties, in makeTethering()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DEntitlementManager.java98 private final MockableSystemProperties mSystemProperties; field in EntitlementManager
120 mSystemProperties = systemProperties; in EntitlementManager()
286 if (mSystemProperties.getBoolean(DISABLE_PROVISIONING_SYSPROP_KEY, false) in isTetherProvisioningRequired()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DEntitlementManagerTest.java83 @Mock private MockableSystemProperties mSystemProperties; field in EntitlementManagerTest
165 mSystemProperties); in setUp()
188 when(mSystemProperties.getBoolean(eq(EntitlementManager.DISABLE_PROVISIONING_SYSPROP_KEY), in setupForRequiredProvisioning()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java280 private MockableSystemProperties mSystemProperties; field in ConnectivityService
849 mSystemProperties = getSystemProperties(); in ConnectivityService()
874 mLingerDelayMs = mSystemProperties.getInt(LINGER_DELAY_PROPERTY, DEFAULT_LINGER_DELAY_MS); in ConnectivityService()
910 boolean wifiOnly = mSystemProperties.getBoolean("ro.radio.noril", false); in ConnectivityService()
1037 mDnsManager = new DnsManager(mContext, mDnsResolver, mSystemProperties); in ConnectivityService()
2275 mSystemProperties.getInt("net.tcp.default_init_rwnd", 0)); in updateTcpBufferSizes()
2278 mSystemProperties.set(sysctlKey, rwndValue.toString()); in updateTcpBufferSizes()
2284 String restoreDefaultNetworkDelayStr = mSystemProperties.get( in getRestoreDefaultNetworkDelay()
3974 int defaultVal = encodeBool(!mSystemProperties.get("ro.tether.denied").equals("true")); in isTetheringSupported()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1127 private MockableSystemProperties mSystemProperties; field in ConnectivityServiceTest.WrappedConnectivityService
1141 mSystemProperties = spy(new MockableSystemProperties()); in getSystemProperties()
1142 when(mSystemProperties.getInt("net.tcp.default_init_rwnd", 0)).thenReturn(0); in getSystemProperties()
1143 when(mSystemProperties.getBoolean("ro.radio.noril", false)).thenReturn(false); in getSystemProperties()
1144 return mSystemProperties; in getSystemProperties()