Home
last modified time | relevance | path

Searched refs:mController (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/animation/cts/
DLayoutAnimationControllerTest.java67 private LayoutAnimationController mController; field in LayoutAnimationControllerTest
79 mController = new LayoutAnimationController(mDefaultAnimation, DEFAULT_DELAY); in setup()
84 mController.setOrder(LayoutAnimationController.ORDER_NORMAL); in testAccessOrder()
85 assertEquals(LayoutAnimationController.ORDER_NORMAL, mController.getOrder()); in testAccessOrder()
87 AnimationTestUtils.assertRunController(mActivityRule, mListView, mController, in testAccessOrder()
129 mController.setOrder(LayoutAnimationController.ORDER_REVERSE); in testAccessOrder()
130 assertEquals(LayoutAnimationController.ORDER_REVERSE, mController.getOrder()); in testAccessOrder()
131 AnimationTestUtils.assertRunController(mActivityRule, mListView, mController, in testAccessOrder()
172 mController.setOrder(LayoutAnimationController.ORDER_NORMAL); in testAccessDelay()
174 mController.setDelay(delay); in testAccessDelay()
[all …]
DGridLayoutAnimationControllerTest.java66 private GridLayoutAnimationController mController; field in GridLayoutAnimationControllerTest
79 mController = new GridLayoutAnimationController(mDefaultAnimation, DEFAULT_DELAY, in setup()
102 mController.setRowDelay(delay); in testAccessDelay()
103 assertEquals(delay, mController.getRowDelay(), 0.0f); in testAccessDelay()
104 AnimationTestUtils.assertRunController(mActivityRule, mGridView, mController, in testAccessDelay()
112 mController.setColumnDelay(delay); in testAccessDelay()
113 assertEquals(delay, mController.getColumnDelay(), 0.0f); in testAccessDelay()
114 AnimationTestUtils.assertRunController(mActivityRule, mGridView, mController, in testAccessDelay()
190 mController.setDirection(GridLayoutAnimationController.DIRECTION_BOTTOM_TO_TOP);
192 mController.getDirection());
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaControllerTest.java55 private MediaController mController; field in MediaControllerTest
65 mController = mSession.getController(); in setUp()
71 assertEquals(getContext().getPackageName(), mController.getPackageName()); in testGetPackageName()
101 PlaybackState stateOut = mController.getPlaybackState(); in testGetPlaybackState()
116 Rating.RATING_NONE, mController.getRatingType()); in testGetRatingType()
120 assertEquals(Rating.RATING_5_STARS, mController.getRatingType()); in testGetRatingType()
124 assertEquals(mSession.getSessionToken(), mController.getSessionToken()); in testGetSessionToken()
126 Bundle sessionInfo = mController.getSessionInfo(); in testGetSessionToken()
137 mController.sendCommand(command, extras, new ResultReceiver(null)); in testSendCommand()
152 mController.getTransportControls().setPlaybackSpeed(testSpeed); in testSetPlaybackSpeed()
[all …]
DMediaSession2Test.java250 if (Objects.equals(sessionCallback.mController, controllerInfo)) { in testGetConnectedControllers_newController()
277 assertNotEquals(sessionCallback.mController, controllerInfo); in testGetConnectedControllers_closedController()
390 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCallback_onConnect_onDisconnect()
405 assertEquals(controllerInfo, sessionCallback.mController); in testCallback_onConnect_onDisconnect()
422 assertEquals(Process.myUid(), sessionCallback.mController.getUid()); in testCallback_onPostConnect_connected()
464 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCallback_onSessionCommand()
482 assertEquals(controllerInfo, sessionCallback.mController); in testCallback_onSessionCommand()
520 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCallback_onCommandResult()
538 assertEquals(controllerInfo, sessionCallback.mController); in testCallback_onCommandResult()
596 MediaSession2.ControllerInfo controllerInfo = sessionCallback.mController; in testCancelSessionCommand()
[all …]
DMediaController2Test.java270 assertEquals(controller, controllerCallback.mController); in testGetConnectedToken()
279 assertNull(controllerCallback.mController.getConnectedToken()); in testGetConnectedToken()
291 assertEquals(controller, controllerCallback.mController); in testCallback_onConnected_onDisconnected()
321 assertEquals(controller, controllerCallback.mController); in testCallback_onSessionCommand()
354 assertEquals(controller, controllerCallback.mController); in testCallback_onCommandResult()
424 MediaController2 mController; field in MediaController2Test.Controller2Callback
441 mController = controller; in onConnected()
449 mController = controller; in onDisconnected()
457 mController = controller; in onSessionCommand()
468 mController = controller; in onCommandResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java70 private RecordProcedureController mController; field in RVCVRecordActivity
97 if (mController != null) { in startRecordcontroller()
99 mController.quit(); in startRecordcontroller()
102 mController = new RecordProcedureController(this); in startRecordcontroller()
106 if (mController != null) { in stopRecordcontroller()
108 mController.quit(); in stopRecordcontroller()
138 if (mController != null) { in onPause()
139 mController.quit(); in onPause()