Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsServiceTestingShim.java104 public boolean setUidMode(int uid, String persistentDeviceId, int op, int mode) { in setUidMode() method in AppOpsServiceTestingShim
105 boolean oldVal = mOldImplementation.setUidMode(uid, persistentDeviceId, op, mode); in setUidMode()
106 boolean newVal = mNewImplementation.setUidMode(uid, persistentDeviceId, op, mode); in setUidMode()
DAppOpsCheckingServiceLoggingDecorator.java82 public boolean setUidMode(int uid, String persistentDeviceId, int op, int mode) { in setUidMode() method in AppOpsCheckingServiceLoggingDecorator
84 return mService.setUidMode(uid, persistentDeviceId, op, mode); in setUidMode()
DAppOpsCheckingServiceTracingDecorator.java116 public boolean setUidMode( in setUidMode() method in AppOpsCheckingServiceTracingDecorator
120 return mService.setUidMode(uid, persistentDeviceId, op, mode); in setUidMode()
DAppOpsCheckingServiceInterface.java94 boolean setUidMode(int uid, String persistentDeviceId, int op, @Mode int mode); in setUidMode() method
DAppOpsCheckingServiceImpl.java191 public boolean setUidMode(int uid, String persistentDeviceId, int op, int mode) { in setUidMode() method in AppOpsCheckingServiceImpl
616 setUidMode( in upgradeScheduleExactAlarmLocked()
653 setUidMode( in resetUseFullScreenIntentLocked()
DAppOpsService.java2025 public void setUidMode(int code, int uid, int mode) { in setUidMode() method in AppOpsService
2026 setUidMode(code, uid, mode, null); in setUidMode()
2029 private void setUidMode(int code, int uid, int mode, in setUidMode() method in AppOpsService
2076 if (!mAppOpsCheckingService.setUidMode( in setUidMode()
2521 mAppOpsCheckingService.setUidMode( in resetAllModes()
5500 shell.mInterface.setUidMode(shell.op, uid, mode); in onShellCommand()
5505 shell.mInterface.setUidMode(shell.op, shell.nonpackageUid, mode); in onShellCommand()
7125 setUidMode(code, uid, mode, callback);
/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsControllerTest.kt95 verify(appOpsManager).setUidMode(OP, APP.uid, MODE_ALLOWED) in setAllowed_setToTrueByUid()
108 verify(appOpsManager).setUidMode(OP, APP.uid, MODE_ERRORED) in setAllowed_setToFalseByUid()
DAppOpsPermissionControllerTest.kt156 verify(appOpsManager).setUidMode(OP, APP.uid, AppOpsManager.MODE_ALLOWED) in setAllowed_setModeByUid()
/frameworks/base/tests/EnforcePermission/test-app/src/android/tests/enforcepermission/tests/
DServiceTest.java135 appOpsManager.setUidMode(AppOpsManager.OP_TURN_SCREEN_ON, in testAppOpPermissionGranted_succeeds()
144 appOpsManager.setUidMode(AppOpsManager.OP_TURN_SCREEN_ON, in testAppOpPermissionDenied_fails()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsController.kt66 appOpsManager.setUidMode(appOps.op, app.uid, mode) in setAllowed()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl109 void setUidMode(int code, int uid, int mode); in setUidMode() method
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java1082 setUidMode(opCode, uid, MODE_ALLOWED, packageName); in setUidModeAllowed()
1086 setUidMode(opCode, uid, MODE_FOREGROUND, packageName); in setUidModeForeground()
1090 setUidMode(opCode, uid, MODE_IGNORED, packageName); in setUidModeIgnored()
1107 private void setUidMode(int opCode, int uid, int mode, in setUidMode() method in PermissionPolicyService.PermissionToOpSynchroniser
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsApplication.java571 appOps.setUidMode(opStr, Process.PHONE_UID, AppOpsManager.MODE_ALLOWED); in defaultSmsAppChanged()
586 appOps.setUidMode(opStr, applicationData.mUid, AppOpsManager.MODE_ALLOWED); in tryFixExclusiveSmsAppops()
803 appOpsManager.setUidMode(opStr, uid, mode); in setExclusiveAppops()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java528 .setUidMode(OP_INTERACT_ACROSS_PROFILES, uid, newMode));
531 .setUidMode(OP_INTERACT_ACROSS_PROFILES, uid, newMode);
DLauncherAppsService.java2187 mAppOpsManager.setUidMode( in setArchiveCompatibilityOptions()
2191 mAppOpsManager.setUidMode( in setArchiveCompatibilityOptions()
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/
DSmsApplicationTest.java209 verify(mAppOpsManager, atLeastOnce()).setUidMode(AppOpsManager.OPSTR_READ_SMS, SMS_APP_UID, in testGetDefaultSmsApplicationWithAppOpsFix()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppOpService.kt248 override fun setUidMode(uid: Int, deviceId: String, code: Int, mode: Int): Boolean { in <lambda>() method in com.android.server.permission.access.appop.AppOpService
/frameworks/base/core/java/android/app/
DAppOpsManager.java8067 public void setUidMode(int code, int uid, @Mode int mode) { in setUidMode() method in AppOpsManager
8077 mService.setUidMode(code, uid, mode); in setUidMode()
8095 public void setUidMode(@NonNull String appOp, int uid, @Mode int mode) { in setUidMode() method in AppOpsManager
8106 mService.setUidMode(AppOpsManager.strOpToOp(appOp), uid, mode); in setUidMode()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java3662 appOpsManager.setUidMode(appOp, uid, mode);
/frameworks/base/services/
Dart-wear-profile7536 PLcom/android/server/appop/AppOpsCheckingServiceTracingDecorator;->setUidMode(ILjava/lang/String;II…
7761 PLcom/android/server/appop/AppOpsService;->setUidMode(III)V
7762 HPLcom/android/server/appop/AppOpsService;->setUidMode(IIILcom/android/internal/app/IAppOpsCallback…
17260 HPLcom/android/server/permission/access/appop/AppOpService;->setUidMode(ILjava/lang/String;II)Z
20980 PLcom/android/server/policy/PermissionPolicyService$PermissionToOpSynchroniser;->setUidMode(IIILjav…
Dart-profile1204 HSPLcom/android/server/appop/AppOpsService;->setUidMode(IIILcom/android/internal/app/IAppOpsCallbac…
2151 HSPLcom/android/server/permission/access/appop/AppOpService;->setUidMode(ILjava/lang/String;II)Z+]L…
/frameworks/base/core/api/
Dsystem-current.txt636 …method @RequiresPermission("android.permission.MANAGE_APP_OPS_MODES") public void setUidMode(@NonN…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3802 Landroid/app/AppOpsManager;->setUidMode(III)V
71671 Lcom/android/internal/app/IAppOpsService$Stub$Proxy;->setUidMode(III)V
71700 Lcom/android/internal/app/IAppOpsService;->setUidMode(III)V
/frameworks/base/boot/
Dboot-image-profile.txt1136 HSPLandroid/app/AppOpsManager;->setUidMode(Ljava/lang/String;II)V
/frameworks/base/config/
Dboot-image-profile.txt1136 HSPLandroid/app/AppOpsManager;->setUidMode(Ljava/lang/String;II)V