Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java85 getController().getOrCreateSourceProvider(ID_STATUS_BAR, statusBars()) in testStripForDispatch_navBar()
87 getController().getOrCreateSourceProvider(ID_NAVIGATION_BAR, navigationBars()) in testStripForDispatch_navBar()
89 getController().getOrCreateSourceProvider(ID_IME, ime()) in testStripForDispatch_navBar()
102 getController().getOrCreateSourceProvider(ID_STATUS_BAR, statusBars()) in testStripForDispatch_pip()
104 getController().getOrCreateSourceProvider(ID_NAVIGATION_BAR, navigationBars()) in testStripForDispatch_pip()
119 getController().getOrCreateSourceProvider(ID_STATUS_BAR, statusBars()) in testStripForDispatch_freeform()
121 getController().getOrCreateSourceProvider(ID_NAVIGATION_BAR, navigationBars()) in testStripForDispatch_freeform()
135 getController().getOrCreateSourceProvider(ID_STATUS_BAR, statusBars()) in testStripForDispatch_multiwindow_alwaysOnTop()
137 getController().getOrCreateSourceProvider(ID_NAVIGATION_BAR, navigationBars()) in testStripForDispatch_multiwindow_alwaysOnTop()
149 getController().getOrCreateSourceProvider(ID_IME, ime()) in testStripForDispatch_independentSources()
[all …]
/frameworks/base/services/core/java/com/android/server/location/provider/
DMockableLocationProvider.java144 oldProvider.getController().setListener(null); in setProviderLocked()
145 if (oldProvider.getController().isStarted()) { in setProviderLocked()
146 oldProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in setProviderLocked()
147 oldProvider.getController().stop(); in setProviderLocked()
153 newState = mProvider.getController().setListener(new ListenerWrapper(mProvider)); in setProviderLocked()
155 if (!mProvider.getController().isStarted()) { in setProviderLocked()
156 mProvider.getController().start(); in setProviderLocked()
158 mProvider.getController().setRequest(mRequest); in setProviderLocked()
160 if (mProvider.getController().isStarted()) { in setProviderLocked()
161 mProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in setProviderLocked()
[all …]
DDelegateLocationProvider.java57 setState(previousState -> mDelegate.getController().setListener(this)); in initializeDelegate()
88 mDelegate.getController().start(); in onStart()
94 mDelegate.getController().stop(); in onStop()
100 mDelegate.getController().setRequest(request); in onSetRequest()
106 mDelegate.getController().flush(callback); in onFlush()
112 mDelegate.getController().sendExtraCommand(uid, pid, command, extras); in onExtraCommand()
DStationaryThrottlingLocationProvider.java108 mDelegate.getController().start(); in onStart()
134 mDelegate.getController().stop(); in onStop()
207 mDelegate.getController().setRequest(mOutgoingRequest); in onThrottlingChangedLocked()
DAbstractLocationProvider.java238 LocationProviderController getController() { in getController() method in AbstractLocationProvider
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DMockableLocationProviderTest.java80 mProvider.getController().setListener(mListener); in setUp()
100 assertThat(mProvider.getController().isStarted()).isFalse(); in testStart()
101 assertThrows(IllegalStateException.class, () -> mProvider.getController().stop()); in testStart()
102 mProvider.getController().start(); in testStart()
103 assertThat(mProvider.getController().isStarted()).isTrue(); in testStart()
104 assertThrows(IllegalStateException.class, () -> mProvider.getController().start()); in testStart()
109 mProvider.getController().start(); in testSetRequest()
113 mProvider.getController().setRequest(request); in testSetRequest()
135 mProvider.getController().start(); in testFlush()
138 mProvider.getController().flush(listener); in testFlush()
[all …]
DStationaryThrottlingLocationProviderTest.java83 mProvider.getController().setListener(mListener); in setUp()
84 mProvider.getController().start(); in setUp()
89 mProvider.getController().setRequest(ProviderRequest.EMPTY_REQUEST); in tearDown()
90 mProvider.getController().stop(); in tearDown()
97 mProvider.getController().setRequest(request); in testThrottle_lowInterval()
110 mProvider.getController().setRequest(request); in testThrottle_stationaryExit()
132 mProvider.getController().setRequest(request); in testThrottle_idleExit()
154 mProvider.getController().setRequest(request); in testThrottle_NoInitialLocation()
175 mProvider.getController().setRequest(request); in testNoThrottle_noLocation()
189 mProvider.getController().setRequest(request); in testNoThrottle_oldLocation()
[all …]
/frameworks/base/core/java/android/window/
DTaskFragmentOrganizer.java168 getController().registerOrganizer(mInterface, false /* isSystemOrganizer */); in registerOrganizer()
189 getController().registerOrganizer(mInterface, isSystemOrganizer); in registerOrganizer()
201 getController().unregisterOrganizer(mInterface); in unregisterOrganizer()
216 getController().registerRemoteAnimations(mInterface, definition); in registerRemoteAnimations()
229 getController().unregisterRemoteAnimations(mInterface); in unregisterRemoteAnimations()
257 getController().onTransactionHandled(transactionToken, wct, transitionType, in onTransactionHandled()
293 getController().applyTransaction( in applyTransaction()
315 getController().applyTransaction( in applySystemTransaction()
347 private ITaskFragmentOrganizerController getController() { in getController() method in TaskFragmentOrganizer
362 return getController().isActivityEmbedded(activityToken); in isActivityEmbedded()
DDisplayAreaOrganizer.java176 return getController().registerOrganizer(mInterface, displayAreaFeature).getList(); in registerOrganizer()
189 getController().unregisterOrganizer(mInterface); in unregisterOrganizer()
220 return getController().createTaskDisplayArea( in createTaskDisplayArea()
237 getController().deleteTaskDisplayArea(taskDisplayArea); in deleteTaskDisplayArea()
281 private IDisplayAreaOrganizerController getController() { in getController() method in DisplayAreaOrganizer
DTaskOrganizer.java58 ? taskOrganizerController : getController(); in TaskOrganizer()
325 private ITaskOrganizerController getController() { in getController() method in TaskOrganizer
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java244 assertThat(getController().isAccessibilityShortcutAvailable(false)).isFalse(); in testShortcutAvailable_enabledButNoServiceWhenCreated_shouldReturnFalse()
252 assertThat(getController().isAccessibilityShortcutAvailable(false)).isTrue(); in testShortcutAvailable_enabledWithValidServiceWhenCreated_shouldReturnTrue()
260 assertThat(getController().isAccessibilityShortcutAvailable(true)).isFalse(); in testShortcutAvailable_onLockScreenButDisabledThere_shouldReturnFalse()
268 assertThat(getController().isAccessibilityShortcutAvailable(true)).isTrue(); in testShortcutAvailable_onLockScreenAndEnabledThere_shouldReturnTrue()
282 assertThat(getController().isAccessibilityShortcutAvailable(true)).isFalse(); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
286 assertThat(getController().isAccessibilityShortcutAvailable(true)).isTrue(); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
294 AccessibilityShortcutController accessibilityShortcutController = getController(); in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse()
307 AccessibilityShortcutController accessibilityShortcutController = getController(); in testShortcutAvailable_whenServiceIdBecomesNonNull_shouldReturnTrue()
319 AccessibilityShortcutController accessibilityShortcutController = getController(); in testShortcutAvailable_whenShortcutBecomesEnabled_shouldReturnTrue()
332 AccessibilityShortcutController accessibilityShortcutController = getController(); in testShortcutAvailable_whenLockscreenBecomesDisabled_shouldReturnFalse()
[all …]
/frameworks/native/services/surfaceflinger/tests/unittests/
DVsyncScheduleTest.cpp54 mock::VsyncController& getController() { in getController() function in android::VsyncScheduleTest
55 return *static_cast<mock::VsyncController*>(&mVsyncSchedule->getController()); in getController()
165 EXPECT_CALL(getController(), onDisplayModeChanged(mode, false)); in TEST_F()
177 EXPECT_CALL(getController(), onDisplayModeChanged(mode, false)); in TEST_F()
188 EXPECT_CALL(getController(), onDisplayModeChanged(mode, true)); in TEST_F()
198 EXPECT_CALL(getController(), addHwVsyncTimestamp(_, _, _)).Times(0); in TEST_F()
209 EXPECT_CALL(getController(), addHwVsyncTimestamp(_, _, _)).Times(0); in TEST_F()
222 EXPECT_CALL(getController(), in TEST_F()
237 EXPECT_CALL(getController(), in TEST_F()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/dagger/
DAmbientStatusBarComponent.kt38 fun getController(): AmbientStatusBarViewController method
/frameworks/native/libs/vibrator/include/vibrator/
DExternalVibration.h47 sp<IExternalVibrationController> getController() { return mController; } in getController() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationRemoteInputManager.java476 riv.getController().setPendingIntent(pendingIntent); in activateRemoteInput()
477 riv.getController().setRemoteInput(input); in activateRemoteInput()
478 riv.getController().setRemoteInputs(inputs); in activateRemoteInput()
479 riv.getController().setEditedSuggestionInfo(editedSuggestionInfo); in activateRemoteInput()
486 riv.getController().setBouncerChecker(() -> in activateRemoteInput()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/section/
DAmbientStatusBarSection.kt49 factory.create(this).getController().apply { init() } in <lambda>()
/frameworks/base/media/java/android/media/session/
DISession.aidl35 ISessionController getController(); in getController() method
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/
DPhotoViewActivity.java49 public PhotoViewController getController() { in getController() method in PhotoViewActivity
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/
DPhotoViewActivity.java49 public PhotoViewController getController() { in getController() method in PhotoViewActivity
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotActionsController.kt84 fun getController(actionExecutor: ActionExecutor): ScreenshotActionsController in getController() method
/frameworks/native/libs/vibrator/fuzzer/
Dvibrator_fuzzer.cpp115 extVibration->getController(); in LLVMFuzzerTestOneInput()
/frameworks/native/services/surfaceflinger/Scheduler/
DVsyncSchedule.h86 VsyncController& getController() { return *mController; } in getController() function
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/
DDreamOverlayModule.java113 return factory.create(view).getController(); in providesStatusBarViewController()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DEntriesProvider.java77 protected EntryController getController(String key) { in getController() method in EntriesProvider
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java49 mController = session.getController(); in NotificationHelper()

12