Searched refs:forRestore (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 707 private void populateFromXml(XmlPullParser parser, boolean forRestore, in populateFromXml() argument 709 Preconditions.checkArgument(!forRestore || context != null, in populateFromXml() 719 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeHelper.java | 672 public void readXml(XmlPullParser parser, boolean forRestore, int userId) in readXml() argument 678 if (forRestore) { in readXml() 691 if (forRestore) { in readXml() 703 && (forRestore || config.version < ZenModeConfig.XML_VERSION)) { in readXml()
|
D | PreferencesHelper.java | 149 public void readXml(XmlPullParser parser, boolean forRestore, int userId) in readXml() argument 166 if (forRestore && userId != UserHandle.USER_SYSTEM) { in readXml() 175 if (forRestore) { in readXml() 235 if (forRestore) { in readXml()
|
D | SnoozeHelper.java | 382 public void readXml(XmlPullParser parser, boolean forRestore) in readXml() argument
|
D | ManagedServices.java | 377 boolean forRestore, in readXml() argument 394 final int resolvedUserId = forRestore in readXml()
|
D | NotificationManagerService.java | 582 void readPolicyXml(InputStream stream, boolean forRestore, int userId) in readPolicyXml() argument 588 boolean ineligibleForManagedServices = forRestore && mUm.isManagedProfile(userId); in readPolicyXml() 592 mZenModeHelper.readXml(parser, forRestore, userId); in readPolicyXml() 594 mPreferencesHelper.readXml(parser, forRestore, userId); in readPolicyXml() 600 mListeners.readXml(parser, mAllowedManagedServicePackages, forRestore, userId); in readPolicyXml() 606 mAssistants.readXml(parser, mAllowedManagedServicePackages, forRestore, userId); in readPolicyXml() 613 parser, mAllowedManagedServicePackages, forRestore, userId); in readPolicyXml() 617 if (forRestore && userId != UserHandle.USER_SYSTEM) { in readPolicyXml()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 198 private void loadStreamXml(ByteArrayOutputStream stream, boolean forRestore, int userId) in loadStreamXml() argument 200 loadByteArrayXml(stream.toByteArray(), forRestore, userId); in loadStreamXml() local 203 private void loadByteArrayXml(byte[] byteArray, boolean forRestore, int userId) in loadByteArrayXml() argument 208 mHelper.readXml(parser, forRestore, userId); in loadByteArrayXml()
|