/frameworks/base/libs/hwui/renderthread/ |
RenderTask.cpp | 27 mTask->run();
|
RenderTask.h | 63 : mTask(task), mLock(lock), mSignal(signal), mHasRun(false) {} 68 RenderTask* mTask;
|
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
BlockNumberTaskFragment.java | 35 @Nullable private BlockNumberTask mTask; 65 mTask = null; 85 if (mTask != null) { 86 mTask.cancel(true /* mayInterruptIfRunning */); 99 mTask = new BlockNumberTask(); 100 mTask.execute(number);
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
SetDevicePolicyTaskTest.java | 56 private SetDevicePolicyTask mTask; 91 mTask.run(TEST_USER_ID); 96 verify(mCallback).onSuccess(mTask); 109 mTask.run(TEST_USER_ID); 115 verify(mCallback).onSuccess(mTask); 128 mTask.run(TEST_USER_ID); 133 verify(mCallback).onSuccess(mTask); 146 mTask.run(TEST_USER_ID); 149 verify(mCallback).onError(mTask, 0); 159 mTask.run(TEST_USER_ID) [all...] |
InstallExistingPackageTaskTest.java | 55 private InstallExistingPackageTask mTask; 63 mTask = new InstallExistingPackageTask(INSTALL_PACKAGE_NAME, mContext, TEST_PARAMS, 74 mTask.run(TEST_USER_ID); 78 verify(mCallback).onSuccess(mTask); 89 mTask.run(TEST_USER_ID); 92 verify(mCallback).onError(mTask, 0); 103 mTask.run(TEST_USER_ID); 106 verify(mCallback).onError(mTask, 0);
|
CreateManagedProfileTaskTest.java | 62 private CreateManagedProfileTask mTask; 67 mTask = new CreateManagedProfileTask(InstrumentationRegistry.getTargetContext(), 83 mTask.run(TEST_PARENT_USER_ID); 85 verify(mCallback).onSuccess(mTask); 91 assertEquals(TEST_USER_ID, mTask.getProfileUserId()); 103 mTask.run(TEST_PARENT_USER_ID); 105 verify(mCallback).onError(mTask, 0);
|
StartManagedProfileTaskTest.java | 67 private StartManagedProfileTask mTask; 80 mTask = new StartManagedProfileTask(mIActivityManager, mContext, TEST_PARAMS, mCallback); 86 }).when(mCallback).onSuccess(mTask); 102 new Handler(mHandlerThread.getLooper()).post(() -> mTask.run(TEST_USER_ID)); 122 verify(mCallback).onSuccess(mTask); 134 mTask.run(TEST_USER_ID); 144 verify(mCallback).onError(mTask, 0); 157 mTask.run(TEST_USER_ID); 167 verify(mCallback).onError(mTask, 0);
|
CopyAccountToUserTaskTest.java | 63 private CopyAccountToUserTask mTask; 88 mTask.run(TEST_TARGET_USER_ID); 99 verify(mCallback).onSuccess(mTask); 112 mTask.run(TEST_TARGET_USER_ID); 123 verify(mCallback).onSuccess(mTask); 133 mTask.run(TEST_TARGET_USER_ID); 139 verify(mCallback).onSuccess(mTask); 149 mTask.run(TEST_SOURCE_USER_ID); 155 verify(mCallback).onSuccess(mTask); 169 assertTrue(mTask.maybeCopyAccount(TEST_TARGET_USER_ID)) [all...] |
InstallPackageTaskTest.java | 59 private InstallPackageTask mTask; 72 mTask = new InstallPackageTask(mSettingsFacade, mDownloadPackageTask, mContext, TEST_PARAMS, 82 mTask.run(TEST_USER_ID); 89 verify(mCallback).onSuccess(mTask); 100 mTask.run(TEST_USER_ID); 109 verify(mCallback).onSuccess(mTask); 120 mTask.run(TEST_USER_ID); 129 verify(mCallback).onSuccess(mTask); 140 mTask.run(TEST_USER_ID); 149 verify(mCallback).onError(mTask, ERROR_INSTALLATION_FAILED) [all...] |
VerifyPackageTaskTest.java | 70 private AbstractProvisioningTask mTask; 101 verify(mCallback).onSuccess(mTask); 115 verify(mCallback).onError(mTask, ERROR_DEVICE_ADMIN_MISSING); 129 verify(mCallback).onSuccess(mTask); 143 verify(mCallback).onSuccess(mTask); 157 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH); 171 verify(mCallback).onSuccess(mTask); 185 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH); 198 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH); 211 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH) [all...] |
ManagedProfileSettingsTaskTest.java | 70 private ManagedProfileSettingsTask mTask; 86 mTask = new ManagedProfileSettingsTask(mSettingsFacade, mCrossProfileIntentFiltersSetter, 90 mTask.run(TEST_USER_ID); 93 verify(mCallback).onSuccess(mTask); 112 mTask = new ManagedProfileSettingsTask(mSettingsFacade, mCrossProfileIntentFiltersSetter, 116 mTask.run(TEST_USER_ID); 119 verify(mCallback).onSuccess(mTask);
|
DeleteNonRequiredAppsTaskTest.java | 64 private DeleteNonRequiredAppsTask mTask; 78 mTask = new DeleteNonRequiredAppsTask(mTestContext, TEST_PARAMS, mCallback, mLogic); 88 mTask.run(TEST_USER_ID); 94 verify(mCallback).onSuccess(mTask); 110 mTask.run(TEST_USER_ID); 116 verify(mCallback).onSuccess(mTask); 130 mTask.run(TEST_USER_ID); 136 verify(mCallback).onSuccess(mTask); 154 mTask.run(TEST_USER_ID); 160 verify(mCallback).onError(mTask, 0) [all...] |
DownloadPackageTaskTest.java | 83 private DownloadPackageTask mTask; 93 mTask = new DownloadPackageTask( 123 verify(mCallback).onError(mTask, ERROR_OTHER); 142 verify(mCallback).onError(mTask, ERROR_DOWNLOAD_FAILED); 213 verify(mCallback).onSuccess(mTask); 214 assertEquals(location, mTask.getDownloadedPackageLocation()); 221 mTask.run(TEST_USER_ID);
|
/frameworks/base/libs/hwui/thread/ |
TaskManager.h | 69 TaskWrapper(): mTask(), mProcessor() { } 72 mTask(task), mProcessor(processor) { 75 sp<TaskBase> mTask;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
UserIconLoader.java | 34 private FetchUserIconTask mTask; 52 mTask = Preconditions.checkNotNull(task); 57 return mTask.getUserIcons();
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageWizardFormatProgress.java | 49 private PartitionTask mTask; 71 mTask = (PartitionTask) getLastNonConfigurationInstance(); 72 if (mTask == null) { 73 mTask = new PartitionTask(); 74 mTask.setActivity(this); 75 mTask.execute(); 77 mTask.setActivity(this); 83 return mTask;
|
/frameworks/base/libs/hwui/ |
PathCache.h | 101 return mTask; 105 mTask = task; 109 if (mTask != nullptr) { 110 mTask.clear(); 115 sp<PathTask> mTask;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
TaskPositioner.java | 111 private Task mTask; 169 mTask.getDimBounds(mTmpRect); 176 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER); 202 mTask.getDimBounds(mTmpRect); 209 mTask.mTaskId, mWindowDragBounds, RESIZE_MODE_USER_FORCED); 217 mTask.mTaskId, createMode, true /*toTop*/, true /* animate */, 362 mTask = win.getTask(); 368 mTask.getDimBounds(mTmpRect); 410 mTask.setDragResizing(false, DRAG_RESIZE_MODE_FREEFORM); 421 mTask.setDragResizing(true, DRAG_RESIZE_MODE_FREEFORM) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ContactResolver.java | 63 private ContactResolverTask mTask; 90 if (mTask != null && mTask.getStatus() == Status.RUNNING) { 101 if (mTask != null) { 102 mTask.cancel(true); 105 mTask = getContactResolverTask(batch); 106 mTask.executeOnExecutor(EXECUTOR);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskView.java | 135 private Task mTask; 209 return mTask; 405 EventBus.getDefault().send(new TaskViewDismissedEvent(mTask, tv, 419 if (mTask.isFreeformTask() || getVisibility() != View.VISIBLE || 611 mTask = t; 613 mTask.addCallback(this); 614 mIsDisabledInSafeMode = !mTask.isSystemApp && ssp.isInSafeMode(); 615 mThumbnailView.bindToTask(mTask, mIsDisabledInSafeMode, displayOrientation, displayRect); 616 mHeaderView.bindToTask(mTask, mTouchExplorationEnabled, mIsDisabledInSafeMode); 643 mTask.removeCallback(this) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
AlarmService_Service.java | 55 Thread thr = new Thread(null, mTask, "AlarmService_Service"); 71 Runnable mTask = new Runnable() {
|
NotifyingService.java | 54 Thread notifyingThread = new Thread(null, mTask, "NotifyingService"); 67 private Runnable mTask = new Runnable() {
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
TaskManager.java | 221 messageData.mTask = capabilityTask; 246 messageData.mTask = (PresenceCapabilityTask)task; 267 messageData.mTask = (PresenceCapabilityTask)task; 280 public PresenceCapabilityTask mTask; 307 if(messageData != null && messageData.mTask != null){ 308 messageData.mTask.onTerminated(messageData.mReason); 316 if(messageData != null && messageData.mTask != null){ 317 messageData.mTask.onTimeout();
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
BasicBitmapDrawable.java | 73 private DecodeTask mTask; 228 if (mTask != null) { 229 mTask.cancel(); 230 mTask = null; 329 if (mTask != null) { 330 mTask.cancel(); 334 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache); 335 mTask.executeOnExecutor(getExecutor());
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
SinglePhotoDataAdapter.java | 48 private Future<?> mTask; 152 if (mTask == null) { 154 mTask = mThreadPool.submit( 157 mTask = mThreadPool.submit( 166 Future<?> task = mTask; 170 mTask = null;
|