/frameworks/base/core/java/android/app/ |
D | ClientTransactionHandler.java | 21 import android.app.ActivityThread.ActivityClientRecord; 110 public abstract void handleDestroyActivity(@NonNull ActivityClientRecord r, boolean finishing, in handleDestroyActivity() 114 public abstract void handlePauseActivity(@NonNull ActivityClientRecord r, boolean finished, in handlePauseActivity() 126 public abstract void handleResumeActivity(@NonNull ActivityClientRecord r, in handleResumeActivity() 137 public abstract void handleTopResumedActivityChanged(@NonNull ActivityClientRecord r, in handleTopResumedActivityChanged() 149 public abstract void handleStopActivity(@NonNull ActivityClientRecord r, in handleStopActivity() 156 public abstract void performRestartActivity(@NonNull ActivityClientRecord r, boolean start); in performRestartActivity() 159 public abstract void reportRefresh(@NonNull ActivityClientRecord r); in reportRefresh() 166 public abstract void handleActivityConfigurationChanged(@NonNull ActivityClientRecord r, in handleActivityConfigurationChanged() 179 @NonNull ActivityClientRecord r, List<ResultInfo> results, String reason); in handleSendResult() [all …]
|
D | LocalActivityManager.java | 19 import android.app.ActivityThread.ActivityClientRecord; 168 final ActivityClientRecord clientRecord = mActivityThread.getActivityClient(r); in moveToState() 201 final ActivityClientRecord clientRecord = mActivityThread.getActivityClient(r); in moveToState() 366 final ActivityClientRecord clientRecord = mActivityThread.getActivityClient(r); in startActivity() 414 final ActivityClientRecord clientRecord = mActivityThread.getActivityClient(r); in performDestroy() 682 final ActivityClientRecord clientRecord = mActivityThread.getActivityClient(r); in dispatchDestroy()
|
D | ActivityThread.java | 394 final ArrayMap<IBinder, ActivityClientRecord> mActivities = new ArrayMap<>(); 411 final ArrayList<ActivityClientRecord> mNewActivities = new ArrayList<>(); 491 final ArrayList<ActivityClientRecord> mRelaunchingActivities = new ArrayList<>(); 583 public static final class ActivityClientRecord { class in ActivityThread 674 public ActivityClientRecord() { in ActivityClientRecord() method in ActivityThread.ActivityClientRecord 679 public ActivityClientRecord(IBinder token, Intent intent, int ident, in ActivityClientRecord() method in ActivityThread.ActivityClientRecord 733 ActivityClientRecord.this, overrideConfig, newDisplayId, in init() 2691 final ActivityClientRecord a = mNewActivities.remove(0); in queueIdle() 3711 ActivityClientRecord r = new ActivityClientRecord(); in startActivityNow() 3742 final ActivityClientRecord activityRecord = mActivities.get(token); in getActivity() [all …]
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 50 import android.app.ActivityThread.ActivityClientRecord; 99 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnCreate() 126 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnStart() 151 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnResume() 174 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleOfRelaunch() 264 ActivityClientRecord r, int expectedState) throws Exception { in recreateAndVerifyRelaunched() 296 private Activity launchActivity(ActivityClientRecord r) { in launchActivity() 301 private void startActivity(ActivityClientRecord r) { in startActivity() 305 private void resumeActivity(ActivityClientRecord r) { in resumeActivity() 310 private void pauseActivity(ActivityClientRecord r) { in pauseActivity() [all …]
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | ActivityTransactionItem.java | 28 import android.app.ActivityThread.ActivityClientRecord; 59 final ActivityClientRecord r = getActivityClientRecord(client); in execute() 69 @NonNull ActivityClientRecord r, @NonNull PendingTransactionActions pendingActions); in execute() 77 final ActivityClientRecord getActivityClientRecord(@NonNull ClientTransactionHandler client) { in getActivityClientRecord() 78 final ActivityClientRecord r = client.getActivityClient(getActivityToken()); in getActivityClientRecord()
|
D | RefreshCallbackItem.java | 25 import android.app.ActivityThread.ActivityClientRecord; 51 @NonNull ActivityClientRecord r, @NonNull PendingTransactionActions pendingActions) {} in execute() 56 final ActivityClientRecord r = getActivityClientRecord(client); in postExecute()
|
D | TransactionExecutor.java | 35 import android.app.ActivityThread.ActivityClientRecord; 153 ActivityClientRecord r = mTransactionHandler.getActivityClient(token); in executeNonLifecycleItem() 205 final ActivityClientRecord r = mTransactionHandler.getActivityClient(token); in executeLifecycleItem() 231 public void cycleToPath(ActivityClientRecord r, int finish, ClientTransaction transaction) { in cycleToPath() 240 private void cycleToPath(ActivityClientRecord r, int finish, boolean excludeLastState, in cycleToPath() 254 private void performLifecycleSequence(ActivityClientRecord r, IntArray path, in performLifecycleSequence()
|
D | PendingTransactionActions.java | 22 import android.app.ActivityThread.ActivityClientRecord; 98 private ActivityClientRecord mActivity; 103 public void setActivity(ActivityClientRecord activity) { in setActivity()
|
D | EnterPipRequestedItem.java | 20 import android.app.ActivityThread.ActivityClientRecord; 32 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | ActivityRelaunchItem.java | 23 import android.app.ActivityThread.ActivityClientRecord; 59 private ActivityClientRecord mActivityClientRecord; 72 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute() 86 final ActivityClientRecord r = getActivityClientRecord(client); in postExecute()
|
D | StopActivityItem.java | 22 import android.app.ActivityThread.ActivityClientRecord; 37 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | PipStateTransactionItem.java | 21 import android.app.ActivityThread.ActivityClientRecord; 38 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | TopResumedActivityChangeItem.java | 23 import android.app.ActivityThread.ActivityClientRecord; 38 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | DestroyActivityItem.java | 23 import android.app.ActivityThread.ActivityClientRecord; 43 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | StartActivityItem.java | 24 import android.app.ActivityThread.ActivityClientRecord; 41 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | TransactionExecutorHelper.java | 31 import android.app.ActivityThread.ActivityClientRecord; 141 public int getClosestPreExecutionState(ActivityClientRecord r, in getClosestPreExecutionState() 164 public int getClosestOfStates(ActivityClientRecord r, int[] finalStates) { in getClosestOfStates() 191 public static ActivityLifecycleItem getLifecycleRequestForCurrentState(ActivityClientRecord r) { in getLifecycleRequestForCurrentState()
|
D | ActivityResultItem.java | 25 import android.app.ActivityThread.ActivityClientRecord; 66 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | ActivityConfigurationChangeItem.java | 24 import android.app.ActivityThread.ActivityClientRecord; 53 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | NewIntentItem.java | 24 import android.app.ActivityThread.ActivityClientRecord; 55 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | PauseActivityItem.java | 24 import android.app.ActivityThread.ActivityClientRecord; 44 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | MoveToDisplayItem.java | 23 import android.app.ActivityThread.ActivityClientRecord; 53 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | ResumeActivityItem.java | 25 import android.app.ActivityThread.ActivityClientRecord; 54 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
|
D | TransferSplashScreenViewStateItem.java | 41 @NonNull ActivityThread.ActivityClientRecord r, in execute()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityThreadTest.java | 47 import android.app.ActivityThread.ActivityClientRecord; 193 final ActivityClientRecord r = getActivityClientRecord(activity); in testRepeatedResume() 422 final ActivityClientRecord r = getActivityClientRecord(activity); in testHandleActivityConfigurationChanged_SkipWhenNewerConfigurationPending() 644 final ActivityClientRecord r = getActivityClientRecord(activity); in testActivityOrientationChanged_DoesntOverrideVirtualDisplayOrientation() 735 final ActivityClientRecord r = getActivityClientRecord(activity); in testHandlePictureInPictureRequested_overriddenToEnter() 754 final ActivityClientRecord r = getActivityClientRecord(activity); in testHandlePictureInPictureRequested_overriddenToSkip() 768 final ActivityClientRecord r = getActivityClientRecord(activity); in testHandlePictureInPictureRequested_notOverridden() 819 final ActivityClientRecord activityClientRecord = getActivityClientRecord(activity); in testActivityWindowInfoChanged_activityLaunch() 834 final ActivityClientRecord activityClientRecord = getActivityClientRecord(activity); in testActivityWindowInfoChanged_activityRelaunch() 933 final ActivityClientRecord r = getActivityClientRecord(activity); in applyConfigurationChange() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | ClientTransactionItemTest.java | 82 private ActivityThread.ActivityClientRecord mActivityClientRecord; 96 mActivityClientRecord = new ActivityThread.ActivityClientRecord(); in setup()
|