Home
last modified time | relevance | path

Searched refs:hasPermission (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepSensorPermissionTestActivity.java118 if (hasPermission(Manifest.permission.ACTIVITY_RECOGNITION) != permissionGranted) { in runTest()
149 private boolean hasPermission(String permission) { in hasPermission() method in StepSensorPermissionTestActivity
155 if (expected && !hasPermission(permission)) { in checkPermission()
157 } else if (!expected && hasPermission(permission)) { in checkPermission()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java250 if (!mUsbManager.hasPermission(mUsbDevice)) {
267 assertTrue(mUsbManager.hasPermission(mUsbDevice));
/cts/tests/tests/telecom/src/android/telecom/cts/
DThirdPartyCallScreeningServiceTest.java608 private void verifyPermission(boolean hasPermission) { in verifyPermission() argument
609 assertEquals(hasPermission, in verifyPermission()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java73 if (mUsbManager.hasPermission(device)) { in runTest()