Home
last modified time | relevance | path

Searched refs:OP_MONITOR_LOCATION (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DAppOpsHelper.java20 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/
DAppOpsHelperTest.java24 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/
DRecentLocationApps.java52 AppOpsManager.OP_MONITOR_LOCATION,
179 case AppOpsManager.OP_MONITOR_LOCATION: in getRequestFromOps()
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h83 OP_MONITOR_LOCATION = 41, enumerator
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssVisibilityControl.java575 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/
DRecentLocationAppsTest.java143 AppOpsManager.OP_MONITOR_LOCATION, in createTestPackageOpsList()
/frameworks/base/core/java/android/app/
DAppOpsManager.java928 public static final int OP_MONITOR_LOCATION = field in AppOpsManager
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java549 case AppOpsManager.OP_MONITOR_LOCATION: in evalMode()