Home
last modified time | relevance | path

Searched refs:action2 (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetySourceIssueTest.kt59 private val action2 = Action.Builder("action_id_2", "Action label 2", pendingIntent2).build() constant
316 Notification.Builder("", "").addAction(action1).addAction(action2).build() in notification_getActions_returnsActions()
318 assertThat(notification.actions).containsExactly(action1, action2).inOrder() in notification_getActions_returnsActions()
325 Notification.Builder("", "").addAction(action1).addAction(action2).build() in notification_getActions_mutationsAreNotAllowed()
336 .addAction(action2) in notification_describeContents_returns0()
348 .addAction(action2) in notification_parcelRoundTrip_recreatesEqual()
376 notificationBuilder.addAction(action2) in notification_builder_addAction_doesNotMutatePreviouslyBuiltInstance()
394 notificationBuilder.addActions(listOf(action2)) in notification_builder_addActions_keepsPreviouslyAddedActions()
396 assertThat(notificationBuilder.build().actions).containsExactly(action1, action2).inOrder() in notification_builder_addActions_keepsPreviouslyAddedActions()
405 notificationBuilder.addActions(listOf(action2, action3)) in notification_builder_addActions_doesNotMutatePreviouslyBuiltInstance()
[all …]
DSafetyCenterIssueTest.kt59 private val action2 = constant
199 .setActions(listOf(action1, action2)) in getActions_returnsActions()
203 .containsExactly(action1, action2) in getActions_returnsActions()
205 assertThat(SafetyCenterIssue.Builder(issue1).setActions(listOf(action2)).build().actions) in getActions_returnsActions()
206 .containsExactly(action2) in getActions_returnsActions()
214 assertFailsWith(UnsupportedOperationException::class) { mutatedActions.add(action2) } in getActions_mutationsAreNotAllowed()
322 assertThat(action2.id).isEqualTo("action_id_2") in action_getId_returnsId()
328 assertThat(action2.label).isEqualTo("another action") in action_getLabel_returnsLabel()
334 assertThat(action2.pendingIntent).isEqualTo(pendingIntent2) in action_getPendingIntent_returnsPendingIntent()
340 assertThat(action2.willResolve()).isFalse() in action_willResolve_returnsWillResolve()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java178 @ActionType int action2) { in setButtonActions() argument
180 mAction2 = action2; in setButtonActions()
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/
DAppSearchLoggerTest.java841 GenericDocument action2 = in testLoggingStats_search_join() local
875 action2, in testLoggingStats_search_join()