/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/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/core/java/android/content/pm/ |
D | Checksum.java | 159 public static @NonNull Checksum readFromStream(@NonNull DataInputStream dis) in readFromStream() argument 161 final int type = dis.readInt(); in readFromStream() 163 final byte[] valueBytes = new byte[dis.readInt()]; in readFromStream() 164 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 | 93 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in TEST_P() local 95 in = dis(gen); in TEST_P() 140 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in TEST_P() local 142 in = dis(gen); in TEST_P()
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | EffectPreprocessingTest.cpp | 198 std::uniform_int_distribution<int16_t> dis(INT16_MIN, INT16_MAX); in TEST_P() local 200 in = dis(gen); in TEST_P() 204 farIn = dis(gen); in TEST_P() 251 std::uniform_int_distribution<int16_t> dis(INT16_MIN, INT16_MAX); in TEST_P() local 253 in = dis(gen); in TEST_P() 257 farIn = dis(gen); in TEST_P()
|
/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/base/packages/BackupEncryption/src/com/android/server/backup/encryption/keys/ |
D | TertiaryKeyRotationWindowedCount.java | 112 DataInputStream dis = new DataInputStream(fis)) { in loadFromFile() 114 mEvents.add(dis.readLong()); in loadFromFile()
|
/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/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 | 100 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in BM_Downmix() local 104 in = dis(gen); in BM_Downmix()
|
/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 | 600 DataInputStream dis = new DataInputStream(bais); in convertToHalCdmaSmsMessage() local 603 msg.teleserviceId = dis.readInt(); // teleServiceId in convertToHalCdmaSmsMessage() 604 msg.isServicePresent = (byte) dis.readInt() == 1; // servicePresent in convertToHalCdmaSmsMessage() 605 msg.serviceCategory = dis.readInt(); // serviceCategory in convertToHalCdmaSmsMessage() 606 msg.address.digitMode = dis.read(); // address digit mode in convertToHalCdmaSmsMessage() 607 msg.address.numberMode = dis.read(); // address number mode in convertToHalCdmaSmsMessage() 608 msg.address.numberType = dis.read(); // address number type in convertToHalCdmaSmsMessage() 609 msg.address.numberPlan = dis.read(); // address number plan in convertToHalCdmaSmsMessage() 610 addrNbrOfDigits = (byte) dis.read(); in convertToHalCdmaSmsMessage() 612 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 | 948 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest() local 951 msg.teleserviceId = dis.readInt(); // teleServiceId in constructCdmaSendSmsRilRequest() 952 msg.isServicePresent = (byte) dis.readInt() == 1 ? true : false; // servicePresent in constructCdmaSendSmsRilRequest() 953 msg.serviceCategory = dis.readInt(); // serviceCategory in constructCdmaSendSmsRilRequest() 954 msg.address.digitMode = dis.read(); // address digit mode in constructCdmaSendSmsRilRequest() 955 msg.address.numberMode = dis.read(); // address number mode in constructCdmaSendSmsRilRequest() 956 msg.address.numberType = dis.read(); // address number type in constructCdmaSendSmsRilRequest() 957 msg.address.numberPlan = dis.read(); // address number plan in constructCdmaSendSmsRilRequest() 958 addrNbrOfDigits = (byte) dis.read(); in constructCdmaSendSmsRilRequest() 960 msg.address.digits.add(dis.readByte()); // address_orig_bytes[i] in constructCdmaSendSmsRilRequest() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SurfaceInterceptor_test.cpp | 456 std::uniform_int_distribution<uint8_t> dis; in nBufferUpdates() local 458 fillSurfaceRGBA8(mBGSurfaceControl, dis(gen), dis(gen), dis(gen)); in nBufferUpdates()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 243 try (DataInputStream dis = new DataInputStream(is)) { in readChecksums() argument 248 checksums.add(Checksum.readFromStream(dis)); in readChecksums()
|