/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/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/ |
D | ServiceQueryHelperTest.java | 72 .serviceClass(CLASS_1_CLASS_NAME) 88 serviceQueryHelper.serviceClass().isSameClassAs(CLASS_1); in matches_serviceClass_doesMatch_returnsTrue() 97 serviceQueryHelper.serviceClass().isSameClassAs(CLASS_1); in matches_serviceClass_doesNotMatch_returnsFalse() 128 serviceQueryHelper.serviceClass().className().isEqualTo(""); in parcel_parcelsCorrectly() 139 .where().serviceClass().isSameClassAs(CLASS_1) in serviceQueryHelper_queries() 156 serviceQueryHelper.serviceClass().className().isEqualTo(""); in isEmptyQuery_hasServiceClassQuery_returnsFalse()
|
/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()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTestService.java | 88 public static IHardwareBufferTestService connect(Context context, Class serviceClass) { 89 return new SyncTestServiceConnection(context, serviceClass).get(); 101 SyncTestServiceConnection(Context context, Class serviceClass) { 103 mServiceProviderClass = serviceClass;
|
D | HardwareBufferAidlTest.java | 57 public HardwareBufferAidlTest(Class serviceClass) { in HardwareBufferAidlTest() argument 58 mServiceClass = serviceClass; in HardwareBufferAidlTest()
|
/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()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | TestAppSystemServiceFactory.java | 203 private static <T> T getSystemService(Context context, Class<T> serviceClass, in getSystemService() argument 213 if (serviceClass.equals(DevicePolicyManager.class)) { in getSystemService() 219 } else if (serviceClass.equals(WifiManager.class)) { in getSystemService() 226 } else if (serviceClass.equals(HardwarePropertiesManager.class)) { in getSystemService() 232 } else if (serviceClass.equals(UserManager.class)) { in getSystemService() 238 } else if (serviceClass.equals(GenericManager.class)) { in getSystemService() 248 throw new IllegalArgumentException("invalid service class: " + serviceClass); in getSystemService() 256 Log.i(TAG, "Manager of" + serviceClass + "is null"); in getSystemService() 259 fail("Could not get a manager of type " + serviceClass); in getSystemService()
|
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/premade/ |
D | EventLibServiceTest.java | 55 .whereService().serviceClass().isSameClassAs(EventLibService.class); in launchEventLibService_logsServiceCreatedEvent() 68 .whereService().serviceClass().className().isEqualTo(GENERATED_SERVICE_CLASS_NAME); in launchEventLibService_withGeneratedServiceClass_logsServiceCreatedEventWithCorrectClassName()
|
D | EventLibAppComponentFactoryTest.java | 97 .whereService().serviceClass().className() in startService_serviceDoesNotExist_startsLoggingService()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/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/nene/src/main/java/com/android/bedstead/nene/services/ |
D | Services.java | 336 public boolean serviceIsAvailable(Class<?> serviceClass) { in serviceIsAvailable() argument 337 if (!sServiceNameMapping.containsKey(serviceClass)) { in serviceIsAvailable() 338 … throw new NeneException("Unknown service " + serviceClass + ". Check Nene Services map"); in serviceIsAvailable() 340 return serviceIsAvailable(sServiceNameMapping.get(serviceClass), serviceClass); in serviceIsAvailable() 343 private boolean serviceIsAvailable(String service, Class<?> serviceClass) { in serviceIsAvailable() argument 344 if (TestApis.context().instrumentedContext().getSystemService(serviceClass) == null) { in serviceIsAvailable()
|
/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 | 77 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 | 244 String serviceClass, int userId) throws Throwable { in installAndCheckBound() argument 251 checkBound(packageName, serviceClass, userId); in installAndCheckBound() 254 private void checkBound(String packageName, String serviceClass, int userId) throws Throwable { in checkBound() argument 256 runCommand("dumpsys activity service " + packageName + "/" + serviceClass, in checkBound() 258 + Pattern.quote("[" + serviceClass + "]")); in checkBound() 269 + serviceClass + ",bound,connected,")); in checkBound()
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | DefaultPaymentProviderTestUtils.java | 42 static ComponentName setDefaultPaymentService(Class serviceClass, Context context) { in setDefaultPaymentService() argument 44 new ComponentName(context, serviceClass), context); in setDefaultPaymentService()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/services/ |
D | ServiceDestroyedEvent.java | 100 .serviceClass(serviceName) in setService()
|
D | ServiceCreatedEvent.java | 102 .serviceClass(serviceName) in setService()
|
D | ServiceLowMemoryEvent.java | 102 .serviceClass(serviceName) in setService()
|
D | ServiceConfigurationChangedEvent.java | 109 .serviceClass(serviceName) in setService()
|
D | ServiceMemoryTrimmedEvent.java | 114 .serviceClass(serviceName) in setService()
|
D | ServiceUnboundEvent.java | 121 .serviceClass(serviceName) in setService()
|
D | ServiceBoundEvent.java | 117 .serviceClass(serviceName) in setService()
|
D | ServiceTaskRemovedEvent.java | 124 .serviceClass(serviceName) in setService()
|
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/ |
D | TestAppAppComponentFactoryTest.java | 104 .whereService().serviceClass().className() in startService_serviceDoesNotExist_startsLoggingService()
|