Home
last modified time | relevance | path

Searched refs:unflattenFromString (Results 1 – 25 of 274) sorted by relevance

1234567891011

/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarActivityInterceptorUpdatableTest.java164 intent.setComponent(ComponentName.unflattenFromString(packageName + "/" + activityName)); in createActivityInterceptorInfoWithMainIntent()
171 intent.setComponent(ComponentName.unflattenFromString(packageName + "/" + activityName)); in createActivityInterceptorInfoWithMainIntent()
179 intent.setComponent(ComponentName.unflattenFromString(packageName + "/" + activityName)); in createActivityInterceptorInfoWithMainIntent()
199 ComponentName.unflattenFromString("com.example.app/com.example.app.MainActivity"), in interceptActivityLaunch_unknownActivity_returnsNull()
200 ComponentName.unflattenFromString("com.example.app2/com.example.app2.MainActivity") in interceptActivityLaunch_unknownActivity_returnsNull()
216 ComponentName.unflattenFromString("com.example.app/com.example.app.MainActivity"), in interceptActivityLaunch_nullOptions_persistedActivity_setsLaunchRootTask()
217 ComponentName.unflattenFromString("com.example.app2/com.example.app2.MainActivity") in interceptActivityLaunch_nullOptions_persistedActivity_setsLaunchRootTask()
236 ComponentName.unflattenFromString("com.example.app/com.example.app.MainActivity") in interceptActivityLaunch_persistedActivity_differentLaunchDisplayId_returnsNull()
254 ComponentName.unflattenFromString("com.example.app/com.example.app.MainActivity"), in interceptActivityLaunch_persistedActivity_setsLaunchRootTask()
255 ComponentName.unflattenFromString("com.example.app2/com.example.app2.MainActivity") in interceptActivityLaunch_persistedActivity_setsLaunchRootTask()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest5.java150 ComponentName.unflattenFromString("com.android.settings/.Settings"), in testGetDefaultMainActivity()
164 ComponentName.unflattenFromString("com.android.settings/.Settings"), mMyUserId)); in testIsMainActivity()
166 ComponentName.unflattenFromString("com.android.settings/.xxx"), mMyUserId)); in testIsMainActivity()
168 ComponentName.unflattenFromString("no.such.package/.xxx"), mMyUserId)); in testIsMainActivity()
188 ComponentName.unflattenFromString("com.android.settings/.Settings"), mMyUserId)); in testIsActivityEnabledAndExported()
190 ComponentName.unflattenFromString("com.android.settings/.xxx"), mMyUserId)); in testIsActivityEnabledAndExported()
192 ComponentName.unflattenFromString("no.such.package/.xxx"), mMyUserId)); in testIsActivityEnabledAndExported()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
DTrustManagerServiceTest.java271 ComponentName systemTrustAgent1 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
273 ComponentName systemTrustAgent2 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
275 ComponentName userTrustAgent1 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
277 ComponentName userTrustAgent2 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
293 ComponentName systemTrustAgent = ComponentName.unflattenFromString( in firstBootCompleted_defaultTrustAgentEnabled()
295 ComponentName defaultTrustAgent = ComponentName.unflattenFromString( in firstBootCompleted_defaultTrustAgentEnabled()
311 ComponentName trustAgent1 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsNotSet_enabledAgentsNotUpdated()
313 ComponentName trustAgent2 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsNotSet_enabledAgentsNotUpdated()
329 ComponentName trustAgent1 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsSet_enabledAgentsUpdated()
331 ComponentName trustAgent2 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsSet_enabledAgentsUpdated()
[all …]
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DTestUtils.java37 ComponentName.unflattenFromString("com.android.test.testime1/.InputMethod"));
44 ComponentName.unflattenFromString("com.android.test.testime2/.InputMethod"));
51 ComponentName.unflattenFromString("com.android.test.testime3/.InputMethod"));
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java834 ComponentName.unflattenFromString(pkg + "/C3"); in rebindServices_onlyBindsExactMatchesIfComponent()
882 ComponentName cn = ComponentName.unflattenFromString("a/a"); in reregisterService_checksAppIsApproved_pkg()
913 ComponentName cn = ComponentName.unflattenFromString("a/a"); in reregisterService_checksAppIsApproved_pkg_secondary()
944 ComponentName cn = ComponentName.unflattenFromString("a/a"); in reregisterService_checksAppIsApproved_cn()
975 ComponentName cn = ComponentName.unflattenFromString("a/a"); in reregisterService_checksAppIsApproved_cn_secondary()
1006 ComponentName cn = ComponentName.unflattenFromString("a/a"); in reregisterService_checksAppIsNotApproved_cn_secondary()
1036 ComponentName cn = ComponentName.unflattenFromString("a/a"); in unbindOtherUserServices()
1152 ComponentName.unflattenFromString(pkg + "/C3"); in testUpgradeAppBindsNewServices()
1174 final ComponentName unapprovedComponent = ComponentName.unflattenFromString("package/C1"); in testUpgradeAppNoPermissionNoRebind()
1175 final ComponentName approvedComponent = ComponentName.unflattenFromString("package/C2"); in testUpgradeAppNoPermissionNoRebind()
[all …]
DNotificationAssistantsTest.java390 ComponentName component1 = ComponentName.unflattenFromString("package/Component1"); in testSetPackageOrComponentEnabled_onlyOnePackage()
391 ComponentName component2 = ComponentName.unflattenFromString("package/Component2"); in testSetPackageOrComponentEnabled_onlyOnePackage()
405 ComponentName component1 = ComponentName.unflattenFromString("package/Component1"); in testSetPackageOrComponentEnabled_samePackage()
416 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testLoadDefaultsFromConfig()
417 ComponentName newDefaultComponent = ComponentName.unflattenFromString("package/Component2"); in testLoadDefaultsFromConfig()
449 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_differentDefaultNAS()
450 ComponentName newDefaultComponent = ComponentName.unflattenFromString("package/Component2"); in testNASSettingUpgrade_userNotSet_differentDefaultNAS()
487 ComponentName defaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_sameDefaultNAS()
511 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_defaultNASNone()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockPatternUtilsTest.java220 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testSetEnabledTrustAgents()
221 ComponentName.unflattenFromString("com.test/.TestAgent")); in testSetEnabledTrustAgents()
238 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testGetEnabledTrustAgents()
239 ComponentName.unflattenFromString("com.test/.TestAgent")); in testGetEnabledTrustAgents()
249 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testSetKnownTrustAgents()
250 ComponentName.unflattenFromString("com.test/.TestAgent")); in testSetKnownTrustAgents()
267 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testGetKnownTrustAgents()
268 ComponentName.unflattenFromString("com.test/.TestAgent")); in testGetKnownTrustAgents()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/policy/
DPrivateProfilePolicyTest.kt92 component = ComponentName.unflattenFromString(YOUTUBE), in <lambda>()
149 component = ComponentName.unflattenFromString(YOUTUBE), in <lambda>()
174 component = ComponentName.unflattenFromString(FILES), in <lambda>()
195 component = ComponentName.unflattenFromString(YOUTUBE_PIP), in <lambda>()
219 component = ComponentName.unflattenFromString(YOUTUBE_PIP), in <lambda>()
DWorkProfilePolicyTest.kt131 component = ComponentName.unflattenFromString(FILES), in withWorkFullScreen_matched()
156 component = ComponentName.unflattenFromString(FILES), in <lambda>()
200 component = ComponentName.unflattenFromString(FILES), in <lambda>()
226 component = ComponentName.unflattenFromString(FILES), in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/data/model/
DDisplayContentScenarios.kt85 ComponentName.unflattenFromString( in launcherOnly()
229 topActivity = ComponentName.unflattenFromString(ActivityNames.LAUNCHER), in launcher()
242 topActivity = ComponentName.unflattenFromString(task.name), in fullScreen()
254 topActivity = ComponentName.unflattenFromString(task.name), in pictureInPicture()
266 topActivity = ComponentName.unflattenFromString(task.name), in freeForm()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHandlerManager.java63 dialogIntent.setComponent(ComponentName.unflattenFromString( in showUsbAccessoryUriActivity()
89 resolverIntent.setComponent(ComponentName.unflattenFromString( in confirmUsbHandler()
121 resolverIntent.setComponent(ComponentName.unflattenFromString( in selectUsbHandler()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsFavoritePersistenceWrapperTest.kt60 ComponentName.unflattenFromString("TEST_PKG/.TEST_CLS_1")!!, in testSaveAndRestore()
68 ComponentName.unflattenFromString("TEST_PKG/.TEST_CLS_2")!!, in testSaveAndRestore()
DAuxiliaryPersistenceWrapperTest.kt45 private val TEST_COMPONENT = ComponentName.unflattenFromString("test_pkg/.test_cls")!! in any()
47 ComponentName.unflattenFromString("test_pkg/.test_other")!! in any()
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DInputMethodSubtypeHandleTest.java53 assertEquals(ComponentName.unflattenFromString("com.android.test/.Ime1"), in testCreateFromRawHandle()
91 assertEquals(ComponentName.unflattenFromString("com.android.test/.Ime1"), in testCreateFromInputMethodInfo()
102 assertEquals(ComponentName.unflattenFromString("com.android.test/.Ime1"), in testCreateFromInputMethodInfo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotPolicyImplTest.kt139 topActivity = ComponentName.unflattenFromString(YOUTUBE_PIP_ACTIVITY),
151 topActivity = ComponentName.unflattenFromString(FILES_HOME_ACTIVITY),
165 topActivity = ComponentName.unflattenFromString(LAUNCHER_ACTIVITY),
DWorkProfileMessageControllerTest.java95 eq(ComponentName.unflattenFromString(FILES_APP_COMPONENT)))) in setup()
100 eq(ComponentName.unflattenFromString(FILES_APP_COMPONENT)), in setup()
130 eq(ComponentName.unflattenFromString(FILES_APP_COMPONENT)), in testOnScreenshotTaken_packageNotFound()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/
DCustomIconCacheTest.kt37 private val TEST_COMPONENT1 = ComponentName.unflattenFromString("pkg/.cls1")!!
38 private val TEST_COMPONENT2 = ComponentName.unflattenFromString("pkg/.cls2")!!
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamControllerTest.java118 mDreamName = ComponentName.unflattenFromString("dream"); in setup()
119 mOverlayName = ComponentName.unflattenFromString("dream_overlay"); in setup()
198 final ComponentName newDreamName = ComponentName.unflattenFromString("new_dream"); in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
199 final ComponentName newOverlayName = ComponentName.unflattenFromString("new_dream_overlay"); in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DDomainSelectionResolverTest.java65 ComponentName.unflattenFromString(COMPONENT_NAME_STRING);
69 ComponentName.unflattenFromString(EMPTY_COMPONENT_NAME_STRING);
73 ComponentName.unflattenFromString(NONE_COMPONENT_NAME_STRING);
76 ComponentName.unflattenFromString(OVERRIDDEN_COMPONENT_NAME_STRING);
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarShellCommand.java101 mInterface.addTile(ComponentName.unflattenFromString(getNextArgRequired())); in runAddTile()
106 mInterface.remTile(ComponentName.unflattenFromString(getNextArgRequired())); in runRemoveTile()
116 mInterface.clickTile(ComponentName.unflattenFromString(getNextArgRequired())); in runClickTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DIntentCreator.java73 editIntent.setComponent(ComponentName.unflattenFromString(editorPackage)); in getImageEditIntent()
87 nearbyIntent.setComponent(ComponentName.unflattenFromString(remoteCopyPackage)); in getRemoteCopyIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/data/model/
DChildTaskModel.kt34 get() = ComponentName.unflattenFromString(name)
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityTargetHelper.java82 ComponentName.unflattenFromString(assignedTarget); in getTargets()
83 final ComponentName targetComponentName = ComponentName.unflattenFromString( in getTargets()
139 ComponentName.unflattenFromString(serviceTarget.getId()); in arePackageNameAndLabelTheSame()
141 ComponentName.unflattenFromString(activityTarget.getId()); in arePackageNameAndLabelTheSame()
/frameworks/base/core/java/android/credentials/selection/
DIntentFactory.java184 fallbackUiComponentName = ComponentName.unflattenFromString( in setCredentialSelectorUiComponentName()
200 ComponentName componentName = ComponentName.unflattenFromString(Resources.getSystem() in setCredentialSelectorUiComponentName()
223 oemComponentName = ComponentName.unflattenFromString( in getOemOverrideComponentName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/message/
DProfileFirstRunFileResources.kt36 ComponentName.unflattenFromString(context.getString(R.string.config_screenshotFilesApp)) in fileManagerComponentName()

1234567891011