Home
last modified time | relevance | path

Searched refs:forRestore (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/app/
DNotificationChannel.java707 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/
DZenModeHelper.java672 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()
DPreferencesHelper.java149 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()
DSnoozeHelper.java382 public void readXml(XmlPullParser parser, boolean forRestore) in readXml() argument
DManagedServices.java377 boolean forRestore, in readXml() argument
394 final int resolvedUserId = forRestore in readXml()
DNotificationManagerService.java582 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/
DPreferencesHelperTest.java198 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()