Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTestable.java31 MockInjector(Context context, FakeSystemProperties systemProperties, in MockInjector() argument
35 mSystemProperties = systemProperties; in MockInjector()
81 RecoverySystemServiceTestable(Context context, FakeSystemProperties systemProperties, in RecoverySystemServiceTestable() argument
84 super(new MockInjector(context, systemProperties, powerManager, uncryptPackageFileWriter, in RecoverySystemServiceTestable()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/
DSystemProperties.java39 final Class<?> systemProperties = Class.forName("android.os.SystemProperties"); in get() local
40 final Method get = systemProperties.getMethod("get", String.class, String.class); in get()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java307 return services.systemProperties.getBoolean(key, def); in systemPropertiesGetBoolean()
312 return services.systemProperties.getLong(key, def); in systemPropertiesGetLong()
317 return services.systemProperties.get(key, def); in systemPropertiesGet()
322 return services.systemProperties.get(key); in systemPropertiesGet()
327 services.systemProperties.set(key, value); in systemPropertiesSet()
DDpmTestBase.java244 when(getServices().systemProperties.get( in mockSystemPropertiesToReturnDefault()
249 when(getServices().systemProperties.getBoolean( in mockSystemPropertiesToReturnDefault()
254 when(getServices().systemProperties.getLong( in mockSystemPropertiesToReturnDefault()
DMockSystemServices.java82 public final SystemPropertiesForMock systemProperties; field in MockSystemServices
121 systemProperties = mock(SystemPropertiesForMock.class); in MockSystemServices()
DDevicePolicyManagerTest.java2696 verify(getServices().systemProperties, never()).getLong(anyString(), anyLong()); in testSetRequiredStrongAuthTimeout_DeviceOwner()
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt181 doReturn(mock(MockableSystemProperties::class.java)).`when`(deps).systemProperties in makeDependencies()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java1261 final MockableSystemProperties systemProperties = spy(new MockableSystemProperties()); in makeDependencies() local
1262 when(systemProperties.getInt("net.tcp.default_init_rwnd", 0)).thenReturn(0); in makeDependencies()
1263 when(systemProperties.getBoolean("ro.radio.noril", false)).thenReturn(false); in makeDependencies()
1269 doReturn(systemProperties).when(deps).getSystemProperties(); in makeDependencies()