Home
last modified time | relevance | path

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

12345678910>>...28

/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java79 public synchronized void flush() { in flush() method in LoggingPrintStream
80 flush(true); in flush()
89 private void flush(boolean completely) { in flush() method in LoggingPrintStream
154 flush(false); in write()
196 flush(false); in format()
203 flush(false); in print()
210 flush(false); in print()
237 flush(false); in print()
243 flush(false); in print()
253 flush(true); in println()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DLineBreakBufferedWriterTest.java53 lw.flush(); in testLessThanBufferSize()
65 lw.flush(); in testMoreThanBufferSizeNoLineBreaks()
87 lw.flush(); in testMoreThanBufferSizeNoLineBreaksSingleString()
111 lw.flush(); in testMoreThanBufferSizeLineBreakBefore()
123 lw.flush(); in testMoreThanBufferSizeLineBreakBeforeSingleString()
136 lw.flush(); in testMoreThanBufferSizeLineBreakNew()
149 lw.flush(); in testMoreThanBufferSizeLineBreakBeforeAndNew()
162 lw.flush(); in testMoreThanBufferSizeInt()
177 lw.flush(); in testMoreThanBufferSizeChar()
190 lw.flush(); in testMoreThanBufferSizeLineBreakNewChars()
[all …]
/frameworks/base/core/tests/utiltests/src/android/util/
DIndentingPrintWriterTest.java64 pw.flush(); in testMultipleIndents()
76 pw.flush(); in testAdjustIndentAfterNewline()
89 pw.flush(); in testWrapping()
104 pw.flush(); in testWrappingIndented()
115 pw.flush(); in testWrappingEmbeddedNewlines()
127 pw.flush(); in testWrappingSingleGiant()
140 pw.flush(); in testWrappingPrefixedGiant()
151 pw.flush(); in testArrayValue()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java61 out.flush(); in testPrintObject()
71 out.flush(); in testPrintlnObject()
79 out.flush(); in testPrintf()
88 out.flush(); in testPrintInt()
103 out.flush(); in testPrintCharArray()
111 out.flush(); in testPrintString()
154 out.flush(); in testMultiByteCharactersSpanningBuffers()
164 out.flush(); in testWriteOneByteAtATimeMultibyteCharacters()
172 out.flush(); in testWriteByteArrayAtATimeMultibyteCharacters()
186 out.flush(); in testWriteWithOffsetsMultibyteCharacters()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DExternalDisplayStatsServiceTest.java144 mHandler.flush(); in testDisplayConnected()
157 mHandler.flush(); in testDisplayInteractivityChanges()
191 mHandler.flush(); in testAudioPlaybackChanges()
195 mHandler.flush(); in testAudioPlaybackChanges()
199 mHandler.flush(); in testAudioPlaybackChanges()
206 mHandler.flush(); in testOnDisplayAddedMirroring()
221 mHandler.flush(); in testOnDisplayAddedExtended()
237 mHandler.flush(); in testOnDisplayDisabled()
253 mHandler.flush(); in testOnDisplayDisconnected()
262 mHandler.flush(); in testOnDisplayDisconnected()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessLowLuxModifierTest.kt90 testHandler.flush() in setUp()
99 testHandler.flush() in testSettingOffDisablesModifier()
104 testHandler.flush() in testSettingOffDisablesModifier()
120 testHandler.flush() in testLuxRestrictsBrightnessRange()
137 testHandler.flush() in testUserRestrictsBrightnessRange()
156 testHandler.flush() in testOnToOff()
167 testHandler.flush() in testOnToOff()
184 testHandler.flush() in testOffToOn()
195 testHandler.flush() in testOffToOn()
213 testHandler.flush() in testEnabledEvenWhenAutobrightnessIsOff()
[all …]
DBrightnessThermalClamperTest.java77 mTestHandler.flush(); in setUp()
131 mTestHandler.flush(); in testNotifyThrottlingAfterOnDisplayChange()
136 mTestHandler.flush(); in testNotifyThrottlingAfterOnDisplayChange()
148 mTestHandler.flush(); in testOnDisplayChangeAfterNotifyThrottling()
153 mTestHandler.flush(); in testOnDisplayChangeAfterNotifyThrottling()
162 mTestHandler.flush(); in testOverrideData()
168 mTestHandler.flush(); in testOverrideData()
174 mTestHandler.flush(); in testOverrideData()
181 mTestHandler.flush(); in testOverrideData()
200 mTestHandler.flush(); in testDisplaySensorBasedThrottling()
[all …]
DBrightnessPowerClamperTest.java67 mTestHandler.flush(); in setUp()
84 mTestHandler.flush(); in testPowerThrottlingNoOngoingAnimation()
96 mTestHandler.flush(); in testPowerThrottlingNoOngoingAnimation()
106 mTestHandler.flush(); in testPowerThrottlingNoOngoingAnimation()
113 mTestHandler.flush(); in testPowerThrottlingWithOngoingAnimation()
124 mTestHandler.flush(); in testPowerThrottlingWithOngoingAnimation()
134 mTestHandler.flush(); in testPowerThrottlingWithOngoingAnimation()
141 mTestHandler.flush(); in testPowerThrottlingRemoveBrightnessCap()
153 mTestHandler.flush(); in testPowerThrottlingRemoveBrightnessCap()
161 mTestHandler.flush(); in testPowerThrottlingRemoveBrightnessCap()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGenLogger.kt96 fun flush() { in flush() method in com.android.hoststubgen.HostStubGenLogger
97 printers.forEach { it.flush() } in flush()
215 flush() in close()
218 override fun flush() { in flush() method in com.android.hoststubgen.HostStubGenLogger.MultiplexingWriter
220 it.flush() in flush()
242 fun flush() in println() method
258 override fun flush() { in println() method in com.android.hoststubgen.StreamPrinter
259 out.flush() in println()
/frameworks/base/services/flags/java/com/android/server/flags/
DFlagsShellCommand.java85 outPw.flush(); in printHelp()
92 errPw.flush(); in listCmd()
142 outPw.flush(); in listCmd()
149 errPw.flush(); in setCmd()
154 outPw.flush(); in setCmd()
161 errPw.flush(); in getCmd()
172 outPw.flush(); in getCmd()
179 errPw.flush(); in eraseCmd()
190 outPw.flush(); in unknownCmd()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DSuspendPackageHelperTest.kt58 testHandler.flush() in <lambda>()
142 testHandler.flush() in <lambda>()
149 testHandler.flush() in <lambda>()
197 testHandler.flush() in <lambda>()
215 testHandler.flush() in <lambda>()
231 testHandler.flush() in <lambda>()
256 testHandler.flush() in <lambda>()
271 testHandler.flush() in <lambda>()
286 testHandler.flush() in <lambda>()
304 testHandler.flush() in <lambda>()
[all …]
DDistractingPackageHelperTest.kt56 testHandler.flush() in setDistractingPackageRestrictionsAsUser()
74 testHandler.flush() in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice()
81 testHandler.flush() in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice()
151 testHandler.flush() in removeDistractingPackageRestrictions()
157 testHandler.flush() in removeDistractingPackageRestrictions()
173 testHandler.flush() in removeDistractingPackageRestrictions_notDistractingPackage()
184 testHandler.flush() in removeDistractingPackageRestrictions_emptyPackageName()
192 testHandler.flush() in removeDistractingPackageRestrictions_emptyPackageName()
203 testHandler.flush() in sendDistractingPackagesChanged()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/install/
DRequestThrottleTest.kt41 handler.flush() in resetValues()
61 handler.flush() in simpleThrottle()
65 handler.flush() in simpleThrottle()
89 handler.flush() in exceptionInRequest()
97 handler.flush() in exceptionInRequest()
125 handler.flush() in scheduleWhileRunning()
/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.java54 mOut.flush(); in testEmptyWrite()
67 mOut.flush(); in testWriteOneQuota()
83 mOut.flush(); in testWriteMultipleQuotas()
100 mOut.flush(); in testNullUuidDoesntCauseCrash()
/frameworks/base/services/core/jni/gnss/
DGnssBatching.cpp64 jboolean GnssBatching::flush() { in flush() function in android::gnss::GnssBatching
65 auto status = mIGnssBatching->flush(); in flush()
116 jboolean GnssBatching_V1_0::flush() { in flush() function in android::gnss::GnssBatching_V1_0
117 auto result = mIGnssBatching_V1_0->flush(); in flush()
DGnssBatching.h44 virtual jboolean flush() = 0;
55 jboolean flush() override;
69 jboolean flush() override;
/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/java/android/webkit/
DCookieSyncManager.java112 CookieManager.getInstance().flush(); in sync()
120 CookieManager.getInstance().flush(); in syncFromRamToFlash()
/frameworks/base/core/java/com/android/internal/util/
DFastPrintWriter.java46 public void flush() throws IOException { in flush() method in FastPrintWriter.DummyWriter
269 flush(); in checkError()
379 mOutputStream.flush(); in flushLocked()
384 mWriter.flush(); in flushLocked()
410 public void flush() {
416 mOutputStream.flush();
418 mWriter.flush();
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsPersisterTests.java290 mPersisterQueue.flush(); in testSavesAndRestoresLaunchParamsAcrossInstances()
308 mPersisterQueue.flush(); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_NoPreviousRecord()
328 mPersisterQueue.flush(); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_HasOldPreviousRecord()
336 mPersisterQueue.flush(); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_HasOldPreviousRecord()
420 mPersisterQueue.flush(); in testClearsFile()
465 mPersisterQueue.flush(); in testClearsFileOnPackageUninstalled()
482 mPersisterQueue.flush(); in testClearsRemovedPackageFilesOnStartUp()
518 void flush() { in flush() method in LaunchParamsPersisterTests.TestPersisterQueue
540 void addItem(WriteQueueItem item, boolean flush) { in addItem() argument
542 if (flush) { in addItem()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DFileBridgeTest.java103 client.flush(); in testNoWriteSync()
119 client.flush(); in testWriteSync()
128 client.flush(); in testWriteSyncWrite()
165 client.flush(); in testRandomWrite()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceShellCommandTest.java109 mWriter.flush(); in testMainUser()
120 mWriter.flush(); in testMainUserNull()
133 mWriter.flush(); in testCanSwitchToHeadlessSystemUser()
146 mWriter.flush(); in testIsMainUserPermanentAdmin()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h149 virtual void flush() = 0;
219 virtual void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) = 0;
612 void flush();
715 void flush();
795 void flush() override;
824 void flush() final;
854 void flush() override;
922 void flush() override;
951 void flush() override;
989 void flush() override { in flush() function
[all …]
/frameworks/base/core/java/android/util/
DTeeWriter.java51 public void flush() throws IOException { in flush() method in TeeWriter
53 writer.flush(); in flush()

12345678910>>...28