/frameworks/base/core/java/android/content/ |
D | AsyncTaskLoader.java | 135 volatile LoadTask mTask; field in AsyncTaskLoader 170 mTask = new LoadTask(); in onForceLoad() 171 if (DEBUG) Log.v(TAG, "Preparing load: mTask=" + mTask); in onForceLoad() 177 if (DEBUG) Log.v(TAG, "onCancelLoad: mTask=" + mTask); in onCancelLoad() 178 if (mTask != null) { in onCancelLoad() 187 if (mTask.waiting) { in onCancelLoad() 188 mTask.waiting = false; in onCancelLoad() 189 mHandler.removeCallbacks(mTask); in onCancelLoad() 191 mTask = null; in onCancelLoad() 193 } else if (mTask.waiting) { in onCancelLoad() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AppChangeTransitionTests.java | 57 private Task mTask; field in AppChangeTransitionTests 62 mTask = mActivity.getTask(); in setUpOnDisplay() 104 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testModeChangeRemoteAnimatorNoSnapshot() 109 assertNull(mTask.mSurfaceFreezer.mSnapshot); in testModeChangeRemoteAnimatorNoSnapshot() 110 assertTrue(mTask.isInChangeTransition()); in testModeChangeRemoteAnimatorNoSnapshot() 121 mTask.setWindowingMode(WINDOWING_MODE_FREEFORM); in testCancelPendingChangeOnRemove() 123 assertTrue(mTask.isInChangeTransition()); in testCancelPendingChangeOnRemove() 129 assertFalse(mTask.isInChangeTransition()); in testCancelPendingChangeOnRemove() 142 assertEquals(WINDOWING_MODE_FREEFORM, mTask.getWindowingMode()); in testNoChangeOnOldDisplayWhenMoveDisplay() 147 mTask.reparent(mDisplayContent.getDefaultTaskDisplayArea(), true); in testNoChangeOnOldDisplayWhenMoveDisplay() [all …]
|
D | ContentRecorderTests.java | 82 private Task mTask; field in ContentRecorderTests 327 Configuration config = mTask.getConfiguration(); in testOnTaskOrientationConfigurationChanged_resizesSurface() 336 mTask.onConfigurationChanged(config); in testOnTaskOrientationConfigurationChanged_resizesSurface() 347 mTask.getRootTask().setWindowingMode(WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW); in testOnTaskBoundsConfigurationChanged_notifiesCallback() 358 mTask.setMinDimensions(info); in testOnTaskBoundsConfigurationChanged_notifiesCallback() 366 Configuration configuration = mTask.getConfiguration(); in testOnTaskBoundsConfigurationChanged_notifiesCallback() 370 mTask.onConfigurationChanged(configuration); in testOnTaskBoundsConfigurationChanged_notifiesCallback() 386 mTask.setWindowingMode(WINDOWING_MODE_FULLSCREEN); in testTaskWindowingModeChanged_changeWindowMode_notifyWindowModeChanged() 397 mTask.setWindowingMode(WINDOWING_MODE_MULTI_WINDOW); in testTaskWindowingModeChanged_changeWindowMode_notifyWindowModeChanged() 398 Configuration configuration = mTask.getConfiguration(); in testTaskWindowingModeChanged_changeWindowMode_notifyWindowModeChanged() [all …]
|
D | SizeCompatTests.java | 162 private Task mTask; field in SizeCompatTests 186 mTask = new TaskBuilder(mSupervisor).setDisplay(display).setCreateActivity(true).build(); in setUpApp() 187 mActivity = mTask.getTopNonFinishingActivity(); in setUpApp() 247 mTask.addChild(translucentActivity); in testReachabilityEnabledForTranslucentActivity() 403 resizeDisplay(mTask.mDisplayContent, 600, 1200); in testRestartProcessIfVisible() 489 mTask.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testFixedScreenConfigurationWhenMovingToDisplay() 613 mActivity.onConfigurationChanged(mTask.getConfiguration()); in testLetterboxFullscreenBoundsAndNotImeAttachable() 691 mTask.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testMoveToDifferentOrientationDisplay() 747 assertEquals(ROTATION_270, mTask.getWindowConfiguration().getRotation()); in testFixedOrientationRotateCutoutDisplay() 814 Configuration c = new Configuration(mTask.getRequestedOverrideConfiguration()); in testFixedScreenLayoutSizeBits() [all …]
|
D | TaskPositionerTests.java | 118 mPositioner.mTask.setBounds(r); in testMoveWindow() 140 mPositioner.mTask.setBounds(r, true); in testBasicFreeWindowResizing() 202 mPositioner.mTask.setBounds(r, true); in testFreeWindowResizingTestAllEdges() 284 mPositioner.mTask.setBounds(r, true); in testLandscapePreservedWindowResizingDragTopLeft() 323 mPositioner.mTask.setBounds(r, true); in testLandscapePreservedWindowResizingDragLeft() 364 mPositioner.mTask.setBounds(r, true); in testLandscapePreservedWindowResizingDragTop() 400 mPositioner.mTask.setBounds(r, true); in testPortraitPreservedWindowResizingDragTopLeft() 434 mPositioner.mTask.setBounds(r, true); in testPortraitPreservedWindowResizingDragLeft() 477 mPositioner.mTask.setBounds(r, true); in testPortraitPreservedWindowResizingDragTop()
|
D | LaunchParamsModifierTestsBase.java | 106 private Task mTask; field in LaunchParamsModifierTestsBase.CalculateRequestBuilder 117 mTask = task; in setTask() 152 return mTarget.onCalculate(mTask, mLayout, mActivity, mSource, mOptions, mRequest, in calculate()
|
D | DisplayRotationCompatPolicyTests.java | 100 private Task mTask; field in DisplayRotationCompatPolicyTests 152 spyOn(mTask); in testOpenedCameraInSplitScreen_showToast() 154 doReturn(WINDOWING_MODE_MULTI_WINDOW).when(mTask).getWindowingMode(); in testOpenedCameraInSplitScreen_showToast() 175 spyOn(mTask); in testOpenedCameraInSplitScreen_orientationNotFixed_doNotShowToast() 177 doReturn(WINDOWING_MODE_MULTI_WINDOW).when(mTask).getWindowingMode(); in testOpenedCameraInSplitScreen_orientationNotFixed_doNotShowToast() 588 mTask = new TaskBuilder(mSupervisor) in configureActivityAndDisplay() 595 .setTask(mTask) in configureActivityAndDisplay()
|
D | CameraStateMonitorTests.java | 69 private Task mTask; field in CameraStateMonitorTests 214 mTask = new TaskBuilder(mSupervisor) in configureActivity() 220 .setTask(mTask) in configureActivity()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | TaskWrapper.java | 31 private final Task mTask; field in TaskWrapper 34 mTask = task; in TaskWrapper() 54 return mTask.mUserId; in getUserId() 61 return create(mTask.getRootTask()); in getRootTask() 68 return TaskDisplayAreaWrapper.create(mTask.getTaskDisplayArea()); in getTaskDisplayArea() 73 return mTask.toString(); in toString()
|
D | CalculateParams.java | 30 private TaskWrapper mTask; field in CalculateParams 51 params.mTask = TaskWrapper.create(task); in create() 68 return mTask; in getTask()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | HwcAsyncWorker.cpp | 48 mTask = std::packaged_task<bool()>([task = std::move(task)]() { return task(); }); in send() 51 return mTask.get_future(); in send() 64 if (mTaskRequested && mTask.valid()) { in run() 65 mTask(); in run()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentsAnimationController.java | 207 final Task task = adapter.mTask; 236 if (taskAdapter.mTask.mTaskId == taskId) { 279 final Task task = mPendingAnimations.get(i).mTask; 518 "removeAnimation(%d)", taskAdapter.mTask.mTaskId); in removeAnimation() 570 .map(anim->anim.mTask.mTaskId).collect(Collectors.toList())); in startAnimation() 600 final Task task = adapter.mTask; in attachNavigationBarToApp() 739 if (target.mTask.mTaskId == taskId && target.mTask.isOnTop()) { in removeTaskInternal() 919 final Task task = adapter.mTask; 948 taskAdapter.mTask.dontAnimateDimExit(); 1107 if (task == mPendingAnimations.get(i).mTask) { [all …]
|
D | TaskPositioner.java | 85 Task mTask; field in TaskPositioner 143 mTask.getDimBounds(mTmpRect); in onInputEvent() 149 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER); in onInputEvent() 176 mTask.getDimBounds(mTmpRect); in onInputEvent() 182 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER_FORCED); in onInputEvent() 265 mTask = win.getTask(); in register() 319 mTask.getBounds(startBounds); 359 mTask.mTaskId, startBounds, RESIZE_MODE_USER_FORCED); 370 mTask.setDragResizing(false); 382 mTask.setDragResizing(true); [all …]
|
D | ResetTargetTaskHelper.java | 35 private Task mTask; field in ResetTargetTaskHelper 50 mTask = task; in reset() 109 && !r.taskAffinity.equals(mTask.affinity)) { in test() 216 + "adding to task=%s Callers=%s", p, mTask, targetTask, Debug.getCallers(4)); in processResultActivities()
|
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/wm/ |
D | TaskWrapperTest.java | 32 private Task mTask; field in TaskWrapperTest 36 TaskWrapper wrapper = TaskWrapper.create(mTask); in create_returnsActivityOptionWrapper() 38 assertThat(wrapper.toString()).isEqualTo(mTask.toString()); in create_returnsActivityOptionWrapper()
|
D | CalculateParamsTest.java | 41 private Task mTask; field in CalculateParamsTest 61 CalculateParams params = CalculateParams.create(mTask,mLayout, mActvity, mSource, mOptions, in createReturnsCalculateParams() 65 assertThat(params.getTask().toString()).isEqualTo(mTask.toString()); in createReturnsCalculateParams()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 73 private DecodeTask mTask; field in BasicBitmapDrawable 228 if (mTask != null) { in setImage() 229 mTask.cancel(); in setImage() 230 mTask = null; in setImage() 329 if (mTask != null) { in decode() 330 mTask.cancel(); in decode() 334 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache); in decode() 335 mTask.executeOnExecutor(getExecutor()); in decode()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatableTest.java | 144 private Task mTask; field in CarLaunchParamsModifierUpdatableTest 263 mTask.mUserId = userId; in assertDisplayIsAllowed() 266 assertThat(mModifier.onCalculate(mTask, mWindowLayout, mActivityRecordActivity, in assertDisplayIsAllowed() 275 mTask.mUserId = userId; in assertDisplayIsReassigned() 281 assertThat(mModifier.onCalculate(mTask, mWindowLayout, mActivityRecordActivity, in assertDisplayIsReassigned() 290 if (mTask != null) { in assertDisplayIsAssigned() 291 mTask.mUserId = userId; in assertDisplayIsAssigned() 294 assertThat(mModifier.onCalculate(mTask, mWindowLayout, mActivityRecordActivity, in assertDisplayIsAssigned() 302 mTask.mUserId = userId; in assertNoDisplayIsAssigned() 304 assertThat(mModifier.onCalculate(mTask, mWindowLayout, mActivityRecordActivity, in assertNoDisplayIsAssigned() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TestExecutorService.java | 43 private final Callable<T> mTask; field in TestExecutorService.CompletedFuture 48 mTask = task; in CompletedFuture() 53 mTask = task; in CompletedFuture() 59 mTask = (Callable<T>) Executors.callable(task); in CompletedFuture() 82 return mTask.call(); in get() 92 return mTask.call(); in get()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | MessageQueue.h | 50 explicit Task(F&& f) : mTask(std::move(f)) {} in Task() 52 void handleMessage(const Message&) override { mTask(); } in handleMessage() 55 std::packaged_task<T()> mTask; variable 61 return std::make_pair(task, task->mTask.get_future()); in makeTask()
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderTask.h | 63 : mTask(task), mLock(lock), mSignal(signal), mHasRun(false) {} in SignalingRenderTask() 68 RenderTask* mTask;
|
D | RenderTask.cpp | 27 mTask->run(); in run()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerHalWatchdog.java | 168 private final @NonNull UptimeTimer.Task mTask; field in SoundTriggerHalWatchdog.Watchdog 174 mTask = mTimer.createTask(() -> { in Watchdog() 182 mTask.cancel(); in close()
|
/frameworks/base/core/java/android/os/ |
D | AsyncTask.java | 788 result.mTask.finish(result.mData[0]); in handleMessage() 791 result.mTask.onProgressUpdate(result.mData); in handleMessage() 803 final AsyncTask mTask; field in AsyncTask.AsyncTaskResult 807 mTask = task; in AsyncTaskResult()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | TestDocumentsProvider.java | 166 private WeakReference<CloudTask> mTask; field in TestDocumentsProvider 254 CloudTask task = mTask != null ? mTask.get() : null; in queryChildDocuments() 258 mTask = new WeakReference<CloudTask>(task); in queryChildDocuments() 265 while (mTask.get() != null) { in queryChildDocuments()
|