Home
last modified time | relevance | path

Searched refs:dis (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceResponse.java181 DataInputStream dis = new DataInputStream(new ByteArrayInputStream(mData)); in parse() local
183 mDnsQueryName = readDnsName(dis); in parse()
189 mDnsType = dis.readUnsignedShort(); in parse()
190 mVersion = dis.readUnsignedByte(); in parse()
197 String rData = readDnsName(dis); in parse()
208 return readTxtData(dis); in parse()
222 private String readDnsName(DataInputStream dis) { in readDnsName() argument
232 int i = dis.readUnsignedByte(); in readDnsName()
237 String ref = vmpack.get(dis.readUnsignedByte()); in readDnsName()
246 dis.readFully(data); in readDnsName()
[all …]
DWifiP2pServiceResponse.java213 DataInputStream dis = new DataInputStream(new ByteArrayInputStream(bin)); in newInstance() local
215 while (dis.available() > 0) { in newInstance()
225 int length = (dis.readUnsignedByte() + in newInstance()
226 (dis.readUnsignedByte() << 8)) - 3; in newInstance()
227 int type = dis.readUnsignedByte(); in newInstance()
228 int transId = dis.readUnsignedByte(); in newInstance()
229 int status = dis.readUnsignedByte(); in newInstance()
241 dis.skip(length); in newInstance()
245 dis.readFully(data); in newInstance()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessage.java515 DataInputStream dis = new DataInputStream(bais); in parsePdu() local
522 env.messageType = dis.readInt(); in parsePdu()
523 env.teleService = dis.readInt(); in parsePdu()
524 env.serviceCategory = dis.readInt(); in parsePdu()
526 addr.digitMode = dis.readByte(); in parsePdu()
527 addr.numberMode = dis.readByte(); in parsePdu()
528 addr.ton = dis.readByte(); in parsePdu()
529 addr.numberPlan = dis.readByte(); in parsePdu()
531 length = dis.readUnsignedByte(); in parsePdu()
541 dis.read(addr.origBytes, 0, length); // digits in parsePdu()
[all …]
/frameworks/base/core/java/android/content/pm/
DManifestDigest.java73 final DigestInputStream dis = new DigestInputStream(new BufferedInputStream(fileIs), md); in fromInputStream() local
76 while (dis.read(readBuffer, 0, readBuffer.length) != -1) { in fromInputStream()
83 IoUtils.closeQuietly(dis); in fromInputStream()
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java155 DataInputStream dis = new DataInputStream(entity.getContent()); in doDownload() local
157 dis.readFully(body); in doDownload()
160 dis.close(); in doDownload()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1305 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest() local
1308 rr.mParcel.writeInt(dis.readInt()); //teleServiceId in constructCdmaSendSmsRilRequest()
1309 rr.mParcel.writeByte((byte) dis.readInt()); //servicePresent in constructCdmaSendSmsRilRequest()
1310 rr.mParcel.writeInt(dis.readInt()); //serviceCategory in constructCdmaSendSmsRilRequest()
1311 rr.mParcel.writeInt(dis.read()); //address_digit_mode in constructCdmaSendSmsRilRequest()
1312 rr.mParcel.writeInt(dis.read()); //address_nbr_mode in constructCdmaSendSmsRilRequest()
1313 rr.mParcel.writeInt(dis.read()); //address_ton in constructCdmaSendSmsRilRequest()
1314 rr.mParcel.writeInt(dis.read()); //address_nbr_plan in constructCdmaSendSmsRilRequest()
1315 address_nbr_of_digits = (byte) dis.read(); in constructCdmaSendSmsRilRequest()
1318 rr.mParcel.writeByte(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java582 PackageSetting dis = mDisabledSysPackages.get(name); in getPackageLPw() local
583 if (dis != null) { in getPackageLPw()
588 if (dis.signatures.mSignatures != null) { in getPackageLPw()
589 p.signatures.mSignatures = dis.signatures.mSignatures.clone(); in getPackageLPw()
591 p.appId = dis.appId; in getPackageLPw()
593 p.grantedPermissions = new ArraySet<String>(dis.grantedPermissions); in getPackageLPw()
600 dis.getDisabledComponents(userId), userId); in getPackageLPw()
602 dis.getEnabledComponents(userId), userId); in getPackageLPw()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java11044 DataInputStream dis = new DataInputStream(new BufferedInputStream(fis, 2048));
11045 int fvers = dis.readInt();
11047 String vers = dis.readUTF();
11048 String codename = dis.readUTF();
11049 String build = dis.readUTF();
11053 int num = dis.readInt();
11056 String pkg = dis.readUTF();
11057 String cls = dis.readUTF();