Searched refs:enableQuietMode (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 103 …boolean requestQuietModeEnabled(String callingPackage, boolean enableQuietMode, int userHandle, in… in requestQuietModeEnabled() argument
|
D | UserManager.java | 2651 … public boolean requestQuietModeEnabled(boolean enableQuietMode, @NonNull UserHandle userHandle) { in requestQuietModeEnabled() argument 2652 return requestQuietModeEnabled(enableQuietMode, userHandle, null); in requestQuietModeEnabled() 2664 boolean enableQuietMode, @NonNull UserHandle userHandle, IntentSender target) { in requestQuietModeEnabled() argument 2667 mContext.getPackageName(), enableQuietMode, userHandle.getIdentifier(), target); in requestQuietModeEnabled()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 839 public boolean requestQuietModeEnabled(@NonNull String callingPackage, boolean enableQuietMode, in requestQuietModeEnabled() argument 843 if (enableQuietMode && target != null) { in requestQuietModeEnabled() 852 if (enableQuietMode) { in requestQuietModeEnabled() 914 private void setQuietModeEnabled(int userHandle, boolean enableQuietMode, in setQuietModeEnabled() argument 925 if (profile.isQuietModeEnabled() == enableQuietMode) { in setQuietModeEnabled() 926 Slog.i(LOG_TAG, "Quiet mode is already " + enableQuietMode); in setQuietModeEnabled() 936 if (enableQuietMode) { in setQuietModeEnabled() 947 logQuietModeEnabled(userHandle, enableQuietMode, callingPackage); in setQuietModeEnabled() 953 enableQuietMode); in setQuietModeEnabled() local 956 private void logQuietModeEnabled(int userHandle, boolean enableQuietMode, in logQuietModeEnabled() argument [all …]
|