/frameworks/base/services/permission/java/com/android/server/permission/access/appop/ |
D | AppOpModes.kt | 24 const val MODE_ERRORED = AppOpsManager.MODE_ERRORED constant
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/ |
D | AppOpsRepositoryTest.kt | 50 } doReturn AppOpsManager.MODE_ERRORED in <lambda>() 65 assertThat(mode).isEqualTo(AppOpsManager.MODE_ERRORED) in getOpMode() 74 assertThat(mode).isEqualTo(AppOpsManager.MODE_ERRORED) in <lambda>()
|
D | AppOpsControllerTest.kt | 21 import android.app.AppOpsManager.MODE_ERRORED 69 verify(appOpsManager).setMode(OP, APP.uid, APP.packageName, MODE_ERRORED) in setAllowed_setToFalse() 108 verify(appOpsManager).setUidMode(OP, APP.uid, MODE_ERRORED) in setAllowed_setToFalseByUid()
|
D | AppOpsPermissionControllerTest.kt | 116 on { modeFlow } doReturn flowOf(AppOpsManager.MODE_ERRORED) in <lambda>()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 19 import static android.app.AppOpsManager.MODE_ERRORED; 257 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 269 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage() 284 assertThat(erroredResult.getOpMode()).isEqualTo(MODE_ERRORED); in testNoteOperationFromSdkSandbox() 304 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp() 306 null, false).getOpMode()).isEqualTo(MODE_ERRORED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp() 316 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testStatePersistence() 330 assertContainsOp(loggedOps, OP_WRITE_SMS, -1, mTestStartMillis, MODE_ERRORED); in testStatePersistence()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | AppOpsController.kt | 21 import android.app.AppOpsManager.MODE_ERRORED 43 val modeForNotAllowed: Int = MODE_ERRORED, in setAllowed()
|
/frameworks/native/libs/permission/include/binder/ |
D | AppOpsManager.h | 38 MODE_ERRORED = IAppOpsService::MODE_ERRORED enumerator
|
D | IAppOpsService.h | 75 MODE_ERRORED = 2 enumerator
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsPermissionsTest.java | 127 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_persist_noAppOps() 143 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_noPersist_grantViaCarrierApp() 188 .thenReturn(AppOpsManager.MODE_ERRORED); in testCheckCallingSendTextPermissions_noPersist_noAppOps()
|
D | PhoneSubInfoControllerTest.java | 113 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in setUp() 177 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetDeviceIdWithOutPermission() 291 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetNaiWithOutPermission() 374 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetImeiWithOutPermission() 451 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetDeviceSvnWithOutPermission() 517 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetSubscriberIdWithOutPermission() 602 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetIccSerialNumberWithOutPermission() 769 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetLine1AlphaTagWithOutPermission() 916 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetVoiceMailNumberWithOutPermission() 972 doReturn(AppOpsManager.MODE_ERRORED).when(mAppOsMgr).noteOpNoThrow( in testGetVoiceMailAlphaTagWithOutPermission()
|
D | TelephonyPermissionsTest.java | 126 nullable(String.class))).thenReturn(AppOpsManager.MODE_ERRORED); in setUp() 128 nullable(String.class))).thenReturn(AppOpsManager.MODE_ERRORED); in setUp()
|
/frameworks/native/libs/binder/include/binder/ |
D | PermissionController.h | 41 MODE_ERRORED = 2, enumerator
|
/frameworks/native/libs/permission/ |
D | IAppOpsService.cpp | 47 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in checkOperation() 65 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in noteOperation() 89 if (reply.readExceptionCode() != 0) return MODE_ERRORED; in startOperation() 146 return MODE_ERRORED; in checkAudioOperation()
|
/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/native/libs/binder/ |
D | PermissionController.cpp | 65 return service != nullptr ? service->noteOp(op, uid, packageName) : MODE_ERRORED; in noteOp()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerService.java | 27 import static android.app.AppOpsManager.MODE_ERRORED; 1212 case AppOpsManager.MODE_ERRORED: { in checkAppOpPermission() 1314 case AppOpsManager.MODE_ERRORED: { in checkRuntimePermission() 1472 case AppOpsManager.MODE_ERRORED: { in checkOp() 1507 return AppOpsManager.MODE_ERRORED; in performOpTransaction() 1517 return AppOpsManager.MODE_ERRORED; in performOpTransaction() 1528 return AppOpsManager.MODE_ERRORED; in performOpTransaction() 1545 if (checkedOpResult == MODE_ERRORED) { in performOpTransaction() 1589 return AppOpsManager.MODE_ERRORED; in performOpTransaction() 1601 if (checkedOpResult == MODE_ERRORED) { in performOpTransaction() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 37 import static android.app.AppOpsManager.MODE_ERRORED; 2182 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); 2222 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); 2226 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); 2237 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); 2242 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); 2484 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); 2558 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); 2604 mockScheduleExactAlarmStatePreT(false, MODE_ERRORED); 2628 mockScheduleExactAlarmStatePreT(true, MODE_ERRORED); [all …]
|
/frameworks/base/tests/EnforcePermission/test-app/src/android/tests/enforcepermission/tests/ |
D | ServiceTest.java | 145 Process.myUid(), AppOpsManager.MODE_ERRORED); in testAppOpPermissionDenied_fails()
|
/frameworks/base/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 236 case AppOpsManager.MODE_ERRORED: in appOpsModeToPermissionResult()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraOfflineSessionClient.cpp | 248 if (res == AppOpsManager::MODE_ERRORED) { in startCameraOps()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataServiceManager.java | 190 pkg, AppOpsManager.MODE_ERRORED); in revokePermissionsFromUnusedDataServices() 192 pkg, AppOpsManager.MODE_ERRORED); in revokePermissionsFromUnusedDataServices()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 576 mOriginatingPackage, AppOpsManager.MODE_ERRORED); in handleUnknownSources() 578 case AppOpsManager.MODE_ERRORED: in handleUnknownSources()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 33 import static android.app.AppOpsManager.MODE_ERRORED; 1149 case AppOpsManager.MODE_ERRORED: in systemReady() 2082 if (mode != MODE_ERRORED && mode != previousMode) { in setUidMode() 2212 if (mode != MODE_ERRORED) { in notifyOpChangedForPkg() 2958 return AppOpsManager.MODE_ERRORED; in checkPackage() 2960 return AppOpsManager.MODE_ERRORED; in checkPackage() 3021 return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, proxiedAttributionTag, in noteProxyOperationImpl() 3107 return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, attributionTag, in noteOperationImpl() 3143 return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, attributionTag, in noteOperationUnchecked() 3171 return new SyncNotedAppOp(AppOpsManager.MODE_ERRORED, code, attributionTag, in noteOperationUnchecked() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/ |
D | InstallRepository.kt | 786 AppOpsManager.MODE_DEFAULT, AppOpsManager.MODE_ERRORED -> { in <lambda>() 790 AppOpsManager.MODE_ERRORED in <lambda>()
|