Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DFastDataTest.java95 out.writeUTF(simple); in testUTF_Bounds()
101 assertThrows(IOException.class, () -> out.writeUTF(complex)); in testUTF_Bounds()
139 out.writeUTF("foo\0bar"); in doTranscodeWrite()
140 out.writeUTF(TEST_SHORT_STRING); in doTranscodeWrite()
141 out.writeUTF(TEST_LONG_STRING); in doTranscodeWrite()
226 out.writeUTF(""); in testBounce_UTF()
227 out.writeUTF("☃"); in testBounce_UTF()
228 out.writeUTF("example"); in testBounce_UTF()
243 out.writeUTF(expected); in testBounce_UTF_Exact()
258 out.writeUTF(expected); in testBounce_UTF_Maximum()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java282 outputBufferStream.writeUTF(home.flattenToString()); in onBackup()
284 outputBufferStream.writeUTF(homeInstaller != null ? homeInstaller : "" ); in onBackup()
305 outputBufferStream.writeUTF(Build.VERSION.INCREMENTAL); in onBackup()
635 out.writeUTF(STATE_FILE_HEADER); in writeStateFile()
640 out.writeUTF(DEFAULT_HOME_KEY); in writeStateFile()
641 out.writeUTF(preferredHome.flattenToString()); in writeStateFile()
647 out.writeUTF(GLOBAL_METADATA_KEY); in writeStateFile()
649 out.writeUTF(Build.VERSION.INCREMENTAL); in writeStateFile()
653 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/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.java53 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/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java312 dataOutputStream.writeUTF(pkg.getPackageName()); in computePackageStateHash()
321 dataOutputStream.writeUTF(requestedPermissions.get(i)); in computePackageStateHash()
329 dataOutputStream.writeUTF(enabledComponents.valueAt(i)); in computePackageStateHash()
336 dataOutputStream.writeUTF(disabledComponents.valueAt(i)); in computePackageStateHash()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java700 out.writeUTF(KEY_LOCK_SETTINGS_OWNER_INFO_ENABLED); in getLockSettings()
701 out.writeUTF(ownerInfoEnabled ? "1" : "0"); in getLockSettings()
703 out.writeUTF(KEY_LOCK_SETTINGS_OWNER_INFO); in getLockSettings()
704 out.writeUTF(ownerInfo != null ? ownerInfo : ""); in getLockSettings()
707 out.writeUTF(KEY_LOCK_SETTINGS_VISIBLE_PATTERN_ENABLED); in getLockSettings()
708 out.writeUTF(visiblePatternEnabled ? "1" : "0"); in getLockSettings()
711 out.writeUTF(KEY_LOCK_SETTINGS_POWER_BUTTON_INSTANTLY_LOCKS); in getLockSettings()
712 out.writeUTF(powerButtonInstantlyLocks ? "1" : "0"); in getLockSettings()
715 out.writeUTF(KEY_LOCK_SETTINGS_PIN_ENHANCED_PRIVACY); in getLockSettings()
716 out.writeUTF(lockPatternUtils.isPinEnhancedPrivacyEnabled(userId) ? "1" : "0"); in getLockSettings()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFastDataOutput.java158 public void writeUTF(String s) throws IOException { in writeUTF() method in FastDataOutput
203 writeUTF(s); in writeInternedUTF()
DBinaryXmlSerializer.java115 mOut.writeUTF(text); in writeToken()
209 mOut.writeUTF(value); in attribute()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataOutput.java79 stream.writeUTF(key); in writeEntityHeader()
/frameworks/base/services/tests/servicestests/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.java188 new DataOutputStream(out).writeUTF("bar"); in testThrowRestoresBackup()
389 out.writeUTF(value); in write()
396 new DataOutputStream(out).writeUTF(value); in writer()
/frameworks/base/apct-tests/perftests/core/src/com/android/internal/util/
DFastDataPerfTest.java121 out.writeUTF("com.example.typical_package_name"); in doWrite()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DProcessedPackagesJournalTest.java162 dos.writeUTF(packageName); in writePermanentJournalPackages()
DBackupPasswordManagerTest.java209 dos.writeUTF(hash); in writeHashAndSaltToFile()
/frameworks/base/core/java/android/gesture/
DGestureStore.java249 out.writeUTF(key); in save()
/frameworks/base/core/java/android/app/backup/
DBlobBackupHelper.java151 out.writeUTF(key); in writeBackupState()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java97 output.writeUTF(accessRule.mPackageName); in encodeRules()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java531 dataStream.writeUTF(getResPackage()); in writeToStream()
536 dataStream.writeUTF(getUriString()); in writeToStream()
/frameworks/base/core/java/com/android/server/backup/
DAccountSyncSettingsBackupHelper.java311 out.writeUTF(jsonString); in restoreFromJsonArray()

12