Home
last modified time | relevance | path

Searched refs:WaitResult (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/app/
DWaitResult.java33 public class WaitResult implements Parcelable { class
86 public WaitResult() { in WaitResult() method in WaitResult
103 public static final @android.annotation.NonNull Parcelable.Creator<WaitResult> CREATOR
104 = new Parcelable.Creator<WaitResult>() {
106 public WaitResult createFromParcel(Parcel source) {
107 return new WaitResult(source);
111 public WaitResult[] newArray(int size) {
112 return new WaitResult[size];
116 private WaitResult(Parcel source) { in WaitResult() method in WaitResult
DWaitResult.aidl20 parcelable WaitResult;
DIActivityTaskManager.aidl41 import android.app.WaitResult;
113 WaitResult startActivityAndWait(in IApplicationThread caller, in String callingPackage, in startActivityAndWait()
DIActivityManager.aidl44 import android.app.WaitResult;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncActivityLauncher.kt20 import android.app.WaitResult
42 private var pendingCallback: ((WaitResult) -> Unit)? = null
52 callback: (WaitResult) -> Unit): Boolean { in startActivityAsUser()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskSupervisorTests.java48 import android.app.WaitResult;
105 final WaitResult taskToFrontWait = new WaitResult(); in testReportWaitingActivityLaunched()
116 100 /* totalTime */, WaitResult.LAUNCH_STATE_HOT); in testReportWaitingActivityLaunched()
134 assertEquals(WaitResult.LAUNCH_STATE_HOT, taskToFrontWait.launchState); in testReportWaitingActivityLaunched()
140 final WaitResult deliverToTopWait = new WaitResult(); in testReportWaitingActivityLaunched()
146 1000 /* totalTime */, WaitResult.LAUNCH_STATE_COLD); in testReportWaitingActivityLaunched()
161 assertEquals(deliverToTopWait.launchState, WaitResult.LAUNCH_STATE_UNKNOWN); in testReportWaitingActivityLaunched()
DActivityMetricsLaunchObserverTests.java44 import android.app.WaitResult;
203 .isEqualTo(WaitResult.LAUNCH_STATE_WARM); in testLaunchState()
208 .isEqualTo(WaitResult.LAUNCH_STATE_HOT); in testLaunchState()
212 .isEqualTo(WaitResult.LAUNCH_STATE_RELAUNCH); in testLaunchState()
217 .isEqualTo(WaitResult.LAUNCH_STATE_COLD); in testLaunchState()
223 .isEqualTo(WaitResult.LAUNCH_STATE_COLD); in testLaunchState()
/frameworks/base/services/core/jni/
Dcom_android_server_pm_PackageManagerShellCommandDataLoader.cpp553 enum class WaitResult { enum in android::__anon5cfad2040111::PMSCDataLoader
560 WaitResult waitForData(int fd) { in waitForData()
576 return WaitResult::Timeout; in waitForData()
581 return WaitResult::Failure; in waitForData()
585 return WaitResult::Timeout; in waitForData()
591 return WaitResult::StopRequested; in waitForData()
595 return WaitResult::DataAvailable; in waitForData()
600 return WaitResult::Failure; in waitForData()
604 return WaitResult::StopRequested; in waitForData()
616 if (waitForData(inout) != WaitResult::DataAvailable) { in initStreaming()
[all …]
/frameworks/base/services/incremental/
DServiceWrappers.h81 using WaitResult = incfs::WaitResult; variable
121 virtual WaitResult waitForPendingReads(
DServiceWrappers.cpp239 WaitResult waitForPendingReads( in waitForPendingReads()
DIncrementalService.cpp3054 android::incfs::WaitResult::HaveData || in getOldestPendingReadTs()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskSupervisor.java33 import static android.app.WaitResult.INVALID_DELAY;
103 import android.app.WaitResult;
606 void waitActivityVisibleOrLaunched(WaitResult w, ActivityRecord r, in waitActivityVisibleOrLaunched()
634 reportActivityLaunched(false /* timeout */, r, WaitResult.INVALID_DELAY, in stopWaitingForActivityVisible()
635 WaitResult.LAUNCH_STATE_UNKNOWN); in stopWaitingForActivityVisible()
639 @WaitResult.LaunchState int launchState) { in reportActivityLaunched()
646 final WaitResult w = info.mResult; in reportActivityLaunched()
675 final WaitResult w = info.mResult; in reportWaitingActivityLaunchedIfNeeded()
2951 final WaitResult mResult;
2959 WaitInfo(WaitResult result, ComponentName component, LaunchingState launchingState) { in WaitInfo()
DActivityMetricsLogger.java11 import static android.app.WaitResult.INVALID_DELAY;
12 import static android.app.WaitResult.LAUNCH_STATE_COLD;
13 import static android.app.WaitResult.LAUNCH_STATE_HOT;
14 import static android.app.WaitResult.LAUNCH_STATE_RELAUNCH;
15 import static android.app.WaitResult.LAUNCH_STATE_WARM;
93 import android.app.WaitResult;
521 @WaitResult.LaunchState int getLaunchState() { in getLaunchState()
DActivityStarter.java98 import android.app.WaitResult;
414 WaitResult waitResult;
910 private int waitResultIfNeeded(WaitResult waitResult, ActivityRecord r, in waitResultIfNeeded()
3300 ActivityStarter setWaitResult(WaitResult result) { in setWaitResult()
DActivityTaskManagerService.java167 import android.app.WaitResult;
1559 public final WaitResult startActivityAndWait(IApplicationThread caller, String callingPackage, in startActivityAndWait()
1564 final WaitResult res = new WaitResult(); in startActivityAndWait()
DActivityRecord.java42 import static android.app.WaitResult.INVALID_DELAY;
286 import android.app.WaitResult;
7017 final @WaitResult.LaunchState int launchState = in onWindowsDrawn()
7018 validInfo ? info.getLaunchState() : WaitResult.LAUNCH_STATE_UNKNOWN; in onWindowsDrawn()
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp412 WaitResult(const Control& control, std::chrono::milliseconds timeout,
457 return android::incfs::WaitResult::HaveData; in waitForPendingReadsSuccess()
463 .WillByDefault(Return(android::incfs::WaitResult::Timeout)); in waitForPendingReadsTimeout()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java27 import static android.app.WaitResult.launchStateToString;
70 import android.app.WaitResult;
740 WaitResult result = null;
875 result = new WaitResult();
/frameworks/base/boot/
Dpreloaded-classes921 android.app.WaitResult$1
922 android.app.WaitResult
Dboot-image-profile.txt23298 Landroid/app/WaitResult$1;
23299 Landroid/app/WaitResult;
/frameworks/base/config/
Dpreloaded-classes921 android.app.WaitResult$1
922 android.app.WaitResult
Dboot-image-profile.txt33428 Landroid/app/WaitResult$1;
33429 Landroid/app/WaitResult;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt5520 …IBinder;Ljava/lang/String;IILandroid/app/ProfilerInfo;Landroid/os/Bundle;I)Landroid/app/WaitResult;
6086 …IBinder;Ljava/lang/String;IILandroid/app/ProfilerInfo;Landroid/os/Bundle;I)Landroid/app/WaitResult;
9524 Landroid/app/WaitResult;-><init>()V
9525 Landroid/app/WaitResult;-><init>(Landroid/os/Parcel;)V
9526 Landroid/app/WaitResult;->CREATOR:Landroid/os/Parcelable$Creator;
9527 Landroid/app/WaitResult;->dump(Ljava/io/PrintWriter;Ljava/lang/String;)V
9528 Landroid/app/WaitResult;->result:I
9529 Landroid/app/WaitResult;->thisTime:J
9530 Landroid/app/WaitResult;->timeout:Z
9531 Landroid/app/WaitResult;->totalTime:J
[all …]