Home
last modified time | relevance | path

Searched refs:getActions (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DSystemAudioAutoInitiationActionTest.java219 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
220 SystemAudioActionFromTv resultingAction = mHdmiCecLocalDeviceTv.getActions( in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
250 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testReceiveSystemAudioMode_settingOffAndResponseOn()
251 SystemAudioActionFromTv resultingAction = mHdmiCecLocalDeviceTv.getActions( in testReceiveSystemAudioMode_settingOffAndResponseOn()
281 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isEmpty(); in testReceiveSystemAudioMode_settingOffAndResponseOff()
342 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testTimeout_systemAudioOn_allRetriesFail()
343 SystemAudioActionFromTv resultingAction = mHdmiCecLocalDeviceTv.getActions( in testTimeout_systemAudioOn_allRetriesFail()
DHdmiCecLocalDeviceAudioSystemTest.java335 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_alwaysOn()
346 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_neverOn()
357 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_useLastState_off()
368 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_useLastState_on()
381 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_singleActionStarted()
392 mHdmiCecLocalDeviceAudioSystem.getActions( in onSystemAudioControlFeatureSupportChanged_singleActionStarted()
493 assertThat(mHdmiCecLocalDeviceAudioSystem.getActions(ArcInitiationActionFromAvr.class)) in handleRequestArcInitiate_startArcInitiationActionFromAvr()
509 assertThat(mHdmiCecLocalDeviceAudioSystem.getActions(ArcTerminationActionFromAvr.class)) in handleRequestArcTerminate_arcIsOn_startTerminationActionFromAvr()
547 assertThat(mHdmiCecLocalDeviceAudioSystem.getActions( in handleRequestArcTerminate_callbackIsPreserved()
DHdmiCecLocalDevicePlaybackTest.java1892 assertThat(mHdmiCecLocalDevicePlayback.getActions(DeviceDiscoveryAction.class)).hasSize(1); in wakeUp_hotPlugIn_invokesDeviceDiscoveryOnce()
2479 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isNotEmpty(); in handleRoutingChange_addressNotAllocated_removeActiveSourceAction()
2487 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isEmpty(); in handleRoutingChange_addressNotAllocated_removeActiveSourceAction()
2512 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isNotEmpty(); in handleSetStreamPath_addressNotAllocated_removeActiveSourceAction()
2520 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isEmpty(); in handleSetStreamPath_addressNotAllocated_removeActiveSourceAction()
2547 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isNotEmpty(); in handleActiveSource_addressNotAllocated_removeActiveSourceAction()
2555 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isEmpty(); in handleActiveSource_addressNotAllocated_removeActiveSourceAction()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayUtilsTest.java93 when(classificationA.getActions()).thenReturn(Lists.newArrayList(actionA)); in test_getAction_returnsFirstLink()
95 when(classificationB.getActions()).thenReturn(Lists.newArrayList(actionB)); in test_getAction_returnsFirstLink()
110 when(classificationA.getActions()).thenReturn(Lists.newArrayList(actionA)); in test_getAction_skipsMatchingComponent()
112 when(classificationB.getActions()).thenReturn(Lists.newArrayList(actionB)); in test_getAction_skipsMatchingComponent()
132 when(classificationA.getActions()).thenReturn(Lists.newArrayList(actionA)); in test_getAction_skipsShortEntity()
134 when(classificationB.getActions()).thenReturn(Lists.newArrayList(actionB)); in test_getAction_skipsShortEntity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayUtils.java72 return getActions(textLinks).stream().filter(remoteAction -> { in getAction()
78 private ArrayList<RemoteAction> getActions(TextLinks textLinks) { in getActions() method
86 actions.addAll(classification.getActions()); in getActions()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java116 assertEquals(2, result.getActions().size()); in testParcel()
119 final RemoteAction primaryAction = result.getActions().get(0); in testParcel()
125 final RemoteAction secondaryAction = result.getActions().get(1); in testParcel()
262 assertEquals(classification.getActions(), fromBuilder.getActions()); in testToBuilder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsTest.java80 when(smartActionsProvider.getActions(any(), any(), any(), any(), any(), any())) in testExceptionHandlingInGetSmartActionsFuture()
128 verify(mSmartActionsProvider, never()).getActions(any(), any(), any(), any(), any(), any()); in testUnsupportedBitmapConfiguration()
143 verify(mSmartActionsProvider, times(1)).getActions( in testScreenshotNotificationSmartActionsProviderInvokedOnce()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHotplugDetectionAction.java259 List<DeviceSelectActionFromTv> actionsFromTv = getActions(DeviceSelectActionFromTv.class); in mayCancelDeviceSelect()
266 List<DeviceSelectActionFromPlayback> actionsFromPlayback = getActions( in mayCancelDeviceSelect()
276 List<OneTouchRecordAction> actions = getActions(OneTouchRecordAction.class); in mayCancelOneTouchRecord()
DHdmiCecFeatureAction.java203 protected final <T extends HdmiCecFeatureAction> List<T> getActions(final Class<T> clazz) { in getActions() method in HdmiCecFeatureAction
204 return mSource.getActions(clazz); in getActions()
DHdmiCecLocalDeviceTv.java610 for (NewDeviceAction action : getActions(NewDeviceAction.class)) { in startNewDeviceAction()
745 = getActions(HotplugDetectionAction.class); in launchDeviceDiscovery()
752 = getActions(PowerStatusMonitorAction.class); in launchDeviceDiscovery()
975 getActions(RequestArcInitiationAction.class).get(0); in startArcAction()
985 getActions(RequestArcTerminationAction.class).get(0); in startArcAction()
1036 List<VolumeControlAction> actions = getActions(VolumeControlAction.class); in changeVolume()
1199 List<OneTouchRecordAction> actions = getActions(OneTouchRecordAction.class); in handleRecordTvScreen()
1347 List<HotplugDetectionAction> hotplugActions = getActions(HotplugDetectionAction.class); in onHotplug()
DHdmiCecLocalDevice.java1047 getActions(AbsoluteVolumeAudioStatusAction.class)) { in updateAvbVolume()
1060 getActions(AbsoluteVolumeAudioStatusAction.class)) { in requestAndUpdateAvbAudioStatus()
1083 getActions(SetAudioVolumeLevelDiscoveryAction.class); in querySetAudioVolumeLevelSupport()
1124 <T extends HdmiCecFeatureAction> List<T> getActions(final Class<T> clazz) { in getActions() method in HdmiCecLocalDevice
1365 List<SendKeyAction> action = getActions(SendKeyAction.class); in sendKeyEvent()
1404 List<SendKeyAction> action = getActions(SendKeyAction.class); in sendVolumeKeyEvent()
DSystemAudioAction.java74 List<RoutingControlAction> routingActions = getActions(RoutingControlAction.class); in sendSystemAudioModeRequest()
DHdmiCecLocalDeviceSource.java75 List<DevicePowerStatusAction> actions = getActions(DevicePowerStatusAction.class); in queryDisplayStatus()
130 List<OneTouchPlayAction> actions = getActions(OneTouchPlayAction.class); in oneTouchPlay()
DHdmiCecLocalDeviceAudioSystem.java476 if (!getActions(ArcTerminationActionFromAvr.class).isEmpty() in handleRequestArcTermination()
477 && !getActions(ArcTerminationActionFromAvr.class).get(0).mCallbacks.isEmpty()) { in handleRequestArcTermination()
479 getActions(ArcTerminationActionFromAvr.class).get(0).mCallbacks.get(0); in handleRequestArcTermination()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsProvider.java78 public CompletableFuture<List<Notification.Action>> getActions(String screenshotId, in getActions() method in ScreenshotNotificationSmartActionsProvider
DScreenshotSmartActions.java97 smartActionsFuture = smartActionsProvider.getActions(screenshotId, screenshotUri, image, in getSmartActionsFuture()
/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java91 return classification.getActions().get(i); in findAction()
/frameworks/base/core/java/android/service/credentials/
DBeginGetCredentialResponse.java125 public @NonNull List<Action> getActions() { in getActions() method in BeginGetCredentialResponse
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/
DProviderSessionMetric.java294 int numActionEntries = response.getActions().size(); in beginGetCredentialResponseCollectionCandidateEntryMetrics()
/frameworks/base/core/java/android/service/autofill/
DCustomDescription.java126 public SparseArray<InternalOnClickAction> getActions() { in getActions() method in CustomDescription
/frameworks/base/services/credentials/java/com/android/server/credentials/
DProviderGetSession.java510 content.getActions(), in addToInitialRemoteResponse()
711 return response.getCredentialEntries().isEmpty() && response.getActions().isEmpty() in isEmptyResponse()
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java458 final int actions = node.getActions(); in createNodeForChild()
/frameworks/base/media/java/android/media/
DRemoteController.java634 RemoteControlClient.getRccControlFlagsFromActions(state.getActions())); in onNewPlaybackState()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java465 public long getActions() { in getActions() method in PlaybackState
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java822 mPipParamsChangedForwarder.notifyActionsChanged(mPictureInPictureParams.getActions(), in onTaskAppeared()
1408 if (PipUtils.remoteActionsChanged(params.getActions(), in applyNewPictureInPictureParams()
1409 mPictureInPictureParams.getActions()) in applyNewPictureInPictureParams()
1412 mPipParamsChangedForwarder.notifyActionsChanged(params.getActions(), in applyNewPictureInPictureParams()

12