Home
last modified time | relevance | path

Searched refs:writeUTF (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DFastDataTest.java143 out.writeUTF(simple); in testUTF_Bounds()
149 assertThrows(IOException.class, () -> out.writeUTF(complex)); in testUTF_Bounds()
191 out.writeUTF("foo\0bar"); in doTranscodeWrite()
192 out.writeUTF(TEST_SHORT_STRING); in doTranscodeWrite()
193 out.writeUTF(TEST_LONG_STRING); in doTranscodeWrite()
278 out.writeUTF(""); in testBounce_UTF()
279 out.writeUTF("☃"); in testBounce_UTF()
280 out.writeUTF("��"); in testBounce_UTF()
281 out.writeUTF("example"); in testBounce_UTF()
297 out.writeUTF(expected); in testBounce_UTF_Exact()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DPackageManagerBackupAgentTest.java308 out.writeUTF(PackageManagerBackupAgent.STATE_FILE_HEADER); in writeLegacyStateFile()
314 out.writeUTF(PackageManagerBackupAgent.ANCESTRAL_RECORD_KEY); in writeLegacyStateFile()
318 out.writeUTF(PackageManagerBackupAgent.GLOBAL_METADATA_KEY); in writeLegacyStateFile()
320 out.writeUTF(Build.VERSION.INCREMENTAL); in writeLegacyStateFile()
324 out.writeUTF(pkg.packageName); in writeLegacyStateFile()
DProcessedPackagesJournalTest.java162 dos.writeUTF(packageName); in writePermanentJournalPackages()
DBackupPasswordManagerTest.java209 dos.writeUTF(hash); in writeHashAndSaltToFile()
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java315 dataOutputStream.writeUTF(pkg.getPackageName()); in computePackageStateHash()
323 dataOutputStream.writeUTF(permissionName); in computePackageStateHash()
331 dataOutputStream.writeUTF(enabledComponents.valueAt(i)); in computePackageStateHash()
338 dataOutputStream.writeUTF(disabledComponents.valueAt(i)); in computePackageStateHash()
360 dataOutputStream.writeUTF(deviceOwner); in computePackageStateHash()
369 dataOutputStream.writeUTF(profileOwner); in computePackageStateHash()
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java83 objectOutput.writeUTF(fileServiceId); in writeExternal()
84 objectOutput.writeUTF(source.toString()); in writeExternal()
85 objectOutput.writeUTF(destination.toString()); in writeExternal()
87 objectOutput.writeUTF(appIntent); in writeExternal()
/frameworks/base/services/people/java/com/android/server/people/data/
DConversationInfo.java366 out.writeUTF(mShortcutId); in getBackupPayload()
367 out.writeUTF(mLocusId != null ? mLocusId.getId() : ""); in getBackupPayload()
368 out.writeUTF(mContactUri != null ? mContactUri.toString() : ""); in getBackupPayload()
369 out.writeUTF(mNotificationChannelId != null ? mNotificationChannelId : ""); in getBackupPayload()
372 out.writeUTF(mContactPhoneNumber != null ? mContactPhoneNumber : ""); in getBackupPayload()
373 out.writeUTF(mParentNotificationChannelId != null ? mParentNotificationChannelId : ""); in getBackupPayload()
DUserData.java152 out.writeUTF(packageData.getPackageName()); in getBackupPayload()
/frameworks/base/core/java/android/util/
DBackupUtils.java55 out.writeUTF(val); in writeString()
/frameworks/base/wifi/tests/src/android/net/wifi/
DSoftApConfToXmlMigrationUtilTest.java69 out.writeUTF(config.SSID); in createLegacyApConfFile()
76 out.writeUTF(config.preSharedKey); in createLegacyApConfFile()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java278 outputBufferStream.writeUTF(Build.VERSION.INCREMENTAL); in onBackup()
663 out.writeUTF(STATE_FILE_HEADER); in writeStateFile()
667 out.writeUTF(ANCESTRAL_RECORD_KEY); in writeStateFile()
671 out.writeUTF(GLOBAL_METADATA_KEY); in writeStateFile()
673 out.writeUTF(Build.VERSION.INCREMENTAL); in writeStateFile()
677 out.writeUTF(pkg.packageName); in writeStateFile()
DProcessedPackagesJournal.java98 out.writeUTF(packageName); in addPackage()
DDataChangedJournal.java71 out.writeUTF(packageName); in addPackage()
DBackupPasswordManager.java294 dataOutputStream.writeUTF(backupPasswordHash.hash); in serialize()
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DFastDataOutput.java151 public void writeUTF(String s) throws IOException { in writeUTF() method in FastDataOutput
189 writeUTF(s); in writeInternedUTF()
DBinaryXmlSerializer.java110 mOut.writeUTF(text); in writeToken()
209 mOut.writeUTF(value); in attribute()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java750 out.writeUTF(KEY_LOCK_SETTINGS_OWNER_INFO_ENABLED); in getLockSettings()
751 out.writeUTF(ownerInfoEnabled ? "1" : "0"); in getLockSettings()
753 out.writeUTF(KEY_LOCK_SETTINGS_OWNER_INFO); in getLockSettings()
754 out.writeUTF(ownerInfo != null ? ownerInfo : ""); in getLockSettings()
757 out.writeUTF(KEY_LOCK_SETTINGS_VISIBLE_PATTERN_ENABLED); in getLockSettings()
758 out.writeUTF(visiblePatternEnabled ? "1" : "0"); in getLockSettings()
761 out.writeUTF(KEY_LOCK_SETTINGS_POWER_BUTTON_INSTANTLY_LOCKS); in getLockSettings()
762 out.writeUTF(powerButtonInstantlyLocks ? "1" : "0"); in getLockSettings()
765 out.writeUTF(KEY_LOCK_SETTINGS_PIN_ENHANCED_PRIVACY); in getLockSettings()
766 out.writeUTF(lockPatternUtils.isPinEnhancedPrivacyEnabled(userId) ? "1" : "0"); in getLockSettings()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataOutput.java79 stream.writeUTF(key); in writeEntityHeader()
/frameworks/base/core/java/com/android/internal/util/
DArtFastDataOutput.java84 public void writeUTF(String s) throws IOException { in writeUTF() method in ArtFastDataOutput
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DDataStreamFileCodecTest.java77 dataOutputStream.writeUTF(mythicalCreature.name); in serialize()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java199 new DataOutputStream(out).writeUTF("bar"); in testThrowRestoresBackup()
416 out.writeUTF(value); in write()
423 new DataOutputStream(out).writeUTF(value); in writer()
/frameworks/base/apct-tests/perftests/core/src/com/android/internal/util/
DFastDataPerfTest.java167 out.writeUTF("com.example.typical_package_name"); in doWrite()
/frameworks/base/core/java/android/gesture/
DGestureStore.java249 out.writeUTF(key); in save()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreStorage.kt258 dataOutputStream.writeUTF(key) in <lambda>()
/frameworks/base/core/java/android/app/backup/
DBlobBackupHelper.java151 out.writeUTF(key); in writeBackupState()

12