/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/ |
D | ServiceInfo.java | 43 .serviceClass(serviceInfo.name); in builder() 46 private ServiceInfo(String serviceClass, Set<IntentFilter> intentFilters) { in ServiceInfo() argument 47 super(serviceClass); in ServiceInfo() 74 public Builder serviceClass(String serviceClassName) { in serviceClass() method in ServiceInfo.Builder 80 public Builder serviceClass(Service service) { in serviceClass() method in ServiceInfo.Builder 81 return serviceClass(service.getClass()); in serviceClass() 85 public Builder serviceClass(Class<? extends Service> serviceClass) { in serviceClass() argument 86 return serviceClass(serviceClass.getName()); in serviceClass()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsCallForwardInfoTest.java | 40 int serviceClass = 1; // CommandsInterface#SERVICE_CLASS_VOICE in createParcelUnparcel() local 43 ImsCallForwardInfo info = new ImsCallForwardInfo(condition, status, toA, serviceClass, in createParcelUnparcel() 56 assertEquals(serviceClass, unparceledInfo.getServiceClass()); in createParcelUnparcel()
|
D | ImsSsDataTest.java | 49 int serviceClass = 1; in testParcelUnparcel() local 52 ImsSsData data = new ImsSsData(serviceType, requestType, teleserviceType, serviceClass, in testParcelUnparcel()
|
/cts/tests/tests/binder_ndk/src/android/binder/cts/ |
D | SyncTestServiceConnection.java | 42 public SyncTestServiceConnection(Context context, Class serviceClass) { in SyncTestServiceConnection() argument 44 mServiceProviderClass = serviceClass; in SyncTestServiceConnection()
|
D | JavaClientTest.java | 70 …public JavaClientTest(Class serviceClass, String expectedName, boolean shouldBeRemote, boolean sho… in JavaClientTest() argument 71 mServiceClass = serviceClass; in JavaClientTest()
|
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/ |
D | ServiceQueryHelperTest.java | 64 .serviceClass(CLASS_1_CLASS_NAME) 80 serviceQueryHelper.serviceClass().isSameClassAs(CLASS_1); in matches_serviceClass_doesMatch_returnsTrue() 89 serviceQueryHelper.serviceClass().isSameClassAs(CLASS_1); in matches_serviceClass_doesNotMatch_returnsFalse()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | TestAppSystemServiceFactory.java | 172 private static <T> T getSystemService(Context context, Class<T> serviceClass, in getSystemService() argument 180 if (serviceClass.equals(DevicePolicyManager.class)) { in getSystemService() 186 } else if (serviceClass.equals(WifiManager.class)) { in getSystemService() 192 } else if (serviceClass.equals(HardwarePropertiesManager.class)) { in getSystemService() 198 } else if (serviceClass.equals(UserManager.class)) { in getSystemService() 204 } else if (serviceClass.equals(GenericManager.class)) { in getSystemService() 214 throw new IllegalArgumentException("invalid service class: " + serviceClass); in getSystemService() 221 fail("Could not get a manager of type " + serviceClass); in getSystemService()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RemoteService.java | 135 @NonNull Class<? extends RemoteService> serviceClass, int testId) in Invoker() argument 153 Intent intent = new Intent(mContext, serviceClass); in Invoker() 155 assertTrue("Failed to bind to service " + serviceClass, in Invoker()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | ServiceQuery.java | 38 ClassQuery<E> serviceClass(); in serviceClass() method
|
D | ServiceQueryHelper.java | 49 public ClassQuery<E> serviceClass() { in serviceClass() method in ServiceQueryHelper
|
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/ |
D | AccessNetworkTest.java | 144 private void doNetworkTest(Class serviceClass) { in doNetworkTest() argument 147 Intent intent = new Intent(context, serviceClass); in doNetworkTest()
|
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 229 String serviceClass, int userId) throws Throwable { in installAndCheckBound() argument 236 checkBound(packageName, serviceClass, userId); in installAndCheckBound() 239 private void checkBound(String packageName, String serviceClass, int userId) throws Throwable { in checkBound() argument 241 runCommand("dumpsys activity service " + packageName + "/" + serviceClass, in checkBound() 243 + Pattern.quote("[" + serviceClass + "]")); in checkBound() 254 + serviceClass + ",bound,connected,")); in checkBound()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | DeviceOwnerPrerequisitesTest.java | 63 service().serviceClass().className()
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppProvider.java | 110 .serviceClass(serviceEntry.getName()) in loadApk()
|