/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/ |
D | UsePermissionTest29.java | 20 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 74 assertDenied(ACCESS_FINE_LOCATION); 80 String[] permissions = {ACCESS_FINE_LOCATION}; 86 assertGranted(ACCESS_FINE_LOCATION); 97 assertDenied(ACCESS_FINE_LOCATION); 103 String[] permissions = {ACCESS_FINE_LOCATION, ACCESS_BACKGROUND_LOCATION}; 109 assertGranted(ACCESS_FINE_LOCATION); 116 String[] permissions = {ACCESS_FINE_LOCATION}; 122 assertGranted(ACCESS_FINE_LOCATION); 138 assertGranted(ACCESS_FINE_LOCATION); [all …]
|
/cts/tests/backup/src/android/backup/cts/ |
D | PermissionTest.java | 20 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 96 grantRuntimePermission(APP, ACCESS_FINE_LOCATION); in testGrantDeniedRuntimePermission() 103 assertEquals(PERMISSION_GRANTED, checkPermission(APP, ACCESS_FINE_LOCATION)); in testGrantDeniedRuntimePermission() 120 assertEquals(MODE_ALLOWED, getAppOp(APP22, ACCESS_FINE_LOCATION)); in testGrantDeniedRuntimePermission22() 133 setFlag(APP, ACCESS_FINE_LOCATION, FLAG_PERMISSION_USER_SET); in testNoTriStateRuntimePermission() 144 assertEquals(PERMISSION_DENIED, checkPermission(APP, ACCESS_FINE_LOCATION)); in testNoTriStateRuntimePermission() 146 assertEquals(MODE_IGNORED, getAppOp(APP, ACCESS_FINE_LOCATION)); in testNoTriStateRuntimePermission() 154 setAppOp(APP22, ACCESS_FINE_LOCATION, MODE_IGNORED); in testNoTriStateRuntimePermission22() 160 eventually(() -> assertEquals(MODE_IGNORED, getAppOp(APP22, ACCESS_FINE_LOCATION))); in testNoTriStateRuntimePermission22() 167 grantRuntimePermission(APP, ACCESS_FINE_LOCATION); in testGrantForegroundRuntimePermission() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp28/src/com/android/cts/usepermission/ |
D | UsePermissionTest28.java | 20 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 42 assertEquals(PERMISSION_DENIED, context.checkSelfPermission(ACCESS_FINE_LOCATION)); in testLocationPermissionWasSplit() 45 String[] permissions = {ACCESS_FINE_LOCATION}; in testLocationPermissionWasSplit() 63 assertEquals(PERMISSION_GRANTED, context.checkSelfPermission(ACCESS_FINE_LOCATION)); in testLocationPermissionWasSplit()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | BackgroundPermissionsTest.java | 21 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 189 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); in appOpIsSetIfOnlyFineLocPermIsGranted() 206 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); in appOpIsSetIfFineAndBgLocPermIsGranted() 223 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); in appOpIsSetIfFineAndCoarseLocPermIsGranted() 241 sUiAutomation.grantRuntimePermission(APP_PKG, ACCESS_FINE_LOCATION); in appOpIsSetIfFineCoarseAndBgLocPermIsGranted()
|
D | PermissionControllerTest.java | 21 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 89 sUiAutomation.grantRuntimePermission(APP, ACCESS_FINE_LOCATION); in resetAppState() 91 setAppOp(APP, ACCESS_FINE_LOCATION, MODE_ALLOWED); in resetAppState() 188 setAppOp(APP, ACCESS_FINE_LOCATION, MODE_FOREGROUND); in doNotRevokeAlreadyRevokedPermission() 199 Map<String, List<String>> request = buildRequest(APP, ACCESS_FINE_LOCATION); in dryRunRevokeForegroundPermission() 205 assertThat(result.get(APP)).containsExactly(ACCESS_FINE_LOCATION, in dryRunRevokeForegroundPermission() 238 Map<String, List<String>> request = buildRequest(APP, ACCESS_FINE_LOCATION); in revokePolicyViolationFromWrongPackage() 261 Collections.singletonList(ACCESS_FINE_LOCATION)); in nullPkg()
|
D | SplitPermissionsSystemTest.java | 21 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 88 case ACCESS_FINE_LOCATION: in validateAndroidSystem()
|
D | LocationAccessCheckTest.java | 20 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 564 grantPermissionToTestApp(ACCESS_FINE_LOCATION); in notificationIsShownAgainAfterClear()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyLocationTests.java | 73 cellLocationAccess, Manifest.permission.ACCESS_FINE_LOCATION); in testCellLocationFinePermission() 94 Manifest.permission.ACCESS_FINE_LOCATION); in testServiceStateLocationSanitization() 121 Manifest.permission.ACCESS_FINE_LOCATION); in testServiceStateListeningWithoutPermissions() 141 Manifest.permission.ACCESS_FINE_LOCATION); in testRegistryPermissionsForCellLocation() 160 Manifest.permission.ACCESS_FINE_LOCATION); in testRegistryPermissionsForCellInfo() 195 }, Manifest.permission.ACCESS_FINE_LOCATION); in testSdk28CellLocation()
|
D | TelephonyManagerTest.java | 328 uiAutomation.grantRuntimePermission(packageName, permission.ACCESS_FINE_LOCATION); in grantLocationPermissions()
|
/cts/tests/tests/location/ |
D | README.txt | 1 Location CTS tests that require "android.permission.ACCESS_FINE_LOCATION".
|
/cts/tests/tests/location2/ |
D | README.txt | 2 "android.permission.ACCESS_FINE_LOCATION". Note you must enable "Allow mock locations"
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | NetworkScanApiTest.java | 19 import static android.Manifest.permission.ACCESS_FINE_LOCATION; 125 context.getPackageName(), ACCESS_FINE_LOCATION); in setUp() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraIntentsActivity.java | 379 Boolean locationEnabled = (checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) == in onResume() 623 if (checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION) == in onClick()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp22/src/com/android/cts/usepermission/ |
D | UsePermissionTest22.java | 109 .checkSelfPermission(Manifest.permission.ACCESS_FINE_LOCATION)); in testAllPermissionsGrantedByDefault()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
D | UsePermissionTest23.java | 511 Manifest.permission.ACCESS_FINE_LOCATION); in testNoResidualPermissionsOnUninstall_part1() 660 Manifest.permission.ACCESS_FINE_LOCATION, in assertAllPermissionsGrantState()
|
D | BasePermissionsTest.java | 156 Manifest.permission.ACCESS_FINE_LOCATION, in initPermissionToLabelMap() 223 Manifest.permission.ACCESS_FINE_LOCATION, in initPermissionToLabelMap()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothLeScanTest.java | 91 "android.bluetooth.cts", android.Manifest.permission.ACCESS_FINE_LOCATION); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | EnterprisePrivacyTestListActivity.java | 167 Manifest.permission.ACCESS_FINE_LOCATION)); in addTestsToAdapter()
|
D | ByodHelperActivity.java | 585 android.Manifest.permission.ACCESS_FINE_LOCATION, in grantLocationPermissionToSelf()
|
D | CommandReceiverActivity.java | 585 Manifest.permission.ACCESS_FINE_LOCATION, in clearAllPoliciesAndRestrictions()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpsTest.kt | 76 permissionToOpStr[permission.ACCESS_FINE_LOCATION] =
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | RestrictedPermissionsTest.java | 985 if (isPermissionGranted(PKG, Manifest.permission.ACCESS_FINE_LOCATION)) { in assertRestrictedPermissionWhitelisted()
|
/cts/tools/release-parser/tests/resources/ |
D | Shell.apk.pb.txt | 17 uses_permissions: "android.permission.ACCESS_FINE_LOCATION"
|