Home
last modified time | relevance | path

Searched refs:setComponent (Results 1 – 25 of 199) sorted by relevance

12345678

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java92 .setComponent(mRecentsComponent) in testRecentsActivityVisiblility()
119 mockTaskRecordFactory(builder -> builder.setComponent(mRecentsComponent)); in testPreloadRecentsActivity()
136 Intent recentsIntent = new Intent().setComponent(mRecentsComponent); in testPreloadRecentsActivity()
173 ActivityRecord recentActivity = new ActivityBuilder(mService).setComponent( in testRestartRecentsActivity()
209 .setComponent(new ComponentName(mContext.getPackageName(), "Home2")) in testSetLaunchTaskBehindOfTargetActivity()
247 .setComponent(new ComponentName(mContext.getPackageName(), "App1")) in testCancelAnimationOnVisibleStackOrderChange()
254 .setComponent(mRecentsComponent) in testCancelAnimationOnVisibleStackOrderChange()
261 .setComponent(new ComponentName(mContext.getPackageName(), "App2")) in testCancelAnimationOnVisibleStackOrderChange()
292 .setComponent(new ComponentName(mContext.getPackageName(), "App1")) in testKeepAnimationOnHiddenStackOrderChange()
299 .setComponent(mRecentsComponent) in testKeepAnimationOnHiddenStackOrderChange()
[all …]
DLaunchParamsPersisterTests.java115 mTestTask = new TaskBuilder(mSupervisor).setComponent(TEST_COMPONENT).setStack(stack) in setUp()
122 .setComponent(ALTERNATIVE_COMPONENT).build(); in setUp()
125 mTaskWithDifferentUser = new TaskBuilder(mSupervisor).setComponent(TEST_COMPONENT).build(); in setUp()
170 final ActivityRecord activity = new ActivityBuilder(mService).setComponent(TEST_COMPONENT) in testFetchesSameResultWithActivity()
237 .setComponent(ALTERNATIVE_COMPONENT) in testClearsRecordsOfTheUserOnUserCleanUp()
249 .setComponent(TEST_COMPONENT) in testClearsRecordsOfTheUserOnUserCleanUp()
DRunningTasksTest.java108 .setComponent(new ComponentName(mContext.getPackageName(), className)) in createTask()
115 .setComponent(new ComponentName(mContext.getPackageName(), ".TaskActivity")) in createTask()
DActivityTestsBase.java218 ActivityBuilder setComponent(ComponentName component) { in setComponent() method in ActivityTestsBase.ActivityBuilder
282 .setComponent(mComponent) in build()
287 intent.setComponent(mComponent); in build()
354 TaskBuilder setComponent(ComponentName component) { in setComponent() method in ActivityTestsBase.TaskBuilder
414 intent.setComponent(mComponent); in build()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClientManager.java68 new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(transportComponent); in getTransportClient()
87 new Intent(SERVICE_ACTION_TRANSPORT_HOST).setComponent(transportComponent); in getTransportClient()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java112 mDisabledActivityIntent.setComponent(DISABLED_ACTIVITY_COMPONENTNAME); in setUp()
114 mEnabledActivityIntent.setComponent(ENABLED_ACTIVITY_COMPONENTNAME); in setUp()
116 mDisabledServiceIntent.setComponent(DISABLED_SERVICE_COMPONENTNAME); in setUp()
118 mEnabledServiceIntent.setComponent(ENABLED_SERVICE_COMPONENTNAME); in setUp()
120 mDisabledReceiverIntent.setComponent(DISABLED_RECEIVER_COMPONENTNAME); in setUp()
122 mEnabledReceiverIntent.setComponent(ENABLED_RECEIVER_COMPONENTNAME); in setUp()
124 mDisabledAppEnabledActivityIntent.setComponent(DISABLED_APP_ENABLED_ACTIVITY_COMPONENTNAME); in setUp()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsUtils.java100 queryIntent.setComponent(overrideService); in getMiddlewareServiceInfo()
127 bindIntent.setComponent(MbmsUtils.toComponentName(mbmsServiceInfo)); in startBinding()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java117 serviceIntent.setComponent(serviceComponent); in takeScreenshot()
190 errorIntent.setComponent(errorComponent); in notifyScreenshotError()
DScreenRecordHelper.java48 intent.setComponent(launcherComponent); in launchRecordPrompt()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h123 void setComponent(const char* _component) { component = _component; } in setComponent() function
154 setComponent(optarg); in initFromOptions()
/frameworks/base/core/java/com/android/internal/notification/
DNotificationAccessConfirmationActivityContract.java32 .setComponent(COMPONENT_NAME) in launcherIntent()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadTabActivity.java34 tabIntent.setComponent((ComponentName)tabIntent.getParcelableExtra("tab")); in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DActionsSuggestionsHelperTest.java148 phoneIntent.setComponent(new ComponentName("phone", "intent")); in testDeduplicateActions()
153 anotherPhoneIntent.setComponent(new ComponentName("phone", "another.intent")); in testDeduplicateActions()
158 urlIntent.setComponent(new ComponentName("url", "intent")); in testDeduplicateActions()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java114 intent.setComponent(restrictionsProvider); in requestPermission()
148 intent.setComponent(new ComponentName(ri.activityInfo.packageName, in createLocalApprovalIntent()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DVendorUtils.java151 queryIntent.setComponent(candidate); in getAppReceiverFromPackageName()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DBackgroundRestrictionsTest.java127 scheduleJobIntent.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_ACTIVITY)); in scheduleAndAssertJobStarted()
162 cancelJobsIntent.setComponent(new ComponentName(TEST_APP_PACKAGE, TEST_APP_ACTIVITY)); in tearDown()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java141 launchIntent.setComponent(component); in startActivityAsUser()
146 launchIntent.setComponent(component); in startActivityAsUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppTrampolineActivity.java91 showDialogIntent.setComponent(dialogComponentName); in onCreate()
/frameworks/base/services/core/java/com/android/server/security/
DKeyChainSystemService.java86 intent.setComponent(service);
/frameworks/base/core/java/android/speech/
DRecognizerIntent.java344 detailsIntent.setComponent(new ComponentName(ri.activityInfo.packageName, className)); in getVoiceDetailsIntent()
DSpeechRecognizer.java282 … serviceIntent.setComponent(ComponentName.unflattenFromString(serviceComponent)); in startListening()
284 serviceIntent.setComponent(mServiceComponent); in startListening()
/frameworks/base/core/java/android/net/
DVpnManager.java73 intent.setComponent(componentName); in getIntentForConfirmation()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderProxyCountingTest.java99 .setComponent(new ComponentName(TEST_APP_PKG, TEST_APP_CMD_SERVICE));
101 .setComponent(new ComponentName(TEST_SERVICE_PKG, TEST_SERVICE_CMD_SERVICE));
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DServiceIntentSender.java62 intent.setComponent(new ComponentName(mContext, MtpDocumentsService.class)); in sendUpdateNotificationIntent()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java66 intent.setComponent(new ComponentName(PACKAGE, ELEMENT_LAYOUT_CLASS)); in startElementLayout()

12345678