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/ |
D | LocationControllerImplTest.java | 118 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/ |
D | GnssMeasurementsProvider.java | 19 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()
|
D | GnssVisibilityControl.java | 579 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/ |
D | LocationControllerImpl.java | 21 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/ |
D | RecentLocationApps.java | 53 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 182 case AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION: in getRequestFromOps()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 85 OP_MONITOR_HIGH_POWER_LOCATION = 42, enumerator
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 23 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/ |
D | RecentLocationAppsTest.java | 105 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, in testGetAppList_shouldNotShowAndroidOS()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsUidStateTrackerImpl.java | 172 case AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION: in getOpCapability()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 120 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 20 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/ |
D | AppOpsManager.java | 1045 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,
|