/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
H A D | LocationAttributionHelperTest.java | 19 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 D | LocationAttributionHelper.java | 19 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 D | LocationControllerImplTest.java | 90 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 D | LocationControllerImpl.java | 19 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 D | RecentLocationApps.java | 53 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 D | LocationProviderManagerTest.java | 20 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 D | AppOpsManager.h | 85 OP_MONITOR_HIGH_POWER_LOCATION = 42, enumerator
|
/aosp12/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A D | GnssVisibilityControl.java | 575 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 D | RecentLocationAppsTest.java | 105 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, in testGetAppList_shouldNotShowAndroidOS()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
H A D | AppOpsControllerImpl.java | 101 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION,
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appops/ |
H A D | AppOpsState.java | 104 AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION },
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 1016 public static final int OP_MONITOR_HIGH_POWER_LOCATION = field in AppOpsManager
|
/aosp12/frameworks/base/services/core/java/com/android/server/appop/ |
H A D | AppOpsService.java | 597 case AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION: in evalMode()
|