/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | SystemAudioAutoInitiationActionTest.java | 219 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()
|
D | HdmiCecLocalDeviceAudioSystemTest.java | 335 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()
|
D | HdmiCecLocalDevicePlaybackTest.java | 1892 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/ |
D | ClipboardOverlayUtilsTest.java | 93 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/ |
D | ClipboardOverlayUtils.java | 72 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/ |
D | TextClassificationTest.java | 116 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/ |
D | ScreenshotNotificationSmartActionsTest.java | 80 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/ |
D | HotplugDetectionAction.java | 259 List<DeviceSelectActionFromTv> actionsFromTv = getActions(DeviceSelectActionFromTv.class); in mayCancelDeviceSelect() 266 List<DeviceSelectActionFromPlayback> actionsFromPlayback = getActions( in mayCancelDeviceSelect() 276 List<OneTouchRecordAction> actions = getActions(OneTouchRecordAction.class); in mayCancelOneTouchRecord()
|
D | HdmiCecFeatureAction.java | 203 protected final <T extends HdmiCecFeatureAction> List<T> getActions(final Class<T> clazz) { in getActions() method in HdmiCecFeatureAction 204 return mSource.getActions(clazz); in getActions()
|
D | HdmiCecLocalDeviceTv.java | 610 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()
|
D | HdmiCecLocalDevice.java | 1047 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()
|
D | SystemAudioAction.java | 74 List<RoutingControlAction> routingActions = getActions(RoutingControlAction.class); in sendSystemAudioModeRequest()
|
D | HdmiCecLocalDeviceSource.java | 75 List<DevicePowerStatusAction> actions = getActions(DevicePowerStatusAction.class); in queryDisplayStatus() 130 List<OneTouchPlayAction> actions = getActions(OneTouchPlayAction.class); in oneTouchPlay()
|
D | HdmiCecLocalDeviceAudioSystem.java | 476 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/ |
D | ScreenshotNotificationSmartActionsProvider.java | 78 public CompletableFuture<List<Notification.Action>> getActions(String screenshotId, in getActions() method in ScreenshotNotificationSmartActionsProvider
|
D | ScreenshotSmartActions.java | 97 smartActionsFuture = smartActionsProvider.getActions(screenshotId, screenshotUri, image, in getSmartActionsFuture()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ExtrasUtils.java | 91 return classification.getActions().get(i); in findAction()
|
/frameworks/base/core/java/android/service/credentials/ |
D | BeginGetCredentialResponse.java | 125 public @NonNull List<Action> getActions() { in getActions() method in BeginGetCredentialResponse
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/ |
D | ProviderSessionMetric.java | 294 int numActionEntries = response.getActions().size(); in beginGetCredentialResponseCollectionCandidateEntryMetrics()
|
/frameworks/base/core/java/android/service/autofill/ |
D | CustomDescription.java | 126 public SparseArray<InternalOnClickAction> getActions() { in getActions() method in CustomDescription
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | ProviderGetSession.java | 510 content.getActions(), in addToInitialRemoteResponse() 711 return response.getCredentialEntries().isEmpty() && response.getActions().isEmpty() in isEmptyResponse()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 458 final int actions = node.getActions(); in createNodeForChild()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 634 RemoteControlClient.getRccControlFlagsFromActions(state.getActions())); in onNewPlaybackState()
|
/frameworks/base/media/java/android/media/session/ |
D | PlaybackState.java | 465 public long getActions() { in getActions() method in PlaybackState
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizer.java | 822 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()
|