Home
last modified time | relevance | path

Searched refs:dos (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java1010 DataOutputStream dos = new DataOutputStream(baos);
1011 dos.writeInt(envelope.teleService);
1012 dos.writeInt(0); //servicePresent
1013 dos.writeInt(0); //serviceCategory
1014 dos.write(destAddr.digitMode);
1015 dos.write(destAddr.numberMode);
1016 dos.write(destAddr.ton); // number_type
1017 dos.write(destAddr.numberPlan);
1018 dos.write(destAddr.numberOfDigits);
1019 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupPasswordManagerTest.java201 DataOutputStream dos = null; in writeHashAndSaltToFile() local
206 dos = new DataOutputStream(fos); in writeHashAndSaltToFile()
207 dos.writeInt(salt.length); in writeHashAndSaltToFile()
208 dos.write(salt); in writeHashAndSaltToFile()
209 dos.writeUTF(hash); in writeHashAndSaltToFile()
210 dos.flush(); in writeHashAndSaltToFile()
212 if (dos != null) dos.close(); in writeHashAndSaltToFile()
219 DataOutputStream dos = null; in writePasswordVersionToFile() local
224 dos = new DataOutputStream(fos); in writePasswordVersionToFile()
225 dos.writeInt(version); in writePasswordVersionToFile()
[all …]
DDataChangedJournalTest.java71 DataInputStream dos = new DataInputStream(fos); in addPackage_addsPackagesToEndOfFile() local
72 assertThat(dos.readUTF()).isEqualTo(GMAIL); in addPackage_addsPackagesToEndOfFile()
73 assertThat(dos.readUTF()).isEqualTo(DOCS); in addPackage_addsPackagesToEndOfFile()
74 assertThat(dos.readUTF()).isEqualTo(GOOGLE_PLUS); in addPackage_addsPackagesToEndOfFile()
75 assertThat(dos.available()).isEqualTo(0); in addPackage_addsPackagesToEndOfFile()
DProcessedPackagesJournalTest.java160 DataOutputStream dos = new DataOutputStream(fos)) { in writePermanentJournalPackages()
162 dos.writeUTF(packageName); in writePermanentJournalPackages()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaInboundSmsHandler.java109 DataOutputStream dos = new DataOutputStream(baos); in CdmaInboundSmsHandler()
111 dos.writeInt(SmsEnvelope.TELESERVICE_SCPT); in CdmaInboundSmsHandler()
112 dos.writeInt(0); //servicePresent in CdmaInboundSmsHandler()
113 dos.writeInt(0); //serviceCategory in CdmaInboundSmsHandler()
116 dos.write(destAddr.digitMode); in CdmaInboundSmsHandler()
117 dos.write(destAddr.numberMode); in CdmaInboundSmsHandler()
118 dos.write(destAddr.ton); // number_type in CdmaInboundSmsHandler()
119 dos.write(destAddr.numberPlan); in CdmaInboundSmsHandler()
120 dos.write(destAddr.numberOfDigits); in CdmaInboundSmsHandler()
121 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits in CdmaInboundSmsHandler()
[all …]
/frameworks/base/services/core/java/com/android/server/timezone/
DCheckToken.java47 try (DataOutputStream dos = new DataOutputStream(baos)) { in toByteArray() argument
48 dos.writeInt(mOptimisticLockId); in toByteArray()
49 dos.writeLong(mPackageVersions.mUpdateAppVersion); in toByteArray()
50 dos.writeLong(mPackageVersions.mDataAppVersion); in toByteArray()
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java438 DataOutputStream dos = new DataOutputStream(os); in toBytes() local
439 dos.writeInt(VERSION_2); in toBytes()
440 dos.writeInt(mAdbKeys.length); in toBytes()
441 dos.write(mAdbKeys); in toBytes()
442 dos.writeInt(mAdbTempKeys.length); in toBytes()
443 dos.write(mAdbTempKeys); in toBytes()
444 dos.close(); in toBytes()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java150 DataOutputStream dos = new DataOutputStream(os); in toBytes() local
151 dos.write(version); in toBytes()
152 dos.write(type); in toBytes()
154 dos.writeInt(hash.length); in toBytes()
155 dos.write(hash); in toBytes()
157 dos.writeInt(0); in toBytes()
159 dos.close(); in toBytes()
721 DataOutputStream dos = new DataOutputStream(os); in toBytes() local
723 dos.writeByte(PersistentData.VERSION_1); in toBytes()
724 dos.writeByte(persistentType); in toBytes()
[all …]
/frameworks/base/core/java/android/ddm/
DDdmHandleViewDebug.java245 DataOutputStream dos = new DataOutputStream(b); in captureLayers() local
247 ViewDebug.captureLayers(rootView, dos); in captureLayers()
253 dos.close(); in captureLayers()