Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DSystemAudioAutoInitiationActionTest.java212 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
213 SystemAudioActionFromTv resultingAction = mHdmiCecLocalDeviceTv.getActions( in testReceiveSystemAudioMode_systemAudioOnAndResponseOff()
243 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testReceiveSystemAudioMode_settingOffAndResponseOn()
244 SystemAudioActionFromTv resultingAction = mHdmiCecLocalDeviceTv.getActions( in testReceiveSystemAudioMode_settingOffAndResponseOn()
274 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isEmpty(); in testReceiveSystemAudioMode_settingOffAndResponseOff()
335 assertThat(mHdmiCecLocalDeviceTv.getActions(SystemAudioActionFromTv.class)).isNotEmpty(); in testTimeout_systemAudioOn_allRetriesFail()
336 SystemAudioActionFromTv resultingAction = mHdmiCecLocalDeviceTv.getActions( in testTimeout_systemAudioOn_allRetriesFail()
H A DHdmiCecLocalDeviceAudioSystemTest.java328 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_alwaysOn()
339 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_neverOn()
350 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_useLastState_off()
361 mHdmiCecLocalDeviceAudioSystem.getActions( in systemAudioControlOnPowerOn_useLastState_on()
459 assertThat(mHdmiCecLocalDeviceAudioSystem.getActions(ArcInitiationActionFromAvr.class)) in handleRequestArcInitiate_startArcInitiationActionFromAvr()
475 assertThat(mHdmiCecLocalDeviceAudioSystem.getActions(ArcTerminationActionFromAvr.class)) in handleRequestArcTerminate_arcIsOn_startTerminationActionFromAvr()
513 assertThat(mHdmiCecLocalDeviceAudioSystem.getActions( in handleRequestArcTerminate_callbackIsPreserved()
H A DHdmiCecLocalDevicePlaybackTest.java2153 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isNotEmpty(); in handleRoutingChange_addressNotAllocated_removeActiveSourceAction()
2161 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isEmpty(); in handleRoutingChange_addressNotAllocated_removeActiveSourceAction()
2186 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isNotEmpty(); in handleSetStreamPath_addressNotAllocated_removeActiveSourceAction()
2194 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isEmpty(); in handleSetStreamPath_addressNotAllocated_removeActiveSourceAction()
2221 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isNotEmpty(); in handleActiveSource_addressNotAllocated_removeActiveSourceAction()
2229 assertThat(mHdmiCecLocalDevicePlayback.getActions(ActiveSourceAction.class)).isEmpty(); in handleActiveSource_addressNotAllocated_removeActiveSourceAction()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHotplugDetectionAction.java251 List<DeviceSelectActionFromTv> actionsFromTv = getActions(DeviceSelectActionFromTv.class); in mayCancelDeviceSelect()
258 List<DeviceSelectActionFromPlayback> actionsFromPlayback = getActions( in mayCancelDeviceSelect()
268 List<OneTouchRecordAction> actions = getActions(OneTouchRecordAction.class); in mayCancelOneTouchRecord()
H A DHdmiCecFeatureAction.java198 protected final <T extends HdmiCecFeatureAction> List<T> getActions(final Class<T> clazz) { in getActions() method in HdmiCecFeatureAction
199 return mSource.getActions(clazz); in getActions()
H A DHdmiCecLocalDeviceTv.java562 for (NewDeviceAction action : getActions(NewDeviceAction.class)) { in startNewDeviceAction()
697 = getActions(HotplugDetectionAction.class); in launchDeviceDiscovery()
704 = getActions(PowerStatusMonitorAction.class); in launchDeviceDiscovery()
927 getActions(RequestArcInitiationAction.class).get(0); in startArcAction()
937 getActions(RequestArcTerminationAction.class).get(0); in startArcAction()
988 List<VolumeControlAction> actions = getActions(VolumeControlAction.class); in changeVolume()
1151 List<OneTouchRecordAction> actions = getActions(OneTouchRecordAction.class); in handleRecordTvScreen()
1297 List<HotplugDetectionAction> hotplugActions = getActions(HotplugDetectionAction.class); in onHotplug()
H A DHdmiCecLocalDeviceSource.java75 List<DevicePowerStatusAction> actions = getActions(DevicePowerStatusAction.class); in queryDisplayStatus()
129 List<OneTouchPlayAction> actions = getActions(OneTouchPlayAction.class); in oneTouchPlay()
H A DSystemAudioAction.java71 List<RoutingControlAction> routingActions = getActions(RoutingControlAction.class); in sendSystemAudioModeRequest()
H A DHdmiCecLocalDevice.java1032 getActions(AbsoluteVolumeAudioStatusAction.class)) { in updateAvbVolume()
1055 getActions(SetAudioVolumeLevelDiscoveryAction.class); in querySetAudioVolumeLevelSupport()
1095 <T extends HdmiCecFeatureAction> List<T> getActions(final Class<T> clazz) { in getActions() method in HdmiCecLocalDevice
1320 List<SendKeyAction> action = getActions(SendKeyAction.class); in sendKeyEvent()
1359 List<SendKeyAction> action = getActions(SendKeyAction.class); in sendVolumeKeyEvent()
H A DHdmiCecLocalDeviceAudioSystem.java461 if (!getActions(ArcTerminationActionFromAvr.class).isEmpty() in handleRequestArcTermination()
462 && !getActions(ArcTerminationActionFromAvr.class).get(0).mCallbacks.isEmpty()) { in handleRequestArcTermination()
464 getActions(ArcTerminationActionFromAvr.class).get(0).mCallbacks.get(0); in handleRequestArcTermination()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotNotificationSmartActionsTest.java86 when(smartActionsProvider.getActions(any(), any(), any(), any(), any(), any())) in testExceptionHandlingInGetSmartActionsFuture()
134 verify(mSmartActionsProvider, never()).getActions(any(), any(), any(), any(), any(), any()); in testUnsupportedBitmapConfiguration()
149 verify(mSmartActionsProvider, times(1)).getActions( in testScreenshotNotificationSmartActionsProviderInvokedOnce()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotNotificationSmartActionsProvider.java78 public CompletableFuture<List<Notification.Action>> getActions(String screenshotId, in getActions() method in ScreenshotNotificationSmartActionsProvider
H A DScreenshotSmartActions.java97 smartActionsFuture = smartActionsProvider.getActions(screenshotId, screenshotUri, image, in getSmartActionsFuture()
/aosp14/frameworks/base/core/java/android/view/textclassifier/
H A DExtrasUtils.java91 return classification.getActions().get(i); in findAction()
/aosp14/frameworks/base/core/java/android/service/credentials/
H A DBeginGetCredentialResponse.java125 public @NonNull List<Action> getActions() { in getActions() method in BeginGetCredentialResponse
/aosp14/frameworks/base/core/java/android/service/autofill/
H A DCustomDescription.java126 public SparseArray<InternalOnClickAction> getActions() { in getActions() method in CustomDescription
/aosp14/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/
H A DProviderSessionMetric.java294 int numActionEntries = response.getActions().size(); in beginGetCredentialResponseCollectionCandidateEntryMetrics()
/aosp14/frameworks/base/services/credentials/java/com/android/server/credentials/
H A DProviderGetSession.java460 content.getActions(), in addToInitialRemoteResponse()
661 return response.getCredentialEntries().isEmpty() && response.getActions().isEmpty() in isEmptyResponse()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputController.java90 List<Notification.Action> actions = we.getActions(); in processForRemoteInput()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DUserControllerTest.java280 .that(getActions(mInjector.mSentIntents)).containsExactly( in testStartUser_sendsBroadcastsForSystemUserInHeadlessMode()
346 .that(getActions(mInjector.mSentIntents)).isEmpty(); in testStartPreCreatedUser_background()
359 assertEquals(expectedActions, getActions(mInjector.mSentIntents)); in startUserAssertions()
1075 private static List<String> getActions(List<Intent> intents) { in getActions() method in UserControllerTest
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java458 final int actions = node.getActions(); in createNodeForChild()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipTaskOrganizer.java723 mPipParamsChangedForwarder.notifyActionsChanged(mPictureInPictureParams.getActions(), in onTaskAppeared()
1311 || PipUtils.remoteActionsChanged(params.getActions(), in applyNewPictureInPictureParams()
1312 mPictureInPictureParams.getActions()) in applyNewPictureInPictureParams()
1315 mPipParamsChangedForwarder.notifyActionsChanged(params.getActions(), in applyNewPictureInPictureParams()

12