Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DLocationAttributionHelperTest.java19 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
106 verify(mAppOpsHelper).startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
108 verify(mAppOpsHelper, never()).finishOp(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
112 verify(mAppOpsHelper).startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
114 verify(mAppOpsHelper, never()).finishOp(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
118 verify(mAppOpsHelper).startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
120 verify(mAppOpsHelper, never()).finishOp(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
124 verify(mAppOpsHelper).startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
126 verify(mAppOpsHelper, never()).finishOp(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
133 verify(mAppOpsHelper).finishOp(OP_MONITOR_HIGH_POWER_LOCATION, in testHighPowerLocationMonitoring()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/location/injector/
H A DLocationAttributionHelper.java19 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
96 if (mAppOpsHelper.startOpNoThrow(OP_MONITOR_HIGH_POWER_LOCATION, identity)) { in reportHighPowerLocationStart()
117 mAppOpsHelper.finishOp(OP_MONITOR_HIGH_POWER_LOCATION, identity); in reportHighPowerLocationStop()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImplTest.java90 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
93 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
139 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testCallbackNotified()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImpl.java19 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
85 mAppOpsController.addCallback(new int[]{OP_MONITOR_HIGH_POWER_LOCATION}, this); in LocationControllerImpl()
166 if (appOpsItems.get(i).getCode() == OP_MONITOR_HIGH_POWER_LOCATION) { in areActiveHighPowerLocationRequests()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
H A DRecentLocationApps.java53 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION,
182 case AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION: in getRequestFromOps()
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
H A DLocationProviderManagerTest.java20 import static android.app.AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION;
820 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
829 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
836 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
843 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring()
856 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
871 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
878 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
885 assertThat(mInjector.getAppOpsHelper().isAppOpStarted(OP_MONITOR_HIGH_POWER_LOCATION, in testLocationMonitoring_multipleIdentities()
/aosp12/frameworks/native/libs/permission/include/binder/
H A DAppOpsManager.h85 OP_MONITOR_HIGH_POWER_LOCATION = 42, enumerator
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssVisibilityControl.java575 if (mAppOps.startOpNoThrow(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, uid, in updateLocationIcon()
582 mAppOps.finishOp(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, uid, proxyAppPkgName); in updateLocationIcon()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
H A DRecentLocationAppsTest.java105 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, in testGetAppList_shouldNotShowAndroidOS()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
H A DAppOpsControllerImpl.java101 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION,
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appops/
H A DAppOpsState.java104 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION },
/aosp12/frameworks/base/core/java/android/app/
H A DAppOpsManager.java1016 public static final int OP_MONITOR_HIGH_POWER_LOCATION = field in AppOpsManager
/aosp12/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsService.java597 case AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION: in evalMode()