Home
last modified time | relevance | path

Searched refs:intent1 (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DAutoShowTest.java168 Intent intent1 = in autoShow_forwardWithKeyboardOff() local
174 TestActivity firstActivity = TestActivity.start(intent1); in autoShow_forwardWithKeyboardOff()
195 Intent intent1 = in autoShow_forwardWithKeyboardOn() local
201 TestActivity firstActivity = TestActivity.start(intent1); in autoShow_forwardWithKeyboardOn()
226 Intent intent1 = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in autoShow_backwardWithKeyboardOff() local
227 TestActivity firstActivity = TestActivity.start(intent1); in autoShow_backwardWithKeyboardOff()
253 Intent intent1 = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in autoShow_backwardWithKeyboardOn() local
254 TestActivity activity = TestActivity.start(intent1); in autoShow_backwardWithKeyboardOn()
308 Intent intent1 = createIntent(mWindowFocusFlags, mSoftInputFlags, Collections.emptyList()); in clickFocusableView_notRequestFocus() local
309 TestActivity activity = TestActivity.start(intent1); in clickFocusableView_notRequestFocus()
DImeOpenCloseStressTest.java442 Intent intent1 = in testScreenOffOn() local
447 TestActivity activity = TestActivity.start(intent1); in testScreenOffOn()
/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()
141 intent1.validateIntent() in processIntents()
143 val setting1 = intent1.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/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastRecordTest.java493 final Intent intent1 = new Intent(Intent.ACTION_SERVICE_STATE); in testMatchesDeliveryGroup() local
494 intent1.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, 0); in testMatchesDeliveryGroup()
495 intent1.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, 1); in testMatchesDeliveryGroup()
498 intent1, options1); in testMatchesDeliveryGroup()
514 final Intent intent1 = new Intent(Intent.ACTION_SERVICE_STATE); in testMatchesDeliveryGroup_withMatchingKey() local
515 intent1.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, 0); in testMatchesDeliveryGroup_withMatchingKey()
516 intent1.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, 1); in testMatchesDeliveryGroup_withMatchingKey()
520 intent1, options1); in testMatchesDeliveryGroup_withMatchingKey()
553 final Intent intent1 = new Intent(Intent.ACTION_SERVICE_STATE); in testMatchesDeliveryGroup_withMatchingFilter() local
554 intent1.putExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, 0); in testMatchesDeliveryGroup_withMatchingFilter()
[all …]
DActivityManagerServiceTest.java919 final Intent intent1 = new Intent(TEST_ACTION1); in testBroadcastStickyIntent() local
925 broadcastIntent(intent1, null, true); in testBroadcastStickyIntent()
927 StickyBroadcast.create(intent1, false, Process.myUid(), PROCESS_STATE_UNKNOWN, in testBroadcastStickyIntent()
934 StickyBroadcast.create(intent1, false, Process.myUid(), PROCESS_STATE_UNKNOWN, in testBroadcastStickyIntent()
943 StickyBroadcast.create(intent1, false, Process.myUid(), PROCESS_STATE_UNKNOWN, in testBroadcastStickyIntent()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTestUtils.java84 Intent intent1 = new Intent("action1"); in referrerIntentList() local
85 ReferrerIntent referrerIntent1 = new ReferrerIntent(intent1, "referrer1"); in referrerIntentList()
/frameworks/av/camera/tests/
DCameraBinderTests.cpp670 uint8_t intent1 = ANDROID_CONTROL_CAPTURE_INTENT_PREVIEW; in TEST_F() local
672 EXPECT_EQ(OK, physicalDeviceSettings1.update(ANDROID_CONTROL_CAPTURE_INTENT, &intent1, 1)); in TEST_F()
710 EXPECT_EQ(entry.data.u8[0], intent1); in TEST_F()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java247 PendingIntent intent1 = PendingIntent.getActivity( in allPendingIntents_recollectedAfterReusingBuilder() local
253 builder.setContentIntent(intent1); in allPendingIntents_recollectedAfterReusingBuilder()
979 PendingIntent intent1 = PendingIntent.getActivity( in testRestoreFromExtras_Call_invalidExtra_noCrash() local
982 new Person.Builder().setName("hi").build(), intent1, intent1); in testRestoreFromExtras_Call_invalidExtra_noCrash()
1566 PendingIntent intent1 = PendingIntent.getActivity( in testActionsDifferentIntent() local
1573 .addAction(new Notification.Action.Builder(icon, "TEXT 1", intent1).build()) in testActionsDifferentIntent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DPhoneSwitcherTest.java1725 final Intent intent1 = new Intent(ACTION_SIM_APPLICATION_STATE_CHANGED); in testRetry_DDS_switch_Failure() local
1726 intent1.putExtra(EXTRA_SIM_STATE, SIM_STATE_LOADED); in testRetry_DDS_switch_Failure()
1727 intent1.putExtra(SubscriptionManager.EXTRA_SLOT_INDEX, 0); in testRetry_DDS_switch_Failure()
1728 mContext.sendBroadcast(intent1); in testRetry_DDS_switch_Failure()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionsRepositoryTest.kt819 val intent1 = in <lambda>() constant
822 fakeBroadcastDispatcher.sendIntentToMatchingReceiversOnly(context, intent1) in <lambda>()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DWifiPickerTrackerTest.java2025 final Intent intent1 = in testGetMergedCarrierEntry_subscriptionIdChanges_entryChanges() local
2027 intent1.putExtra("subscription", subId1); in testGetMergedCarrierEntry_subscriptionIdChanges_entryChanges()
2028 mBroadcastReceiverCaptor.getValue().onReceive(mMockContext, intent1); in testGetMergedCarrierEntry_subscriptionIdChanges_entryChanges()