Searched refs:OP_MONITOR_LOCATION (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/location/ |
D | AppOpsHelper.java | 20 import static android.app.AppOpsManager.OP_MONITOR_LOCATION; 151 return startLocationMonitoring(OP_MONITOR_LOCATION, identity); in startLocationMonitoring() 159 stopLocationMonitoring(OP_MONITOR_LOCATION, identity); in stopLocationMonitoring()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | AppOpsHelperTest.java | 24 import static android.app.AppOpsManager.OP_MONITOR_LOCATION; 167 mAppOps).startOpNoThrow(eq(OP_MONITOR_LOCATION), eq(1000), eq("mypackage"), in testStartLocationMonitoring() 172 mAppOps).startOpNoThrow(eq(OP_MONITOR_LOCATION), eq(1000), eq("mypackage"), in testStartLocationMonitoring() 201 verify(mAppOps).finishOp(OP_MONITOR_LOCATION, 1000, "mypackage", "myfeature"); in testStopLocationMonitoring()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 52 AppOpsManager.OP_MONITOR_LOCATION, 179 case AppOpsManager.OP_MONITOR_LOCATION: in getRequestFromOps()
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 83 OP_MONITOR_LOCATION = 41, enumerator
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssVisibilityControl.java | 575 if (mAppOps.startOpNoThrow(AppOpsManager.OP_MONITOR_LOCATION, uid, in updateLocationIcon() 581 mAppOps.finishOp(AppOpsManager.OP_MONITOR_LOCATION, uid, proxyAppPkgName); in updateLocationIcon() 585 mAppOps.finishOp(AppOpsManager.OP_MONITOR_LOCATION, uid, proxyAppPkgName); in updateLocationIcon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAppsTest.java | 143 AppOpsManager.OP_MONITOR_LOCATION, in createTestPackageOpsList()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 928 public static final int OP_MONITOR_LOCATION = field in AppOpsManager
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 549 case AppOpsManager.OP_MONITOR_LOCATION: in evalMode()
|