Searched refs:dos (Results 1 – 9 of 9) sorted by relevance
1010 DataOutputStream dos = new DataOutputStream(baos);1011 dos.writeInt(envelope.teleService);1012 dos.writeInt(0); //servicePresent1013 dos.writeInt(0); //serviceCategory1014 dos.write(destAddr.digitMode);1015 dos.write(destAddr.numberMode);1016 dos.write(destAddr.ton); // number_type1017 dos.write(destAddr.numberPlan);1018 dos.write(destAddr.numberOfDigits);1019 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits[all …]
201 DataOutputStream dos = null; in writeHashAndSaltToFile() local206 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() local224 dos = new DataOutputStream(fos); in writePasswordVersionToFile()225 dos.writeInt(version); in writePasswordVersionToFile()[all …]
71 DataInputStream dos = new DataInputStream(fos); in addPackage_addsPackagesToEndOfFile() local72 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()
160 DataOutputStream dos = new DataOutputStream(fos)) { in writePermanentJournalPackages()162 dos.writeUTF(packageName); in writePermanentJournalPackages()
109 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 …]
47 try (DataOutputStream dos = new DataOutputStream(baos)) { in toByteArray() argument48 dos.writeInt(mOptimisticLockId); in toByteArray()49 dos.writeLong(mPackageVersions.mUpdateAppVersion); in toByteArray()50 dos.writeLong(mPackageVersions.mDataAppVersion); in toByteArray()
438 DataOutputStream dos = new DataOutputStream(os); in toBytes() local439 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()
150 DataOutputStream dos = new DataOutputStream(os); in toBytes() local151 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() local723 dos.writeByte(PersistentData.VERSION_1); in toBytes()724 dos.writeByte(persistentType); in toBytes()[all …]
245 DataOutputStream dos = new DataOutputStream(b); in captureLayers() local247 ViewDebug.captureLayers(rootView, dos); in captureLayers()253 dos.close(); in captureLayers()