/packages/modules/Permission/tests/cts/permissionui/CreateNotificationChannelsApp31/src/android/permissionui/cts/usepermission/ |
D | CreateNotificationChannelsActivity.kt | 78 val intent2 = Intent(SECONDARY_APP_INTENT) in handleIntent() constant 79 intent2.`package` = SECONDARY_APP_PKG in handleIntent() 80 intent2.addCategory(Intent.CATEGORY_DEFAULT) in handleIntent() 82 startActivity(intent2) in handleIntent() 118 val intent2 = Intent(Intent.ACTION_MAIN) in launchSecondActivity() constant 119 intent2.`package` = packageName in launchSecondActivity() 120 intent2.addCategory(Intent.CATEGORY_DEFAULT) in launchSecondActivity() 121 intent2.putExtra(EXTRA_CREATE_CHANNELS, true) in launchSecondActivity() 122 startActivity(intent2) in launchSecondActivity()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ |
D | TestUtils.java | 109 public static boolean intentEquals(Intent intent1, Intent intent2) { in intentEquals() argument 111 if (intent1 == null && intent2 == null) { in intentEquals() 115 if (intent1 == null || intent2 == null) { in intentEquals() 118 return intent1.filterEquals(intent2) && bundleEquals(intent1.getExtras(), in intentEquals() 119 intent2.getExtras()); in intentEquals() 214 public static void assertIntentsEqual(Intent intent1, Intent intent2) { in assertIntentsEqual() argument 217 .isEqualTo(intent2.getAction()); in assertIntentsEqual() 220 .isEqualTo(intent2.getPackage()); in assertIntentsEqual() 221 assertBundlesEqual(intent1.getExtras(), intent2.getExtras()); in assertIntentsEqual()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | StopwatchNotificationBuilder.kt | 97 val intent2: PendingIntent = Utils.pendingServiceIntent(context, lap) in build() constant 98 actions.add(Action.Builder(icon2, title2, intent2).build()) in build() 129 val intent2: PendingIntent = Utils.pendingServiceIntent(context, reset) in build() constant 130 actions.add(Action.Builder(icon2, title2, intent2).build()) in build()
|
D | TimerNotificationBuilder.kt | 114 val intent2: PendingIntent = Utils.pendingServiceIntent(context, addMinute) in build() constant 115 actions.add(Action.Builder(icon2, title2, intent2).build()) in build() 137 val intent2: PendingIntent = Utils.pendingServiceIntent(context, reset) in build() constant 138 actions.add(Action.Builder(icon2, title2, intent2).build()) in build() 256 val intent2: PendingIntent = Utils.pendingServiceIntent(context, addTime) in buildHeadsUp() constant 259 actions.add(Action.Builder(icon2, title2, intent2).build()) in buildHeadsUp()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/robotests/src/com/android/car/carlauncher/datasources/ |
D | LauncherActivitiesDataSourceImplTest.kt | 101 val intent2: Intent = mock { in <lambda>() constant 104 broadcastReceiverCallback?.onReceive(mock(), intent2) in <lambda>()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/ |
D | ResolverRequestTest.kt | 88 val intent2 = Intent(Intent.ACTION_SEND_MULTIPLE) in createActivityModel() constant 91 putParcelableArrayListExtra(Intent.EXTRA_ALTERNATE_INTENTS, arrayListOf(intent2)) in createActivityModel()
|
D | ChooserRequestTest.kt | 128 val intent2 = Intent(ACTION_SEND_MULTIPLE) in payloadIntents_includesTargetThenAdditional() constant 129 val model = createActivityModel(targetIntent = intent1, additionalIntents = listOf(intent2)) in payloadIntents_includesTargetThenAdditional() 136 assertThat(result.value.payloadIntents).containsExactly(intent1, intent2) in payloadIntents_includesTargetThenAdditional()
|
/packages/services/Car/service/src/com/android/car/am/ |
D | FixedActivityService.java | 709 private static boolean intentEquals(Intent intent1, Intent intent2) { in intentEquals() argument 711 if (intent1 == null && intent2 == null) { in intentEquals() 715 if (intent1 == null || intent2 == null) { in intentEquals() 718 return intent1.getComponent().equals(intent2.getComponent()) in intentEquals() 719 && bundleEquals(intent1.getExtras(), intent2.getExtras()); in intentEquals()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/user/ |
D | UserMonitorTest.kt | 553 val intent2 = Intent() in <lambda>() constant 554 intent2.setAction(Intent.ACTION_PROFILE_INACCESSIBLE) in <lambda>() 555 intent2.putExtra(Intent.EXTRA_USER, USER_HANDLE_MANAGED) in <lambda>() 556 receiver.onReceive(mockContext, intent2) in <lambda>()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertDialogTest.java | 650 Intent intent2 = createActivityIntent(); in testNewMessageListCount() local 651 intent2.putExtra(CellBroadcastAlertService.DISMISS_DIALOG, false); in testNewMessageListCount() 652 intent2.putExtra(CellBroadcastAlertDialog.DISMISS_NOTIFICATION_EXTRA, true); in testNewMessageListCount() 654 activity.onNewIntent(intent2); in testNewMessageListCount()
|
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterNotificationTest.kt | 311 val intent2 = safetySourceTestData.createTestActivityRedirectPendingIntent(identifier = "2") in setSafetySourceData_issueWithTwoActions_notificationWithTwoActions() constant 324 SafetySourceIssue.Action.Builder("action2", "Action 2", intent2).build() in setSafetySourceData_issueWithTwoActions_notificationWithTwoActions() 382 val intent2 = safetySourceTestData.createTestActivityRedirectPendingIntent(identifier = "2") in setSafetySourceData_withCustomNotification_usesCustomValues() constant 390 SafetySourceIssue.Action.Builder("action2", "Custom action 2", intent2).build() in setSafetySourceData_withCustomNotification_usesCustomValues()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SplitAnimationController.kt | 628 val intent2 = launchingIconView.info.getSecondApp().intent.component?.packageName in <lambda>() constant 643 } else if (baseIntent == intent2) { in <lambda>()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiDialogManagerTest.java | 1049 Intent intent2 = verifyStartActivityAsUser(2, mWifiContext); in testP2pInvitationReceivedDialog_multipleDialogs_responseMatchedToCorrectCallback() local 1050 int dialogId2 = verifyP2pInvitationReceivedDialogLaunchIntent(intent2, in testP2pInvitationReceivedDialog_multipleDialogs_responseMatchedToCorrectCallback()
|