/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceCategoryProgramHandler.java | 165 DataOutputStream dos = new DataOutputStream(baos); 167 dos.writeInt(SmsEnvelope.TELESERVICE_SCPT); 168 dos.writeInt(0); //servicePresent 169 dos.writeInt(0); //serviceCategory 172 dos.write(destAddr.digitMode); 173 dos.write(destAddr.numberMode); 174 dos.write(destAddr.ton); // number_type 175 dos.write(destAddr.numberPlan); 176 dos.write(destAddr.numberOfDigits); 177 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupPasswordManagerTest.java | 201 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 …]
|
D | DataChangedJournalTest.java | 71 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()
|
D | ProcessedPackagesJournalTest.java | 160 DataOutputStream dos = new DataOutputStream(fos)) { in writePermanentJournalPackages() 162 dos.writeUTF(packageName); in writePermanentJournalPackages()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | SmsMessage.java | 904 DataOutputStream dos = new DataOutputStream(baos); in privateGetSubmitPdu() local 905 dos.writeInt(envelope.teleService); in privateGetSubmitPdu() 906 dos.writeInt(0); //servicePresent in privateGetSubmitPdu() 907 dos.writeInt(0); //serviceCategory in privateGetSubmitPdu() 908 dos.write(destAddr.digitMode); in privateGetSubmitPdu() 909 dos.write(destAddr.numberMode); in privateGetSubmitPdu() 910 dos.write(destAddr.ton); // number_type in privateGetSubmitPdu() 911 dos.write(destAddr.numberPlan); in privateGetSubmitPdu() 912 dos.write(destAddr.numberOfDigits); in privateGetSubmitPdu() 913 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits in privateGetSubmitPdu() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | RecoverySystemService.java | 113 DataOutputStream dos = null; in uncrypt() local 116 dos = new DataOutputStream(socket.getOutputStream()); in uncrypt() 141 dos.writeInt(0); in uncrypt() 150 dos.writeInt(0); in uncrypt() 159 IoUtils.closeQuietly(dos); in uncrypt() 281 DataOutputStream dos = null; in setupOrClearBcb() local 284 dos = new DataOutputStream(socket.getOutputStream()); in setupOrClearBcb() 289 dos.writeInt(cmdUtf8.length); in setupOrClearBcb() 290 dos.write(cmdUtf8, 0, cmdUtf8.length); in setupOrClearBcb() 291 dos.flush(); in setupOrClearBcb() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | CheckToken.java | 47 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/locksettings/ |
D | LockSettingsStorage.java | 148 DataOutputStream dos = new DataOutputStream(os); in toBytes() local 149 dos.write(version); in toBytes() 150 dos.write(type); in toBytes() 152 dos.writeInt(hash.length); in toBytes() 153 dos.write(hash); in toBytes() 155 dos.writeInt(0); in toBytes() 157 dos.close(); in toBytes() 707 DataOutputStream dos = new DataOutputStream(os); in toBytes() local 709 dos.writeByte(PersistentData.VERSION_1); in toBytes() 710 dos.writeByte(persistentType); in toBytes() [all …]
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 438 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/core/java/android/ddm/ |
D | DdmHandleViewDebug.java | 245 DataOutputStream dos = new DataOutputStream(b); in captureLayers() local 247 ViewDebug.captureLayers(rootView, dos); in captureLayers() 253 dos.close(); in captureLayers()
|