Home
last modified time | relevance | path

Searched refs:OP_MONITOR_HIGH_POWER_LOCATION (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java118 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
122 new AppOpItem(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, "", in testRemoveSelfActive_DoesNotCrash()
124 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
171 new AppOpItem(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, "", in testCallbackNotified()
173 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testCallbackNotified()
218 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testCallbackNotified_additionalOps()
317 new AppOpItem(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testCallbackNotified_verifyMetrics()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssMeasurementsProvider.java19 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
84 mAppOpsHelper.startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onActive()
90 mAppOpsHelper.finishOp(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onInactive()
DGnssVisibilityControl.java579 if (mAppOps.startOpNoThrow(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, uid, in updateLocationIcon()
586 mAppOps.finishOp(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, uid, proxyAppPkgName); in updateLocationIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java21 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
138 new int[]{OP_COARSE_LOCATION, OP_FINE_LOCATION, OP_MONITOR_HIGH_POWER_LOCATION}, in LocationControllerImpl()
235 if (appOpsItems.get(i).getCode() == OP_MONITOR_HIGH_POWER_LOCATION) { in areActiveHighPowerLocationRequests()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java53 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION,
182 case AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION: in getRequestFromOps()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h85 OP_MONITOR_HIGH_POWER_LOCATION = 42, enumerator
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java23 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
906 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
915 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
922 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
929 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
942 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
957 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
964 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
971 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAppsTest.java105 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, in testGetAppList_shouldNotShowAndroidOS()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsUidStateTrackerImpl.java172 case AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION: in getOpCapability()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java120 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java20 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
541 mAppOpsHelper.startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onHighPowerUsageChanged()
543 mAppOpsHelper.finishOp(OP_MONITOR_HIGH_POWER_LOCATION, getIdentity()); in onHighPowerUsageChanged()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1045 public static final int OP_MONITOR_HIGH_POWER_LOCATION = field in AppOpsManager
2762 new AppOpInfo.Builder(OP_MONITOR_HIGH_POWER_LOCATION, OPSTR_MONITOR_HIGH_POWER_LOCATION,