Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DUserDeniedManager.java34 public class UserDeniedManager { class
37 private static UserDeniedManager sInstance;
49 public static UserDeniedManager getInstance(@NonNull Context context) { in getInstance()
51 sInstance = new UserDeniedManager(context); in getInstance()
56 private UserDeniedManager(@NonNull Context context) { in UserDeniedManager() method in UserDeniedManager
/packages/apps/PermissionController/src/com/android/packageinstaller/role/service/
DClearUserDeniedReceiver.java25 import com.android.packageinstaller.role.model.UserDeniedManager;
43 UserDeniedManager.getInstance(context).clearPackageDenied(packageName); in onReceive()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleFragment.java56 import com.android.packageinstaller.role.model.UserDeniedManager;
159 if (UserDeniedManager.getInstance(context).isDeniedOnce(mRoleName, mPackageName)) { in onCreateDialog()
348 UserDeniedManager.getInstance(requireContext()).clearDenied(mRoleName, mPackageName); in clearDeniedSetResultOkAndFinish()
354 UserDeniedManager.getInstance(requireContext()).setDeniedOnce(mRoleName, mPackageName); in setDeniedOnceAndFinish()
359 UserDeniedManager.getInstance(requireContext()).setDeniedAlways(mRoleName, mPackageName); in setDeniedAlwaysAndFinish()
DRequestRoleActivity.java39 import com.android.packageinstaller.role.model.UserDeniedManager;
165 if (UserDeniedManager.getInstance(this).isDeniedAlways(mRoleName, mPackageName)) { in onCreate()