Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 16 of 16) sorted by relevance

/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java110 private void dump(PrintWriter writer, String prefix, boolean printHeader) { in dump() argument
113 writer.println("disabled"); in dump()
118 writer.println("enabled"); in dump()
120 writer.printf("%sDimensions: %dx%d\n", prefix, width, height); in dump()
121 writer.printf("%sDPI: %d\n", prefix, dpi); in dump()
122 writer.printf("%sflags: %s\n", prefix, flagsToString(flag)); in dump()
123 writer.printf("%svirtualDisplay: %s\n", prefix, virtualDisplay); in dump()
124 writer.printf("%ssurface: %s\n", prefix, surface); in dump()
177 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
179 dump(writer); in dump()
[all …]
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/
DOffloadIntentStore.java179 void dump(PrintWriter writer) { in dump() argument
180 writer.println("OffloadIntentStore:"); in dump()
181 writer.println("offload intents:"); in dump()
183 .forEach(intent -> writer.println("* %s".formatted(intent))); in dump()
184 writer.println("passthrough intents:"); in dump()
185 mPassthroughIntents.forEach(intent -> writer.println("* %s".formatted(intent))); in dump()
186 writer.println(); in dump()
193 void dumpProtocolData(PrintWriter writer) { in dumpProtocolData() argument
194 writer.println("Protocol data dump:"); in dumpProtocolData()
196 writer.println("mRecordKey=%d".formatted(intent.mRecordKey)); in dumpProtocolData()
[all …]
DInterfaceOffloadManager.java119 void dump(PrintWriter writer) { in dump() argument
120 writer.println("InterfaceOffloadManager[%s]:".formatted(mNetworkInterface)); in dump()
121 writer.println("mIsNetworkAvailable=%b".formatted(mIsNetworkAvailable)); in dump()
122 writer.println("current offload keys:"); in dump()
123 mCurrentOffloadKeys.forEach(key -> writer.println("* %d".formatted(key))); in dump()
124 writer.println("current passthrough qnames:"); in dump()
125 mCurrentPassthroughQNames.forEach(qname -> writer.println("* %s".formatted(qname))); in dump()
126 writer.println(); in dump()
DOffloadWriter.java277 void dump(PrintWriter writer) { in dump() argument
278 writer.println("OffloadWriter:"); in dump()
279 writer.println("mOffloadState=%b".formatted(mOffloadState)); in dump()
280 writer.println("isVendorServiceConnected=%b".formatted(isVendorServiceConnected())); in dump()
281 writer.println(); in dump()
DMdnsOffloadManagerService.java268 private void dump(PrintWriter writer) { in dump() argument
269 mOffloadIntentStore.dump(writer); in dump()
270 mInterfaceOffloadManagers.values().forEach(manager -> manager.dump(writer)); in dump()
271 mOffloadWriter.dump(writer); in dump()
272 mOffloadIntentStore.dumpProtocolData(writer); in dump()
/device/google/cuttlefish/common/libs/utils/
Dunix_sockets_test.cpp70 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
72 auto write_result = writer.WriteMessage(message_in); in TEST()
82 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
89 auto write_result = writer.WriteMessage(message_in); in TEST()
107 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
112 auto write_result = writer.WriteMessage(message_in); in TEST()
129 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
130 auto writer_creds_status = writer.EnableCredentials(true); in TEST()
142 auto write_result = writer.WriteMessage(message_in); in TEST()
158 auto [writer, reader] = UnixMessageSocketPair(); in TEST()
[all …]
/device/google/cuttlefish/host/commands/host_bugreport/
Dmain.cc36 void SaveFile(ZipWriter& writer, const std::string& zip_path, in SaveFile() argument
38 writer.StartEntry(zip_path, ZipWriter::kCompress | ZipWriter::kAlign32); in SaveFile()
43 writer.WriteBytes(data, file.gcount()); in SaveFile()
45 writer.FinishEntry(); in SaveFile()
60 ZipWriter writer(out.get()); in CvdHostBugreportMain() local
62 auto save = [&writer, config](const std::string& path) { in CvdHostBugreportMain()
63 SaveFile(writer, "cuttlefish_assembly/" + path, config->AssemblyPath(path)); in CvdHostBugreportMain()
69 auto save = [&writer, instance](const std::string& path) { in CvdHostBugreportMain()
72 SaveFile(writer, zip_name, file_name); in CvdHostBugreportMain()
100 writer.Finish(); in CvdHostBugreportMain()
/device/google/atv/TvSampleLeanbackLauncher/src/main/java/com/example/sampleleanbacklauncher/apps/
DLaunchItemsManager.java448 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
449 writer.println("App Items"); in dump()
452 writer.println(item.toDebugString()); in dump()
455 writer.println("Null"); in dump()
457 writer.println("Game Items"); in dump()
460 writer.println(item.toDebugString()); in dump()
463 writer.println("Null"); in dump()
465 writer.println("Settings Items"); in dump()
469 writer.println(item.toDebugString()); in dump()
472 writer.println("Null"); in dump()
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs80 writer: File, field
104 NfcSession::Opened(ref mut client) => Ok((&mut self.writer, client)), in ensure_opened_mut()
148 let writer = OpenOptions::new() in new() localVariable
156 set_console_fd_raw(&writer); in new()
160 writer.try_clone().await.expect("Failed to prepare virtio-console device for reading"); in new()
162 let status = Arc::new(Mutex::new(NfcServiceStatus { writer, session: Default::default() })); in new()
316 let (writer, _) = status.ensure_opened_mut()?; in write()
318 writer.write_all(data).await.expect("Failed to write virtio-console device"); in write()
/device/generic/goldfish/audio/
Ddevice_port_source.cpp110 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()
135 writer(chunk.data, writeBufSzBytes); in read()
153 writer(zeroes, nZeroBytes); in read()
263 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()
297 writer(mWriteBuffer.data(), nSamples * sizeof(*samples)); in read()
Dstream_in.cpp189 MQWriter writer(mDataMQ); in doRead() local
191 mSource->read(mStream->getEffectiveVolume(), bytesToRead, writer); in doRead()
198 status.reply.read = writer.totalWritten; in doRead()
/device/google/cuttlefish/host/commands/openwrt_control_server/
Dmain.cpp91 Json::FastWriter writer; in LuciRpc() local
94 response->set_result(writer.write((*reply)["result"])); in LuciRpc()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/
DBluetoothDeviceService.java786 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump() argument
798 writer.printf("%s (%s):%n", device.getName(), device.getAddress()); in dump()
801 writer.printf(" Firmware Version: %s%n", version.toString()); in dump()
804 writer.printf(" Battery Level: %d%n", battLevel); in dump()
/device/google/cuttlefish/
Diwyu.imp8 { include: ["\"json/writer.h\"", "private", "<json/json.h>", "public"] },
/device/google/coral-sepolicy/vendor/qcom/common/
Dfile.te108 #define the files writer during the operation of app state changes
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto1492 // If the writer is faster than the reader (or if the reader reads only
1498 // the reader catches up with the writer. As soon as the writer hits
1981 // Num. of times the service detected packet loss on a trace writer
1983 // writer process's SMB. Note that this relies on the client's TraceWriter
7210 // Override the pid/tid if the writer needs to emit events on behalf of
7256 // The writer will emit new entries when it encounters new internable values
7272 // The writer will usually emit new entries in the same TracePacket that first
8153 // This field specifies if reset is supported and if the writer had reset
8470 // usually by the thread's trace writer.
8606 // usually by the thread's trace writer. Must be paired with a ThreadDescriptor
[all …]