Searched refs:write (Results 151 - 175 of 1003) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/am/
H A DReceiverList.java86 proto.write(ReceiverListProto.PID, pid);
87 proto.write(ReceiverListProto.UID, uid);
88 proto.write(ReceiverListProto.USER, userId);
92 proto.write(ReceiverListProto.LINKED_TO_DEATH, linkedToDeath);
98 proto.write(ReceiverListProto.HEX_HASH, Integer.toHexString(System.identityHashCode(this)));
H A DBroadcastFilter.java53 proto.write(BroadcastFilterProto.REQUIRED_PERMISSION, requiredPermission);
55 proto.write(BroadcastFilterProto.HEX_HASH, Integer.toHexString(System.identityHashCode(this)));
56 proto.write(BroadcastFilterProto.OWNING_USER_ID, owningUserId);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DVenueNameElementTest.java50 * @param stream Stream to write to
57 stream.write((byte) length);
58 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII));
59 stream.write(new byte[]{(byte) 0x0}); // Padding for language code.
60 stream.write(venueBytes);
72 stream.write(new byte[VenueNameElement.VENUE_INFO_LENGTH]);
H A DI18NameTest.java52 stream.write(language.getBytes(StandardCharsets.US_ASCII));
53 stream.write(new byte[]{(byte) 0x0}); // Padding for language code.
54 stream.write(text.getBytes(StandardCharsets.UTF_8));
H A DThreeGPPNetworkElementTest.java72 stream.write((byte) version);
73 stream.write((byte) totalIeiSize);
75 stream.write(iei);
/frameworks/base/cmds/statsd/src/packages/
H A DUidMap.cpp326 proto->write(FIELD_TYPE_BOOL | FIELD_ID_CHANGE_DELETION, (bool)record.deletion);
327 proto->write(FIELD_TYPE_INT64 | FIELD_ID_CHANGE_TIMESTAMP,
331 proto->write(FIELD_TYPE_UINT64 | FIELD_ID_CHANGE_PACKAGE_HASH,
334 proto->write(FIELD_TYPE_STRING | FIELD_ID_CHANGE_PACKAGE, record.package);
337 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CHANGE_UID, (int)record.uid);
338 proto->write(FIELD_TYPE_INT64 | FIELD_ID_CHANGE_NEW_VERSION, (long long)record.version);
339 proto->write(FIELD_TYPE_INT64 | FIELD_ID_CHANGE_PREV_VERSION,
348 proto->write(FIELD_TYPE_INT64 | FIELD_ID_SNAPSHOT_TIMESTAMP, (long long)timestamp);
355 proto->write(FIELD_TYPE_UINT64 | FIELD_ID_SNAPSHOT_PACKAGE_NAME_HASH,
358 proto->write(FIELD_TYPE_STRIN
[all...]
/frameworks/av/include/media/
H A DIAudioFlinger.h92 (void)parcel->write(&attr, sizeof(audio_attributes_t));
93 (void)parcel->write(&config, sizeof(audio_config_t));
105 (void)parcel->write(&flags, sizeof(audio_output_flags_t));
108 (void)parcel->write(&selectedDeviceId, sizeof(audio_port_handle_t));
109 (void)parcel->write(&sessionId, sizeof(audio_session_t));
154 (void)parcel->write(&flags, sizeof(audio_output_flags_t));
157 (void)parcel->write(&selectedDeviceId, sizeof(audio_port_handle_t));
158 (void)parcel->write(&sessionId, sizeof(audio_session_t));
165 (void)parcel->write(&outputId, sizeof(audio_io_handle_t));
217 (void)parcel->write(
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DIAudioFlinger.h92 (void)parcel->write(&attr, sizeof(audio_attributes_t));
93 (void)parcel->write(&config, sizeof(audio_config_t));
105 (void)parcel->write(&flags, sizeof(audio_output_flags_t));
108 (void)parcel->write(&selectedDeviceId, sizeof(audio_port_handle_t));
109 (void)parcel->write(&sessionId, sizeof(audio_session_t));
154 (void)parcel->write(&flags, sizeof(audio_output_flags_t));
157 (void)parcel->write(&selectedDeviceId, sizeof(audio_port_handle_t));
158 (void)parcel->write(&sessionId, sizeof(audio_session_t));
165 (void)parcel->write(&outputId, sizeof(audio_io_handle_t));
217 (void)parcel->write(
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifOutputStream.java43 * eos.write(jpeg);
118 public void write(byte[] buffer, int offset, int length) throws IOException { method in class:ExifOutputStream
129 out.write(buffer, offset, byteToProcess);
147 throw new IOException("Not a valid jpeg image, cannot write exif");
149 out.write(mBuffer.array(), 0, 2);
164 out.write(mBuffer.array(), 0, 2);
177 out.write(mBuffer.array(), 0, 4);
180 out.write(mBuffer.array(), 0, 4);
187 out.write(buffer, offset, length);
196 public void write(in method in class:ExifOutputStream
205 public void write(byte[] buffer) throws IOException { method in class:ExifOutputStream
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp233 bool write(const void* buffer, size_t size) override {
235 return size == 0 || ::write(fFd, buffer, size) > 0;
244 write(fd, &w, 4);
245 write(fd, &h, 4);
246 write(fd, &f, 4);
247 write(fd, &c, 4);
250 write(fd, base, w*Bpp);
/frameworks/base/core/java/android/service/notification/
H A DCondition.java169 proto.write(ConditionProto.ID, id.toString());
170 proto.write(ConditionProto.SUMMARY, summary);
171 proto.write(ConditionProto.LINE_1, line1);
172 proto.write(ConditionProto.LINE_2, line2);
173 proto.write(ConditionProto.ICON, icon);
174 proto.write(ConditionProto.STATE, state);
175 proto.write(ConditionProto.FLAGS, flags);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuProcReaderTest.java100 os.write(data);
110 os.write(data);
123 os.write(data);
138 os.write(data);
153 os.write(data);
166 os.write(data);
180 os.write(data);
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
H A DFullBackupUtilsTest.java153 outputStream.write(data);
175 outputStream.write(data);
195 outputStream.write(data);
218 outputStream.write(data, 0, chunk1Length);
220 outputStream.write(data, chunk1Length, chunk2Length);
243 outputStream.write(data, 0, chunk1Length);
245 outputStream.write(data, chunk1Length, chunk2Length);
/frameworks/base/cmds/statsd/src/logd/
H A DLogEvent.cpp89 bool LogEvent::write(int32_t value) { function in class:android::os::statsd::LogEvent
96 bool LogEvent::write(uint32_t value) { function in class:android::os::statsd::LogEvent
103 bool LogEvent::write(int64_t value) { function in class:android::os::statsd::LogEvent
110 bool LogEvent::write(uint64_t value) { function in class:android::os::statsd::LogEvent
117 bool LogEvent::write(const string& value) { function in class:android::os::statsd::LogEvent
124 bool LogEvent::write(float value) { function in class:android::os::statsd::LogEvent
131 bool LogEvent::write(const std::vector<AttributionNodeInternal>& nodes) { function in class:android::os::statsd::LogEvent
137 if (!write(nodes[i])) {
149 bool LogEvent::write(const AttributionNodeInternal& node) { function in class:android::os::statsd::LogEvent
/frameworks/base/core/java/android/hardware/usb/
H A DDeviceFilter.java138 public void write(XmlSerializer serializer) throws IOException { method in class:DeviceFilter
324 dump.write("vendor_id", UsbDeviceFilterProto.VENDOR_ID, mVendorId);
325 dump.write("product_id", UsbDeviceFilterProto.PRODUCT_ID, mProductId);
326 dump.write("class", UsbDeviceFilterProto.CLASS, mClass);
327 dump.write("subclass", UsbDeviceFilterProto.SUBCLASS, mSubclass);
328 dump.write("protocol", UsbDeviceFilterProto.PROTOCOL, mProtocol);
329 dump.write("manufacturer_name", UsbDeviceFilterProto.MANUFACTURER_NAME, mManufacturerName);
330 dump.write("product_name", UsbDeviceFilterProto.PRODUCT_NAME, mProductName);
331 dump.write("serial_number", UsbDeviceFilterProto.SERIAL_NUMBER, mSerialNumber);
/frameworks/native/libs/gui/
H A DLayerState.cpp25 status_t layer_state_t::write(Parcel& output) const function in class:android::layer_state_t
40 output.write(crop);
41 output.write(finalCrop);
52 output.write(transparentRegion);
92 status_t ComposerState::write(Parcel& output) const { function in class:android::ComposerState
94 return state.write(output);
113 status_t DisplayState::write(Parcel& output) const { function in class:android::DisplayState
119 output.write(viewport);
120 output.write(frame);
H A DHdrMetadata.cpp37 FlattenableUtils::write(buffer, size, validTypes);
39 FlattenableUtils::write(buffer, size, smpte2086);
42 FlattenableUtils::write(buffer, size, cta8613);
/frameworks/base/obex/javax/obex/
H A DServerOperation.java119 * @param out the output stream to write to
445 out.write(headerArray);
496 out.write(0x49);
498 out.write((byte)(bodyLength >> 8));
499 out.write((byte)bodyLength);
500 out.write(body);
504 out.write(0x48);
506 out.write((byte)(bodyLength >> 8));
507 out.write((byte)bodyLength);
508 out.write(bod
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DPowerManagerService.java633 proto.write(PowerManagerServiceDumpProto.ConstantsProto.IS_NO_CACHED_WAKE_LOCKS,
3422 proto.write(PowerManagerServiceDumpProto.DIRTY, mDirty);
3423 proto.write(PowerManagerServiceDumpProto.WAKEFULNESS, mWakefulness);
3424 proto.write(PowerManagerServiceDumpProto.IS_WAKEFULNESS_CHANGING, mWakefulnessChanging);
3425 proto.write(PowerManagerServiceDumpProto.IS_POWERED, mIsPowered);
3426 proto.write(PowerManagerServiceDumpProto.PLUG_TYPE, mPlugType);
3427 proto.write(PowerManagerServiceDumpProto.BATTERY_LEVEL, mBatteryLevel);
3428 proto.write(
3431 proto.write(PowerManagerServiceDumpProto.DOCK_STATE, mDockState);
3432 proto.write(PowerManagerServiceDumpProt
[all...]
/frameworks/av/include/media/nbaio/
H A DAudioStreamOutSink.h45 // This is an over-estimate, and could dupe the caller into making a blocking write()
49 virtual ssize_t write(const void *buffer, size_t count);
/frameworks/av/include/media/stagefright/
H A DSkipCutBuffer.h51 void write(const char *src, size_t num);
/frameworks/av/media/libeffects/dynamicsproc/dsp/
H A DSHCircularBuffer.h39 inline void write(T value) { function in class:SHCircularBuffer
47 ALOGE("Error: SHCircularBuffer no space to write. allocated size %zu ", getSize());
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DAudioStreamOutSink.h45 // This is an over-estimate, and could dupe the caller into making a blocking write()
49 virtual ssize_t write(const void *buffer, size_t count);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DSkipCutBuffer.h51 void write(const char *src, size_t num);
/frameworks/av/media/mtp/
H A DMtpEventPacket.cpp39 int MtpEventPacket::write(IMtpHandle *h) { function in class:android::MtpEventPacket

Completed in 119 milliseconds

1234567891011>>