Home
last modified time | relevance | path

Searched refs:timedOut (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaTimeoutListener.kt201 return mediaListeners[key]?.timedOut ?: false in <lambda>()
207 var timedOut = false in <lambda>() variable
314 timedOut = false in <lambda>()
316 timeoutCallback(key, timedOut) in <lambda>()
324 timedOut = true in <lambda>()
327 timeoutCallback(key, timedOut) in <lambda>()
390 private var timedOut = false in <lambda>() variable
431 timedOut = true in <lambda>()
433 timeoutCallback(key, timedOut) in <lambda>()
DMediaDataManager.kt41 fun setInactive(key: String, timedOut: Boolean, forceUpdate: Boolean = false) in setInactive()
DLegacyMediaDataManagerImpl.kt329 mediaTimeoutListener.timeoutCallback = { key: String, timedOut: Boolean -> in timedOut() method
330 setInactive(key, timedOut) in timedOut()
572 override fun setInactive(key: String, timedOut: Boolean, forceUpdate: Boolean) { in setInactive()
574 if (timedOut && !forceUpdate) { in setInactive()
578 if (it.active == !timedOut && !forceUpdate) { in setInactive()
589 it.active = !timedOut in setInactive()
590 if (DEBUG) Log.d(TAG, "Updating $key timedOut: $timedOut") in setInactive()
DMediaDataProcessor.kt527 fun setInactive(key: String, timedOut: Boolean, forceUpdate: Boolean = false) { in <lambda>()
529 if (timedOut && !forceUpdate) { in <lambda>()
533 if (it.active == !timedOut && !forceUpdate) { in <lambda>()
544 it.active = !timedOut in <lambda>()
545 if (DEBUG) Log.d(TAG, "Updating $key timedOut: $timedOut") in <lambda>()
DLegacyMediaDataFilterImpl.kt282 mediaDataManager.setInactive(it, timedOut = true, forceUpdate = true) in <lambda>()
DMediaDataFilterImpl.kt341 mediaDataProcessor.setInactive(key, timedOut = true, forceUpdate = true) in <lambda>()
/frameworks/base/cmds/incidentd/tests/
DFdBuffer_test.cpp47 EXPECT_FALSE(buffer.timedOut()); in AssertBufferReadSuccessful()
140 EXPECT_TRUE(buffer.timedOut()); in TEST_F()
258 EXPECT_FALSE(buffer.timedOut()); in TEST_F()
292 EXPECT_FALSE(buffer.timedOut()); in TEST_F()
325 EXPECT_TRUE(buffer.timedOut()); in TEST_F()
/frameworks/base/cmds/incidentd/src/
DSection.cpp129 if (readStatus != NO_ERROR || buffer.timedOut()) { in Execute()
131 this->name.c_str(), strerror(-readStatus), buffer.timedOut() ? "true" : "false"); in Execute()
211 if (readStatus != NO_ERROR || buffer.timedOut()) { in Execute()
213 strerror(-readStatus), buffer.timedOut() ? "true" : "false"); in Execute()
321 if (!workerDone || buffer.timedOut()) { in Execute()
382 if (readStatus != NO_ERROR || buffer.timedOut()) { in Execute()
384 this->name.c_str(), strerror(-readStatus), buffer.timedOut() ? "true" : "false"); in Execute()
506 if (readStatus != OK || buffer.timedOut()) { in Execute()
508 strerror(-readStatus), buffer.timedOut() ? "true" : "false"); in Execute()
DFdBuffer.h85 bool timedOut() const { return mTimedOut; } in timedOut() function
DReporter.cpp420 mSectionTimedOut = buffer.timedOut(); in setSectionStats()
422 mSectionBufferSuccess = !buffer.timedOut() && !buffer.truncated(); in setSectionStats()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java298 boolean timedOut = false; in setWiFiStateOn()
300 while (receiver.getWiFiIsOn() != enable && !timedOut) { in setWiFiStateOn()
305 timedOut = true; in setWiFiStateOn()
312 if (timedOut) { in setWiFiStateOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt126 mediaTimeoutListener.timeoutCallback = { key: String, timedOut: Boolean -> in <lambda>() method
127 mediaDataProcessor.setInactive(key, timedOut) in <lambda>()
147 override fun setInactive(key: String, timedOut: Boolean, forceUpdate: Boolean) = unsupported in <lambda>()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DRemoteSmartspaceService.java98 void onFailureOrTimeout(boolean timedOut); in onFailureOrTimeout() argument
DSmartspacePerUserService.java193 public void onFailureOrTimeout(boolean timedOut) { in onFailureOrTimeout() argument
195 Slog.d(TAG, "onFailureOrTimeout(): timed out=" + timedOut); in onFailureOrTimeout()
/frameworks/base/services/searchui/java/com/android/server/searchui/
DRemoteSearchUiService.java98 void onFailureOrTimeout(boolean timedOut); in onFailureOrTimeout() argument
DSearchUiPerUserService.java199 public void onFailureOrTimeout(boolean timedOut) { in onFailureOrTimeout() argument
201 Slog.d(TAG, "onFailureOrTimeout(): timed out=" + timedOut); in onFailureOrTimeout()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DRemoteAppPredictionService.java98 void onFailureOrTimeout(boolean timedOut); in onFailureOrTimeout() argument
DAppPredictionPerUserService.java254 public void onFailureOrTimeout(boolean timedOut) { in onFailureOrTimeout() argument
256 Slog.d(TAG, "onFailureOrTimeout(): timed out=" + timedOut); in onFailureOrTimeout()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java530 boolean timedOut = false; in setWiFiStateOn()
532 while (receiver.getWiFiIsOn() != enable && !timedOut) { in setWiFiStateOn()
537 timedOut = true; in setWiFiStateOn()
544 if (timedOut) { in setWiFiStateOn()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DActivityTransitionAnimator.kt818 private var timedOut = false variable
878 if (timedOut) { in onAnimationStart()
1253 timedOut = true in onAnimationTimedOut()
1270 if (timedOut) { in onAnimationCancelled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DCommonVisualInterruptionSuppressors.kt304 val timedOut = timeSinceAvalancheMs >= avalancheProvider.timeoutMs in shouldSuppress() constant
305 if (timedOut) { in shouldSuppress()
/frameworks/base/services/core/java/com/android/server/os/
DBugreportManagerServiceImpl.java892 boolean timedOut = false; in startAndGetDumpstateBinderServiceLocked()
895 while (!timedOut) { in startAndGetDumpstateBinderServiceLocked()
906 timedOut = totalTimeWaitedMillis > DEFAULT_BUGREPORT_SERVICE_TIMEOUT_MILLIS; in startAndGetDumpstateBinderServiceLocked()
908 if (timedOut) { in startAndGetDumpstateBinderServiceLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt344 mediaDataProcessor.setInactive(KEY, timedOut = true) in testsetInactive_active_deactivatesMedia()
379 mediaDataProcessor.setInactive(PACKAGE_NAME, timedOut = true) in testsetInactive_resume_dismissesMedia()
1512 mediaDataProcessor.setInactive(KEY, timedOut = true, forceUpdate = true) in testOnMediaDataTimedOut_updatesLastActiveTime()
2067 mediaDataProcessor.setInactive(KEY, timedOut = true) in testRetain_notifPlayer_notifRemoved_setToResume()
2097 mediaDataProcessor.setInactive(KEY, timedOut = true) in testRetain_notifPlayer_sessionDestroyed_doesNotChange()
2169 mediaDataProcessor.setInactive(KEY, timedOut = true) in testRetain_sessionPlayer_notifRemoved_doesNotChange()
2189 mediaDataProcessor.setInactive(KEY, timedOut = true) in testRetain_sessionPlayer_sessionDestroyed_setToResume()
2276 mediaDataProcessor.setInactive(KEY, timedOut = true) in testSessionPlayer_sessionDestroyed_noResume_fullyRemoved()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java656 boolean timedOut = false; in getContentProviderImpl()
679 timedOut = true; in getContentProviderImpl()
690 if (timedOut) { in getContentProviderImpl()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java2354 boolean timedOut = (t instanceof TimeoutException); in onFillRequestFailure()
2384 + (timedOut ? "timeout" : "failure")); in onFillRequestFailure()
2392 requestLog.setType(timedOut ? MetricsEvent.TYPE_CLOSE : MetricsEvent.TYPE_FAILURE); in onFillRequestFailure()

12