Searched refs:forRestore (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 619 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/ |
D | ZenModeHelper.java | 601 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()
|
D | SnoozeHelper.java | 358 public void readXml(XmlPullParser parser, boolean forRestore) in readXml() argument
|
D | RankingHelper.java | 187 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/ |
D | RankingHelperTest.java | 259 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()
|