Home
last modified time | relevance | path

Searched refs:createController (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java81 private void createController() { in createController() method in KeyguardIndicationControllerTest
91 createController(); in unmanaged()
101 createController(); in managedNoOwnerName()
112 createController(); in managedOwnerName()
122 createController(); in updateOnTheFly()
156 createController(); in transientIndication_holdsWakeLock_whenDozing()
166 createController(); in transientIndication_releasesWakeLock_afterHiding()
178 createController(); in transientIndication_releasesWakeLock_afterHidingDelayed()
/frameworks/support/media/src/androidTest/java/androidx/media/
DMediaSession2_PermissionTest.java137 runnable.run(createController(mSession.getToken())); in testOnCommandRequest()
144 runnable.run(createController(mSession.getToken())); in testOnCommandRequest()
317 createController(mSession.getToken()).fastForward(); in testFastForward()
324 createController(mSession.getToken()).fastForward(); in testFastForward()
334 createController(mSession.getToken()).rewind(); in testRewind()
341 createController(mSession.getToken()).rewind(); in testRewind()
352 createController(mSession.getToken()).playFromMediaId(mediaId, null); in testPlayFromMediaId()
361 createController(mSession.getToken()).playFromMediaId(mediaId, null); in testPlayFromMediaId()
372 createController(mSession.getToken()).playFromUri(uri, null); in testPlayFromUri()
381 createController(mSession.getToken()).playFromUri(uri, null); in testPlayFromUri()
[all …]
DMediaController2Test.java116 mController = createController(mSession.getToken()); in setUp()
229 MediaController2 controller = createController(mSession.getToken()); in testGettersAfterConnected()
246 mController = createController(mSession.getToken(), true, new ControllerCallback() { in testUpdatePlayer()
343 MediaController2 controller = createController( in testGetPlaylist()
391 MediaController2 controller = createController(session.getToken(), true, callback); in testGetPlaylistMetadata()
460 MediaController2 controller = createController(session.getToken(), true, callback); in testControllerCallback_onPlaylistMetadataChanged()
482 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testControllerCallback_onSeekCompleted()
508 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testControllerCallback_onBufferingStateChanged()
531 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testControllerCallback_onPlayerStateChanged()
559 MediaController2 controller = createController(mSession.getToken()); in testRemovePlaylistItem()
[all …]
DMediaBrowser2Test.java133 (MediaBrowser2) createController(token, true, callback); in testGetLibraryRoot()
155 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testGetItem()
176 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testGetItemNullResult()
217 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testGetChildren()
239 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testGetChildrenEmptyResult()
260 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testGetChildrenNullResult()
312 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testSearch()
342 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testSearchTakesTime()
368 MediaBrowser2 browser = (MediaBrowser2) createController(token, true, callback); in testSearchEmptyResult()
395 MediaBrowser2 browser = (MediaBrowser2) createController(token); in testSubscribe()
[all …]
DMediaSession2Test.java149 createController(mSession.getToken(), true, new ControllerCallback() { in testPlayerStateChange()
193 createController(mSession.getToken(), true, new ControllerCallback() { in testBufferingStateChange()
265 createController(mSession.getToken(), true, new ControllerCallback() { in testCurrentDataSourceChanged()
377 createController(mSession.getToken(), true, new ControllerCallback() { in testPlaybackSpeedChanged()
461 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testUpdatePlayer_playbackInfo()
860 MediaController2 controller = createController(mSession.getToken()); in testOnCommandCallback()
889 MediaController2 controller = createController(mSession.getToken(), false, null); in testOnConnectCallback()
910 MediaController2 controller = createController(session.getToken()); in testOnDisconnectCallback()
958 createController(session.getToken(), true, callback); in testSetCustomLayout()
989 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testSetAllowedCommands()
[all …]
DMediaSession2TestBase.java147 final MediaController2 createController(SessionToken2 token) throws InterruptedException { in createController() method in MediaSession2TestBase
148 return createController(token, true, null); in createController()
151 final MediaController2 createController(@NonNull SessionToken2 token, in createController() method in MediaSession2TestBase
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/androidx/media/test/client/
DMediaController2Test_copied.java127 mController = createController(mSession.getToken()); in setUp()
240 MediaController2 controller = createController(mSession.getToken()); in testGettersAfterConnected()
258 mController = createController(mSession.getToken(), true, new ControllerCallback() { in testUpdatePlayer()
355 MediaController2 controller = createController( in testGetPlaylist()
403 MediaController2 controller = createController(session.getToken(), true, callback); in testGetPlaylistMetadata()
472 MediaController2 controller = createController(session.getToken(), true, callback); in testControllerCallback_onPlaylistMetadataChanged()
495 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testControllerCallback_onSeekCompleted()
522 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testControllerCallback_onBufferingStateChanged()
546 final MediaController2 controller = createController(mSession.getToken(), true, callback); in testControllerCallback_onPlayerStateChanged()
574 MediaController2 controller = createController(mSession.getToken()); in testRemovePlaylistItem()
[all …]
DMediaSession2TestBase.java153 final MediaController2 createController(SessionToken2 token) throws InterruptedException { in createController() method in MediaSession2TestBase
154 return createController(token, true, null); in createController()
157 final MediaController2 createController(@NonNull SessionToken2 token, in createController() method in MediaSession2TestBase
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DFragmentLifecycleTest.java330 final FragmentController fc1 = FragmentController.createController( in restoreRetainedInstanceFragments()
390 final FragmentController fc2 = FragmentController.createController( in restoreRetainedInstanceFragments()
505 FragmentController fc = FragmentController.createController( in childFragmentManagerAttach()
569 FragmentController fc = FragmentController.createController( in fragmentLifecycleCallbacks()
639 final FragmentController fc1 = FragmentController.createController( in testLifecycleTransitionFailure()
679 final FragmentController fc2 = FragmentController.createController( in testLifecycleTransitionFailure()
709 fc = FragmentController.createController( in noPrematureStateChange()
805 final FragmentController fc1 = FragmentController.createController( in targetFragmentRestoreLifecycleStateBackStack()
839 final FragmentController fc2 = FragmentController.createController( in targetFragmentRestoreLifecycleStateBackStack()
864 final FragmentController fc1 = FragmentController.createController( in targetFragmentRestoreLifecycleStateManagerOrder()
[all …]
DFragmentTestUtil.java150 public static FragmentController createController( in createController() method in FragmentTestUtil
159 controller[0] = FragmentController.createController(hostCallbacks); in createController()
DFragmentAnimatorTest.java453 final FragmentController fc1 = FragmentTestUtil.createController(mActivityRule); in saveWhileAnimatingAway()
488 final FragmentController fc2 = FragmentTestUtil.createController(mActivityRule); in saveWhileAnimatingAway()
DFragmentAnimationTest.java364 final FragmentController fc1 = FragmentTestUtil.createController(mActivityRule); in saveWhileAnimatingAway()
407 final FragmentController fc2 = FragmentTestUtil.createController(mActivityRule); in saveWhileAnimatingAway()
DPostponedTransitionTest.java732 final FragmentController fc1 = FragmentTestUtil.createController(mActivityRule); in saveWhilePostponed()
748 final FragmentController fc2 = FragmentTestUtil.createController(mActivityRule); in saveWhilePostponed()
/frameworks/base/core/tests/coretests/src/android/app/
DLoaderLifecycleTest.java49 final FragmentController fc1 = FragmentController.createController( in loaderIdentityTest()
100 final FragmentController fc2 = FragmentController.createController( in loaderIdentityTest()
144 final FragmentController fc1 = FragmentController.createController(host1); in backStackLoaderIdentityTest()
184 final FragmentController fc2 = FragmentController.createController(host2); in backStackLoaderIdentityTest()
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java40 mController = createController(); in onCreate()
44 protected PhotoViewController createController() { in createController() method in PhotoViewActivity
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java40 mController = createController(); in onCreate()
44 public PhotoViewController createController() { in createController() method in PhotoViewActivity
/frameworks/base/tests/testables/src/android/testing/
DBaseFragmentTest.java79 mFragments = FragmentController.createController(new HostCallbacks()); in setupFragment()
163 mFragments = FragmentController.createController(new HostCallbacks()); in recreateFragment()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragmentController.java48 public static FragmentController createController(FragmentHostCallback<?> callbacks) { in createController() method in FragmentController
DFragmentActivity.java96 final FragmentController mFragments = FragmentController.createController(new HostCallbacks());
/frameworks/base/core/java/android/app/
DFragmentController.java51 public static final FragmentController createController(FragmentHostCallback<?> callbacks) { in createController() method in FragmentController
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
DFragmentHostManager.java70 mFragments = FragmentController.createController(new HostCallbacks()); in createFragmentHost()
/frameworks/support/fragment/api/
Dcurrent.txt185 …method public static androidx.fragment.app.FragmentController createController(androidx.fragment.a…
/frameworks/support/fragment/api_legacy/
Dcurrent.txt183 …method public static android.support.v4.app.FragmentController createController(android.support.v4…
D26.1.0.txt176 …method public static final android.support.v4.app.FragmentController createController(android.supp…
D27.0.0.txt176 …method public static final android.support.v4.app.FragmentController createController(android.supp…

12