Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java343 public String getSystemServiceName(Class<?> serviceClass) { in ContactsActor()
344 return overallContext.getSystemServiceName(serviceClass); in ContactsActor()
391 public String getSystemServiceName(Class<?> serviceClass) { in ContactsActor()
392 return overallContext.getSystemServiceName(serviceClass); in ContactsActor()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java299 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in EnterprisePolicyGuardTest.TestMockContext
300 return mRealContext.getSystemServiceName(serviceClass); in getSystemServiceName()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastActivityTestCase.java91 final String name = getSystemServiceName(cls); in injectSystemService()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java122 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in TestContext
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DMyMockContext.java71 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in MyMockContext
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningControllerTest.java136 when(mContext.getSystemServiceName(DevicePolicyManager.class)) in setUp()
141 when(mContext.getSystemServiceName(UserManager.class)) in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java108 when(mMockContext.getSystemServiceName(eq(DevicePolicyManager.class))) in setUp()
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java168 when(mContext.getSystemServiceName(eq(clazz))).thenReturn(clazz.getSimpleName()); in mockContextSystemService()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/
DNetworkStackNotifierTest.kt171 doReturn(name).`when`(this).getSystemServiceName(clazz.java) in mockService()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java212 public String getSystemServiceName(Class<?> svcClass) { in getSystemServiceName() method in ComponentContextFixture.FakeApplicationContext
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java241 when(mContext.getSystemServiceName(DevicePolicyManager.class)) in setUp()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java184 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in TelephonyProviderTest.MockContextWithProvider