Home
last modified time | relevance | path

Searched refs:intent2 (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DQSSettingsRestoredRepository.kt140 private fun processIntents(user: Int, intent1: Intent, intent2: Intent): RestoreData { in processIntents()
142 intent2.validateIntent() in processIntents()
144 val setting2 = intent2.getStringExtra(Intent.EXTRA_SETTING_NAME) in processIntents()
147 intent1 to intent2 in processIntents()
149 intent2 to intent1 in processIntents()
151 throw IllegalStateException("Wrong intents ($intent1, $intent2)") in processIntents()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DAutoShowTest.java177 Intent intent2 = in autoShow_forwardWithKeyboardOff() local
182 TestActivity secondActivity = firstActivity.startSecondTestActivity(intent2); in autoShow_forwardWithKeyboardOff()
208 Intent intent2 = in autoShow_forwardWithKeyboardOn() local
213 TestActivity secondActivity = firstActivity.startSecondTestActivity(intent2); in autoShow_forwardWithKeyboardOn()
231 Intent intent2 = in autoShow_backwardWithKeyboardOff() local
237 TestActivity secondActivity = firstActivity.startSecondTestActivity(intent2); in autoShow_backwardWithKeyboardOff()
259 Intent intent2 = in autoShow_backwardWithKeyboardOn() local
265 ImeStressTestUtil.TestActivity secondActivity = activity.startSecondTestActivity(intent2); in autoShow_backwardWithKeyboardOn()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastRecordTest.java500 final Intent intent2 = new Intent(Intent.ACTION_SERVICE_STATE); in testMatchesDeliveryGroup() local
501 intent2.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, 0); in testMatchesDeliveryGroup()
502 intent2.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, 2); in testMatchesDeliveryGroup()
505 intent2, options2); in testMatchesDeliveryGroup()
522 final Intent intent2 = new Intent(Intent.ACTION_SERVICE_STATE); in testMatchesDeliveryGroup_withMatchingKey() local
523 intent2.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, 0); in testMatchesDeliveryGroup_withMatchingKey()
524 intent2.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, 2); in testMatchesDeliveryGroup_withMatchingKey()
528 intent2, options2); in testMatchesDeliveryGroup_withMatchingKey()
567 final Intent intent2 = new Intent(Intent.ACTION_SERVICE_STATE); in testMatchesDeliveryGroup_withMatchingFilter() local
568 intent2.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, 0); in testMatchesDeliveryGroup_withMatchingFilter()
[all …]
DActivityManagerServiceTest.java920 final Intent intent2 = new Intent(TEST_ACTION2) in testBroadcastStickyIntent() local
932 broadcastIntent(intent2, options.toBundle(), true); in testBroadcastStickyIntent()
937 StickyBroadcast.create(intent2, true, Process.myUid(), PROCESS_STATE_UNKNOWN, in testBroadcastStickyIntent()
946 StickyBroadcast.create(intent2, true, Process.myUid(), PROCESS_STATE_UNKNOWN, in testBroadcastStickyIntent()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTestUtils.java87 Intent intent2 = new Intent("action2"); in referrerIntentList() local
88 ReferrerIntent referrerIntent2 = new ReferrerIntent(intent2, "referrer2"); in referrerIntentList()
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/
DProviderRegistryGetSessionTest.java189 Intent intent2 = providerData.getCredentialEntries().get(0).getFrameworkExtrasIntent(); in testPrepareUiData_invokeCalledSuccessfully_returnsCorrectData() local
190 GetCredentialRequest getRequest2 = intent2.getParcelableExtra(CredentialProviderService in testPrepareUiData_invokeCalledSuccessfully_returnsCorrectData()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp671 uint8_t intent2 = ANDROID_CONTROL_CAPTURE_INTENT_VIDEO_RECORD; in TEST_F() local
673 EXPECT_EQ(OK, physicalDeviceSettings2.update(ANDROID_CONTROL_CAPTURE_INTENT, &intent2, 1)); in TEST_F()
715 EXPECT_EQ(entry.data.u8[0], intent2); in TEST_F()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java644 final Intent intent2 = new Intent(ACTION_RECEIVER_TEST); in testKillAppIfBgRestrictedCachedIdle() local
653 intent2.putExtras(extras); in testKillAppIfBgRestrictedCachedIdle()
654 intent2.setPackage(TEST_APP1); in testKillAppIfBgRestrictedCachedIdle()
656 mContext.sendBroadcast(intent2); in testKillAppIfBgRestrictedCachedIdle()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/
DUserTrackerImplTest.kt318 val intent2 = Intent(Intent.ACTION_MANAGED_PROFILE_REMOVED) in <lambda>() constant
320 tracker.onReceive(context, intent2) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt638 val intent2 = serviceStateIntent(subId = 1, emergencyOnly = true) in <lambda>() constant
641 intent2, in <lambda>()
812 val intent2 = in <lambda>() constant
815 fakeBroadcastDispatcher.sendIntentToMatchingReceiversOnly(context, intent2) in <lambda>()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java249 PendingIntent intent2 = PendingIntent.getActivity( in allPendingIntents_recollectedAfterReusingBuilder() local
260 builder.setContentIntent(intent2); in allPendingIntents_recollectedAfterReusingBuilder()
264 assertTrue(n2.allPendingIntents.contains(intent2)); in allPendingIntents_recollectedAfterReusingBuilder()
1568 PendingIntent intent2 = PendingIntent.getActivity( in testActionsDifferentIntent() local
1576 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent2).build()) in testActionsDifferentIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DPhoneSwitcherTest.java1734 final Intent intent2 = new Intent(ACTION_SIM_APPLICATION_STATE_CHANGED); in testRetry_DDS_switch_Failure() local
1735 intent2.putExtra(EXTRA_SIM_STATE, SIM_STATE_LOADED); in testRetry_DDS_switch_Failure()
1736 intent2.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, 0); in testRetry_DDS_switch_Failure()
1737 mContext.sendBroadcast(intent2); in testRetry_DDS_switch_Failure()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java2030 final Intent intent2 = in testGetMergedCarrierEntry_subscriptionIdChanges_entryChanges() local
2032 intent2.putExtra("subscription", subId2); in testGetMergedCarrierEntry_subscriptionIdChanges_entryChanges()
2033 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, intent2); in testGetMergedCarrierEntry_subscriptionIdChanges_entryChanges()