/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 27 private InputConnection mTarget; field in InputConnectionWrapper 44 mTarget = target; in InputConnectionWrapper() 58 if (mTarget != null && !mMutable) { in setTarget() 61 mTarget = target; in setTarget() 79 return mTarget.getTextBeforeCursor(n, flags); in getTextBeforeCursor() 88 return mTarget.getTextAfterCursor(n, flags); in getTextAfterCursor() 97 return mTarget.getSelectedText(flags); in getSelectedText() 106 return mTarget.getCursorCapsMode(reqModes); in getCursorCapsMode() 115 return mTarget.getExtractedText(request, flags); in getExtractedText() 124 return mTarget.deleteSurroundingTextInCodePoints(beforeLength, afterLength); in deleteSurroundingTextInCodePoints() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPositioningControllerTests.java | 53 private TaskPositioningController mTarget; field in TaskPositioningControllerTests 59 mTarget = mWm.mTaskPositioningController; in setUp() 77 assertFalse(mTarget.isPositioningLocked()); in testStartAndFinishPositioning() 78 assertNull(mTarget.getDragWindowHandleLocked()); in testStartAndFinishPositioning() 81 assertTrue(mTarget.startMovingTask(mWindow.mClient, 0, 0)); in testStartAndFinishPositioning() 84 assertTrue(mTarget.isPositioningLocked()); in testStartAndFinishPositioning() 85 assertNotNull(mTarget.getDragWindowHandleLocked()); in testStartAndFinishPositioning() 88 mTarget.finishTaskPositioning(); in testStartAndFinishPositioning() 92 assertFalse(mTarget.isPositioningLocked()); in testStartAndFinishPositioning() 93 assertNull(mTarget.getDragWindowHandleLocked()); in testStartAndFinishPositioning() [all …]
|
D | PersisterQueueTests.java | 55 private final PersisterQueue mTarget = field in PersisterQueueTests 65 mTarget.addListener(mListener); in setUp() 69 mTarget.startPersisting(); in setUp() 77 mTarget.stopPersisting(); in tearDown() 78 mTarget.removeListener(mListener); in tearDown() 95 mTarget.addItem(mFactory.createItem(), false); in testProcessOneItem() 119 mTarget.addItem(mFactory.createItem(), true); in testProcessOneItem_Flush() 143 mTarget.addItem(mFactory.createItem(), false); in testProcessTwoItems() 144 mTarget.addItem(mFactory.createItem(), false); in testProcessTwoItems() 171 mTarget.addItem(mFactory.createItem(), false); in testProcessTwoItems_OneAfterAnother() [all …]
|
D | BoundsAnimationControllerTests.java | 207 private final TestBoundsAnimationTarget mTarget; field in BoundsAnimationControllerTests.BoundsAnimationDriver 220 mTarget = target; in BoundsAnimationDriver() 233 mTarget.initialize(from); in start() 236 assertTrue(mTarget.mAwaitingAnimationStart); in start() 237 assertFalse(mTarget.mAnimationStarted); in start() 251 assertFalse(mTarget.mAwaitingAnimationStart); in start() 252 assertTrue(mTarget.mAnimationStarted); in start() 266 mTarget.mAnimationStarted = false; in restart() 269 startImpl(mTarget.mStackBounds, to, BOUNDS); in restart() 278 assertTrue(mTarget.mAnimationStarted); in restart() [all …]
|
D | DisplayWindowSettingsTests.java | 83 private DisplayWindowSettings mTarget; field in DisplayWindowSettingsTests 102 mTarget = new DisplayWindowSettings(mWm, mStorage); in setUp() 128 mTarget.applySettingsToDisplayLocked(mPrimaryDisplay); in testPrimaryDisplayDefaultToFullscreen_NoFreeformSupport() 138 mTarget.applySettingsToDisplayLocked(mPrimaryDisplay); in testPrimaryDisplayDefaultToFullscreen_HasFreeformSupport_NonPc_NoDesktopMode() 149 mTarget.applySettingsToDisplayLocked(mPrimaryDisplay); in testPrimaryDisplayDefaultToFullscreen_HasFreeformSupport_NonPc_HasDesktopMode() 160 mTarget.applySettingsToDisplayLocked(mPrimaryDisplay); in testPrimaryDisplayDefaultToFreeform_HasFreeformSupport_IsPc() 168 mTarget.applySettingsToDisplayLocked(mPrimaryDisplay); in testPrimaryDisplayUpdateToFreeform_HasFreeformSupport_IsPc() 173 mTarget.updateSettingsForDisplay(mPrimaryDisplay); in testPrimaryDisplayUpdateToFreeform_HasFreeformSupport_IsPc() 181 mTarget.applySettingsToDisplayLocked(mSecondaryDisplay); in testSecondaryDisplayDefaultToFullscreen_NoFreeformSupport() 191 mTarget.applySettingsToDisplayLocked(mSecondaryDisplay); in testSecondaryDisplayDefaultToFreeform_HasFreeformSupport_NonPc_NoDesktopMode() [all …]
|
D | LaunchParamsPersisterTests.java | 93 private LaunchParamsPersister mTarget; field in LaunchParamsPersisterTests 128 mTarget = new LaunchParamsPersister(mPersisterQueue, mSupervisor, mUserFolderGetter); in setUp() 135 mTarget.onSystemReady(); in setUp() 150 mTarget.getLaunchParams(mTestTask, null, mResult); in testReturnsEmptyLaunchParamsByDefault() 157 mTarget.saveTask(mTestTask); in testSavesAndRestoresLaunchParamsInSameInstance() 159 mTarget.getLaunchParams(mTestTask, null, mResult); in testSavesAndRestoresLaunchParamsInSameInstance() 168 mTarget.saveTask(mTestTask); in testFetchesSameResultWithActivity() 173 mTarget.getLaunchParams(null, activity, mResult); in testFetchesSameResultWithActivity() 182 mTarget.saveTask(mTestTask); in testReturnsEmptyDisplayIfDisplayIsNotFound() 186 mTarget.getLaunchParams(mTestTask, null, mResult); in testReturnsEmptyDisplayIfDisplayIsNotFound() [all …]
|
D | TaskLaunchParamsModifierTests.java | 71 private TaskLaunchParamsModifier mTarget; field in TaskLaunchParamsModifierTests 82 mTarget = new TaskLaunchParamsModifier(mSupervisor); in setUp() 93 assertEquals(RESULT_SKIP, mTarget.onCalculate(task, /* layout */ null, in testReturnsSkipWithEmptyActivity() 104 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testDefaultToPrimaryDisplay() 114 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesDefaultDisplayIfPreviousDisplayNotExists() 127 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesPreviousDisplayIdIfSet() 144 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesSourcesDisplayIdIfSet() 163 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(/* task */ null, /* layout */ null, in testUsesOptionsDisplayIdIfSet() 180 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(reusableActivity.getTaskRecord(), in testUsesTasksDisplayIdPriorToSourceIfSet() 192 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(source.getTaskRecord(), null /* layout */, in testUsesTaskDisplayIdIfSet() [all …]
|
D | DisplayRotationTests.java | 114 private DisplayRotation mTarget; field in DisplayRotationTests 155 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testLocksUserRotation_LockRotation_DefaultDisplay() 156 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testLocksUserRotation_LockRotation_DefaultDisplay() 170 assertEquals(WindowManagerPolicy.USER_ROTATION_LOCKED, mTarget.getUserRotationMode()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 171 assertEquals(Surface.ROTATION_180, mTarget.getUserRotation()); in testPersistsUserRotation_LockRotation_NonDefaultDisplay() 183 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistUserRotation_UnlockRotation_DefaultDisplay() 195 assertEquals(WindowManagerPolicy.USER_ROTATION_FREE, mTarget.getUserRotationMode()); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay() 205 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_ENABLED); in testPersistsFixedToUserRotation() 211 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_DISABLED); in testPersistsFixedToUserRotation() 217 mTarget.setFixedToUserRotation(FIXED_TO_USER_ROTATION_DEFAULT); in testPersistsFixedToUserRotation() [all …]
|
D | DragDropControllerTests.java | 68 private TestDragDropController mTarget; field in DragDropControllerTests 125 mTarget = new TestDragDropController(mWm, mWm.mH.getLooper()); in setUp() 140 if (!mTarget.dragDropActiveLocked()) { in tearDown() 144 mTarget.cancelDragAndDrop(mToken, false); in tearDown() 147 mTarget.setOnClosedCallbackLocked(latch::countDown); in tearDown() 184 mToken = mTarget.performDrag( in dragFlow() 189 mTarget.handleMotionEvent(false, dropX, dropY); in dragFlow()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | TextureSource.java | 28 private int mTarget; field in TextureSource 55 return mTarget; in getTarget() 59 GLES20.glBindTexture(mTarget, mTexId); in bind() 65 GLToolbox.allocateTexturePixels(mTexId, mTarget, width, height); in allocate() 71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height); in allocateWithPixels() 77 GLToolbox.setTexturePixels(mTexId, mTarget, bitmap); in allocateWithBitmapPixels() 82 GLES20.glBindTexture(mTarget, mTexId); in generateMipmaps() 83 GLES20.glTexParameteri(mTarget, in generateMipmaps() 86 GLES20.glGenerateMipmap(mTarget); in generateMipmaps() 87 GLES20.glBindTexture(mTarget, 0); in generateMipmaps() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Messenger.java | 33 private final IMessenger mTarget; field in Messenger 44 mTarget = target.getIMessenger(); in Messenger() 57 mTarget.send(message); in send() 67 return mTarget.asBinder(); in getBinder() 79 return mTarget.asBinder().equals(((Messenger)otherObj) in equals() 80 .mTarget.asBinder()); in equals() 87 return mTarget.asBinder().hashCode(); in hashCode() 95 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel() 120 out.writeStrongBinder(messenger != null ? messenger.mTarget.asBinder() in writeMessengerOrNullToParcel() 146 mTarget = IMessenger.Stub.asInterface(target); in Messenger()
|
D | FileBridge.java | 61 private FileDescriptor mTarget; field in FileBridge 81 IoUtils.closeQuietly(mTarget); in forceClose() 88 mTarget = target; in setTargetFile() 110 IoBridge.write(mTarget, temp, 0, n); in run() 116 Os.fsync(mTarget); in run() 121 Os.fsync(mTarget); in run() 122 Os.close(mTarget); in run()
|
/frameworks/base/core/java/android/content/ |
D | IntentSender.java | 60 private final IIntentSender mTarget; field in IntentSender 193 int res = ActivityManager.getService().sendIntentSender(mTarget, mWhitelistToken, in sendIntent() 214 .getPackageForIntentSender(mTarget); in getTargetPackage() 233 .getPackageForIntentSender(mTarget); in getCreatorPackage() 252 .getUidForIntentSender(mTarget); in getCreatorUid() 273 .getUidForIntentSender(mTarget); in getCreatorUserHandle() 289 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals() 290 .mTarget.asBinder()); in equals() 297 return mTarget.asBinder().hashCode(); in hashCode() 306 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 84 private File mTarget; field in FileUtilsTest 98 mTarget = getContext().getFilesDir(); in setUp() 99 FileUtils.deleteContents(mTarget); in setUp() 105 FileUtils.deleteContents(mTarget); in tearDown() 131 final File src = new File(mTarget, "src"); in testCopy_FileToFile() 132 final File dest = new File(mTarget, "dest"); in testCopy_FileToFile() 152 final File src = new File(mTarget, "src"); in testCopy_FileToPipe() 172 final File dest = new File(mTarget, "dest"); in testCopy_PipeToFile() 211 final File dest = new File(mTarget, "dest"); in testCopy_ShortPipeToFile() 402 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test")); in testBuildUniqueFile_normal() [all …]
|
/frameworks/base/core/java/android/app/prediction/ |
D | AppTargetEvent.java | 60 private final AppTarget mTarget; field in AppTargetEvent 66 mTarget = target; in AppTargetEvent() 72 mTarget = parcel.readParcelable(null); in AppTargetEvent() 82 return mTarget; in getTarget() 105 return mTarget.equals(other.mTarget) in equals() 117 dest.writeParcelable(mTarget, 0); in writeToParcel() 141 private AppTarget mTarget; field in AppTargetEvent.Builder 150 mTarget = target; in Builder() 168 return new AppTargetEvent(mTarget, mLocation, mAction); in build()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Target.java | 304 private final Target mTarget; field in Target.Builder 310 mTarget = new Target(); in Builder() 317 mTarget = new Target(target); in Builder() 324 mTarget.mSaturationTargets[INDEX_MIN] = value; in setMinimumSaturation() 332 mTarget.mSaturationTargets[INDEX_TARGET] = value; in setTargetSaturation() 340 mTarget.mSaturationTargets[INDEX_MAX] = value; in setMaximumSaturation() 348 mTarget.mLightnessTargets[INDEX_MIN] = value; in setMinimumLightness() 356 mTarget.mLightnessTargets[INDEX_TARGET] = value; in setTargetLightness() 364 mTarget.mLightnessTargets[INDEX_MAX] = value; in setMaximumLightness() 380 mTarget.mWeights[INDEX_WEIGHT_SAT] = weight; in setSaturationWeight() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | PhoneStateIntentReceiver.java | 55 private Handler mTarget; field in PhoneStateIntentReceiver 80 mTarget = h; in setTarget() 179 if (mTarget != null && getNotifySignalStrength()) { in onReceive() 180 Message message = Message.obtain(mTarget, mAsuEventWhat); in onReceive() 181 mTarget.sendMessage(message); in onReceive() 190 if (mTarget != null && getNotifyPhoneCallState()) { in onReceive() 191 Message message = Message.obtain(mTarget, in onReceive() 193 mTarget.sendMessage(message); in onReceive() 198 if (mTarget != null && getNotifyServiceState()) { in onReceive() 199 Message message = Message.obtain(mTarget, in onReceive() [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Statement.java | 49 private final AbstractAsset mTarget; field in Statement 55 mTarget = target; in Statement() 72 return mTarget; in getTarget() 111 if (!mTarget.equals(statement.mTarget)) { in equals() 123 int result = mTarget.hashCode(); in hashCode() 135 statement.append(mTarget); in toString()
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 99 private final IIntentSender mTarget; field in PendingIntent 669 return new IntentSender(mTarget, mWhitelistToken); in getIntentSender() 678 ActivityManager.getService().cancelIntentSender(mTarget); in cancel() 897 mTarget, mWhitelistToken, code, intent, resolvedType, in sendAndReturnResult() 914 .getPackageForIntentSender(mTarget); in getTargetPackage() 942 .getPackageForIntentSender(mTarget); in getCreatorPackage() 969 .getUidForIntentSender(mTarget); in getCreatorUid() 1000 ActivityManager.getService().registerIntentSenderCancelListener(mTarget, in registerCancelListener() 1034 ActivityManager.getService().unregisterIntentSenderCancelListener(mTarget, in unregisterCancelListener() 1067 .getUidForIntentSender(mTarget); in getCreatorUserHandle() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachineTest.java | 63 private TestableBatterySaverStateMachine mTarget; field in BatterySaverStateMachineTest 109 mTarget.setBatteryStatus(mPersistedState.powered, mPersistedState.batteryLevel, in pushBatteryStatus() 114 mTarget.setSettingsLocked( in pushGlobalSettings() 210 mTarget = new TestableBatterySaverStateMachine(); in initDevice() 211 spyOn(mTarget); in initDevice() 212 doNothing().when(mTarget).triggerStickyDisabledNotification(); in initDevice() 215 mTarget.onBootCompleted(); in initDevice() 259 mTarget.setBatterySaverEnabledManually(true); in testNoAutoBatterySaver() 317 mTarget.setBatterySaverEnabledManually(false); in testNoAutoBatterySaver() 390 mTarget.setBatterySaverEnabledManually(false); // Manually disable -> snooze. in testAutoBatterySaver() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | BoundsAnimationController.java | 150 private final BoundsAnimationTarget mTarget; field in BoundsAnimationController.BoundsAnimator 193 mTarget = target; in BoundsAnimator() 221 if (DEBUG) Slog.d(TAG, "onAnimationStart: mTarget=" + mTarget in onAnimationStart() 237 continueAnimation = mTarget.onAnimationStart( in onAnimationStart() 244 && mTarget.shouldDeferStartOnMoveToFullscreen()) { in onAnimationStart() 253 continueAnimation = mTarget.onAnimationStart( in onAnimationStart() 259 continueAnimation = mTarget.isAttached(); in onAnimationStart() 272 mTarget.setPinnedStackSize(mFrom, mTmpRect); in onAnimationStart() 303 if (!mTarget.setPinnedStackAlpha(value)) { in onAnimationUpdate() 314 if (DEBUG) Slog.d(TAG, "animateUpdate: mTarget=" + mTarget + " mBounds=" in onAnimationUpdate() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | DeviceSelectAction.java | 61 private final HdmiDeviceInfo mTarget; field in DeviceSelectAction 78 mTarget = target; in DeviceSelectAction() 84 return mTarget.getLogicalAddress(); in getTargetAddress() 162 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice() 164 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice() 174 tv().setActivePath(mTarget.getPhysicalAddress()); in sendSetStreamPath() 176 getSourceAddress(), mTarget.getPhysicalAddress())); in sendSetStreamPath()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | RetargetFilter.java | 36 private int mTarget = -1; field in RetargetFilter 45 mTarget = FrameFormat.readTargetString(mTargetString); in setupPorts() 55 retargeted.setTarget(mTarget); in getOutputFormat() 65 Frame output = context.getFrameManager().duplicateFrameToTarget(input, mTarget); in process()
|
/frameworks/compile/libbcc/lib/ |
D | CompilerConfig.cpp | 53 : mTriple(pTriple), mFullPrecision(true), mTarget(nullptr) { in CompilerConfig() 86 mTarget = llvm::TargetRegistry::lookupTarget(mTriple, error); in initializeTarget() 87 if (mTarget != nullptr) { in initializeTarget() 97 if (mTarget != nullptr) { in initializeArch() 98 mArchType = llvm::Triple::getArchTypeForLLVMName(mTarget->getName()); in initializeArch() 229 ALOGE("Unsupported architecture type: %s", mTarget->getName()); in initializeArch()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 142 private final View mTarget; field in AutoScrollHelper 209 mTarget = target; in AutoScrollHelper() 467 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth()); in onTouch() 469 VERTICAL, event.getY(), v.getHeight(), mTarget.getHeight()); in onTouch() 511 mTarget.postOnAnimationDelayed(mRunnable, mActivationDelay); in startAnimating() 679 mTarget.onTouchEvent(cancel); in cancelTargetTouch() 713 mTarget.postOnAnimation(this); in run() 872 private final AbsListView mTarget; field in AutoScrollHelper.AbsListViewAutoScroller 877 mTarget = target; in AbsListViewAutoScroller() 882 mTarget.scrollListBy(deltaY); in scrollTargetBy() [all …]
|