Home
last modified time | relevance | path

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

12345678910>>...36

/aosp_15_r20/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 …]
/aosp_15_r20/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A 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 …]
H A DNotificationAssistantsTest.java436 ComponentName component1 = ComponentName.unflattenFromString("package/Component1"); in testSetPackageOrComponentEnabled_onlyOnePackage()
437 ComponentName component2 = ComponentName.unflattenFromString("package/Component2"); in testSetPackageOrComponentEnabled_onlyOnePackage()
451 ComponentName component1 = ComponentName.unflattenFromString("package/Component1"); in testSetPackageOrComponentEnabled_samePackage()
462 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testLoadDefaultsFromConfig()
463 ComponentName newDefaultComponent = ComponentName.unflattenFromString("package/Component2"); in testLoadDefaultsFromConfig()
495 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_differentDefaultNAS()
496 ComponentName newDefaultComponent = ComponentName.unflattenFromString("package/Component2"); in testNASSettingUpgrade_userNotSet_differentDefaultNAS()
533 ComponentName defaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_sameDefaultNAS()
557 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_defaultNASNone()
/aosp_15_r20/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/
H A DTrustManagerServiceTest.java306 ComponentName systemTrustAgent1 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
308 ComponentName systemTrustAgent2 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
310 ComponentName userTrustAgent1 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
312 ComponentName userTrustAgent2 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled()
328 ComponentName systemTrustAgent = ComponentName.unflattenFromString( in firstBootCompleted_defaultTrustAgentEnabled()
330 ComponentName defaultTrustAgent = ComponentName.unflattenFromString( in firstBootCompleted_defaultTrustAgentEnabled()
346 ComponentName trustAgent1 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsNotSet_enabledAgentsNotUpdated()
348 ComponentName trustAgent2 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsNotSet_enabledAgentsNotUpdated()
364 ComponentName trustAgent1 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsSet_enabledAgentsUpdated()
366 ComponentName trustAgent2 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsSet_enabledAgentsUpdated()
[all …]
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A 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()
/aosp_15_r20/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/
DTaskCategoryManager.java86 mAppGridActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
88 mNotificationActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
90 mRecentsActivityComponent = ComponentName.unflattenFromString(mContext.getResources() in TaskCategoryManager()
92 mCalmModeComponent = ComponentName.unflattenFromString(mContext.getResources() in TaskCategoryManager()
96 mControlBarActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
100 mDefaultMaps = ComponentName.unflattenFromString( in TaskCategoryManager()
104 mHomeActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
146 componentNames.add(ComponentName.unflattenFromString(componentStrings[i])); in convertToComponentNames()
/aosp_15_r20/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DLockPatternUtilsTest.java221 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testSetEnabledTrustAgents()
222 ComponentName.unflattenFromString("com.test/.TestAgent")); in testSetEnabledTrustAgents()
239 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testGetEnabledTrustAgents()
240 ComponentName.unflattenFromString("com.test/.TestAgent")); in testGetEnabledTrustAgents()
250 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testSetKnownTrustAgents()
251 ComponentName.unflattenFromString("com.test/.TestAgent")); in testSetKnownTrustAgents()
268 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testGetKnownTrustAgents()
269 ComponentName.unflattenFromString("com.test/.TestAgent")); in testGetKnownTrustAgents()
/aosp_15_r20/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DTaskCategoryManager.java80 mNotificationActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
82 mInCallActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
84 mMediaActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
86 mRecentsActivityComponent = ComponentName.unflattenFromString(mContext.getResources() in TaskCategoryManager()
88 mCalmModeComponent = ComponentName.unflattenFromString(mContext.getResources() in TaskCategoryManager()
132 componentNames.add(ComponentName.unflattenFromString(componentStrings[i])); in convertToComponentNames()
/aosp_15_r20/cts/tests/tests/dreams/src/android/service/dreams/cts/
H A DDreamServiceTest.java137 ComponentName.unflattenFromString(DREAM_SERVICE_COMPONENT); in testDreamInSeparateProcess()
154 ComponentName.unflattenFromString(testSettingsActivity)); in testMetadataParsing()
195 ComponentName.unflattenFromString(dreamComponent), in getDreamMetadata()
206 ComponentName.unflattenFromString(DREAM_SERVICE_COMPONENT); in testDreamServiceOnDestroyCallback()
238 ComponentName.unflattenFromString(DREAM_SERVICE_COMPONENT); in testDreamDoesNotForcePictureInPicture()
253 ComponentName.unflattenFromString(CONTROLLED_DREAM_SERVICE_COMPONENT); in startControlledDream()
H A DSystemDreamTest.java56 ComponentName.unflattenFromString(
59 ComponentName.unflattenFromString(
66 ComponentName.unflattenFromString(
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/screenshot/policy/
H A DPrivateProfilePolicyTest.kt96 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>()
H A DWorkProfilePolicyTest.kt140 component = ComponentName.unflattenFromString(FILES), in withWorkFullScreen_matched()
167 component = ComponentName.unflattenFromString(FILES), in <lambda>()
205 component = ComponentName.unflattenFromString(FILES), in <lambda>()
231 component = ComponentName.unflattenFromString(FILES), in <lambda>()
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/screenshot/data/model/
H A DDisplayContentScenarios.kt109 ComponentName.unflattenFromString( in splitLeft()
274 topActivity = ComponentName.unflattenFromString(ActivityNames.LAUNCHER), in launcher()
287 topActivity = ComponentName.unflattenFromString(task.name), in fullScreen()
305 topActivity = ComponentName.unflattenFromString(task.name), in pictureInPicture()
325 topActivity = ComponentName.unflattenFromString(task.name), in freeForm()
/aosp_15_r20/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
H A 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"));
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/gesture/domain/
H A DTaskMatcherTest.kt36 val componentName = ComponentName.unflattenFromString("com.foo/.bar")!! in activityMatcher_matchesComponentName()
45 val componentName = ComponentName.unflattenFromString("com.foo/.bar")!! in activityMatcher_doesNotMatchComponentName()
50 ComponentName.unflattenFromString("com.bar/.baz"), in activityMatcher_doesNotMatchComponentName()
/aosp_15_r20/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHandlerManager.java63 dialogIntent.setComponent(ComponentName.unflattenFromString( in showUsbAccessoryUriActivity()
89 resolverIntent.setComponent(ComponentName.unflattenFromString( in confirmUsbHandler()
121 resolverIntent.setComponent(ComponentName.unflattenFromString( in selectUsbHandler()
/aosp_15_r20/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
H A DComponentReference.java48 public static ComponentReference unflattenFromString(String string) { in unflattenFromString() method in ComponentReference
50 Objects.requireNonNull(ComponentName.unflattenFromString(string))); in unflattenFromString()
150 return ComponentReference.unflattenFromString(resolverActivity); in getResolverActivity()
/aosp_15_r20/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
H A 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()
/aosp_15_r20/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);
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/db/
H A DDefaultWidgetPopulationTest.kt100 provider = eq(ComponentName.unflattenFromString(defaultWidgets[0])!!), in testPopulateDefaultWidgetsWhenDatabaseCreated()
105 provider = eq(ComponentName.unflattenFromString(defaultWidgets[1])!!), in testPopulateDefaultWidgetsWhenDatabaseCreated()
110 provider = eq(ComponentName.unflattenFromString(defaultWidgets[2])!!), in testPopulateDefaultWidgetsWhenDatabaseCreated()
/aosp_15_r20/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
H A 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()
/aosp_15_r20/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DAccessibilitySourceService.kt185 val componentName = ComponentName.unflattenFromString(serviceToBeNotified.id)!! in sendNotification()
247 markServiceAsNotified(ComponentName.unflattenFromString(serviceToBeNotified.id)!!) in sendNotification()
280 val componentName = ComponentName.unflattenFromString(a11yService.id)!! in createSafetySourceIssue()
481 ComponentName.unflattenFromString(it.id) in getEnabledAccessibilityServices()
577 val component = ComponentName.unflattenFromString(notification.tag) in removeAccessibilityNotification()
601 getNotifiedServices().mapNotNull { ComponentName.unflattenFromString(it) } in removePackageState()
971 ComponentName.unflattenFromString(a11yService.id)!! in onAccessibilityServicesStateChanged()
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/screenshot/
H A 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()
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/statusbar/
H A 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()
/aosp_15_r20/frameworks/base/core/java/android/credentials/selection/
H A DIntentFactory.java184 fallbackUiComponentName = ComponentName.unflattenFromString( in setCredentialSelectorUiComponentName()
200 ComponentName componentName = ComponentName.unflattenFromString(Resources.getSystem() in setCredentialSelectorUiComponentName()
223 oemComponentName = ComponentName.unflattenFromString( in getOemOverrideComponentName()

12345678910>>...36