Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java6838 private void setupLocationPermissions( in setupLocationPermissions() method in ConnectivityServiceTest
6867 setupLocationPermissions(Build.VERSION_CODES.Q, true, AppOpsManager.OPSTR_FINE_LOCATION, in testMaybeSanitizeLocationInfoForCallerWithFineLocationAfterQ()
6876 setupLocationPermissions(Build.VERSION_CODES.P, true, AppOpsManager.OPSTR_COARSE_LOCATION, in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationPreQ()
6886 setupLocationPermissions(Build.VERSION_CODES.Q, false, AppOpsManager.OPSTR_FINE_LOCATION, in testMaybeSanitizeLocationInfoForCallerLocationOff()
6896 setupLocationPermissions(Build.VERSION_CODES.Q, true, AppOpsManager.OPSTR_FINE_LOCATION, in testMaybeSanitizeLocationInfoForCallerWrongUid()
6906 setupLocationPermissions(Build.VERSION_CODES.Q, true, AppOpsManager.OPSTR_COARSE_LOCATION, in testMaybeSanitizeLocationInfoForCallerWithCoarseLocationAfterQ()
6916 setupLocationPermissions(Build.VERSION_CODES.Q, true, null /* op */, null /* perm */); in testMaybeSanitizeLocationInfoForCallerWithoutLocationPermission()
7197 setupLocationPermissions(Build.VERSION_CODES.Q, true, AppOpsManager.OPSTR_FINE_LOCATION, in testCheckConnectivityDiagnosticsPermissionsActiveVpn()
7231 setupLocationPermissions(Build.VERSION_CODES.Q, true, AppOpsManager.OPSTR_FINE_LOCATION, in testCheckConnectivityDiagnosticsPermissionsNetworkAdministrator()
7253 setupLocationPermissions(Build.VERSION_CODES.Q, true, AppOpsManager.OPSTR_FINE_LOCATION, in testCheckConnectivityDiagnosticsPermissionsFails()