Home
last modified time | relevance | path

Searched refs:getController (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java185 assertFalse(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_enabledButNoServiceWhenCreated_shouldReturnFalse()
192 assertTrue(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_enabledWithValidServiceWhenCreated_shouldReturnTrue()
199 assertFalse(getController().isAccessibilityShortcutAvailable(false)); in testShortcutAvailable_disabledWithValidServiceWhenCreated_shouldReturnFalse()
206 assertFalse(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenButDisabledThere_shouldReturnFalse()
213 assertTrue(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndEnabledThere_shouldReturnTrue()
225 assertFalse(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
227 assertTrue(getController().isAccessibilityShortcutAvailable(true)); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
234 AccessibilityShortcutController accessibilityShortcutController = getController(); in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse()
244 AccessibilityShortcutController accessibilityShortcutController = getController(); in testShortcutAvailable_whenServiceIdBecomesNonNull_shouldReturnTrue()
254 AccessibilityShortcutController accessibilityShortcutController = getController(); in testShortcutAvailable_whenShortcutBecomesDisabled_shouldReturnFalse()
[all …]
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaController2Stub.java49 private MediaController2Impl getController() throws IllegalStateException { in getController() method in MediaController2Stub
58 final MediaController2Impl controller = getController(); in getBrowser()
73 controller = getController(); in onPlayerStateChanged()
85 controller = getController(); in onPositionChanged()
105 controller = getController(); in onPlaybackSpeedChanged()
117 controller = getController(); in onBufferedPositionChanged()
133 controller = getController(); in onPlaylistChanged()
159 controller = getController(); in onPlaylistMetadataChanged()
172 controller = getController(); in onRepeatModeChanged()
187 controller = getController(); in onPlaybackInfoChanged()
[all …]
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DAlarmImpl.java42 WakeUpController.getController().getWakeLock().acquire(); in prepare()
57 Object lock = WakeUpController.getController().getWakeSync(); in setAlarmAndWait()
59 WakeUpController.getController().getWakeLock().release(); in setAlarmAndWait()
73 WakeUpController.getController().getWakeLock().release(); in done()
DWakeUpCall.java34 WakeUpController.getController().getWakeLock().acquire(); in onReceive()
35 Object lock = WakeUpController.getController().getWakeSync(); in onReceive()
DWakeUpController.java39 public static synchronized WakeUpController getController() { in getController() method in WakeUpController
/frameworks/support/samples/SupportWearDemos/src/main/java/com/example/android/support/wear/app/drawers/
DWearableDrawersDemo.java59 mNavDrawer.getController().peekDrawer(); in onCreate()
63 mActionDrawer.getController().peekDrawer(); in onCreate()
68 mActionDrawer.getController().peekDrawer(); in onActionClicked()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DStackWindowControllerTests.java80 assertNull(stack.getController()); in testRemoveContainer_deferRemoval()
82 assertNotNull(task.getController()); in testRemoveContainer_deferRemoval()
86 assertNull(task.getController()); in testRemoveContainer_deferRemoval()
DTaskWindowContainerControllerTests.java70 assertNull(task.getController()); in testRemoveContainer_deferRemoval()
72 assertNotNull(app.getController()); in testRemoveContainer_deferRemoval()
76 assertNull(app.getController()); in testRemoveContainer_deferRemoval()
DWindowContainerControllerTests.java52 assertEquals(controller, container.getController()); in testCreation()
DWindowContainerTests.java226 assertEquals(controller, container.getController()); in testRemoveImmediately_WithController()
230 assertNull(container.getController()); in testRemoveImmediately_WithController()
240 assertEquals(controller, container.getController()); in testSetController()
254 assertNull(container.getController()); in testSetController()
/frameworks/support/wear/src/main/java/androidx/wear/internal/widget/drawer/
DMultiPagePresenter.java117 mDrawer.getController().peekDrawer(); in onDrawerTapped()
119 mDrawer.getController().closeDrawer(); in onDrawerTapped()
DSinglePageUi.java76 mDrawer.getController().closeDrawer();
162 mDrawer.getController().peekDrawer(); in peekDrawer()
/frameworks/support/media/src/main/java/androidx/media/
DMediaLibraryService2.java491 final ControllerInfo controller = getController(); in onGetRoot()
521 final ControllerInfo controller = getController(); in onLoadChildren()
561 final ControllerInfo controller = getController(); in onLoadItem()
580 final ControllerInfo controller = getController(); in onSearch()
618 private ControllerInfo getController() { in getController() method in MediaLibraryService2.MyBrowserService
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java310 if (getController() != null) { in onFirstWindowDrawn()
311 getController().removeStartingWindow(); in onFirstWindowDrawn()
350 final AppWindowContainerController controller = getController(); in updateReportedVisibilityLocked()
582 AppWindowContainerController getController() { in getController() method in AppWindowToken
583 final WindowContainerController controller = super.getController(); in getController()
642 if (startingData != null && getController() != null) { in onRemovedFromDisplay()
643 getController().removeStartingWindow(); in onRemovedFromDisplay()
753 if (getController() != null) { in notifyAppStopped()
754 getController().removeStartingWindow(); in notifyAppStopped()
811 if (getController() != null) { in postWindowRemoveStartingWindowCleanup()
[all …]
DTask.java533 final TaskWindowContainerController controller = getController(); in updateDisplayInfo()
642 TaskWindowContainerController getController() { in getController() method in Task
643 return (TaskWindowContainerController) super.getController(); in getController()
DTaskSnapshotController.java195 if (task.getController() != null) { in snapshotTasks()
196 task.getController().reportSnapshotChanged(snapshot); in snapshotTasks()
DTaskStack.java1016 getController().requestResize(bounds); in resetDockedStackToMiddle()
1020 StackWindowController getController() { in getController() method in TaskStack
1021 return (StackWindowController) super.getController(); in getController()
1656 (PinnedStackWindowController) getController(); in onAnimationStart()
1675 (PinnedStackWindowController) getController(); in onAnimationEnd()
/frameworks/base/media/java/android/media/session/
DISession.aidl34 ISessionController getController(); in getController() method
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java49 public PhotoViewController getController() { in getController() method in PhotoViewActivity
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java49 public PhotoViewController getController() { in getController() method in PhotoViewActivity
/frameworks/support/mediarouter/src/androidTest/java/androidx/mediarouter/media/
DMediaRouterTest.java83 MediaControllerCompat controller = mSession.getController(); in testSessionCallbackAfterSetMediaSessionCompat()
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java165 MediaControllerCompat controller = mSession.getController(); in testCreateSession()
193 assertEquals(mSession.getSessionToken(), mSession.getController().getSessionToken()); in testGetSessionToken()
213 session.getController().getTransportControls().play(); in testFromSession()
293 PlaybackStateCompat stateOut = mSession.getController().getPlaybackState(); in testGetPlaybackStateWithPositionUpdate()
718 mSession.getController().getPlaybackState().getState()); in testCallbackOnMediaButtonEvent()
794 MediaControllerCompat controller = mSession.getController(); in sendMediaKeyInputToController()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java167 MediaControllerCompat controller = mSession.getController(); in testCreateSession()
195 assertEquals(mSession.getSessionToken(), mSession.getController().getSessionToken()); in testGetSessionToken()
215 session.getController().getTransportControls().play(); in testFromSession()
295 PlaybackStateCompat stateOut = mSession.getController().getPlaybackState(); in testGetPlaybackStateWithPositionUpdate()
720 mSession.getController().getPlaybackState().getState()); in testCallbackOnMediaButtonEvent()
869 MediaControllerCompat controller = mSession.getController(); in sendMediaKeyInputToController()
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/drawer/
DDrawerTestActivity.java88 mNavigationDrawer.getController().closeDrawer();
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DWearableNavigationDrawerView.java105 getController().closeDrawer();

1234