Home
last modified time | relevance | path

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

12

/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetySourceIssues.java46 action = findAction(issue.getCustomNotification().getActions(), actionId); in findAction()
49 action = findAction(issue.getActions(), actionId); in findAction()
77 && matchesFirst(issue.getCustomNotification().getActions(), actionId); in isPrimaryAction()
78 boolean isPrimaryIssueAction = matchesFirst(issue.getActions(), actionId); in isPrimaryAction()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
DVoicemailErrorAlert.java127 Assert.checkArgument(message.getActions().size() == 2); in getTosView()
128 Action primaryAction = message.getActions().get(0); in getTosView()
132 Action secondaryAction = message.getActions().get(1); in getTosView()
156 if (message.getActions() != null && i < message.getActions().size()) { in bindActions()
157 VoicemailErrorMessage.Action action = message.getActions().get(i); in bindActions()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesDeletionFragment.java169 for (GuidedAction guidedAction : getActions()) { in onGuidedActionClicked()
183 for (GuidedAction guidedAction : getActions()) { in onGuidedActionClicked()
222 for (GuidedAction guidedAction : getActions()) {
282 for (GuidedAction guidedAction : getActions()) {
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayerTest.java75 assertThat(avrcpPlayer.getPlaybackState().getActions()) in buildAvrcpPlayer()
120 assertThat(avrcpPlayer.getPlaybackState().getActions()).isEqualTo(expectedActions); in setSupportedPlayerApplicationSettings()
157 assertThat(avrcpPlayer.getPlaybackState().getActions()).isEqualTo(expectedActions); in updateAvailableActions()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DFastAdvertisement.java66 List<Integer> actions = request.getActions(); in createFromRequest()
159 getActions(), in toString()
DAdvertisement.java71 public List<Integer> getActions() { in getActions() method in Advertisement
/packages/apps/Dialer/java/com/android/bubble/
DBubbleInfo.java45 public abstract List<Action> getActions(); in getActions() method in BubbleInfo
56 .setActions(bubbleInfo.getActions()) in from()
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DPresenceBroadcastRequestTest.java86 assertThat(broadcastRequest.getActions()).containsExactly(ACTION_ID); in testBuilder()
108 assertThat(parcelRequest.getActions()).containsExactly(ACTION_ID); in testWriteParcel()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAdapter.java398 voicemailErrorMessage.getActions().size() <= 2, in onBindAlertViewHolder()
399 "Too many actions: " + voicemailErrorMessage.getActions().size()); in onBindAlertViewHolder()
404 if (!voicemailErrorMessage.getActions().isEmpty()) { in onBindAlertViewHolder()
405 alertViewHolder.setPrimaryButton(voicemailErrorMessage.getActions().get(0)); in onBindAlertViewHolder()
407 if (voicemailErrorMessage.getActions().size() > 1) { in onBindAlertViewHolder()
408 alertViewHolder.setSecondaryButton(voicemailErrorMessage.getActions().get(1)); in onBindAlertViewHolder()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DDefaultActionOverrideFix.java134 List<SafetySourceIssue.Action> actions = issue.getActions(); in maybeOverrideActionsWithDefaultIntent()
162 List<SafetySourceIssue.Action> actions = notification.getActions(); in maybeOverrideNotification()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DIpSettingsState.java138 for (int i = 0; i < getActions().size(); i++) { in moveToPosition()
139 if (TextUtils.equals(getActions().get(i).getTitle(), title)) { in moveToPosition()
DProxySettingsState.java150 for (int i = 0; i < getActions().size(); i++) { in moveToPosition()
151 if (TextUtils.equals(getActions().get(i).getTitle(), title)) { in moveToPosition()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DIssueCardPreference.java178 for (int i = 0; i < mIssue.getActions().size(); i++) { in configureButtonList()
179 SafetyCenterIssue.Action action = mIssue.getActions().get(i); in configureButtonList()
183 .setActionButtonListSize(mIssue.getActions().size()) in configureButtonList()
227 for (SafetyCenterIssue.Action action : mIssue.getActions()) { in maybeStartResolutionAnimation()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DRadioActuator.java131 if ((state.getActions() & PlaybackStateCompat.ACTION_STOP) == 0) { in stopTuning()
133 + LogUtils.playbackActionToString(state.getActions())); in stopTuning()
DMediaActuator.java288 if (state == null || ((state.getActions() & action) == 0)) { in executePlaybackAction()
291 LogUtils.playbackActionToString(state != null ? state.getActions() : 0))); in executePlaybackAction()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/
DExtendedAdvertisementTest.java175 assertThat(originalAdvertisement.getActions()) in test_createFromRequest()
210 assertThat(newAdvertisement.getActions()) in test_createFromRequest_encodeAndDecode()
263 assertThat(adv.getActions()) in test_fromBytesSalt()
DFastAdvertisementTest.java70 assertThat(originalAdvertisement.getActions()).containsExactly(PRESENCE_ACTION); in testFastAdvertisementCreateFromRequest()
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/
DSafetyCenterNotificationFactory.java139 List<SafetySourceIssue.Action> issueActions = issue.getActions(); in newNotificationForIssue()
146 issueActions = customNotification.getActions(); in newNotificationForIssue()
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DAssistant.java183 suggestions.getActions().size(), in onNotificationEnqueued()
189 new ArrayList<>(suggestions.getActions()), in onNotificationEnqueued()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DNewSearchFragment.java156 adapter.setSearchActions(getActions()); in onCreateView()
276 adapter.setSearchActions(getActions()); in setQuery()
497 private List<Integer> getActions() { in getActions() method in NewSearchFragment
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerUtils.java75 sb.append(", actions=").append(playbackState.getActions()); in playbackStateCompatToString()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/managers/
DMergedDiscoveryRequest.java79 public ImmutableSet<Integer> getActions() { in getActions() method in MergedDiscoveryRequest
/packages/apps/Dialer/java/com/android/dialer/performancereport/
DPerformanceReport.java137 public static List<UiAction.Type> getActions() { in getActions() method in PerformanceReport
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/
DMergedDiscoveryRequestTest.java62 assertThat(request.getActions()).isEqualTo(new ArraySet<>(new Integer[]{1, 2, 3, 4, 5})); in test_addActions()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DPresenceBroadcastRequest.java98 public List<Integer> getActions() { in getActions() method in PresenceBroadcastRequest

12