/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/ |
H A D | TrustManagerServiceTest.java | 130 ComponentName systemTrustAgent1 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled() 132 ComponentName systemTrustAgent2 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled() 134 ComponentName userTrustAgent1 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled() 136 ComponentName userTrustAgent2 = ComponentName.unflattenFromString( in firstBootCompleted_systemTrustAgentsEnabled() 153 ComponentName systemTrustAgent = ComponentName.unflattenFromString( in firstBootCompleted_defaultTrustAgentEnabled() 155 ComponentName defaultTrustAgent = ComponentName.unflattenFromString( in firstBootCompleted_defaultTrustAgentEnabled() 173 ComponentName trustAgent1 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsNotSet_enabledAgentsNotUpdated() 175 ComponentName trustAgent2 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsNotSet_enabledAgentsNotUpdated() 191 ComponentName trustAgent1 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsSet_enabledAgentsUpdated() 193 ComponentName trustAgent2 = ComponentName.unflattenFromString( in serviceBooted_knownAgentsSet_enabledAgentsUpdated() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A 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()
|
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | LockPatternUtilsTest.java | 189 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testSetEnabledTrustAgents() 190 ComponentName.unflattenFromString("com.test/.TestAgent")); in testSetEnabledTrustAgents() 207 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testGetEnabledTrustAgents() 208 ComponentName.unflattenFromString("com.test/.TestAgent")); in testGetEnabledTrustAgents() 218 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testSetKnownTrustAgents() 219 ComponentName.unflattenFromString("com.test/.TestAgent")); in testSetKnownTrustAgents() 236 ComponentName.unflattenFromString("com.android/.TrustAgent"), in testGetKnownTrustAgents() 237 ComponentName.unflattenFromString("com.test/.TestAgent")); in testGetKnownTrustAgents()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ManagedServicesTest.java | 829 ComponentName.unflattenFromString(pkg + "/C3"); in rebindServices_onlyBindsExactMatchesIfComponent() 877 ComponentName cn = ComponentName.unflattenFromString("a/a"); in reregisterService_checksAppIsApproved_pkg() 1123 ComponentName.unflattenFromString(pkg + "/C3"); in testUpgradeAppBindsNewServices() 1350 allowed0.add(ComponentName.unflattenFromString("a/a")); in testPopulateComponentsToUnbind_forceRebind() 1353 allowed10.add(ComponentName.unflattenFromString("b/b")); in testPopulateComponentsToUnbind_forceRebind() 1390 allowed0.add(ComponentName.unflattenFromString("a/a")); in testPopulateComponentsToUnbind() 1393 allowed10.add(ComponentName.unflattenFromString("b/b")); in testPopulateComponentsToUnbind() 1413 allowed0.add(ComponentName.unflattenFromString("a/a")); in populateComponentsToBind() 1416 allowed10.add(ComponentName.unflattenFromString("b/b")); in populateComponentsToBind() 1417 allowed10.add(ComponentName.unflattenFromString("c/c")); in populateComponentsToBind() [all …]
|
H A D | NotificationAssistantsTest.java | 306 ComponentName component1 = ComponentName.unflattenFromString("package/Component1"); in testSetPackageOrComponentEnabled_onlyOnePackage() 307 ComponentName component2 = ComponentName.unflattenFromString("package/Component2"); in testSetPackageOrComponentEnabled_onlyOnePackage() 321 ComponentName component1 = ComponentName.unflattenFromString("package/Component1"); in testSetPackageOrComponentEnabled_samePackage() 332 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testLoadDefaultsFromConfig() 333 ComponentName newDefaultComponent = ComponentName.unflattenFromString("package/Component2"); in testLoadDefaultsFromConfig() 365 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_differentDefaultNAS() 366 ComponentName newDefaultComponent = ComponentName.unflattenFromString("package/Component2"); in testNASSettingUpgrade_userNotSet_differentDefaultNAS() 403 ComponentName defaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_sameDefaultNAS() 427 ComponentName oldDefaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_defaultNASNone()
|
/aosp14/frameworks/base/core/java/android/credentials/ui/ |
H A D | IntentFactory.java | 51 ComponentName.unflattenFromString( in createCredentialSelectorIntent() 79 ComponentName.unflattenFromString( in createCancelUiIntent() 99 ComponentName.unflattenFromString( in createProviderUpdateIntent()
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbHandlerManager.java | 63 dialogIntent.setComponent(ComponentName.unflattenFromString( in showUsbAccessoryUriActivity() 89 resolverIntent.setComponent(ComponentName.unflattenFromString( in confirmUsbHandler() 121 resolverIntent.setComponent(ComponentName.unflattenFromString( in selectUsbHandler()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
H A D | ControlsFavoritePersistenceWrapperTest.kt | 60 ComponentName.unflattenFromString("TEST_PKG/.TEST_CLS_1")!!, 68 ComponentName.unflattenFromString("TEST_PKG/.TEST_CLS_2")!!,
|
H A D | AuxiliaryPersistenceWrapperTest.kt | 45 private val TEST_COMPONENT = ComponentName.unflattenFromString("test_pkg/.test_cls")!! 47 ComponentName.unflattenFromString("test_pkg/.test_other")!!
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/dreams/ |
H A D | DreamControllerTest.java | 110 mDreamName = ComponentName.unflattenFromString("dream"); in setup() 111 mOverlayName = ComponentName.unflattenFromString("dream_overlay"); in setup() 190 final ComponentName newDreamName = ComponentName.unflattenFromString("new_dream"); in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted() 191 final ComponentName newOverlayName = ComponentName.unflattenFromString("new_dream_overlay"); in startDream_startASecondDream_detachOldDreamOnceNewDreamIsStarted()
|
H A D | DreamOverlayServiceTest.java | 58 ComponentName.unflattenFromString("com.foo.bar/.DreamService"); 60 ComponentName.unflattenFromString("com.foo.baz/.DreamService");
|
/aosp14/frameworks/base/services/core/java/com/android/server/statusbar/ |
H A D | StatusBarShellCommand.java | 99 mInterface.addTile(ComponentName.unflattenFromString(getNextArgRequired())); in runAddTile() 104 mInterface.remTile(ComponentName.unflattenFromString(getNextArgRequired())); in runRemoveTile() 109 mInterface.clickTile(ComponentName.unflattenFromString(getNextArgRequired())); in runClickTile()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ |
H A D | CustomIconCacheTest.kt | 37 private val TEST_COMPONENT1 = ComponentName.unflattenFromString("pkg/.cls1")!! 38 private val TEST_COMPONENT2 = ComponentName.unflattenFromString("pkg/.cls2")!!
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | WorkProfileMessageControllerTest.java | 96 eq(ComponentName.unflattenFromString(FILES_APP_COMPONENT)))) in setup() 101 eq(ComponentName.unflattenFromString(FILES_APP_COMPONENT)), in setup() 131 eq(ComponentName.unflattenFromString(FILES_APP_COMPONENT)), in testOnScreenshotTaken_packageNotFound()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
H A D | IntentCreator.java | 73 editIntent.setComponent(ComponentName.unflattenFromString(editorPackage)); in getImageEditIntent() 87 nearbyIntent.setComponent(ComponentName.unflattenFromString(remoteCopyPackage)); in getRemoteCopyIntent()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/panels/ |
H A D | SelectedComponentRepositoryTest.kt | 46 componentName = ComponentName.unflattenFromString("pkg/.cls_a"), 52 componentName = ComponentName.unflattenFromString("pkg/.cls_b"),
|
/aosp14/frameworks/base/core/java/com/android/internal/accessibility/dialog/ |
H A D | AccessibilityTargetHelper.java | 90 ComponentName.unflattenFromString(assignedTarget); in getTargets() 91 final ComponentName targetComponentName = ComponentName.unflattenFromString( in getTargets() 146 ComponentName.unflattenFromString(serviceTarget.getId()); in arePackageNameAndLabelTheSame() 148 ComponentName.unflattenFromString(activityTarget.getId()); in arePackageNameAndLabelTheSame()
|
/aosp14/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodSubtypeHandle.java | 122 final ComponentName componentName = ComponentName.unflattenFromString(imeId); in of() 166 return ComponentName.unflattenFromString(getImeId()); in getComponentName()
|
/aosp14/frameworks/base/core/java/com/android/internal/notification/ |
H A D | NotificationAccessConfirmationActivityContract.java | 37 .setComponent(ComponentName.unflattenFromString(context.getString( in launcherIntent()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
H A D | PluginManagerImpl.java | 161 ComponentName component = ComponentName.unflattenFromString( in onReceive() 173 ComponentName componentName = ComponentName.unflattenFromString(pkg); in onReceive() 236 ComponentName componentName = ComponentName.unflattenFromString(componentNameOrPackage); in isPluginPrivileged()
|
/aosp14/frameworks/base/media/java/android/media/projection/ |
H A D | MediaProjectionManager.java | 116 ComponentName.unflattenFromString(mContext.getResources().getString( in createScreenCaptureIntent() 163 ComponentName.unflattenFromString(mContext.getResources() in createScreenCaptureIntent()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/ |
H A D | TileSpec.kt | 87 ComponentName.unflattenFromString(extracted)
|
/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | ScreenshotHelper.java | 151 final ComponentName serviceComponent = ComponentName.unflattenFromString( in takeScreenshotInternal() 233 final ComponentName errorComponent = ComponentName.unflattenFromString( in notifyScreenshotError()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityUserState.java | 394 final ComponentName componentName = ComponentName.unflattenFromString( in removeDisabledServicesFromTemporaryStatesLocked() 770 final ComponentName componentName = ComponentName.unflattenFromString(name); in isShortcutTargetInstalledLocked() 801 || (componentName = ComponentName.unflattenFromString(name)) == null) { in removeShortcutTargetLocked() 970 final ComponentName targetComponentName = ComponentName.unflattenFromString(targetName); in doesShortcutTargetsStringContain() 976 && targetComponentName.equals(ComponentName.unflattenFromString(stringName))) { in doesShortcutTargetsStringContain()
|