Searched refs:UserDeniedManager (Results 1 – 4 of 4) sorted by relevance
34 public class UserDeniedManager { class37 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
25 import com.android.packageinstaller.role.model.UserDeniedManager;43 UserDeniedManager.getInstance(context).clearPackageDenied(packageName); in onReceive()
56 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()
39 import com.android.packageinstaller.role.model.UserDeniedManager;165 if (UserDeniedManager.getInstance(this).isDeniedAlways(mRoleName, mPackageName)) { in onCreate()