/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowData.java | 74 DataInputStream dis) throws IOException { in decryptBlobCurrentVersion() argument 82 byte[] ksEncryptedBlob = AesEncryptionUtil.decrypt(kk, dis); in decryptBlobCurrentVersion() 91 DataInputStream dis = new DataInputStream(new ByteArrayInputStream(blob)); in fromEncryptedData() local 92 int version = dis.readInt(); in fromEncryptedData() 93 byte spVersion = dis.readByte(); in fromEncryptedData() 96 byte[] syntheticPassword = decryptBlobCurrentVersion(kk, ks, dis); in fromEncryptedData() 101 byte[] syntheticPassword = AesEncryptionUtil.decrypt(ks.getKey(), dis); in fromEncryptedData()
|
/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/base/core/java/android/content/pm/ |
D | Checksum.java | 166 public static @NonNull Checksum readFromStream(@NonNull DataInputStream dis) in readFromStream() argument 168 final int type = dis.readInt(); in readFromStream() 170 final byte[] valueBytes = new byte[dis.readInt()]; in readFromStream() 171 dis.read(valueBytes); in readFromStream()
|
/frameworks/av/media/libeffects/lvm/tests/ |
D | EffectBundleTest.cpp | 87 std::uniform_real_distribution<> dis(kMinAmplitude, kMaxAmplitude); in TEST_P() local 89 in = dis(gen); in TEST_P() 132 std::uniform_real_distribution<> dis(kMinAmplitude, kMaxAmplitude); in TEST_P() local 134 in = dis(gen); in TEST_P() 244 std::uniform_real_distribution<> dis(kMinAmplitude, kMaxAmplitude); in TEST_P() local 246 in = dis(gen); in TEST_P()
|
D | EffectReverbTest.cpp | 114 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in TEST_P() local 116 in = dis(gen); in TEST_P() 161 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in TEST_P() local 163 in = dis(gen); in TEST_P()
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | EffectPreprocessingTest.cpp | 194 std::uniform_int_distribution<int16_t> dis(INT16_MIN, INT16_MAX); in TEST_P() local 196 in = dis(gen); in TEST_P() 200 farIn = dis(gen); in TEST_P() 247 std::uniform_int_distribution<int16_t> dis(INT16_MIN, INT16_MAX); in TEST_P() local 249 in = dis(gen); in TEST_P() 253 farIn = dis(gen); in TEST_P()
|
/frameworks/base/services/tests/mockingservicestests/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/libeffects/preprocessing/benchmarks/ |
D | preprocessing_benchmark.cpp | 258 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in BM_PREPROCESSING() local 261 i = preProcGetShortVal(dis(gen)); in BM_PREPROCESSING() 265 i = preProcGetShortVal(dis(gen)); in BM_PREPROCESSING()
|
/frameworks/av/media/libeffects/spatializer/tests/ |
D | SpatializerTest.cpp | 115 std::uniform_real_distribution<> dis(kMinAmplitude, kMaxAmplitude); in TEST_P() local 117 in = dis(gen); in TEST_P() 174 std::uniform_real_distribution<> dis(kMinAmplitude, kMaxAmplitude); in TEST_P() local 176 in = dis(gen); in TEST_P()
|
/frameworks/av/media/libeffects/lvm/benchmarks/ |
D | lvm_benchmark.cpp | 170 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in BM_LVM() local 173 in = dis(gen); in BM_LVM()
|
D | reverb_benchmark.cpp | 108 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in BM_REVERB() local 112 in = dis(gen); in BM_REVERB()
|
/frameworks/av/media/libeffects/downmix/benchmark/ |
D | downmix_benchmark.cpp | 101 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in BM_Downmix() local 105 in = dis(gen); in BM_Downmix()
|
/frameworks/av/media/libeffects/spatializer/benchmarks/ |
D | spatializer_benchmark.cpp | 96 std::uniform_real_distribution<> dis(kMinAmplitude, kMaxAmplitude); in BM_SPATIALIZER() local 99 in = dis(gen); in BM_SPATIALIZER()
|
/frameworks/av/media/mtp/tests/MtpFfsHandleTest/ |
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/opt/telephony/src/java/com/android/internal/telephony/ |
D | RILUtils.java | 647 DataInputStream dis = new DataInputStream(bais); in convertToHalCdmaSmsMessage() local 650 msg.teleserviceId = dis.readInt(); // teleServiceId in convertToHalCdmaSmsMessage() 651 msg.isServicePresent = (byte) dis.readInt() == 1; // servicePresent in convertToHalCdmaSmsMessage() 652 msg.serviceCategory = dis.readInt(); // serviceCategory in convertToHalCdmaSmsMessage() 653 msg.address.digitMode = dis.read(); // address digit mode in convertToHalCdmaSmsMessage() 654 msg.address.numberMode = dis.read(); // address number mode in convertToHalCdmaSmsMessage() 655 msg.address.numberType = dis.read(); // address number type in convertToHalCdmaSmsMessage() 656 msg.address.numberPlan = dis.read(); // address number plan in convertToHalCdmaSmsMessage() 657 addrNbrOfDigits = (byte) dis.read(); in convertToHalCdmaSmsMessage() 659 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in convertToHalCdmaSmsMessage() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 957 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest() local 960 msg.teleserviceId = dis.readInt(); // teleServiceId in constructCdmaSendSmsRilRequest() 961 msg.isServicePresent = (byte) dis.readInt() == 1 ? true : false; // servicePresent in constructCdmaSendSmsRilRequest() 962 msg.serviceCategory = dis.readInt(); // serviceCategory in constructCdmaSendSmsRilRequest() 963 msg.address.digitMode = dis.read(); // address digit mode in constructCdmaSendSmsRilRequest() 964 msg.address.numberMode = dis.read(); // address number mode in constructCdmaSendSmsRilRequest() 965 msg.address.numberType = dis.read(); // address number type in constructCdmaSendSmsRilRequest() 966 msg.address.numberPlan = dis.read(); // address number plan in constructCdmaSendSmsRilRequest() 967 addrNbrOfDigits = (byte) dis.read(); in constructCdmaSendSmsRilRequest() 969 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 245 try (DataInputStream dis = new DataInputStream(is)) { in readChecksums() argument 250 checksums.add(Checksum.readFromStream(dis)); in readChecksums()
|