/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 96 new int[]{AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_FINE_LOCATION}, in addCallback_includedCode() 100 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in addCallback_includedCode() 109 mController.addCallback(new int[]{AppOpsManager.OP_FINE_LOCATION}, mCallback); in addCallback_notIncludedCode() 154 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, in getActiveItems_differentDetails() 165 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, in getActiveItemsForUser() 176 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in opNotedScheduledForRemoval() 186 mController.onOpActiveChanged(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noItemsAfterStopListening() 188 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noItemsAfterStopListening() 202 mController.onOpNoted(AppOpsManager.OP_FINE_LOCATION, TEST_UID, TEST_PACKAGE_NAME, in noDoubleUpdateOnOpNoted() 204 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()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 171 boolean isAppOpAllowed = noteAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid); in checkCallersLocationPermission() 210 if (!checkAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid)) { in checkCallersFineLocationPermission() 214 if (!noteAppOpAllowed(AppOpsManager.OP_FINE_LOCATION, pkgName, uid)) { in checkCallersFineLocationPermission()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 729 verify(mMockAppOps).noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), anyString()); in testEnforceCoarseLocationPermissionLegacyApp() 750 verify(mMockAppOps).noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), anyString()); in testEnforceFineLocationPermissionNewQApp() 903 AppOpsManager.OP_FINE_LOCATION, mUid, TEST_PACKAGE_NAME); in testCanAccessScanResultsForWifiScanner() 904 verify(mMockAppOps).noteOp(AppOpsManager.OP_FINE_LOCATION, mUid, TEST_PACKAGE_NAME); in testCanAccessScanResultsForWifiScanner() 931 verify(mMockAppOps).checkOp(AppOpsManager.OP_FINE_LOCATION, mUid, TEST_PACKAGE_NAME); in testCannotAccessScanResultsForWifiScanner_HideFromAppOps() 933 AppOpsManager.OP_FINE_LOCATION, mUid, TEST_PACKAGE_NAME); in testCannotAccessScanResultsForWifiScanner_HideFromAppOps() 1158 when(mMockAppOps.noteOp(AppOpsManager.OP_FINE_LOCATION, mUid, TEST_PACKAGE_NAME)) 1160 when(mMockAppOps.checkOp(AppOpsManager.OP_FINE_LOCATION, mUid, TEST_PACKAGE_NAME))
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | RemoteListenerHelper.java | 180 return mAppOps.checkOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.mUid, in hasPermission() 184 return mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.mUid, in hasPermission()
|
D | GeofenceManager.java | 303 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, state.mUid, in updateFences()
|
D | GnssVisibilityControl.java | 495 mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, proxyAppInfo.uid, in handleNfwNotification()
|
/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 | 41 OP_FINE_LOCATION = 1, enumerator
|
/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 | 76 AppOpsManager.OP_FINE_LOCATION
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 337 case OP_FINE_LOCATION: in resolveFirstUnrestrictedUidState() 360 case OP_FINE_LOCATION: in resolveLastRestrictedUidState() 585 public static final int OP_FINE_LOCATION = 1; field in AppOpsManager 1174 OP_FINE_LOCATION,
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationManagerService.java | 1954 return AppOpsManager.OP_FINE_LOCATION; in resolutionLevelToOp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBar.java | 630 AppOpsManager.OP_FINE_LOCATION};
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 163 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), in setUp()
|