/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | BrailleDisplayControllerTest.java | 128 private BrailleDisplayController mController; field in BrailleDisplayControllerTest 200 mController = mService.getBrailleDisplayController(); in setup() 242 if (mController != null) { in cleanup() 243 mController.disconnect(); in cleanup() 446 byte[] connectedDeviceDescriptor = expectConnectionSuccess(mController, mExecutor, in connect() 450 assertThat(mController.isConnected()).isTrue(); in connect() 466 byte[] connectedDeviceDescriptor = expectConnectionSuccess(mController, /*executor=*/ in connect_defaultExecutor_isSuccessful() 471 assertThat(mController.isConnected()).isTrue(); in connect_defaultExecutor_isSuccessful() 488 expectConnectionSuccess(mController, mExecutor, mBluetoothDevice1); in connect_alreadyConnected_throwsIllegalStateException() 491 () -> mController.connect(mBluetoothDevice1, mExecutor, in connect_alreadyConnected_throwsIllegalStateException() [all …]
|
D | TouchInteractionControllerTest.java | 133 TouchInteractionController mController; field in TouchInteractionControllerTest 203 mController = mService.getTouchInteractionController(Display.DEFAULT_DISPLAY); in setUp() 214 assertThat(Display.DEFAULT_DISPLAY).isEqualTo(mController.getDisplayId()); in assertBasicConsistency() 215 assertThat(mController.getMaxPointerCount()).isGreaterThan(0); in assertBasicConsistency() 216 int state = mController.getState(); in assertBasicConsistency() 227 mController.registerCallback( in testSingleTap_initiatesTouchExploration() 232 mController.requestTouchExploration(); in testSingleTap_initiatesTouchExploration() 249 mController.registerCallback( in testInterruptedSwipe_generatesConsistentEventStream() 254 && mController.getState() in testInterruptedSwipe_generatesConsistentEventStream() 256 mController.requestTouchExploration(); in testInterruptedSwipe_generatesConsistentEventStream() [all …]
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | LayoutAnimationControllerTest.java | 72 private LayoutAnimationController mController; field in LayoutAnimationControllerTest 90 mController = new LayoutAnimationController(mDefaultAnimation, DEFAULT_DELAY); in setup() 95 mController.setOrder(LayoutAnimationController.ORDER_NORMAL); in testAccessOrder() 96 assertEquals(LayoutAnimationController.ORDER_NORMAL, mController.getOrder()); in testAccessOrder() 98 AnimationTestUtils.assertRunController(mActivityRule, mListView, mController, in testAccessOrder() 140 mController.setOrder(LayoutAnimationController.ORDER_REVERSE); in testAccessOrder() 141 assertEquals(LayoutAnimationController.ORDER_REVERSE, mController.getOrder()); in testAccessOrder() 142 AnimationTestUtils.assertRunController(mActivityRule, mListView, mController, in testAccessOrder() 183 mController.setOrder(LayoutAnimationController.ORDER_NORMAL); in testAccessDelay() 185 mController.setDelay(delay); in testAccessDelay() [all …]
|
D | GridLayoutAnimationControllerTest.java | 71 private GridLayoutAnimationController mController; field in GridLayoutAnimationControllerTest 90 mController = new GridLayoutAnimationController(mDefaultAnimation, DEFAULT_DELAY, in setup() 113 mController.setRowDelay(delay); in testAccessDelay() 114 assertEquals(delay, mController.getRowDelay(), 0.0f); in testAccessDelay() 115 AnimationTestUtils.assertRunController(mActivityRule, mGridView, mController, in testAccessDelay() 123 mController.setColumnDelay(delay); in testAccessDelay() 124 assertEquals(delay, mController.getColumnDelay(), 0.0f); in testAccessDelay() 125 AnimationTestUtils.assertRunController(mActivityRule, mGridView, mController, in testAccessDelay() 201 mController.setDirection(GridLayoutAnimationController.DIRECTION_BOTTOM_TO_TOP); 203 mController.getDirection()); [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | UnlockedDeviceRequiredKeysTest.java | 90 private TestController mController; field in UnlockedDeviceRequiredKeysTest 108 mController = new TestController(this); in onCreate() 109 mReceiver = new ScreenStateChangeReceiver(mController); in onCreate() 121 mDialogFragment = TestDialogFragment.createDialogFragment(mController); in onCreate() 124 mController.updateTestState(true); in onCreate() 142 mDialogFragment = TestDialogFragment.createDialogFragment(mController); in showDialog() 153 ((AlertDialog) dialog).setMessage(mResources.getString(mController.getDialogMessage())); in updateDialogText() 233 private TestController mController; field in UnlockedDeviceRequiredKeysTest.ScreenStateChangeReceiver 240 mController = controller; in ScreenStateChangeReceiver() 251 mController.deviceStateChanged(true); in onReceive() [all …]
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaControllerTest.java | 74 private MediaController mController; field in MediaControllerTest 87 mController = mSession.getController(); in setUp() 102 assertThat(mController.getPackageName()) in testGetPackageName() 134 PlaybackState stateOut = mController.getPlaybackState(); in testGetPlaybackState() 150 .that(mController.getRatingType()) in testGetRatingType() 155 assertThat(mController.getRatingType()).isEqualTo(Rating.RATING_5_STARS); in testGetRatingType() 160 assertThat(mController.getSessionToken()).isEqualTo(mSession.getSessionToken()); in testGetSessionToken() 165 Bundle sessionInfo = mController.getSessionInfo(); in testGetSessionInfo() 169 Bundle cachedSessionInfo = mController.getSessionInfo(); in testGetSessionInfo() 185 assertThat(mController.getTag()).isEqualTo(SESSION_TAG); in testGetTag() [all …]
|
D | MediaSession2Test.java | 237 if (Objects.equals(sessionCallback.mController, controllerInfo)) { in testGetConnectedControllers_newController() 263 assertThat(controllers).doesNotContain(sessionCallback.mController); in testGetConnectedControllers_closedController() 375 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCallback_onConnect_onDisconnect() 391 assertThat(sessionCallback.mController).isEqualTo(controllerInfo); in testCallback_onConnect_onDisconnect() 408 assertThat(sessionCallback.mController.getUid()).isEqualTo(Process.myUid()); in testCallback_onPostConnect_connected() 450 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCallback_onSessionCommand() 468 assertThat(sessionCallback.mController).isEqualTo(controllerInfo); in testCallback_onSessionCommand() 507 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCallback_onCommandResult() 525 assertThat(sessionCallback.mController).isEqualTo(controllerInfo); in testCallback_onCommandResult() 584 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCancelSessionCommand() [all …]
|
D | MediaController2Test.java | 257 assertThat(controllerCallback.mController).isEqualTo(controller); in testGetConnectedToken() 267 assertThat(controllerCallback.mController.getConnectedToken()).isNull(); in testGetConnectedToken() 279 assertThat(controllerCallback.mController).isEqualTo(controller); in testCallback_onConnected_onDisconnected() 310 assertThat(controllerCallback.mController) in testCallback_onSessionCommand() 346 assertThat(controllerCallback.mController).isEqualTo(controller); in testCallback_onCommandResult() 417 MediaController2 mController; field in MediaController2Test.Controller2Callback 434 mController = controller; in onConnected() 442 mController = controller; in onDisconnected() 450 mController = controller; in onSessionCommand() 461 mController = controller; in onCommandResult()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | DomainSelectionServiceConnector.java | 140 private Controller mController; field in DomainSelectionServiceConnector 147 mController = new Controller(); in clearActiveDomainSelectionService() 148 mController.clearPackage(); in clearActiveDomainSelectionService() 185 return mController.overrideService(); in triggerFrameworkConnectionToTestDomainSelectionService() 205 mController.restoreOriginalPackage(); in disconnectService()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/ |
D | WindowInsetsAnimationControllerTests.java | 350 mListener.mController.finish(true); in testControl_immediately_show() 378 mListener.mController.finish(false); in testControl_immediately_hide() 633 ? mListener.mController.getHiddenStateInsets() in runTransition() 634 : mListener.mController.getShownStateInsets(), in runTransition() 636 ? mListener.mController.getShownStateInsets() in runTransition() 637 : mListener.mController.getHiddenStateInsets()); in runTransition() 641 if (!mListener.mController.isReady()) { in runTransition() 652 mListener.mController.setInsetsAndAlpha( in runTransition() 664 if (!mListener.mController.isCancelled()) { in runTransition() 665 mListener.mController.finish(show); in runTransition() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 69 private RecordProcedureController mController; field in RVCVRecordActivity 96 if (mController != null) { in startRecordcontroller() 98 mController.quit(); in startRecordcontroller() 101 mController = new RecordProcedureController(this); in startRecordcontroller() 105 if (mController != null) { in stopRecordcontroller() 107 mController.quit(); in stopRecordcontroller() 137 if (mController != null) { in onPause() 138 mController.quit(); in onPause()
|