Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java96 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/
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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java171 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/
DWifiPermissionsUtilTest.java729 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/
DRemoteListenerHelper.java180 return mAppOps.checkOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.mUid, in hasPermission()
184 return mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, callerIdentity.mUid, in hasPermission()
DGeofenceManager.java303 if (mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, state.mUid, in updateFences()
DGnssVisibilityControl.java495 mAppOps.noteOpNoThrow(AppOpsManager.OP_FINE_LOCATION, proxyAppInfo.uid, in handleNfwNotification()
/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.h41 OP_FINE_LOCATION = 1, enumerator
/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.java76 AppOpsManager.OP_FINE_LOCATION
/frameworks/base/core/java/android/app/
DAppOpsManager.java337 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/
DLocationManagerService.java1954 return AppOpsManager.OP_FINE_LOCATION; in resolutionLevelToOp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java630 AppOpsManager.OP_FINE_LOCATION};
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java163 when(mMockAppOpsManager.noteOp(eq(AppOpsManager.OP_FINE_LOCATION), anyInt(), in setUp()