Home
last modified time | relevance | path

Searched refs:OPSTR_FINE_LOCATION (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/appop/src/android/app/appops/cts/
DForegroundModeTest.kt26 import android.app.AppOpsManager.OPSTR_FINE_LOCATION in <lambda>()
69 appopsManager.noteOp(OPSTR_FINE_LOCATION, testPkgUid, TEST_SERVICE_PKG, in <lambda>()
196 appopsManager.startWatchingMode(OPSTR_FINE_LOCATION, TEST_SERVICE_PKG, in <lambda>()
198 if (op == OPSTR_FINE_LOCATION && packageName == TEST_SERVICE_PKG) { in <lambda>()
212 appopsManager.startWatchingMode(OPSTR_FINE_LOCATION, TEST_SERVICE_PKG, in <lambda>()
214 if (op == OPSTR_FINE_LOCATION && packageName == TEST_SERVICE_PKG) { in <lambda>()
283 appopsManager.startWatchingMode(OPSTR_FINE_LOCATION, TEST_SERVICE_PKG, in <lambda>()
285 if (op == OPSTR_FINE_LOCATION && packageName == TEST_SERVICE_PKG) { in <lambda>()
308 appopsManager.startWatchingMode(OPSTR_FINE_LOCATION, TEST_SERVICE_PKG, in <lambda>()
310 if (op == OPSTR_FINE_LOCATION && packageName == TEST_SERVICE_PKG) { in <lambda>()
[all …]
DAppOpsTest.kt39 import android.app.AppOpsManager.OPSTR_FINE_LOCATION in <lambda>()
85 AppOpsManager.OPSTR_FINE_LOCATION in <lambda>()
326 assertFalse(mAppOps.isOpActive(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName)) in <lambda>()
328 mAppOps.finishOp(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName, null) in <lambda>()
329 assertFalse(mAppOps.isOpActive(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName)) in <lambda>()
334 assertFalse(mAppOps.isOpActive(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName)) in <lambda>()
336 mAppOps.startOp(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName, null, null) in <lambda>()
337 assertTrue(mAppOps.isOpActive(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName)) in <lambda>()
339 mAppOps.finishOp(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName, null) in <lambda>()
340 assertFalse(mAppOps.isOpActive(OPSTR_FINE_LOCATION, mMyUid, mOpPackageName)) in <lambda>()
[all …]
DAppOpsLoggingTest.kt28 import android.app.AppOpsManager.OPSTR_FINE_LOCATION
450 assertThat(noted[0].first.op).isEqualTo(OPSTR_FINE_LOCATION) in nativeNoteOp()
475 var filteredAsync = asyncNoted.filter { it.op == OPSTR_FINE_LOCATION } in nativeNoteOp()
541 OPSTR_FINE_LOCATION) in nativeNoteOp()
581 .containsAnyOf(OPSTR_COARSE_LOCATION, OPSTR_FINE_LOCATION) in nativeNoteOp()
585 .containsAnyOf(OPSTR_COARSE_LOCATION, OPSTR_FINE_LOCATION) in nativeNoteOp()
631 assertThat(asyncNoted.map { it.op }).contains(OPSTR_FINE_LOCATION) in nativeNoteOp()
690 assertThat(noted[0].first.op).isEqualTo(OPSTR_FINE_LOCATION) in nativeNoteOp()
905 assertThat(noted[0].first.op).isEqualTo(OPSTR_FINE_LOCATION) in nativeNoteOp()
1028 appOpsManager.noteOpNoThrow(OPSTR_FINE_LOCATION, getCallingUid(), in nativeNoteOp()
DDiscreteAppopsTest.kt31 import android.app.AppOpsManager.OPSTR_FINE_LOCATION in <lambda>()
100 appOpsManager.noteOp(OPSTR_FINE_LOCATION, uid, PACKAGE_NAME, null, null) in <lambda>()
992 noteOp(OPSTR_FINE_LOCATION, uid, PACKAGE_NAME, null, null) in <lambda>()
1021 assertThat(op.opName).isEqualTo(OPSTR_FINE_LOCATION) in <lambda>()
/cts/tests/tests/permission/src/android/permission/cts/
DNearbyDevicesRenouncePermissionTest.java20 import static android.app.AppOpsManager.OPSTR_FINE_LOCATION;
112 case OPSTR_FINE_LOCATION: in setUp()
129 case OPSTR_FINE_LOCATION: in setUp()
DLocationAccessCheckTest.java21 import static android.app.AppOpsManager.OPSTR_FINE_LOCATION;
182 OPSTR_FINE_LOCATION)); in accessLocation()
820 appOpsManager.noteProxyOpNoThrow(OPSTR_FINE_LOCATION, TEST_APP_PKG, in noNotificationIfBlamerNotSystemOrLocationProvider()
/cts/tests/location/location_fine/src/android/location/cts/fine/
DLocationManagerFineTest.java1552 /*expectedOp*/ AppOpsManager.OPSTR_FINE_LOCATION, in testLocationAttributionTagBlaming()
1562 /*unexpectedOp*/ AppOpsManager.OPSTR_FINE_LOCATION, in testLocationAttributionTagBlaming()
1569 /*expectedOp*/ AppOpsManager.OPSTR_FINE_LOCATION, in testLocationAttributionTagBlaming()
1578 /*unexpectedOp*/ AppOpsManager.OPSTR_FINE_LOCATION, in testLocationAttributionTagBlaming()
1586 /*expectedOp*/ AppOpsManager.OPSTR_FINE_LOCATION, in testLocationAttributionTagBlaming()
1596 /* expectedOp */ AppOpsManager.OPSTR_FINE_LOCATION, in testGetLastKnownLocationNoteOps()
1605 AppOpsManager.OPSTR_FINE_LOCATION, null); in testGetLastKnownLocationNoteOps()
1619 /* expectedOp */ AppOpsManager.OPSTR_FINE_LOCATION, in testGetCurrentLocationNoteOps()
1632 AppOpsManager.OPSTR_FINE_LOCATION, null); in testGetCurrentLocationNoteOps()
1648 /* expectedOp */ AppOpsManager.OPSTR_FINE_LOCATION, in testRequestLocationUpdatesNoteOps()
[all …]
/cts/tests/tests/appop/AppThatUsesAppOps/src/android/app/appops/cts/appthatusesappops/
DAppOpsUserService.kt21 import android.app.AppOpsManager.OPSTR_FINE_LOCATION
181 assertThat(noted.map { it.first.op }).containsExactly(OPSTR_FINE_LOCATION) in noteSyncOpFromNativeCode()
/cts/tests/tests/permission3/src/android/permission3/cts/
DPermissionTest30WithBluetooth.kt102 AppOpsManager.OPSTR_FINE_LOCATION, in testGivenBluetoothIsDeniedWhenScanIsAttemptedThenThenGetEmptyScanResult()
/cts/tests/tests/permission2/src/android/permission2/cts/
DRestrictedPermissionsTest.java522 op = AppOpsManager.OPSTR_FINE_LOCATION; in assertRestrictedPermissionWhitelisted()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java107 APP_OPS_ENUM_MAP.put(AppOpsManager.OPSTR_FINE_LOCATION, 1); in APP_OPS_ENUM_MAP.put() argument
491 noteAppOp(appOpsManager, AppOpsManager.OPSTR_FINE_LOCATION); in testForegroundServiceAccessAppOp()