Searched refs:forRestore (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 711 private void populateFromXml(XmlPullParser parser, boolean forRestore, in populateFromXml() argument 713 Preconditions.checkArgument(!forRestore || context != null, in populateFromXml() 723 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 | 152 public void readXml(XmlPullParser parser, boolean forRestore, int userId) in readXml() argument 169 if (forRestore && userId != UserHandle.USER_SYSTEM) { in readXml() 178 if (forRestore) { in readXml() 247 if (forRestore) { in readXml()
|
D | SnoozeHelper.java | 379 public void readXml(XmlPullParser parser, boolean forRestore) in readXml() argument
|
D | ManagedServices.java | 384 boolean forRestore, in readXml() argument 401 final int resolvedUserId = forRestore in readXml()
|
D | NotificationManagerService.java | 589 void readPolicyXml(InputStream stream, boolean forRestore, int userId) in readPolicyXml() argument 595 boolean ineligibleForManagedServices = forRestore && mUm.isManagedProfile(userId); in readPolicyXml() 599 mZenModeHelper.readXml(parser, forRestore, userId); in readPolicyXml() 601 mPreferencesHelper.readXml(parser, forRestore, userId); in readPolicyXml() 607 mListeners.readXml(parser, mAllowedManagedServicePackages, forRestore, userId); in readPolicyXml() 613 mAssistants.readXml(parser, mAllowedManagedServicePackages, forRestore, userId); in readPolicyXml() 620 parser, mAllowedManagedServicePackages, forRestore, userId); in readPolicyXml() 624 if (forRestore && userId != UserHandle.USER_SYSTEM) { in readPolicyXml()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 201 private void loadStreamXml(ByteArrayOutputStream stream, boolean forRestore, int userId) in loadStreamXml() argument 203 loadByteArrayXml(stream.toByteArray(), forRestore, userId); in loadStreamXml() local 206 private void loadByteArrayXml(byte[] byteArray, boolean forRestore, int userId) in loadByteArrayXml() argument 211 mHelper.readXml(parser, forRestore, userId); in loadByteArrayXml()
|