Home
last modified time | relevance | path

Searched refs:hasService (Results 1 – 7 of 7) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCanaryTest.java46 final boolean hasService = RequiredServiceRule.hasService(CONTENT_CAPTURE_MANAGER_SERVICE); in logHasService()
47 Log.d(TAG, "has " + CONTENT_CAPTURE_MANAGER_SERVICE + ": " + hasService); in logHasService()
48 assumeTrue("device doesn't have service " + CONTENT_CAPTURE_MANAGER_SERVICE, hasService); in logHasService()
57 final boolean hasService = RequiredServiceRule.hasService(CONTENT_CAPTURE_MANAGER_SERVICE); in assertHasService()
59 + "' Has '" + CONTENT_CAPTURE_MANAGER_SERVICE + "': " + hasService); in assertHasService()
65 serviceName, enableSettings).that(hasService).isTrue(); in assertHasService()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DRequiredServiceRule.java51 mHasService = hasService(service); in RequiredServiceRule()
76 public static boolean hasService(@NonNull String service) {
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothClassTest.java56 assertTrue(mBluetoothClassService.hasService(BluetoothClass.Service.NETWORKING)); in testHasService()
57 assertFalse(mBluetoothClassService.hasService(BluetoothClass.Service.TELEPHONY)); in testHasService()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java19 import static com.android.compatibility.common.util.RequiredServiceRule.hasService;
583 if (!hasService(Context.CONTENT_CAPTURE_MANAGER_SERVICE)) return; in testRequestEnableContentCaptureIntent()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java532 if (!hasService("wallpaper")) { in testDisallowSetWallpaper_allowed()
554 boolean hasContentCapture = hasService("content_capture"); in testDisallowContentCapture_allowed()
DBaseDevicePolicyTest.java1348 boolean hasService(String service) { in hasService() method in BaseDevicePolicyTest
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dbluetooth-current.txt329 method public boolean hasService(int);