Searched refs:action1 (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetySourceIssueTest.kt | 56 private val action1 = Action.Builder("action_id_1", "Action label 1", pendingIntent1).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() 335 .addAction(action1) in notification_describeContents_returns0() 347 .addAction(action1) in notification_parcelRoundTrip_recreatesEqual() 373 val notificationBuilder = Notification.Builder("", "").addAction(action1) in notification_builder_addAction_doesNotMutatePreviouslyBuiltInstance() 378 assertThat(actions).containsExactly(action1) in notification_builder_addAction_doesNotMutatePreviouslyBuiltInstance() 392 val notificationBuilder = Notification.Builder("", "").addAction(action1) in notification_builder_addActions_keepsPreviouslyAddedActions() 396 assertThat(notificationBuilder.build().actions).containsExactly(action1, action2).inOrder() in notification_builder_addActions_keepsPreviouslyAddedActions() [all …]
|
D | SafetyCenterIssueTest.kt | 53 private val action1 = constant in android.safetycenter.cts.SafetyCenterIssueTest 71 .setActions(listOf(action1)) 199 .setActions(listOf(action1, action2)) in getActions_returnsActions() 203 .containsExactly(action1, action2) in getActions_returnsActions() 294 SafetyCenterIssue.Action.Builder(action1) in parcelRoundTrip_recreatesEqual_atLeastAndroidU() 321 assertThat(action1.id).isEqualTo("action_id_1") in action_getId_returnsId() 327 assertThat(action1.label).isEqualTo("an action") in action_getLabel_returnsLabel() 333 assertThat(action1.pendingIntent).isEqualTo(pendingIntent1) in action_getPendingIntent_returnsPendingIntent() 339 assertThat(action1.willResolve()).isTrue() in action_willResolve_returnsWillResolve() 345 assertThat(action1.isInFlight).isTrue() in action_isInFlight_returnsIsInFlight() [all …]
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | EntityHeaderController.java | 177 public EntityHeaderController setButtonActions(@ActionType int action1, in setButtonActions() argument 179 mAction1 = action1; in setButtonActions()
|
/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchLoggerTest.java | 837 GenericDocument action1 = in testLoggingStats_search_join() local 869 action1, in testLoggingStats_search_join()
|