Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java89 out.writeUTF(IP_ASSIGNMENT_KEY); in writeConfig()
90 out.writeUTF(config.getIpAssignment().toString()); in writeConfig()
95 out.writeUTF(LINK_ADDRESS_KEY); in writeConfig()
96 out.writeUTF(ipAddress.getAddress().getHostAddress()); in writeConfig()
100 out.writeUTF(GATEWAY_KEY); in writeConfig()
103 out.writeUTF(staticIpConfiguration.getGateway().getHostAddress()); in writeConfig()
106 out.writeUTF(DNS_KEY); in writeConfig()
107 out.writeUTF(inetAddr.getHostAddress()); in writeConfig()
113 out.writeUTF(IP_ASSIGNMENT_KEY); in writeConfig()
114 out.writeUTF(config.getIpAssignment().toString()); in writeConfig()
[all …]
DNetworkIdentitySet.java158 out.writeUTF(value); in writeOptionalString()
/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/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java133 out.writeUTF("ipAssignment"); in writeDhcpConfigV2()
134 out.writeUTF(config.getIpAssignment().toString()); in writeDhcpConfigV2()
140 out.writeUTF("id"); in writeDhcpConfigV2()
142 out.writeUTF("eos"); in writeDhcpConfigV2()
/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.java346 out.writeUTF(mShortcutId); in getBackupPayload()
347 out.writeUTF(mLocusId != null ? mLocusId.getId() : ""); in getBackupPayload()
348 out.writeUTF(mContactUri != null ? mContactUri.toString() : ""); in getBackupPayload()
349 out.writeUTF(mNotificationChannelId != null ? mNotificationChannelId : ""); in getBackupPayload()
352 out.writeUTF(mContactPhoneNumber != null ? mContactPhoneNumber : ""); in getBackupPayload()
353 out.writeUTF(mParentNotificationChannelId != null ? mParentNotificationChannelId : ""); in getBackupPayload()
DUserData.java152 out.writeUTF(packageData.getPackageName()); in getBackupPayload()
/frameworks/base/core/java/android/util/
DBackupUtils.java49 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/core/java/com/android/internal/util/
DFastDataOutput.java111 public void writeUTF(String s) throws IOException { in writeUTF() method in FastDataOutput
156 writeUTF(s); in writeInternedUTF()
DBinaryXmlSerializer.java115 mOut.writeUTF(text); in writeToken()
204 mOut.writeUTF(value); in attribute()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java688 out.writeUTF(KEY_LOCK_SETTINGS_OWNER_INFO_ENABLED); in getLockSettings()
689 out.writeUTF(ownerInfoEnabled ? "1" : "0"); in getLockSettings()
691 out.writeUTF(KEY_LOCK_SETTINGS_OWNER_INFO); in getLockSettings()
692 out.writeUTF(ownerInfo != null ? ownerInfo : ""); in getLockSettings()
695 out.writeUTF(KEY_LOCK_SETTINGS_VISIBLE_PATTERN_ENABLED); in getLockSettings()
696 out.writeUTF(visiblePatternEnabled ? "1" : "0"); in getLockSettings()
699 out.writeUTF(KEY_LOCK_SETTINGS_POWER_BUTTON_INSTANTLY_LOCKS); in getLockSettings()
700 out.writeUTF(powerButtonInstantlyLocks ? "1" : "0"); in getLockSettings()
703 out.writeUTF(""); in getLockSettings()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupDataOutput.java79 stream.writeUTF(key); in writeEntityHeader()
/frameworks/base/services/core/java/com/android/server/policy/role/
DRoleServicePlatformHelperImpl.java306 dataOutputStream.writeUTF(pkg.getPackageName()); in computePackageStateHash()
316 dataOutputStream.writeUTF(enabledComponents.valueAt(i)); in computePackageStateHash()
323 dataOutputStream.writeUTF(disabledComponents.valueAt(i)); in computePackageStateHash()
/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.java117 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()

12