/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsNotedWatcherTest.java | 55 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()
|
D | AppOpsStartedWatcherTest.java | 53 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/ |
D | AppOpsControllerTest.java | 163 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/ |
D | SystemAppOpsHelperTest.java | 21 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/ |
D | RecentLocationAccessesTest.java | 107 AppOpsManager.OP_FINE_LOCATION, in testGetAppList_shouldNotShowAndroidOS() 144 AppOpsManager.OP_FINE_LOCATION, in createTestPackageOpsList()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | PrivacyItemControllerTest.kt | 319 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/ |
D | GnssNavigationMessageProvider.java | 121 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportNavigationMessage()
|
D | GnssNmeaProvider.java | 96 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportNmea()
|
D | GnssStatusProvider.java | 150 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportSvStatus()
|
D | GnssMeasurementsProvider.java | 222 if (mAppOpsHelper.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, in onReportMeasurements()
|
D | GnssVisibilityControl.java | 494 mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, proxyAppInfo.uid, in handleNfwNotification()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationPermissions.java | 77 return AppOpsManager.OP_FINE_LOCATION; in asAppOp()
|
D | LocationManagerService.java | 380 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/ |
D | AppOpsManager.h | 44 OP_FINE_LOCATION = 1, enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyItemController.kt | 65 AppOpsManager.OP_FINE_LOCATION) 317 AppOpsManager.OP_FINE_LOCATION -> PrivacyType.TYPE_LOCATION in toPrivacyItem()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationApps.java | 57 AppOpsManager.OP_FINE_LOCATION,
|
D | RecentLocationAccesses.java | 59 AppOpsManager.OP_FINE_LOCATION,
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | AppOpsPolicy.java | 374 case AppOpsManager.OP_FINE_LOCATION: in resolveLocationOp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 108 AppOpsManager.OP_FINE_LOCATION
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 19 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/ |
D | DiscreteRegistry.java | 29 import static android.app.AppOpsManager.OP_FINE_LOCATION; 134 private static final String DEFAULT_DISCRETE_OPS = OP_FINE_LOCATION + "," + OP_COARSE_LOCATION
|
D | AppOpsService.java | 594 case AppOpsManager.OP_FINE_LOCATION: in evalMode()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 884 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/ |
D | ActiveServices.java | 2363 AppOpsManager.OP_FINE_LOCATION,
|