Searched refs:OP_COARSE_LOCATION (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 23 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/ |
D | AppOpsManager.h | 40 OP_COARSE_LOCATION = 0, enumerator
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 338 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/ |
D | RecentLocationAccesses.java | 59 AppOpsManager.OP_COARSE_LOCATION,
|
D | RecentLocationApps.java | 58 AppOpsManager.OP_COARSE_LOCATION,
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 173 isAppOpAllowed = noteAppOpAllowed(AppOpsManager.OP_COARSE_LOCATION, pkgName, uid); in checkCallersLocationPermission()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 75 AppOpsManager.OP_COARSE_LOCATION,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 599 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/ |
D | NetworkScorerAppManager.java | 219 && appOpsManager.noteOp(AppOpsManager.OP_COARSE_LOCATION, uid, packageName) in canAccessLocation()
|
D | LocationManagerService.java | 320 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/ |
D | WifiPermissionsUtilTest.java | 1156 when(mMockAppOps.noteOp(AppOpsManager.OP_COARSE_LOCATION, mUid, TEST_PACKAGE_NAME))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 629 AppOpsManager.OP_COARSE_LOCATION,
|
/frameworks/base/api/ |
D | test-current.txt | 209 field public static final int OP_COARSE_LOCATION = 0; // 0x0
|