/frameworks/layoutlib/bridge/tests/src/android/app/ |
D | SystemServiceRegistry_AccessorTest.java | 33 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/ |
D | SystemServiceRegistry_Accessor.java | 26 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/ |
D | TestContext.java | 35 final String name = getSystemServiceName(cls); in injectSystemService()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportProgressServiceTest.java | 80 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/ |
D | CrossProfileAppsTest.java | 76 when(mContext.getSystemServiceName(UserManager.class)).thenReturn(Context.USER_SERVICE); in mockContext()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | VisualVoicemailSmsFilterTest.java | 89 when(mContext.getSystemServiceName(TelephonyManager.class)) in setUp()
|
D | ContextFixture.java | 261 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/ |
D | DpmMockContext.java | 223 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/ |
D | UserDataPreparerTest.java | 87 when(mContextMock.getSystemServiceName(StorageManager.class)) in setup()
|
D | BaseShortcutManagerTest.java | 154 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/ |
D | ConnectivityControllerTest.java | 120 when(mContext.getSystemServiceName(ConnectivityManager.class)) in setUp() 124 when(mContext.getSystemServiceName(NetworkPolicyManager.class)) in setUp()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 113 when(mContext.getSystemServiceName(serviceClass)).thenReturn(serviceName); in mockService()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 756 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in ContextWrapper 757 return mBase.getSystemServiceName(serviceClass); in getSystemServiceName()
|
D | Context.java | 3451 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/ |
D | ThermalManagerServiceTest.java | 157 when(mContext.getSystemServiceName(PowerManager.class)).thenReturn(Context.POWER_SERVICE); in setUp()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 141 addMockSystemService(getSystemServiceName(service), mock); in addMockSystemService()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | PlatformKeyManagerTest.java | 101 when(mContext.getSystemServiceName(any())).thenReturn("test"); in setUp()
|
D | RecoverableKeyStoreManagerTest.java | 181 when(mMockContext.getSystemServiceName(any())).thenReturn("test"); in setUp()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 620 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in MockContext
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 624 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/ |
D | AccountManagerServiceTest.java | 151 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/ |
D | ContextImpl.java | 1809 public String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in ContextImpl 1810 return SystemServiceRegistry.getSystemServiceName(serviceClass); in getSystemServiceName()
|
D | SystemServiceRegistry.java | 1312 public static String getSystemServiceName(Class<?> serviceClass) { in getSystemServiceName() method in SystemServiceRegistry
|
/frameworks/base/test-mock/api/ |
D | current.txt | 90 method public String getSystemServiceName(Class<?>);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
D | RttServiceImplTest.java | 218 when(mockContext.getSystemServiceName(PowerManager.class)).thenReturn( in setUp()
|