Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java23 import static android.app.AppOpsManager.OP_COARSE_LOCATION;
196 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp()
205 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp()
343 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_FOREGROUND); in setupProcStateTests()
354 assertThat(mAppOpsService.noteOperation(OP_COARSE_LOCATION, mMyUid, sMyPackageName)) in testUidProcStateChange_cachedToTopToCached()
358 assertThat(mAppOpsService.noteOperation(OP_COARSE_LOCATION, mMyUid, sMyPackageName)) in testUidProcStateChange_cachedToTopToCached()
365 assertThat(mAppOpsService.noteOperation(OP_COARSE_LOCATION, mMyUid, sMyPackageName)) in testUidProcStateChange_cachedToTopToCached()
374 assertThat(mAppOpsService.noteOperation(OP_COARSE_LOCATION, mMyUid, sMyPackageName)) in testUidProcStateChange_cachedToFgs()
378 assertThat(mAppOpsService.noteOperation(OP_COARSE_LOCATION, mMyUid, sMyPackageName)) in testUidProcStateChange_cachedToFgs()
387 assertThat(mAppOpsService.noteOperation(OP_COARSE_LOCATION, mMyUid, sMyPackageName)) in testUidProcStateChange_cachedToFgsLocation()
[all …]
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h40 OP_COARSE_LOCATION = 0, enumerator
/frameworks/base/core/java/android/app/
DAppOpsManager.java338 case OP_COARSE_LOCATION: in resolveFirstUnrestrictedUidState()
361 case OP_COARSE_LOCATION: { in resolveLastRestrictedUidState()
582 public static final int OP_COARSE_LOCATION = 0; field in AppOpsManager
1173 OP_COARSE_LOCATION,
1221 OP_COARSE_LOCATION, // COARSE_LOCATION
1222 OP_COARSE_LOCATION, // FINE_LOCATION
1223 OP_COARSE_LOCATION, // GPS
1231 OP_COARSE_LOCATION, // WIFI_SCAN
1233 OP_COARSE_LOCATION, // NEIGHBORING_CELLS
1262 OP_COARSE_LOCATION, // MONITOR_LOCATION
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java59 AppOpsManager.OP_COARSE_LOCATION,
DRecentLocationApps.java58 AppOpsManager.OP_COARSE_LOCATION,
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java173 isAppOpAllowed = noteAppOpAllowed(AppOpsManager.OP_COARSE_LOCATION, pkgName, uid); in checkCallersLocationPermission()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java75 AppOpsManager.OP_COARSE_LOCATION,
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java599 when(mAppOpsManager.noteOp(AppOpsManager.OP_COARSE_LOCATION, uid, packageName)) in mockLocationPermissionGranted()
606 when(mAppOpsManager.noteOp(AppOpsManager.OP_COARSE_LOCATION, uid, packageName)) in mockLocationPermissionDenied()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java219 && appOpsManager.noteOp(AppOpsManager.OP_COARSE_LOCATION, uid, packageName) in canAccessLocation()
DLocationManagerService.java320 AppOpsManager.OP_COARSE_LOCATION, in initializeLocked()
1952 return AppOpsManager.OP_COARSE_LOCATION; in resolutionLevelToOp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java1156 when(mMockAppOps.noteOp(AppOpsManager.OP_COARSE_LOCATION, mUid, TEST_PACKAGE_NAME))
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java629 AppOpsManager.OP_COARSE_LOCATION,
/frameworks/base/api/
Dtest-current.txt209 field public static final int OP_COARSE_LOCATION = 0; // 0x0