Searched refs:dis (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pDnsSdServiceResponse.java | 181 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 …]
|
D | WifiP2pServiceResponse.java | 205 DataInputStream dis = new DataInputStream(new ByteArrayInputStream(tlvsBin)); in newInstance() local 207 while (dis.available() > 0) { in newInstance() 217 int length = (dis.readUnsignedByte() + in newInstance() 218 (dis.readUnsignedByte() << 8)) - 3; in newInstance() 219 int type = dis.readUnsignedByte(); in newInstance() 220 int transId = dis.readUnsignedByte(); in newInstance() 221 int status = dis.readUnsignedByte(); in newInstance() 233 dis.skip(length); in newInstance() 237 dis.readFully(data); in newInstance()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | SmsMessage.java | 460 DataInputStream dis = new DataInputStream(bais); in parsePdu() local 470 env.messageType = dis.readInt(); in parsePdu() 471 env.teleService = dis.readInt(); in parsePdu() 472 env.serviceCategory = dis.readInt(); in parsePdu() 474 addr.digitMode = dis.readByte(); in parsePdu() 475 addr.numberMode = dis.readByte(); in parsePdu() 476 addr.ton = dis.readByte(); in parsePdu() 477 addr.numberPlan = dis.readByte(); in parsePdu() 479 length = dis.readUnsignedByte(); in parsePdu() 489 dis.read(addr.origBytes, 0, length); // digits in parsePdu() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGeneratorUtils.h | 279 std::bernoulli_distribution dis(p); in getBernoulli() 280 return dis(RandomNumberGenerator::generator); in getBernoulli() 291 std::uniform_real_distribution<float> dis(nextLower, upper); in getUniform() 292 return dis(RandomNumberGenerator::generator); in getUniform() 299 std::uniform_real_distribution<float> dis(lower, upper); in getUniformNonZero() 300 const float value = dis(RandomNumberGenerator::generator); in getUniformNonZero() 308 std::uniform_int_distribution<T> dis(lower, upper); in getUniform() 309 return dis(RandomNumberGenerator::generator); in getUniform() 314 std::uniform_int_distribution<T> dis(lower, upper); in getUniformNonZero() 315 const T value = dis(RandomNumberGenerator::generator); in getUniformNonZero() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | CheckToken.java | 59 try (DataInputStream dis = new DataInputStream(bais)) { in fromByteArray() argument 60 int versionId = dis.readInt(); in fromByteArray() 61 long updateAppVersion = dis.readLong(); in fromByteArray() 62 long dataAppVersion = dis.readLong(); in fromByteArray()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | ProcessedPackagesJournalTest.java | 145 DataInputStream dis = new DataInputStream(fis)) { in readJournalPackages() 146 while (dis.available() > 0) { in readJournalPackages() 147 packages.add(dis.readUTF()); in readJournalPackages()
|
/frameworks/av/media/mtp/tests/ |
D | MtpFfsHandle_test.cpp | 238 std::uniform_int_distribution<> dis(1, TEST_PACKET_SIZE); in TYPED_TEST() local 242 int length = std::min(size - offset, dis(gen)); in TYPED_TEST() 329 std::uniform_int_distribution<> dis(1, TEST_PACKET_SIZE); in TYPED_TEST() local 333 int length = std::min(size - offset, dis(gen)); in TYPED_TEST()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SurfaceInterceptor_test.cpp | 403 std::uniform_int_distribution<uint8_t> dis; in nBufferUpdates() local 405 fillSurfaceRGBA8(mBGSurfaceControl, dis(gen), dis(gen), dis(gen)); in nBufferUpdates()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 3478 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest() local 3481 msg.teleserviceId = dis.readInt(); // teleServiceId in constructCdmaSendSmsRilRequest() 3482 msg.isServicePresent = (byte) dis.readInt() == 1 ? true : false; // servicePresent in constructCdmaSendSmsRilRequest() 3483 msg.serviceCategory = dis.readInt(); // serviceCategory in constructCdmaSendSmsRilRequest() 3484 msg.address.digitMode = dis.read(); // address digit mode in constructCdmaSendSmsRilRequest() 3485 msg.address.numberMode = dis.read(); // address number mode in constructCdmaSendSmsRilRequest() 3486 msg.address.numberType = dis.read(); // address number type in constructCdmaSendSmsRilRequest() 3487 msg.address.numberPlan = dis.read(); // address number plan in constructCdmaSendSmsRilRequest() 3488 addrNbrOfDigits = (byte) dis.read(); in constructCdmaSendSmsRilRequest() 3490 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest() [all …]
|