Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/locksettings/
DRebootEscrowData.java74 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/
DSmsMessage.java460 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/
DChecksum.java166 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/
DEffectBundleTest.cpp87 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()
DEffectReverbTest.cpp114 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/
DEffectPreprocessingTest.cpp194 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/
DProcessedPackagesJournalTest.java145 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/
Dpreprocessing_benchmark.cpp258 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/
DSpatializerTest.cpp115 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/
Dlvm_benchmark.cpp170 std::uniform_real_distribution<> dis(-1.0f, 1.0f); in BM_LVM() local
173 in = dis(gen); in BM_LVM()
Dreverb_benchmark.cpp108 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/
Ddownmix_benchmark.cpp101 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/
Dspatializer_benchmark.cpp96 std::uniform_real_distribution<> dis(kMinAmplitude, kMaxAmplitude); in BM_SPATIALIZER() local
99 in = dis(gen); in BM_SPATIALIZER()
/frameworks/av/media/mtp/tests/MtpFfsHandleTest/
DMtpFfsHandle_test.cpp238 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/
DRILUtils.java647 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/
DRILTest.java957 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/
DApkChecksums.java245 try (DataInputStream dis = new DataInputStream(is)) { in readChecksums() argument
250 checksums.add(Checksum.readFromStream(dis)); in readChecksums()