/frameworks/base/core/java/com/android/internal/os/ |
D | LoggingPrintStream.java | 78 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/ |
D | LineBreakBufferedWriterTest.java | 47 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/ |
D | LoggingPrintStreamTest.java | 55 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/android/util/ |
D | IndentingPrintWriterTest.java | 64 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/services/flags/java/com/android/server/flags/ |
D | FlagsShellCommand.java | 85 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/displayservicetests/src/com/android/server/display/brightness/clamper/ |
D | BrightnessThermalClamperTest.java | 76 mTestHandler.flush(); in setUp() 130 mTestHandler.flush(); in testNotifyThrottlingAfterOnDisplayChange() 135 mTestHandler.flush(); in testNotifyThrottlingAfterOnDisplayChange() 147 mTestHandler.flush(); in testOnDisplayChangeAfterNotifyThrottlng() 152 mTestHandler.flush(); in testOnDisplayChangeAfterNotifyThrottlng() 161 mTestHandler.flush(); in testOverrideData() 167 mTestHandler.flush(); in testOverrideData() 173 mTestHandler.flush(); in testOverrideData() 180 mTestHandler.flush(); in testOverrideData()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | DistractingPackageHelperTest.kt | 50 testHandler.flush() in setDistractingPackageRestrictionsAsUser() 69 testHandler.flush() in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 76 testHandler.flush() in setDistractingPackageRestrictionsAsUser_setSameDistractionRestrictionTwice() 148 testHandler.flush() in removeDistractingPackageRestrictions() 154 testHandler.flush() in removeDistractingPackageRestrictions() 170 testHandler.flush() in removeDistractingPackageRestrictions_notDistractingPackage() 182 testHandler.flush() in removeDistractingPackageRestrictions_emptyPackageName() 190 testHandler.flush() in removeDistractingPackageRestrictions_emptyPackageName() 201 testHandler.flush() in sendDistractingPackagesChanged()
|
D | SuspendPackageHelperTest.kt | 44 testHandler.flush() in <lambda>() 148 testHandler.flush() in <lambda>() 154 testHandler.flush() in <lambda>() 206 testHandler.flush() in <lambda>() 224 testHandler.flush() in <lambda>() 239 testHandler.flush() in <lambda>() 269 testHandler.flush() in <lambda>() 284 testHandler.flush() in <lambda>() 299 testHandler.flush() in <lambda>() 314 testHandler.flush() in <lambda>() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/install/ |
D | RequestThrottleTest.kt | 41 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/ |
D | MediaInserter.java | 67 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/ |
D | CacheQuotaStrategyTest.java | 54 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/ |
D | GnssBatching.cpp | 64 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()
|
D | GnssBatching.h | 44 virtual jboolean flush() = 0; 55 jboolean flush() override; 69 jboolean flush() override;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PersisterQueue.java | 108 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/ |
D | FileBridgeTest.java | 86 client.flush(); in testNoWriteSync() 100 client.flush(); in testWriteSync() 108 client.flush(); in testWriteSyncWrite() 142 client.flush(); in testRandomWrite()
|
/frameworks/base/core/java/android/webkit/ |
D | CookieSyncManager.java | 112 CookieManager.getInstance().flush(); in sync() 120 CookieManager.getInstance().flush(); in syncFromRamToFlash()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FastPrintWriter.java | 45 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();
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsPersisterTests.java | 290 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/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceShellCommandTest.java | 109 mWriter.flush(); in testMainUser() 120 mWriter.flush(); in testMainUserNull() 133 mWriter.flush(); in testCanSwitchToHeadlessSystemUser() 146 mWriter.flush(); in testIsMainUserPermanentAdmin()
|
/frameworks/base/core/java/android/util/ |
D | TeeWriter.java | 50 public void flush() throws IOException { in flush() method in TeeWriter 52 writer.flush(); in flush()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | SkinThermalStatusObserverTest.java | 99 mHandler.flush(); in testNotifyWithDefaultVotesForCritical() 127 mHandler.flush(); in testNotifyWithDefaultVotesChangeFromCriticalToSevere() 141 mHandler.flush(); in testNotifyWithDefaultVotesForSevere() 163 mHandler.flush(); in testNotifiesWithConfigVotes() 182 mHandler.flush(); in testDisplayAdded() 203 mHandler.flush(); in testDisplayAddedAndThenImmediatelyRemoved()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.h | 146 virtual void flush() = 0; 216 virtual void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) = 0; 605 void flush(); 708 void flush(); 788 void flush() override; 817 void flush() final; 847 void flush() override; 915 void flush() override; 944 void flush() override; 982 void flush() override { in flush() function [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputProcessor.cpp | 419 mQueuedListener.flush(); in notifyInputDevicesChanged() 425 mQueuedListener.flush(); in notifyConfigurationChanged() 431 mQueuedListener.flush(); in notifyKey() 453 mQueuedListener.flush(); in notifyMotion() 459 mQueuedListener.flush(); in notifySensor() 465 mQueuedListener.flush(); in notifyVibratorState() 471 mQueuedListener.flush(); in notifySwitch() 484 mQueuedListener.flush(); in notifyDeviceReset() 490 mQueuedListener.flush(); in notifyPointerCaptureChanged()
|
/frameworks/base/core/jni/ |
D | android_hardware_location_ActivityRecognitionHardware.cpp | 104 static int flush(JNIEnv* /*env*/, jobject /*obj*/) { in flush() function 120 { "nativeFlush", "()I", (void*) flush },
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionTracingTest.cpp | 40 void flush() { mTracing.flush(); } in flush() function in android::TransactionTracingTest 60 flush(); in queueAndCommitTransaction() 119 flush(); in TEST_F() 161 flush(); in SetUp() 181 flush(); in SetUp() 293 flush(); in SetUp()
|