Home
last modified time | relevance | path

Searched refs:writeXml (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationLegacySettingsTest.kt23 import com.android.server.pm.test.verify.domain.DomainVerificationPersistenceTest.Companion.writeXml
72 val file = tempFolder.newFile().writeXml(settings::writeSettings) in writeAndReadBackNormal()
DDomainVerificationPersistenceTest.kt50 internal fun File.writeXml(block: (serializer: TypedXmlSerializer) -> Unit) = apply { in <lambda>() method
118 val file = tempFolder.newFile().writeXml { in <lambda>()
137 val file = tempFolder.newFile().writeXml { in <lambda>()
166 val file = tempFolder.newFile().writeXml { in <lambda>()
/frameworks/base/core/java/com/android/internal/os/
DMonotonicClock.java116 writeXml(out, Xml.newBinarySerializer()); in write()
148 private void writeXml(OutputStream out, TypedXmlSerializer serializer) throws IOException { in writeXml() method in MonotonicClock
DPowerStats.java289 public void writeXml(TypedXmlSerializer serializer) throws IOException { in writeXml() method in PowerStats.Descriptor
/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStatsSection.java41 mAggregatedPowerStats.writeXml(serializer); in write()
DBatteryUsageStatsSection.java42 mBatteryUsageStats.writeXml(serializer); in write()
DPowerComponentAggregatedPowerStats.java375 public void writeXml(TypedXmlSerializer serializer) throws IOException { in writeXml() method in PowerComponentAggregatedPowerStats
383 mPowerStatsDescriptor.writeXml(serializer); in writeXml()
387 mDeviceStats.writeXml(serializer); in writeXml()
394 mStateStats.valueAt(i).writeXml(serializer); in writeXml()
404 uidStats.stats.writeXml(serializer); in writeXml()
DAggregatedPowerStats.java178 public void writeXml(TypedXmlSerializer serializer) throws IOException { in writeXml() method in AggregatedPowerStats
181 stats.writeXml(serializer); in writeXml()
DPowerStatsStore.java148 span.writeXml(out, Xml.newBinarySerializer()); in storePowerStatsSpan()
DMultiStateStats.java368 public void writeXml(TypedXmlSerializer serializer) throws IOException { in writeXml() method in MultiStateStats
DPowerStatsSpan.java342 public void writeXml(OutputStream out, TypedXmlSerializer serializer) throws IOException { in writeXml() method in PowerStatsSpan
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubblePersistentRepository.kt39 writeXml(stream, bubbles) in persistsToDisk()
DBubbleXmlHelper.kt52 fun writeXml(stream: OutputStream, bubbles: SparseArray<List<BubbleEntity>>) { in <lambda>() method
/frameworks/base/services/core/java/com/android/server/notification/
DSnoozeHelper.java484 protected void writeXml(TypedXmlSerializer out) throws IOException { in writeXml() method in SnoozeHelper
488 writeXml(out, mPersistedSnoozedNotifications, XML_SNOOZED_NOTIFICATION, in writeXml()
496 writeXml(out, mPersistedSnoozedNotificationsWithContext, in writeXml()
510 private <T> void writeXml(TypedXmlSerializer out, ArrayMap<String, T> targets, String tag, in writeXml() method in SnoozeHelper
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceFullAccessListTest.java90 mAccessList.writeXml(out, UserHandle.USER_ALL); in testSerialization()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
DBubbleXmlHelperTest.kt77 writeXml(it, bubbles) in testWriteXml()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceFullAccessList.java75 public void writeXml(XmlSerializer out, int user) throws IOException { in writeXml() method in SliceFullAccessList
/frameworks/base/core/java/android/app/
DNotificationChannel.java1264 public void writeXml(XmlSerializer out) throws IOException { in writeXml() method in NotificationChannel
1265 writeXml(XmlUtils.makeTyped(out), false, null); in writeXml()
1272 writeXml(XmlUtils.makeTyped(out), true, context); in writeXmlForBackup()
1291 private void writeXml(TypedXmlSerializer out, boolean forBackup, @Nullable Context context) in writeXml() method in NotificationChannel
DNotificationChannelGroup.java262 public void writeXml(TypedXmlSerializer out) throws IOException { in writeXml() method in NotificationChannelGroup
/frameworks/base/services/tests/PackageManagerServiceTests/server/assets/PackageSignaturesTest/xml/
DREADME38 The PackageSignatures#readXml and writeXml methods read and write everything within the sigs tag.
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java136 mSnoozeHelper.writeXml(serializer); in testWriteXML_afterReading_noNPE()
169 mSnoozeHelper.writeXml(serializer); in testReadValidSnoozedFromCorrectly_timeDeadline()
193 mSnoozeHelper.writeXml(serializer); in testReadExpiredSnoozedNotification()
261 mSnoozeHelper.writeXml(serializer); in testLongTagPersistedNotification()
DManagedServicesTest.java454 service1.writeXml(serializer, false, 0); in testWriteReadXml_writeReadDefaults()
624 service.writeXml(serializer, true, 10); in testWriteXml_onlyBackupsForTargetUser()
689 service.writeXml(serializer, true, userInfo.id); in testWriteXml_trimsMissingServices()
720 service.writeXml(serializer, false, UserHandle.USER_ALL); in testWriteXml_writesSetting()
752 service.writeXml(serializer, false, UserHandle.USER_ALL); in testWriteXml_doesNotWriteSetting()
776 service.writeXml(serializer, false, UserHandle.USER_ALL); in testWriteXml_writesUserSet()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DAggregatedPowerStatsTest.java86 stats.writeXml(serializer); in xmlPersistence()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DPowerStatsTest.java122 mDescriptor.writeXml(serializer); in xmlFormat()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSignatures.java56 void writeXml(TypedXmlSerializer serializer, String tagName, in writeXml() method in PackageSignatures

12