Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DIsolatedProcessTest.java80 for (String serviceName : cachedServices) { in testGetCachedServicesFromIsolatedService()
81 Assert.assertTrue(serviceName + " should not be accessbible from an isolated process", in testGetCachedServicesFromIsolatedService()
82 ArrayUtils.contains(SERVICES_ALLOWED_TO_ISOLATED_PROCESS, serviceName)); in testGetCachedServicesFromIsolatedService()
88 for (String serviceName : RESTRICTED_SERVICES_TO_TEST) { in testGetServiceFromIsolatedService()
89 IBinder service = mService.getSystemService(serviceName); in testGetServiceFromIsolatedService()
90 Assert.assertNull(serviceName + " should not be accessible from an isolated process", in testGetServiceFromIsolatedService()
DIsolatedService.java57 private IBinder getServiceFromServiceManager(String serviceName) { in getServiceFromServiceManager() argument
62 IBinder service = (IBinder) getServiceMethod.invoke(null, serviceName); in getServiceFromServiceManager()
76 public IBinder getSystemService(String serviceName) {
77 return getServiceFromServiceManager(serviceName);
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DVoiceInteractionMain.java37 ComponentName serviceName = startService(intent); in onCreate() local
38 Log.i(TAG, "Started service: " + serviceName); in onCreate()
/cts/tests/tests/alarmclock/service/src/android/alarmclock/service/
DVoiceInteractionMain.java37 ComponentName serviceName = startService(intent); in onCreate() local
38 Log.i(TAG, "Started service: " + serviceName); in onCreate()
/cts/tests/tests/voicesettings/service/src/android/voicesettings/service/
DVoiceInteractionMain.java38 ComponentName serviceName = startService(intent); in onCreate() local
39 Log.i(TAG, "Started service: " + serviceName); in onCreate()
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
DDelayedAssistantActivity.java41 ComponentName serviceName = startService(intent); in onCreate() local
42 Log.i(TAG, "Started service: " + serviceName); in onCreate()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DInstrumentedAccessibilityService.java138 final String serviceName = clazz.getSimpleName(); in enableService() local
144 assertFalse("Service is already enabled", enabledServices.contains(serviceName)); in enableService()
152 if (serviceId.endsWith(serviceName)) { in enableService()
165 throw new RuntimeException("Starting accessibility service " + serviceName in enableService()
171 throw new RuntimeException("Accessibility service " + serviceName + " not found"); in enableService()
/cts/tests/tests/net/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java510 final String serviceName = "ValidName"; in testPublishDiscoverySuccess() local
515 serviceName).build(); in testPublishDiscoverySuccess()
527 serviceName).setServiceSpecificInfo("extras".getBytes()).build(); in testPublishDiscoverySuccess()
554 final String serviceName = "ValidName"; in testPublishLimitedTtlSuccess() local
560 serviceName).setTtlSec(ttlSec).setTerminateNotificationEnabled(true).build(); in testPublishLimitedTtlSuccess()
577 serviceName).setServiceSpecificInfo("extras".getBytes()).build(); in testPublishLimitedTtlSuccess()
594 final String serviceName = "ValidName"; in testSubscribeDiscoverySuccess() local
599 serviceName).build(); in testSubscribeDiscoverySuccess()
611 serviceName).setServiceSpecificInfo("extras".getBytes()).build(); in testSubscribeDiscoverySuccess()
638 final String serviceName = "ValidName"; in testSubscribeLimitedTtlSuccess() local
[all …]
/cts/tests/tests/security/aidl/android/security/cts/
DIIsolatedService.aidl21 IBinder getSystemService(String serviceName); in getSystemService() argument
/cts/tests/autofillservice/src/android/autofillservice/cts/
DHelper.java779 @NonNull String serviceName) { in enableAutofillService() argument
780 if (isAutofillServiceEnabled(serviceName)) return; in enableAutofillService()
782 SettingsHelper.syncSet(context, AUTOFILL_SERVICE, serviceName); in enableAutofillService()
790 @NonNull String serviceName) { in disableAutofillService() argument
791 if (!isAutofillServiceEnabled(serviceName)) return; in disableAutofillService()
799 private static boolean isAutofillServiceEnabled(@NonNull String serviceName) { in isAutofillServiceEnabled() argument
801 return serviceName.equals(actualName); in isAutofillServiceEnabled()
807 public static void assertAutofillServiceStatus(@NonNull String serviceName, boolean enabled) { in assertAutofillServiceStatus() argument
809 final String expected = enabled ? serviceName : "null"; in assertAutofillServiceStatus()
DLoginActivityTest.java2380 private void serviceIsDisabledWhenNewServiceIsInvalid(String serviceName) throws Exception { in serviceIsDisabledWhenNewServiceIsInvalid() argument
2398 Helper.enableAutofillService(mContext, serviceName); in serviceIsDisabledWhenNewServiceIsInvalid()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java196 ComponentName serviceName = new ComponentName(PACKAGE_NAME, SERVICE_NAME); in testGetInfo() local
211 assertEquals(SERVICE_NAME, mPackageManager.getServiceInfo(serviceName, in testGetInfo()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...