/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetySourceStatusTest.kt | 47 private val pendingIntent1: PendingIntent = constant in android.safetycenter.cts.SafetySourceStatusTest 49 private val iconAction1 = IconAction(ICON_TYPE_INFO, pendingIntent1) 56 val iconAction = IconAction(ICON_TYPE_INFO, pendingIntent1) in iconAction_getIconType_returnsIconType() 63 val iconAction = IconAction(ICON_TYPE_GEAR, pendingIntent1) in iconAction_getPendingIntent_returnsPendingIntent() 65 assertThat(iconAction.pendingIntent).isEqualTo(pendingIntent1) in iconAction_getPendingIntent_returnsPendingIntent() 71 assertFailsWith(IllegalArgumentException::class) { IconAction(-1, pendingIntent1) } in iconAction_build_withInvalidIconType_throwsIllegalArgumentException() 84 val iconAction = IconAction(ICON_TYPE_GEAR, pendingIntent1) in iconAction_describeContents_returns0() 91 val iconAction = IconAction(ICON_TYPE_GEAR, pendingIntent1) in iconAction_parcelRoundTrip_recreatesEqual() 100 IconAction(ICON_TYPE_GEAR, pendingIntent1), in iconAction_equalsHashCodeToString_usingEqualsHashCodeToStringTester() 101 IconAction(ICON_TYPE_GEAR, pendingIntent1) in iconAction_equalsHashCodeToString_usingEqualsHashCodeToStringTester() [all …]
|
D | SafetyCenterIssueTest.kt | 43 private val pendingIntent1 = constant in android.safetycenter.cts.SafetyCenterIssueTest 54 SafetyCenterIssue.Action.Builder("action_id_1", "an action", pendingIntent1) 333 assertThat(action1.pendingIntent).isEqualTo(pendingIntent1) in action_getPendingIntent_returnsPendingIntent() 365 SafetyCenterIssue.Action.Builder("action_id", "Action label", pendingIntent1) in action_setConfirmationDialogDetails_withVersionLessThanU_throws() 376 SafetyCenterIssue.Action.Builder("action_id", "Action label", pendingIntent1).build() in action_getConfirmationDialogDetails_withDefaultBuilder_returnsNull() 385 SafetyCenterIssue.Action.Builder("action_id", "Action label", pendingIntent1) in action_getConfirmationDialogDetails_whenSetExplicitly_returnsConfirmation() 443 SafetyCenterIssue.Action.Builder("an_id", "a label", pendingIntent1) in action_equalsHashCodeToString_usingEqualsHashCodeToStringTester_atLeastAndroidU() 449 SafetyCenterIssue.Action.Builder("an_id", "a label", pendingIntent1) in action_equalsHashCodeToString_usingEqualsHashCodeToStringTester_atLeastAndroidU() 457 SafetyCenterIssue.Action.Builder("an_id", "a label", pendingIntent1) in action_equalsHashCodeToString_usingEqualsHashCodeToStringTester_atLeastAndroidU() 463 SafetyCenterIssue.Action.Builder("a_different_id", "a label", pendingIntent1) in action_equalsHashCodeToString_usingEqualsHashCodeToStringTester_atLeastAndroidU() [all …]
|
D | SafetyCenterEntryTest.kt | 37 private val pendingIntent1 = constant in android.safetycenter.cts.SafetyCenterEntryTest 50 pendingIntent1 61 .setPendingIntent(pendingIntent1) 132 .setPendingIntent(pendingIntent1) in isEnabled_defaultTrue() 144 .setPendingIntent(pendingIntent1) in getPendingIntent_returnsPendingIntent() 148 .isEqualTo(pendingIntent1) in getPendingIntent_returnsPendingIntent() 226 .setPendingIntent(pendingIntent1) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 238 .setPendingIntent(pendingIntent1) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 277 pendingIntent1 in iconAction_getType_returnsType() 285 pendingIntent1 in iconAction_getType_returnsType() [all …]
|
D | SafetySourceIssueTest.kt | 54 private val pendingIntent1: PendingIntent = constant in android.safetycenter.cts.SafetySourceIssueTest 56 private val action1 = Action.Builder("action_id_1", "Action label 1", pendingIntent1).build() 60 private val action3 = Action.Builder("action_id_3", "Action label 3", pendingIntent1).build() 66 val action = Action.Builder("action_id", "Action label", pendingIntent1).build() in action_getId_returnsId() 73 val action = Action.Builder("action_id", "Action label", pendingIntent1).build() in action_getLabel_returnsLabel() 80 val action = Action.Builder("action_id", "Action label", pendingIntent1).build() in action_willResolve_withDefaultBuilder_returnsFalse() 97 val action = Action.Builder("action_id", "Action label", pendingIntent1).build() in action_getPendingIntent_returnsPendingIntent() 99 assertThat(action.pendingIntent).isEqualTo(pendingIntent1) in action_getPendingIntent_returnsPendingIntent() 104 val action = Action.Builder("action_id", "Action label", pendingIntent1).build() in action_getSuccessMessage_withDefaultBuilder_returnsNull() 112 Action.Builder("action_id", "Action label", pendingIntent1) in action_getSuccessMessage_whenSetExplicitly_returnsSuccessMessage() [all …]
|
D | SafetyCenterStaticEntryTest.kt | 36 private val pendingIntent1 = constant 55 .setPendingIntent(pendingIntent1) 81 assertThat(staticEntry1.pendingIntent).isEqualTo(pendingIntent1) in getPendingIntent_returnsPendingIntent() 110 .setPendingIntent(pendingIntent1) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 118 .setPendingIntent(pendingIntent1) in equalsHashCodeToString_usingEqualsHashCodeToStringTester() 122 .setPendingIntent(pendingIntent1) in equalsHashCodeToString_usingEqualsHashCodeToStringTester()
|
D | SafetyCenterStaticEntryGroupTest.kt | 38 private val pendingIntent1 = constant 48 .setPendingIntent(pendingIntent1)
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SystemUiProxy.java | 960 public void startIntents(PendingIntent pendingIntent1, int userId1, in startIntents() argument 967 mSplitScreen.startIntents(pendingIntent1, userId1, shortcutInfo1, options1, in startIntents() 1043 public void startIntentsWithLegacyTransition(PendingIntent pendingIntent1, int userId1, in startIntentsWithLegacyTransition() argument 1051 mSplitScreen.startIntentsWithLegacyTransition(pendingIntent1, userId1, in startIntentsWithLegacyTransition()
|