Home
last modified time | relevance | path

Searched refs:serviceClass (Results 1 – 14 of 14) sorted by relevance

/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/
DServiceInfo.java43 .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/
DImsCallForwardInfoTest.java40 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()
DImsSsDataTest.java49 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/
DSyncTestServiceConnection.java42 public SyncTestServiceConnection(Context context, Class serviceClass) { in SyncTestServiceConnection() argument
44 mServiceProviderClass = serviceClass; in SyncTestServiceConnection()
DJavaClientTest.java70 …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/
DServiceQueryHelperTest.java64 .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/
DTestAppSystemServiceFactory.java172 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/
DRemoteService.java135 @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/
DServiceQuery.java38 ClassQuery<E> serviceClass(); in serviceClass() method
DServiceQueryHelper.java49 public ClassQuery<E> serviceClass() { in serviceClass() method in ServiceQueryHelper
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DAccessNetworkTest.java144 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/
DAppBindingHostTest.java229 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/
DDeviceOwnerPrerequisitesTest.java63 service().serviceClass().className()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppProvider.java110 .serviceClass(serviceEntry.getName()) in loadApk()