Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationChannel.java619 private void populateFromXml(XmlPullParser parser, boolean forRestore, in populateFromXml() argument
621 Preconditions.checkArgument(!forRestore || context != null, in populateFromXml()
631 setSound(forRestore ? restoreSoundUri(context, sound) : sound, safeAudioAttributes(parser)); in populateFromXml()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java601 public void readXml(XmlPullParser parser, boolean forRestore) in readXml() argument
607 if (forRestore) { in readXml()
619 if (forRestore) { in readXml()
629 if (config.version < ZenModeConfig.XML_VERSION || forRestore) { in readXml()
DSnoozeHelper.java358 public void readXml(XmlPullParser parser, boolean forRestore) in readXml() argument
DRankingHelper.java187 public void readXml(XmlPullParser parser, boolean forRestore) in readXml() argument
206 if (forRestore) { in readXml()
263 if (forRestore) { in readXml()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java259 private void loadStreamXml(ByteArrayOutputStream stream, boolean forRestore) throws Exception { in loadStreamXml() argument
260 loadByteArrayXml(stream.toByteArray(), forRestore); in loadStreamXml() local
263 private void loadByteArrayXml(byte[] byteArray, boolean forRestore) throws Exception { in loadByteArrayXml() argument
267 mHelper.readXml(parser, forRestore); in loadByteArrayXml()