Searched refs:action2 (Results 1 – 3 of 3) sorted by relevance
51 private val action2 = constant in android.safetycenter.cts.SafetyCenterIssueTest157 .setActions(listOf(action1, action2)) in getActions_returnsActions()160 .containsExactly(action1, action2) in getActions_returnsActions()162 assertThat(SafetyCenterIssue.Builder(issue1).setActions(listOf(action2)).build().actions) in getActions_returnsActions()163 .containsExactly(action2) in getActions_returnsActions()171 assertFailsWith(UnsupportedOperationException::class) { mutatedActions.add(action2) } in getActions_mutationsAreNotAllowed()228 .addEqualityGroup(SafetyCenterIssue.Builder(issue1).setActions(listOf(action2)).build()) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()235 assertThat(action2.id).isEqualTo("action_id_2") in action_getId_returnsId()241 assertThat(action2.label).isEqualTo("another action") in action_getLabel_returnsLabel()247 assertThat(action2.pendingIntent).isEqualTo(pendingIntent2) in action_getPendingIntent_returnsPendingIntent()[all …]
54 private val action2 = Action.Builder("action_id_2", "Action label 2", pendingIntent2).build() constant in android.safetycenter.cts.SafetySourceIssueTest317 .addAction(action2) in getActions_returnsActions()320 assertThat(safetySourceIssue.actions).containsExactly(action1, action2).inOrder() in getActions_returnsActions()333 .addAction(action2) in clearActions_removesAllActions()529 .addAction(action2) in build_withMoreThanTwoActions_throwsIllegalArgumentException()551 .addAction(action2) in describeContents_returns0()570 .addAction(action2) in parcelRoundTrip_recreatesEqual()590 .addAction(action2) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()602 .addAction(action2) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()666 .addAction(action2) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()[all …]
196 @ActionType int action2) { in setButtonActions() argument198 mAction2 = action2; in setButtonActions()