/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSubInfoControllerTest.java | 82 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in setUp() 134 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetDeviceIdWithOutPermission() 218 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetNaiWithOutPermission() 301 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetImeiWithOutPermission() 378 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetDeviceSvnWithOutPermission() 444 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetSubscriberIdWithOutPermission() 529 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetIccSerialNumberWithOutPermission() 593 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetLine1NumberWithOutPermissionTargetPreR() 596 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetLine1NumberWithOutPermissionTargetPreR() 599 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOp( in testGetLine1NumberWithOutPermissionTargetPreR() [all …]
|
D | SmsPermissionsTest.java | 128 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_persist_noAppOps() 144 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp() 189 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_noPersist_noAppOps()
|
D | TelephonyPermissionsTest.java | 121 nullable(String.class))).thenReturn(AppOpsManager.MODE_ERRORED); in setUp() 123 nullable(String.class))).thenReturn(AppOpsManager.MODE_ERRORED); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 22 import static android.app.AppOpsManager.MODE_ERRORED; 169 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 181 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 201 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp() 203 null, false)).isEqualTo(MODE_ERRORED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp() 213 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testStatePersistence() 226 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testStatePersistence()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LocationPermissionCheckerTest.java | 131 mWifiScanAllowApps = AppOpsManager.MODE_ERRORED; in initTestVars() 139 mAllowCoarseLocationApps = AppOpsManager.MODE_ERRORED; in initTestVars() 140 mAllowFineLocationApps = AppOpsManager.MODE_ERRORED; in initTestVars() 240 mAllowFineLocationApps = AppOpsManager.MODE_ERRORED;
|
/frameworks/native/libs/binder/include/binder/ |
D | AppOpsManager.h | 37 MODE_ERRORED = IAppOpsService::MODE_ERRORED enumerator
|
D | PermissionController.h | 43 MODE_ERRORED = 2, enumerator
|
D | IAppOpsService.h | 71 MODE_ERRORED = 2 enumerator
|
/frameworks/native/libs/binder/ |
D | IAppOpsService.cpp | 45 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in checkOperation() 62 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in noteOperation() 81 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in startOperation() 135 return MODE_ERRORED; in checkAudioOperation()
|
D | PermissionController.cpp | 65 return service != nullptr ? service->noteOp(op, uid, packageName) : MODE_ERRORED; in noteOp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AssistDataRequesterTest.java | 20 import static android.app.AppOpsManager.MODE_ERRORED; 150 doReturn(assistStructureAllowed ? MODE_ALLOWED : MODE_ERRORED).when(mAppOpsManager) in setupMocks() 152 doReturn(assistScreenshotAllowed ? MODE_ALLOWED : MODE_ERRORED).when(mAppOpsManager) in setupMocks()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | PermissionCheckerTest.java | 115 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_ERRORED); in testCheckPermissionForPreflight_appOpPermission_modeErrored_returnsHardDenied() 188 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_ERRORED); in testCheckPermissionForDataDelivery_appOpPermission_modeErrored_returnsHardDenied()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsAccessTest.java | 146 setHasAppOpsPermission(AppOpsManager.MODE_ERRORED, true); in testCheckAccessLevel_deniedAppOpsBit()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | WifiPermissionsUtilTest.java | 757 mAllowFineLocationApps = AppOpsManager.MODE_ERRORED; in testEnforceFailureFineLocationPermissionNewQApp() 1291 mWifiScanAllowApps = AppOpsManager.MODE_ERRORED; 1299 mAllowCoarseLocationApps = AppOpsManager.MODE_ERRORED; 1300 mAllowFineLocationApps = AppOpsManager.MODE_ERRORED;
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraOfflineSessionClient.cpp | 194 if (res == AppOpsManager::MODE_ERRORED) { in startCameraOps()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 347 MODE_ERRORED, 371 public static final int MODE_ERRORED = 2; field in AppOpsManager 2236 AppOpsManager.MODE_ERRORED, // MOCK_LOCATION 2253 AppOpsManager.MODE_ERRORED, // MANAGE_IPSEC_TUNNELS 2260 AppOpsManager.MODE_ERRORED, // WRITE_MEDIA_AUDIO 2262 AppOpsManager.MODE_ERRORED, // WRITE_MEDIA_VIDEO 2264 AppOpsManager.MODE_ERRORED, // WRITE_MEDIA_IMAGES 2267 AppOpsManager.MODE_ERRORED, // READ_DEVICE_IDENTIFIERS 2277 AppOpsManager.MODE_ERRORED, // OP_NO_ISOLATED_STORAGE 7304 if (mode == MODE_ERRORED) { in noteOp() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 478 mOriginatingPackage, AppOpsManager.MODE_ERRORED); in handleUnknownSources() 480 case AppOpsManager.MODE_ERRORED: in handleUnknownSources()
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 190 case AppOpsManager.MODE_ERRORED: in appOpsModeToPermissionResult()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/gnss/ |
D | GnssManagerServiceTest.java | 301 return AppOpsManager.MODE_ERRORED; in enableLocationPermissions() 315 anyString())).thenReturn(AppOpsManager.MODE_ERRORED); in disableLocationPermissions()
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 1349 case AppOpsManager.MODE_ERRORED: in isExternalStorageManager()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataServiceManager.java | 185 pkg, AppOpsManager.MODE_ERRORED); in revokePermissionsFromUnusedDataServices()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 23 import static android.app.AppOpsManager.MODE_ERRORED; 733 return MODE_ERRORED; in checkPermissionAndAppOp()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 1804 case AppOpsManager.MODE_ERRORED: in checkPermissionAndAppOp() 1832 case AppOpsManager.MODE_ERRORED: in noteAppOpAllowingLegacy()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 1709 case AppOpsManager.MODE_ERRORED: in systemReady() 2952 return AppOpsManager.MODE_ERRORED; in checkPackage() 3033 return AppOpsManager.MODE_ERRORED; in noteOperationUnchecked() 3044 return AppOpsManager.MODE_ERRORED; in noteOperationUnchecked() 3401 return AppOpsManager.MODE_ERRORED; in startOperation() 3411 return AppOpsManager.MODE_ERRORED; in startOperation()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 2921 if (res == AppOpsManager::MODE_ERRORED) { in startCameraOps() 3018 res == AppOpsManager::MODE_ERRORED ? "ERRORED" : in opChanged()
|