/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/ |
D | DisplayTransformManagerTest.java | 52 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/ |
D | DnsManager.java | 236 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/ |
D | DnsManagerTest.java | 77 @Mock MockableSystemProperties mSystemProperties; field in DnsManagerTest 86 mDnsManager = new DnsManager(mCtx, mMockDnsResolver, mSystemProperties); in setUp()
|
D | TetheringTest.java | 147 @Mock private MockableSystemProperties mSystemProperties; field in TetheringTest 379 mLooper.getLooper(), mSystemProperties, in makeTethering()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | EntitlementManager.java | 98 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/ |
D | EntitlementManagerTest.java | 83 @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/ |
D | ConnectivityService.java | 280 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/ |
D | ConnectivityServiceTest.java | 1127 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()
|