/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | BitwiseStreamsTest.java | 37 BitwiseOutputStream outStream = new BitwiseOutputStream(30); in testOne() local 38 outStream.skip(offset); in testOne() 39 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testOne() 40 byte[] outBuf = outStream.toByteArray(); in testOne() 52 BitwiseOutputStream outStream = new BitwiseOutputStream(30); in testTwo() local 53 outStream.skip(offset); in testTwo() 54 for (int i = 0; i < inBuf.length; i++) outStream.write(8, inBuf[i]); in testTwo() 55 BitwiseInputStream inStream = new BitwiseInputStream(outStream.toByteArray()); in testTwo() 66 BitwiseOutputStream outStream = new BitwiseOutputStream(30); in testThree() local 67 outStream.skip(offset); in testThree() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsHeader.java | 313 ByteArrayOutputStream outStream = in toByteArray() local 318 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); in toByteArray() 319 outStream.write(3); in toByteArray() 320 outStream.write(concatRef.refNumber); in toByteArray() 322 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); in toByteArray() 323 outStream.write(4); in toByteArray() 324 outStream.write(concatRef.refNumber >>> 8); in toByteArray() 325 outStream.write(concatRef.refNumber & 0x00FF); in toByteArray() 327 outStream.write(concatRef.msgCount); in toByteArray() 328 outStream.write(concatRef.seqNumber); in toByteArray() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 308 ByteArrayOutputStream outStream = new ByteArrayOutputStream(6); in toByteArray() local 309 outStream.write((((year / 10) & 0x0F) << 4) | ((year % 10) & 0x0F)); in toByteArray() 310 outStream.write((((monthOrdinal / 10) << 4) & 0xF0) | ((monthOrdinal % 10) & 0x0F)); in toByteArray() 311 outStream.write((((monthDay / 10) << 4) & 0xF0) | ((monthDay % 10) & 0x0F)); in toByteArray() 312 outStream.write((((hour / 10) << 4) & 0xF0) | ((hour % 10) & 0x0F)); in toByteArray() 313 outStream.write((((minute / 10) << 4) & 0xF0) | ((minute % 10) & 0x0F)); in toByteArray() 314 outStream.write((((second / 10) << 4) & 0xF0) | ((second % 10) & 0x0F)); in toByteArray() 315 return outStream.toByteArray(); in toByteArray() 519 private static void encodeMessageId(BearerData bData, BitwiseOutputStream outStream) in encodeMessageId() argument 522 outStream.write(8, 3); in encodeMessageId() [all …]
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | JarUtil.java | 42 public static void createJar(@NotNull FileOutputStream outStream, in createJar() argument 45 JarOutputStream jar = new JarOutputStream(outStream); in createJar() 70 public static void createJar(@NotNull FileOutputStream outStream, in createJar() argument 72 createJar(outStream, all, Function.identity()); in createJar()
|
/frameworks/av/services/audioflinger/ |
D | AudioStreamOut.cpp | 125 sp<StreamOutHalInterface> outStream; in open() local 137 &outStream); in open() 141 outStream.get(), in open() 159 &outStream); in open() 164 stream = outStream; in open()
|
/frameworks/ml/nn/runtime/test/ |
D | Bridge.cpp | 30 void graphDump(const char* name, const ModelBuilder* model, std::ostream* outStream) { in graphDump() argument 31 ::android::nn::graphDump(name, model->makeHidlModel(), outStream); in graphDump()
|
D | Bridge.h | 35 void graphDump(const char* name, const ModelBuilder* model, std::ostream* outStream = &std::cout);
|
/frameworks/base/core/java/android/webkit/ |
D | CacheManager.java | 88 OutputStream outStream; field in CacheManager.CacheResult 232 return outStream; in getOutputStream() 357 cacheRet.outStream.close(); in saveCacheFile()
|
/frameworks/ml/nn/common/ |
D | GraphDump.cpp | 53 Dumper(std::ostream* outStream) : mStream(outStream) {} in Dumper() argument 138 void graphDump(const char* name, const Model& model, std::ostream* outStream) { in graphDump() argument 144 Dumper dump(outStream); in graphDump()
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 1044 PrintWriter outStream = null; in startNativeTracing() local 1047 outStream = new FastPrintWriter(fos); in startNativeTracing() 1048 outStream.println("1"); in startNativeTracing() 1051 if (outStream != null) in startNativeTracing() 1052 outStream.close(); in startNativeTracing() 1068 PrintWriter outStream = null; in stopNativeTracing() local 1071 outStream = new FastPrintWriter(fos); in stopNativeTracing() 1072 outStream.println("0"); in stopNativeTracing() 1077 if (outStream != null) in stopNativeTracing() 1078 outStream.close(); in stopNativeTracing()
|
/frameworks/ml/nn/common/include/ |
D | GraphDump.h | 49 std::ostream* outStream = nullptr);
|
/frameworks/base/core/java/android/gesture/ |
D | Gesture.java | 317 final DataOutputStream outStream = new DataOutputStream(byteStream); in writeToParcel() local 320 serialize(outStream); in writeToParcel() 325 GestureUtils.closeStream(outStream); in writeToParcel()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalLocal.cpp | 111 sp<StreamOutHalInterface> *outStream) { in openOutputStream() argument 121 *outStream = new StreamOutHalLocal(halStream, this); in openOutputStream()
|
D | DeviceHalLocal.h | 71 sp<StreamOutHalInterface> *outStream);
|
D | DeviceHalHidl.h | 78 sp<StreamOutHalInterface> *outStream);
|
D | DeviceHalHidl.cpp | 234 sp<StreamOutHalInterface> *outStream) { in openOutputStream() argument 253 *outStream = new StreamOutHalHidl(result); in openOutputStream()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferHubConsumer.h | 87 status_t getSidebandStream(sp<NativeHandle>* outStream) const override;
|
D | BufferQueueConsumer.h | 143 status_t getSidebandStream(sp<NativeHandle>* outStream) const override;
|
D | IGraphicBufferConsumer.h | 260 virtual status_t getSidebandStream(sp<NativeHandle>* outStream) const = 0;
|
/frameworks/native/libs/gui/ |
D | IGraphicBufferConsumer.cpp | 150 status_t getSidebandStream(sp<NativeHandle>* outStream) const override { in getSidebandStream() 152 return callRemote<Signature>(Tag::GET_SIDEBAND_STREAM, outStream); in getSidebandStream()
|
D | BufferQueueConsumer.cpp | 737 status_t BufferQueueConsumer::getSidebandStream(sp<NativeHandle>* outStream) const { in getSidebandStream() 739 *outStream = mCore->mSidebandStream; in getSidebandStream()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 77 sp<StreamOutHalInterface> *outStream) = 0;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 470 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); in testSerialization() local 472 outXml.setOutput(outStream, StandardCharsets.UTF_8.name()); in testSerialization() 480 ByteArrayInputStream inStream = new ByteArrayInputStream(outStream.toByteArray()); in testSerialization()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 954 FileOutputStream outStream; in dumpFile() local 957 outStream = new FileOutputStream(fileName); in dumpFile() 963 data.compress(Bitmap.CompressFormat.JPEG, /*quality*/90, outStream); in dumpFile() 964 outStream.close(); in dumpFile() 971 FileOutputStream outStream; in dumpFile() local 974 outStream = new FileOutputStream(fileName); in dumpFile() 980 outStream.write(data); in dumpFile() 981 outStream.close(); in dumpFile()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 314 JniOutputStream(JNIEnv* env, jobject outStream); 332 JniOutputStream::JniOutputStream(JNIEnv* env, jobject outStream) : mOutputStream(outStream), in JniOutputStream() argument 2410 static void DngCreator_nativeWriteImage(JNIEnv* env, jobject thiz, jobject outStream, jint width, in DngCreator_nativeWriteImage() argument 2423 sp<JniOutputStream> out = new JniOutputStream(env, outStream); in DngCreator_nativeWriteImage() 2517 static void DngCreator_nativeWriteInputStream(JNIEnv* env, jobject thiz, jobject outStream, in DngCreator_nativeWriteInputStream() argument 2531 sp<JniOutputStream> out = new JniOutputStream(env, outStream); in DngCreator_nativeWriteInputStream()
|