Home
last modified time | relevance | path

Searched refs:flush (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DLogcatLogTest.java53 logMessage.flush(); in logMessageWorksWithParameterlessFormat()
61 logMessage.flush(); in logMessageWorksWithEmptyFormat()
69 logMessage.c(1).flush(); in logMessageWorksWithValueOnly()
80 logMessage.c('%').flush(); in logMessageIsNotConfusedByPlaceholderInValue()
88 logMessage.c(1).flush(); in logMessageWorksWithValueAtBegin()
96 logMessage.c(1).flush(); in logMessageWorksWithValueInMiddle()
104 logMessage.c(1).flush(); in logMessageWorksWithValueAtEnd()
112 logMessage.c("hello").c("world").flush(); in logMessageWorksWithMultipleValues()
120 logMessage.c("hello").c("world").flush(); in logMessageWorksWithMultipleValuesAndLiterals()
128 logMessage.c("hello").c("world").flush(); in logMessageWorksWithAdjacentValues()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java78 public synchronized void flush() { in flush() method in LoggingPrintStream
79 flush(true); in flush()
88 private void flush(boolean completely) { in flush() method in LoggingPrintStream
153 flush(false); in write()
195 flush(false); in format()
202 flush(false); in print()
209 flush(false); in print()
236 flush(false); in print()
242 flush(false); in print()
252 flush(true); in println()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DLineBreakBufferedWriterTest.java47 lw.flush(); in testLessThanBufferSize()
58 lw.flush(); in testMoreThanBufferSizeNoLineBreaks()
79 lw.flush(); in testMoreThanBufferSizeNoLineBreaksSingleString()
102 lw.flush(); in testMoreThanBufferSizeLineBreakBefore()
113 lw.flush(); in testMoreThanBufferSizeLineBreakBeforeSingleString()
125 lw.flush(); in testMoreThanBufferSizeLineBreakNew()
137 lw.flush(); in testMoreThanBufferSizeLineBreakBeforeAndNew()
149 lw.flush(); in testMoreThanBufferSizeInt()
163 lw.flush(); in testMoreThanBufferSizeChar()
175 lw.flush(); in testMoreThanBufferSizeLineBreakNewChars()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java55 out.flush(); in testPrintObject()
64 out.flush(); in testPrintlnObject()
71 out.flush(); in testPrintf()
79 out.flush(); in testPrintInt()
92 out.flush(); in testPrintCharArray()
99 out.flush(); in testPrintString()
137 out.flush(); in testMultiByteCharactersSpanningBuffers()
146 out.flush(); in testWriteOneByteAtATimeMultibyteCharacters()
153 out.flush(); in testWriteByteArrayAtATimeMultibyteCharacters()
166 out.flush(); in testWriteWithOffsetsMultibyteCharacters()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DIndentingPrintWriterTest.java58 pw.flush(); in testMultipleIndents()
69 pw.flush(); in testAdjustIndentAfterNewline()
81 pw.flush(); in testWrapping()
95 pw.flush(); in testWrappingIndented()
105 pw.flush(); in testWrappingEmbeddedNewlines()
116 pw.flush(); in testWrappingSingleGiant()
128 pw.flush(); in testWrappingPrefixedGiant()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java625 mLog.info("startScan uid=%").c(callingUid).flush(); in startScan()
691 .c(Binder.getCallingUid()).flush(); in getCurrentNetworkWpsNfcConfigurationToken()
880 .c(Binder.getCallingUid()).flush(); in setWifiEnabled()
885 mLog.err("setWifiEnabled in Airplane mode: only Settings can toggle wifi").flush(); in setWifiEnabled()
892 mLog.err("setWifiEnabled SoftAp enabled: only Settings can toggle wifi").flush(); in setWifiEnabled()
897 .c(Binder.getCallingUid()).c(enable).flush(); in setWifiEnabled()
924 mLog.info("getWifiEnabledState uid=%").c(Binder.getCallingUid()).flush(); in getWifiEnabledState()
941 mLog.info("getWifiApEnabledState uid=%").c(Binder.getCallingUid()).flush(); in getWifiApEnabledState()
968 mLog.info("updateInterfaceIpState uid=%").c(Binder.getCallingUid()).flush(); in updateInterfaceIpState()
1033 mLog.warn("updateInterfaceIpStateInternal: unknown mode %").c(mode).flush(); in updateInterfaceIpStateInternal()
[all …]
DLastMileLogger.java102 mLog.warn("Failed to start event tracing: %").r(e.getMessage()).flush(); in enableTracing()
110 mLog.warn("Failed to stop event tracing: %").r(e.getMessage()).flush(); in disableTracing()
118 mLog.warn("Failed to read event trace: %").r(e.getMessage()).flush(); in readTrace()
143 mLog.warn("Failed to open free_buffer pseudo-file: %").r(e.getMessage()).flush(); in ensureFailSafeIsArmed()
DWifiVendorHal.java107 enter("verbose=true").flush(); in enableVerboseLogging()
109 enter("verbose=false").flush(); in enableVerboseLogging()
132 .flush(); in ok()
152 .flush(); in boolResult()
172 .flush(); in stringResult()
192 .flush(); in byteArrayResult()
269 mVerboseLog.err("% RemoteException in HIDL call %").c(methodName).c(e.toString()).flush(); in handleRemoteException()
357 mLog.err("Failed to start vendor HAL").flush(); in startVendorHal()
360 mLog.info("Vendor Hal started successfully").flush(); in startVendorHal()
404 mLog.err("Failed to create STA iface").flush(); in createStaIface()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DCodedOutputStreamTest.java87 output.flush(); in assertWriteVarint()
99 output.flush(); in assertWriteVarint()
115 output.flush(); in assertWriteVarint()
124 output.flush(); in assertWriteVarint()
169 output.flush(); in assertWriteLittleEndian32()
177 output.flush(); in assertWriteLittleEndian32()
191 output.flush(); in assertWriteLittleEndian64()
199 output.flush(); in assertWriteLittleEndian64()
292 output.flush(); in testWriteWholeMessage()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java323 coder.stream().flush(); in testWriteWholeMessage()
332 coder.stream().flush(); in testWriteWholeMessage()
348 coder.stream().flush(); in testWriteWholePackedFieldsMessage()
365 coder.stream().flush(); in testWriteMessageWithNegativeEnumValue()
416 coder.stream().flush();
439 codedStream.flush();
470 codedStream.flush();
507 coder.stream().flush();
604 coder.stream().flush();
617 coder.stream().flush();
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/
DSingleStreamDiffScriptWriterTest.java83 mDiffScriptWriter.flush(); in writeChunk_withExistingBytesInBuffer_writesBufferFirst()
95 mDiffScriptWriter.flush(); in writeChunk_overlappingPreviousChunk_combinesChunks()
105 mDiffScriptWriter.flush(); in writeChunk_formatsByteIndexesUsingArabicNumbers()
116 diffScriptWriter.flush(); in flush_flushesOutputStream()
118 verify(mockOutputStream).flush(); in flush_flushesOutputStream()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiAsyncChannel.java60 .flush(); in sendMessage()
77 .flush(); in replyToMessage()
91 .flush(); in sendMessageSynchronously()
97 .flush(); in sendMessageSynchronously()
/frameworks/base/media/java/android/media/
DMediaInserter.java67 flush(tableUri, list); in insert()
76 flush(tableUri, list); in flushAll()
84 flush(tableUri, list); in flushAllPriority()
89 private void flush(Uri tableUri, List<ContentValues> list) throws RemoteException { in flush() method in MediaInserter
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DCacheQuotaStrategyTest.java52 mOut.flush(); in testEmptyWrite()
65 mOut.flush(); in testWriteOneQuota()
81 mOut.flush(); in testWriteMultipleQuotas()
98 mOut.flush(); in testNullUuidDoesntCauseCrash()
/frameworks/base/services/core/java/com/android/server/wm/
DPersisterQueue.java108 synchronized void addItem(WriteQueueItem item, boolean flush) { in addItem() argument
111 if (flush || mWriteQueue.size() > MAX_WRITE_QUEUE_LENGTH) { in addItem()
137 synchronized <T extends WriteQueueItem> void updateLastOrAddItem(T item, boolean flush) { in updateLastOrAddItem() argument
140 addItem(item, flush); in updateLastOrAddItem()
165 synchronized void flush() { in flush() method in PersisterQueue
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java84 client.flush(); in testNoWriteSync()
98 client.flush(); in testWriteSync()
106 client.flush(); in testWriteSyncWrite()
140 client.flush(); in testRandomWrite()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h128 virtual void flush() = 0;
193 virtual void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) = 0;
352 void flush();
456 void flush();
537 void flush() override;
566 void flush() override;
634 void flush() override;
664 void flush() override;
697 void flush() override { in flush() function
760 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) override;
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsRttTextHandlerTest.java112 mPipeToHandler.flush(); in testProperCharacterBuffering()
135 mPipeToHandler.flush(); in testSendAfterEnoughChars()
150 mPipeToHandler.flush(); in testSendAfterEnoughChars()
178 mPipeToHandler.flush(); in testBufferedCharactersSentAsBatch()
196 mPipeToHandler.flush(); in testProperThrottling()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkTest.java53 out.flush(); in testReadFromProto_readsCorrectly()
70 out.flush(); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
94 out.flush(); in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash()
108 out.flush(); in testReadFromProto_whenOnlyLengthSet_returnsChunkWithOnlyLength()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dgzip_stream.cc88 int GzipInputStream::Inflate(int flush) { in Inflate() argument
113 int error = inflate(&zcontext_, flush); in Inflate()
248 int GzipOutputStream::Deflate(int flush) { in Deflate() argument
262 error = deflate(&zcontext_, flush); in Deflate()
264 if ((flush == Z_FULL_FLUSH) || (flush == Z_FINISH)) { in Deflate()
/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java45 public void flush() throws IOException { in flush() method in FastPrintWriter.DummyWriter
268 flush(); in checkError()
378 mOutputStream.flush(); in flushLocked()
383 mWriter.flush(); in flushLocked()
409 public void flush() {
415 mOutputStream.flush();
417 mWriter.flush();
DFastXmlSerializer.java93 flush(); in append()
112 flush(); in append()
131 flush(); in append()
218 flush(); in endDocument()
257 public void flush() throws IOException { in flush() method in FastXmlSerializer
274 mOutputStream.flush(); in flush()
277 mWriter.flush(); in flush()
/frameworks/native/services/sensorservice/
DSensorInterface.h41 virtual status_t flush(void* /*ident*/, int /*handle*/) = 0;
62 virtual status_t flush(void* /*ident*/, int /*handle*/) override { in flush() function
89 virtual status_t flush(void* ident, int handle) override;
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DRawBackupWriter.java49 public void flush() throws IOException { in flush() method in RawBackupWriter
50 outputStream.flush(); in flush()
/frameworks/base/core/java/android/bluetooth/
DBluetoothOutputStream.java87 public void flush() throws IOException { in flush() method in BluetoothOutputStream
88 mSocket.flush(); in flush()

12345678910>>...23