/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutControllerTest.java | 185 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/ |
D | MediaController2Stub.java | 49 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/ |
D | AlarmImpl.java | 42 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()
|
D | WakeUpCall.java | 34 WakeUpController.getController().getWakeLock().acquire(); in onReceive() 35 Object lock = WakeUpController.getController().getWakeSync(); in onReceive()
|
D | WakeUpController.java | 39 public static synchronized WakeUpController getController() { in getController() method in WakeUpController
|
/frameworks/support/samples/SupportWearDemos/src/main/java/com/example/android/support/wear/app/drawers/ |
D | WearableDrawersDemo.java | 59 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/ |
D | StackWindowControllerTests.java | 80 assertNull(stack.getController()); in testRemoveContainer_deferRemoval() 82 assertNotNull(task.getController()); in testRemoveContainer_deferRemoval() 86 assertNull(task.getController()); in testRemoveContainer_deferRemoval()
|
D | TaskWindowContainerControllerTests.java | 70 assertNull(task.getController()); in testRemoveContainer_deferRemoval() 72 assertNotNull(app.getController()); in testRemoveContainer_deferRemoval() 76 assertNull(app.getController()); in testRemoveContainer_deferRemoval()
|
D | WindowContainerControllerTests.java | 52 assertEquals(controller, container.getController()); in testCreation()
|
D | WindowContainerTests.java | 226 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/ |
D | MultiPagePresenter.java | 117 mDrawer.getController().peekDrawer(); in onDrawerTapped() 119 mDrawer.getController().closeDrawer(); in onDrawerTapped()
|
D | SinglePageUi.java | 76 mDrawer.getController().closeDrawer(); 162 mDrawer.getController().peekDrawer(); in peekDrawer()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaLibraryService2.java | 491 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/ |
D | AppWindowToken.java | 310 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 …]
|
D | Task.java | 533 final TaskWindowContainerController controller = getController(); in updateDisplayInfo() 642 TaskWindowContainerController getController() { in getController() method in Task 643 return (TaskWindowContainerController) super.getController(); in getController()
|
D | TaskSnapshotController.java | 195 if (task.getController() != null) { in snapshotTasks() 196 task.getController().reportSnapshotChanged(snapshot); in snapshotTasks()
|
D | TaskStack.java | 1016 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/ |
D | ISession.aidl | 34 ISessionController getController(); in getController() method
|
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 49 public PhotoViewController getController() { in getController() method in PhotoViewActivity
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 49 public PhotoViewController getController() { in getController() method in PhotoViewActivity
|
/frameworks/support/mediarouter/src/androidTest/java/androidx/mediarouter/media/ |
D | MediaRouterTest.java | 83 MediaControllerCompat controller = mSession.getController(); in testSessionCallbackAfterSetMediaSessionCompat()
|
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/ |
D | MediaSessionCompatCallbackTest.java | 165 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/ |
D | MediaSessionCompatCallbackTest.java | 167 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/ |
D | DrawerTestActivity.java | 88 mNavigationDrawer.getController().closeDrawer();
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/ |
D | WearableNavigationDrawerView.java | 105 getController().closeDrawer();
|