Home
last modified time | relevance | path

Searched refs:ActivityClientRecord (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/app/
DClientTransactionHandler.java21 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 …]
DLocalActivityManager.java19 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()
DActivityThread.java394 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/
DActivityThreadClientTest.java50 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/
DActivityTransactionItem.java28 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()
DRefreshCallbackItem.java25 import android.app.ActivityThread.ActivityClientRecord;
51 @NonNull ActivityClientRecord r, @NonNull PendingTransactionActions pendingActions) {} in execute()
56 final ActivityClientRecord r = getActivityClientRecord(client); in postExecute()
DTransactionExecutor.java35 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()
DPendingTransactionActions.java22 import android.app.ActivityThread.ActivityClientRecord;
98 private ActivityClientRecord mActivity;
103 public void setActivity(ActivityClientRecord activity) { in setActivity()
DEnterPipRequestedItem.java20 import android.app.ActivityThread.ActivityClientRecord;
32 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DActivityRelaunchItem.java23 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()
DStopActivityItem.java22 import android.app.ActivityThread.ActivityClientRecord;
37 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DPipStateTransactionItem.java21 import android.app.ActivityThread.ActivityClientRecord;
38 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DTopResumedActivityChangeItem.java23 import android.app.ActivityThread.ActivityClientRecord;
38 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DDestroyActivityItem.java23 import android.app.ActivityThread.ActivityClientRecord;
43 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DStartActivityItem.java24 import android.app.ActivityThread.ActivityClientRecord;
41 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DTransactionExecutorHelper.java31 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()
DActivityResultItem.java25 import android.app.ActivityThread.ActivityClientRecord;
66 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DActivityConfigurationChangeItem.java24 import android.app.ActivityThread.ActivityClientRecord;
53 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DNewIntentItem.java24 import android.app.ActivityThread.ActivityClientRecord;
55 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DPauseActivityItem.java24 import android.app.ActivityThread.ActivityClientRecord;
44 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DMoveToDisplayItem.java23 import android.app.ActivityThread.ActivityClientRecord;
53 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DResumeActivityItem.java25 import android.app.ActivityThread.ActivityClientRecord;
54 public void execute(@NonNull ClientTransactionHandler client, @NonNull ActivityClientRecord r, in execute()
DTransferSplashScreenViewStateItem.java41 @NonNull ActivityThread.ActivityClientRecord r, in execute()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java47 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/
DClientTransactionItemTest.java82 private ActivityThread.ActivityClientRecord mActivityClientRecord;
96 mActivityClientRecord = new ActivityThread.ActivityClientRecord(); in setup()

12