Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTestable.java34 MockInjector(Context context, FakeSystemProperties systemProperties, in MockInjector() argument
38 mSystemProperties = systemProperties; in MockInjector()
90 RecoverySystemServiceTestable(Context context, FakeSystemProperties systemProperties, in RecoverySystemServiceTestable() argument
93 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.java327 return services.systemProperties.getBoolean(key, def); in systemPropertiesGetBoolean()
332 return services.systemProperties.getLong(key, def); in systemPropertiesGetLong()
337 return services.systemProperties.get(key, def); in systemPropertiesGet()
342 return services.systemProperties.get(key); in systemPropertiesGet()
347 services.systemProperties.set(key, value); in systemPropertiesSet()
DDpmTestBase.java263 when(getServices().systemProperties.get( in mockSystemPropertiesToReturnDefault()
268 when(getServices().systemProperties.getBoolean( in mockSystemPropertiesToReturnDefault()
273 when(getServices().systemProperties.getLong( in mockSystemPropertiesToReturnDefault()
DMockSystemServices.java89 public final SystemPropertiesForMock systemProperties; field in MockSystemServices
133 systemProperties = mock(SystemPropertiesForMock.class); in MockSystemServices()
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt172 doReturn(mock(MockableSystemProperties::class.java)).`when`(deps).systemProperties in makeDependencies()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tests/UiBench/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tests/TouchLatency/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/startop/apps/ColorChanging/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/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()