Home
last modified time | relevance | path

Searched refs:OP_FINE_LOCATION (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java98 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode()
102 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in addCallback_includedCode()
111 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in addCallback_notIncludedCode()
156 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, in getActiveItems_differentDetails()
167 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, in getActiveItemsForUser()
178 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in opNotedScheduledForRemoval()
188 mController.onOpActiveChanged(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noItemsAfterStopListening()
190 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noItemsAfterStopListening()
204 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noDoubleUpdateOnOpNoted()
206 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noDoubleUpdateOnOpNoted()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsNotedWatcherTest.java55 appOpsManager.startWatchingNoted(new int[]{AppOpsManager.OP_FINE_LOCATION, in testWatchNotedOps()
59 appOpsManager.noteOp(AppOpsManager.OP_FINE_LOCATION, Process.myUid(), in testWatchNotedOps()
67 .times(1)).onOpNoted(eq(AppOpsManager.OP_FINE_LOCATION), in testWatchNotedOps()
82 appOpsManager.noteOp(AppOpsManager.OP_FINE_LOCATION); in testWatchNotedOps()
86 appOpsManager.startWatchingNoted(new int[]{AppOpsManager.OP_FINE_LOCATION, in testWatchNotedOps()
90 appOpsManager.noteOp(AppOpsManager.OP_FINE_LOCATION, Process.myUid(), in testWatchNotedOps()
95 .times(2)).onOpNoted(eq(AppOpsManager.OP_FINE_LOCATION), in testWatchNotedOps()
DAppOpsStartedWatcherTest.java53 appOpsManager.startWatchingStarted(new int[]{AppOpsManager.OP_FINE_LOCATION, in testWatchStartedOps()
57 appOpsManager.startOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
64 .times(1)).onOpStarted(eq(AppOpsManager.OP_FINE_LOCATION), in testWatchStartedOps()
79 appOpsManager.startOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
80 appOpsManager.finishOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
88 appOpsManager.startOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
99 appOpsManager.finishOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DAppOpsHelperTest.java21 import static android.app.AppOpsManager.OP_FINE_LOCATION;
112 mAppOps).checkOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage")); in testCheckLocationAccess()
116 mAppOps).checkOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage")); in testCheckLocationAccess()
137 mAppOps).noteOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage"), in testNoteLocationAccess()
142 mAppOps).noteOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage"), in testNoteLocationAccess()
/frameworks/base/services/core/java/com/android/server/location/
DRemoteListenerHelper.java182 return mAppOps.checkOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.uid, in hasPermission()
186 return mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.uid, in hasPermission()
DCallerIdentity.java73 return AppOpsManager.OP_FINE_LOCATION; in asAppOp()
DGeofenceManager.java255 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, identity.uid, in updateFences()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAccessesTest.java107 AppOpsManager.OP_FINE_LOCATION, in testGetAppList_shouldNotShowAndroidOS()
144 AppOpsManager.OP_FINE_LOCATION, in createTestPackageOpsList()
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h43 OP_FINE_LOCATION = 1, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DForegroundServiceController.java46 AppOpsManager.OP_FINE_LOCATION};
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java58 AppOpsManager.OP_FINE_LOCATION,
DRecentLocationApps.java57 AppOpsManager.OP_FINE_LOCATION,
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java78 AppOpsManager.OP_FINE_LOCATION
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssVisibilityControl.java498 mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, proxyAppInfo.uid, in handleNfwNotification()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/gnss/
DGnssManagerServiceTest.java298 if (code == AppOpsManager.OP_FINE_LOCATION) { in enableLocationPermissions()
/frameworks/base/core/java/android/app/
DAppOpsManager.java802 public static final int OP_FINE_LOCATION = AppProtoEnums.APP_OP_FINE_LOCATION; field in AppOpsManager
1484 OP_FINE_LOCATION,
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1582 AppOpsManager.OP_FINE_LOCATION,
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java158 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), in setUp()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java547 case AppOpsManager.OP_FINE_LOCATION: in evalMode()