Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemAppOpsHelperTest.java23 import static android.app.AppOpsManager.OP_MONITOR_LOCATION;
161 mAppOps).startOpNoThrow(eq(OP_MONITOR_LOCATION), eq(1000), eq("mypackage"), in testStartOp()
163 assertThat(mHelper.startOpNoThrow(OP_MONITOR_LOCATION, identity)).isTrue(); in testStartOp()
166 mAppOps).startOpNoThrow(eq(OP_MONITOR_LOCATION), eq(1000), eq("mypackage"), in testStartOp()
168 assertThat(mHelper.startOpNoThrow(OP_MONITOR_LOCATION, identity)).isFalse(); in testStartOp()
175 mHelper.finishOp(OP_MONITOR_LOCATION, identity); in testFinishOp()
176 verify(mAppOps).finishOp(OP_MONITOR_LOCATION, 1000, "mypackage", "myfeature"); in testFinishOp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java52 AppOpsManager.OP_MONITOR_LOCATION,
179 case AppOpsManager.OP_MONITOR_LOCATION: in getRequestFromOps()
/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/native/libs/permission/include/binder/
DAppOpsManager.h84 OP_MONITOR_LOCATION = 41, enumerator
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java24 import static android.app.AppOpsManager.OP_MONITOR_LOCATION;
904 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring()
913 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring()
920 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring()
927 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring()
940 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring_multipleIdentities()
955 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring_multipleIdentities()
962 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring_multipleIdentities()
969 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_LOCATION, in testLocationMonitoring_multipleIdentities()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAppsTest.java143 AppOpsManager.OP_MONITOR_LOCATION, in createTestPackageOpsList()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsUidStateTrackerImpl.java171 case AppOpsManager.OP_MONITOR_LOCATION: in getOpCapability()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java21 import static android.app.AppOpsManager.OP_MONITOR_LOCATION;
462 mAppOpsHelper.startOpNoThrow(OP_MONITOR_LOCATION, getIdentity()); in onActive()
472 mAppOpsHelper.finishOp(OP_MONITOR_LOCATION, getIdentity()); in onInactive()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1041 public static final int OP_MONITOR_LOCATION = field in AppOpsManager
2758 new AppOpInfo.Builder(OP_MONITOR_LOCATION, OPSTR_MONITOR_LOCATION, "MONITOR_LOCATION")