Searched refs:write (Results 176 - 200 of 1003) sorted by relevance

1234567891011>>

/frameworks/av/media/mtp/
H A DMtpFfsCompatHandle.h37 int write(const void* data, size_t len) override;
H A DMtpRequestPacket.cpp63 // write our buffer to the given endpoint (host mode)
64 int MtpRequestPacket::write(struct usb_request *request) function in class:android::MtpRequestPacket
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioRoute.cpp49 write(fd, result.string(), result.size());
/frameworks/av/soundtrigger/
H A DISoundTrigger.cpp77 data.write(&handle, sizeof(sound_model_handle_t));
90 data.write(&handle, sizeof(sound_model_handle_t));
108 data.write(&handle, sizeof(sound_model_handle_t));
140 reply->write(&handle, sizeof(sound_model_handle_t));
/frameworks/base/core/java/android/hardware/usb/
H A DAccessoryFilter.java81 public void write(XmlSerializer serializer)throws IOException { method in class:AccessoryFilter
157 dump.write("manufacturer", UsbAccessoryFilterProto.MANUFACTURER, mManufacturer);
158 dump.write("model", UsbAccessoryFilterProto.MODEL, mModel);
159 dump.write("version", UsbAccessoryFilterProto.VERSION, mVersion);
/frameworks/base/core/java/android/util/
H A DLogWriter.java64 @Override public void write(char[] buf, int offset, int count) { method in class:LogWriter
/frameworks/base/core/java/com/android/internal/util/
H A DStatLogger.java162 proto.write(Event.EVENT_ID, i);
163 proto.write(Event.LABEL, mLabels[i]);
164 proto.write(Event.COUNT, mCountStats[i]);
165 proto.write(Event.TOTAL_DURATION_MICROS, mDurationStats[i]);
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.h47 void write(SoundPoolMsg msg);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DOutputStreamTarget.java58 mOutputStream.write(data.array(), 0, data.limit());
62 "OutputStreamTarget: Could not write to stream: " + exception.getMessage() + "!");
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DIconLoggerImplTest.java120 verify(mMetricsLogger).write(argThat(maker -> {
142 verify(mMetricsLogger).write(argThat(maker -> {
155 verify(mMetricsLogger).write(argThat(maker -> {
168 verify(mMetricsLogger).write(argThat(maker -> {
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DSocketConnect.java32 to.write(buffer, 0, r);
/frameworks/base/services/core/java/com/android/server/am/
H A DConnectionRecord.java162 if (binding == null) return; // if binding is null, don't write data, something is wrong.
164 proto.write(ConnectionRecordProto.HEX_HASH,
167 proto.write(ConnectionRecordProto.USER_ID, binding.client.userId);
172 proto.write(ConnectionRecordProto.FLAGS, ConnectionRecordProto.DEAD);
175 proto.write(ConnectionRecordProto.SERVICE_NAME, binding.service.shortName);
/frameworks/compile/slang/
H A Dslang_bitcode_gen.cpp99 Out.write(reinterpret_cast<char*>(&Wrapper), ActualWrapperLen);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DAnnotationJavaFileWriter.java43 writer.write(contents);
45 L.e(e, "Could not write to %s", canonicalName);
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/
H A DSerializableImageImpl.java42 ImageIO.write(mBufferedImage, "png", out);
/frameworks/multidex/
H A Dbuild.gradle41 props.write "sdk.dir=${fullSdkPath}"
47 props.write "android.dir=../../"
/frameworks/native/libs/input/tests/
H A DTestHelpers.h50 ssize_t nWritten = ::write(sendFd, "*", 1);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DHSFriendlyNameElementTest.java50 * @param stream Stream to write to
58 stream.write((byte) length);
59 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII));
60 stream.write(new byte[]{(byte) 0x0}); // Padding for language code.
61 stream.write(nameBytes);
/frameworks/support/compat/src/main/java/androidx/core/util/
H A DLogWriter.java55 @Override public void write(char[] buf, int offset, int count) { method in class:LogWriter
/frameworks/support/jetifier/jetifier/source-transformer/
H A DrewriteMake.py101 scriptFile.write(str(rewriterTextBuilder))
/frameworks/support/lifecycle/compiler/
H A Dreset_results.py36 file.write(line)
/frameworks/av/media/mtp/tests/
H A DMtpFfsHandle_test.cpp119 EXPECT_EQ(write(this->bulk_out, dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE);
135 EXPECT_EQ(write(this->bulk_out, ss.str().c_str(), size), size);
144 EXPECT_EQ(this->handle->write(dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE);
158 EXPECT_EQ(this->handle->write(ss.str().c_str(), size), size);
175 EXPECT_EQ(write(this->bulk_out, ss.str().c_str(), size), size);
194 EXPECT_EQ(write(this->bulk_out, ss.str().c_str(), size), size);
215 EXPECT_EQ(write(this->bulk_out, ss.str().c_str(), size), size);
234 EXPECT_EQ(write(this->bulk_out, ss.str().c_str(), size), size);
269 EXPECT_EQ(write(this->dummy_file.fd, ss.str().c_str(), size), size);
298 EXPECT_EQ(write(thi
[all...]
/frameworks/base/obex/javax/obex/
H A DClientSession.java489 out.write((byte)opCode);
493 out.write(0x00);
494 out.write(0x03);
496 out.write((byte)((head.length + 3) >> 8));
497 out.write((byte)(head.length + 3));
498 out.write(head);
503 mOutput.write(out.toByteArray());
588 out.write((byte)HeaderSet.AUTH_RESPONSE);
589 out.write((byte)((header.mAuthResp.length + 3) >> 8));
590 out.write((byt
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp59 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) function in class:android::AudioStreamOutSink
66 status_t ret = mStream->write(buffer, count * mFrameSize, &written);
/frameworks/base/cmds/statsd/src/external/
H A DResourceHealthManagerPuller.cpp78 ptr->write(v.legacy.batteryChargeCounter);
84 ptr->write(v.legacy.batteryFullCharge);

Completed in 269 milliseconds

1234567891011>>