/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 98 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/ |
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() 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()
|
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() 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/ |
D | AppOpsHelperTest.java | 21 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/ |
D | RemoteListenerHelper.java | 182 return mAppOps.checkOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.uid, in hasPermission() 186 return mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.uid, in hasPermission()
|
D | CallerIdentity.java | 73 return AppOpsManager.OP_FINE_LOCATION; in asAppOp()
|
D | GeofenceManager.java | 255 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, identity.uid, in updateFences()
|
/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/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 43 OP_FINE_LOCATION = 1, enumerator
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServiceController.java | 46 AppOpsManager.OP_FINE_LOCATION};
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationAccesses.java | 58 AppOpsManager.OP_FINE_LOCATION,
|
D | RecentLocationApps.java | 57 AppOpsManager.OP_FINE_LOCATION,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 78 AppOpsManager.OP_FINE_LOCATION
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssVisibilityControl.java | 498 mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, proxyAppInfo.uid, in handleNfwNotification()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/gnss/ |
D | GnssManagerServiceTest.java | 298 if (code == AppOpsManager.OP_FINE_LOCATION) { in enableLocationPermissions()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 802 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/ |
D | ActiveServices.java | 1582 AppOpsManager.OP_FINE_LOCATION,
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 158 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), in setUp()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 547 case AppOpsManager.OP_FINE_LOCATION: in evalMode()
|