Home
last modified time | relevance | path

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

/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()
84 appOpsManager.noteOp(AppOpsManager.OP_FINE_LOCATION); in testWatchNotedOps()
88 appOpsManager.startWatchingNoted(new int[]{AppOpsManager.OP_FINE_LOCATION, in testWatchNotedOps()
92 appOpsManager.noteOp(AppOpsManager.OP_FINE_LOCATION, Process.myUid(), in testWatchNotedOps()
97 .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()
85 appOpsManager.startOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
86 appOpsManager.finishOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
94 appOpsManager.startOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
108 appOpsManager.finishOp(AppOpsManager.OP_FINE_LOCATION); in testWatchStartedOps()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java163 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode()
167 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in addCallback_includedCode()
176 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in addCallback_notIncludedCode()
221 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, in getActiveItems_differentDetails()
233 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, in getActiveItemsForUser()
273 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in opNotedScheduledForRemoval()
285 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noItemsAfterStopListening()
299 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noDoubleUpdateOnOpNoted()
301 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noDoubleUpdateOnOpNoted()
315 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in onDoubleOPNoted_scheduleTwiceForRemoval()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DSystemAppOpsHelperTest.java21 import static android.app.AppOpsManager.OP_FINE_LOCATION;
110 mAppOps).checkOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage")); in testCheckOp()
111 assertThat(mHelper.checkOpNoThrow(OP_FINE_LOCATION, identity)).isTrue(); in testCheckOp()
114 mAppOps).checkOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage")); in testCheckOp()
115 assertThat(mHelper.checkOpNoThrow(OP_FINE_LOCATION, identity)).isFalse(); in testCheckOp()
133 mAppOps).noteOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage"), in testNoteOpNoThrow()
135 assertThat(mHelper.noteOpNoThrow(OP_FINE_LOCATION, identity)).isTrue(); in testNoteOpNoThrow()
138 mAppOps).noteOpNoThrow(eq(OP_FINE_LOCATION), eq(1000), eq("mypackage"), in testNoteOpNoThrow()
140 assertThat(mHelper.noteOpNoThrow(OP_FINE_LOCATION, identity)).isFalse(); in testNoteOpNoThrow()
/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/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt319 AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, true) in testNotUpdated_LocationChangeWhenOnlyMicCamera()
331 AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, true) in testLogActiveChanged()
334 AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, true) in testLogActiveChanged()
348 AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, true) in testLogListUpdated()
/frameworks/base/services/core/java/com/android/server/location/gnss/
DGnssNavigationMessageProvider.java121 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportNavigationMessage()
DGnssNmeaProvider.java96 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportNmea()
DGnssStatusProvider.java150 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportSvStatus()
DGnssMeasurementsProvider.java222 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportMeasurements()
DGnssVisibilityControl.java494 mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, proxyAppInfo.uid, in handleNfwNotification()
/frameworks/base/services/core/java/com/android/server/location/
DLocationPermissions.java77 return AppOpsManager.OP_FINE_LOCATION; in asAppOp()
DLocationManagerService.java380 new int[]{AppOpsManager.OP_FINE_LOCATION, AppOpsManager.OP_COARSE_LOCATION}, in onSystemReady()
1553 AppOpsManager.OP_FINE_LOCATION, in refreshAppOpsRestrictions()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h44 OP_FINE_LOCATION = 1, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItemController.kt65 AppOpsManager.OP_FINE_LOCATION)
317 AppOpsManager.OP_FINE_LOCATION -> PrivacyType.TYPE_LOCATION in toPrivacyItem()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java57 AppOpsManager.OP_FINE_LOCATION,
DRecentLocationAccesses.java59 AppOpsManager.OP_FINE_LOCATION,
/frameworks/base/services/core/java/com/android/server/policy/
DAppOpsPolicy.java374 case AppOpsManager.OP_FINE_LOCATION: in resolveLocationOp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java108 AppOpsManager.OP_FINE_LOCATION
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java19 import static android.app.AppOpsManager.OP_FINE_LOCATION;
630 mInjector.getAppOpsHelper().setAppOpAllowed(OP_FINE_LOCATION, IDENTITY.getPackageName(), in testRegisterListener_NoteOpFailure()
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java29 import static android.app.AppOpsManager.OP_FINE_LOCATION;
134 private static final String DEFAULT_DISCRETE_OPS = OP_FINE_LOCATION + "," + OP_COARSE_LOCATION
DAppOpsService.java594 case AppOpsManager.OP_FINE_LOCATION: in evalMode()
/frameworks/base/core/java/android/app/
DAppOpsManager.java884 public static final int OP_FINE_LOCATION = AppProtoEnums.APP_OP_FINE_LOCATION; field in AppOpsManager
1789 OP_FINE_LOCATION,
1851 OP_FINE_LOCATION, // FINE_LOCATION
1958 OP_FINE_LOCATION, // OP_FINE_LOCATION_SOURCE
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java2363 AppOpsManager.OP_FINE_LOCATION,