/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarActivityInterceptorUpdatableTest.java | 164 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/ |
D | ShortcutManagerTest5.java | 150 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/ |
D | TrustManagerServiceTest.java | 271 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/ |
D | TestUtils.java | 37 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/ |
D | ManagedServicesTest.java | 834 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 …]
|
D | NotificationAssistantsTest.java | 390 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/ |
D | LockPatternUtilsTest.java | 220 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/ |
D | PrivateProfilePolicyTest.kt | 92 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>()
|
D | WorkProfilePolicyTest.kt | 131 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/ |
D | DisplayContentScenarios.kt | 85 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/ |
D | UsbHandlerManager.java | 63 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/ |
D | ControlsFavoritePersistenceWrapperTest.kt | 60 ComponentName.unflattenFromString("TEST_PKG/.TEST_CLS_1")!!, in testSaveAndRestore() 68 ComponentName.unflattenFromString("TEST_PKG/.TEST_CLS_2")!!, in testSaveAndRestore()
|
D | AuxiliaryPersistenceWrapperTest.kt | 45 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/ |
D | InputMethodSubtypeHandleTest.java | 53 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/ |
D | ScreenshotPolicyImplTest.kt | 139 topActivity = ComponentName.unflattenFromString(YOUTUBE_PIP_ACTIVITY), 151 topActivity = ComponentName.unflattenFromString(FILES_HOME_ACTIVITY), 165 topActivity = ComponentName.unflattenFromString(LAUNCHER_ACTIVITY),
|
D | WorkProfileMessageControllerTest.java | 95 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/ |
D | CustomIconCacheTest.kt | 37 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/ |
D | DreamControllerTest.java | 118 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/ |
D | DomainSelectionResolverTest.java | 65 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/ |
D | StatusBarShellCommand.java | 101 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/ |
D | IntentCreator.java | 73 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/ |
D | ChildTaskModel.kt | 34 get() = ComponentName.unflattenFromString(name)
|
/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
D | AccessibilityTargetHelper.java | 82 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/ |
D | IntentFactory.java | 184 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/ |
D | ProfileFirstRunFileResources.kt | 36 ComponentName.unflattenFromString(context.getString(R.string.config_screenshotFilesApp)) in fileManagerComponentName()
|