Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSubInfoControllerTest.java108 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetDeviceIdWithOutPermission()
158 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetNaiWithOutPermission()
208 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetImeiWithOutPermission()
258 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetDeviceSvnWithOutPermission()
311 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetSubscriberIdWithOutPermission()
366 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetIccSerialNumberWithOutPermission()
401 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testLine1NumberWithOutPermission()
403 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testLine1NumberWithOutPermission()
405 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testLine1NumberWithOutPermission()
428 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testLine1NumberWithOutPermission()
[all …]
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h33 MODE_ERRORED = IAppOpsService::MODE_ERRORED enumerator
DIAppOpsService.h59 MODE_ERRORED = 2 enumerator
/frameworks/native/libs/binder/
DIAppOpsService.cpp47 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in checkOperation()
59 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in noteOperation()
73 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in startOperation()
/frameworks/base/core/java/android/app/
DAppOpsManager.java98 public static final int MODE_ERRORED = 2; field in AppOpsManager
946 AppOpsManager.MODE_ERRORED, // OP_MOCK_LOCATION
1713 if (mode == MODE_ERRORED) { in checkOp()
1759 if (mode == MODE_ERRORED) { in checkAudioOp()
1799 if (mode == MODE_ERRORED) { in noteOp()
1828 if (mode == MODE_ERRORED) { in noteProxyOp()
1904 if (mode == MODE_ERRORED) { in startOp()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsAccessTest.java133 setHasAppOpsPermission(AppOpsManager.MODE_ERRORED, true); in testCheckAccessLevel_deniedAppOpsBit()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java509 mWifiScanAllowApps = AppOpsManager.MODE_ERRORED;
519 mAllowCoarseLocationApps = AppOpsManager.MODE_ERRORED;
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java307 case AppOpsManager.MODE_ERRORED: in systemReady()
1041 return AppOpsManager.MODE_ERRORED; in checkPackage()
1086 return AppOpsManager.MODE_ERRORED; in noteOperationUnchecked()
1144 return AppOpsManager.MODE_ERRORED; in startOperation()
1756 return AppOpsManager.MODE_ERRORED; in strModeToMode()
1992 case AppOpsManager.MODE_ERRORED: in onShellCommand()
DVibratorService.java480 if (mode == AppOpsManager.MODE_ERRORED) { in startVibrationLocked()
/frameworks/base/core/java/android/content/
DContentProvider.java21 import static android.app.AppOpsManager.MODE_ERRORED;
545 return MODE_ERRORED; in checkPermissionAndAppOp()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2192 if (res == AppOpsManager::MODE_ERRORED) { in startCameraOps()
2264 res == AppOpsManager::MODE_ERRORED ? "ERRORED" : in opChanged()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java120 any())).thenReturn(AppOpsManager.MODE_ERRORED); in setUp()
122 any())).thenReturn(AppOpsManager.MODE_ERRORED); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1039 case AppOpsManager.MODE_ERRORED: in setServiceForegroundInnerLocked()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2500 case AppOpsManager.MODE_ERRORED: in checkAddPermission()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3800 field public static final int MODE_ERRORED = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt4163 field public static final int MODE_ERRORED = 2; // 0x2
Dsystem-current.txt4317 field public static final int MODE_ERRORED = 2; // 0x2