Home
last modified time | relevance | path

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

12

/frameworks/layoutlib/bridge/tests/src/android/app/
DSystemServiceRegistry_AccessorTest.java33 SystemServiceRegistry_Accessor.getSystemServiceName(AccessibilityManager.class)); in testRegistry()
35 SystemServiceRegistry_Accessor.getSystemServiceName(InputManager.class)); in testRegistry()
37 SystemServiceRegistry_Accessor.getSystemServiceName(WindowManager.class)); in testRegistry()
/frameworks/layoutlib/bridge/src/android/app/
DSystemServiceRegistry_Accessor.java26 public static String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in SystemServiceRegistry_Accessor
27 return SystemServiceRegistry.getSystemServiceName(serviceClass); in getSystemServiceName()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DTestContext.java35 final String name = getSystemServiceName(cls); in injectSystemService()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java80 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in BugreportProgressServiceTest.MyContext
87 return super.getSystemServiceName(serviceClass); in getSystemServiceName()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DCrossProfileAppsTest.java76 when(mContext.getSystemServiceName(UserManager.class)).thenReturn(Context.USER_SERVICE); in mockContext()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DVisualVoicemailSmsFilterTest.java89 when(mContext.getSystemServiceName(TelephonyManager.class)) in setUp()
DContextFixture.java261 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in ContextFixture.FakeContext
269 return super.getSystemServiceName(serviceClass); in getSystemServiceName()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java223 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in DpmMockContext
224 return realTestContext.getSystemServiceName(serviceClass); in getSystemServiceName()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java87 when(mContextMock.getSystemServiceName(StorageManager.class)) in setup()
DBaseShortcutManagerTest.java154 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in BaseShortcutManagerTest.BaseContext
155 return getTestContext().getSystemServiceName(serviceClass); in getSystemServiceName()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java120 when(mContext.getSystemServiceName(ConnectivityManager.class)) in setUp()
124 when(mContext.getSystemServiceName(NetworkPolicyManager.class)) in setUp()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java113 when(mContext.getSystemServiceName(serviceClass)).thenReturn(serviceName); in mockService()
/frameworks/base/core/java/android/content/
DContextWrapper.java756 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in ContextWrapper
757 return mBase.getSystemServiceName(serviceClass); in getSystemServiceName()
DContext.java3451 String serviceName = getSystemServiceName(serviceClass); in getSystemService()
3461 public abstract @Nullable String getSystemServiceName(@NonNull Class<?> serviceClass); in getSystemServiceName() method in Context
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DThermalManagerServiceTest.java157 when(mContext.getSystemServiceName(PowerManager.class)).thenReturn(Context.POWER_SERVICE); in setUp()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java141 addMockSystemService(getSystemServiceName(service), mock); in addMockSystemService()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManagerTest.java101 when(mContext.getSystemServiceName(any())).thenReturn("test"); in setUp()
DRecoverableKeyStoreManagerTest.java181 when(mMockContext.getSystemServiceName(any())).thenReturn("test"); in setUp()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java620 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in MockContext
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java624 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in BridgeContext
625 return SystemServiceRegistry_Accessor.getSystemServiceName(serviceClass); in getSystemServiceName()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java151 when(mMockContext.getSystemServiceName(AppOpsManager.class)).thenReturn( in setUp()
3244 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in AccountManagerServiceTest.MyMockContext
3245 return mMockContext.getSystemServiceName(serviceClass); in getSystemServiceName()
/frameworks/base/core/java/android/app/
DContextImpl.java1809 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in ContextImpl
1810 return SystemServiceRegistry.getSystemServiceName(serviceClass); in getSystemServiceName()
DSystemServiceRegistry.java1312 public static String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in SystemServiceRegistry
/frameworks/base/test-mock/api/
Dcurrent.txt90 method public String getSystemServiceName(Class<?>);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java218 when(mockContext.getSystemServiceName(PowerManager.class)).thenReturn( in setUp()

12