Home
last modified time | relevance | path

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

123456789

/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DTaskCategoryManager.java78 mNotificationActivityComponent = ComponentName.unflattenFromString( in TaskCategoryManager()
80 mRecentsActivityComponent = ComponentName.unflattenFromString(mContext.getResources() in TaskCategoryManager()
82 mCalmModeComponent = ComponentName.unflattenFromString(mContext.getResources() in TaskCategoryManager()
124 componentNames.add(ComponentName.unflattenFromString(componentStrings[i])); in convertToComponentNames()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/
DNearbyShareModuleTest.kt74 .hasValue(ComponentName.unflattenFromString("com.example/.ComponentName")) in defaultValue_readFromResources()
93 .hasValue(ComponentName.unflattenFromString("com.example/.BComponent")) in secureSettings_overridesDefault()
/packages/services/Car/car_product/car_ui_portrait/test/hostsidetests/car/src/android/car/ui/test/
DTaskInfo.java47 static TaskInfo unflattenFromString(String string) { in unflattenFromString() method in TaskInfo
92 TaskInfo taskInfo = TaskInfo.unflattenFromString(matcher.group()); in getActiveComponents()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java127 mUserId, ComponentName.unflattenFromString(TEST_COMPONENT)); in getSettingIntent_noAssistant_returnsNull()
141 mUserId, ComponentName.unflattenFromString(TEST_COMPONENT)); in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
156 mUserId, ComponentName.unflattenFromString(TEST_COMPONENT)); in getSettingIntent_hasAssistant_supportsAssist_hasSettingsActivity_returnsIntent()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DWorkspaceItemProcessorTest.kt512 ComponentName.unflattenFromString(expectedProvider)!!.flattenToString() in When valid TYPE_REAL App Widget then add item()
540 providerName = ComponentName.unflattenFromString(expectedProvider) in When valid TYPE_REAL App Widget then add item()
545 provider = ComponentName.unflattenFromString(expectedProvider) in When valid TYPE_REAL App Widget then add item()
653 val expectedComponentName = ComponentName.unflattenFromString(expectedProvider) in When Unrestored Pending App Widget then mark deleted()
680 ComponentName.unflattenFromString(expectedProvider)!!.flattenToString() in When Pending App Widget has not started restore then update db and add item()
726 providerName = ComponentName.unflattenFromString(expectedProvider) in When Pending App Widget has not started restore then update db and add item()
759 val expectedComponentName = ComponentName.unflattenFromString(expectedProvider) in When Archived Pending App Widget then checkAndAddItem()
808 val expectedComponentName = ComponentName.unflattenFromString(expectedProvider) in When widget inflation result is TYPE_DELETE then mark deleted()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceInfoTest.java68 .isEqualTo(ComponentName.unflattenFromString(SERVICE_NAME)); in testServiceNameWithDefaults()
83 .isEqualTo(ComponentName.unflattenFromString(SERVICE_NAME)); in startService()
219 .isEqualTo(ComponentName.unflattenFromString(SERVICE_NAME)); in allArgs()
/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()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/content/pm/
DPackageManagerHelper.java86 ComponentName componentName = ComponentName.unflattenFromString(flattenName); in getSystemUiPackageName()
178 return ComponentName.unflattenFromString(flattenName); in getSystemUiServiceComponent()
/packages/apps/TV/src/com/android/tv/util/
DSetupUtils.java282 ComponentName componentName = ComponentName.unflattenFromString(input); in grantEpgPermissionToSetUpPackages()
354 ComponentName.unflattenFromString(input).getPackageName(), in onInputListUpdated()
397 .unflattenFromString(flattenedComponentName); in createSetupIntent()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DRecentsButtonStateProviderTest.java116 mRecentsRunningTaskInfo.topActivity = ComponentName.unflattenFromString( in setUp()
118 mDialerRunningTaskInfo.topActivity = ComponentName.unflattenFromString( in setUp()
122 .thenReturn(ComponentName.unflattenFromString(DIALER_ACTIVITY_NAME)); in setUp()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowAccessibilityServiceInfo.java30 sComponentName = ComponentName.unflattenFromString(componentName); in setComponentName()
/packages/apps/Car/Launcher/docklib/src/com/android/car/docklib/
DResourceExcludedItemsProvider.kt30 .mapNotNull(ComponentName::unflattenFromString).toHashSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DSystemNavigationPreferenceControllerTest.java95 final ComponentName recentsComponentName = ComponentName.unflattenFromString( in testIsGestureAvailable_matchingServiceExists_shouldReturnTrue()
116 final ComponentName recentsComponentName = ComponentName.unflattenFromString( in testIsGestureAvailable_overlayDisabled_matchingServiceExists_shouldReturnFalse()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperInfo.java331 Point.unflattenFromString(displaySize),
332 Rect.unflattenFromString(rect)));
/packages/apps/Settings/src/com/android/settings/accessibility/
DLaunchAccessibilityActivityPreferenceFragment.java109 mTileComponentName = ComponentName.unflattenFromString(tileServiceComponentName); in onProcessArguments()
220 ComponentName.unflattenFromString(settingsComponentName)); in getSettingsIntent()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppFilter.java20 .map(ComponentName::unflattenFromString) in AppFilter()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/
DCarUiAssistantButton.java40 mVoiceAssistantComponent = ComponentName.unflattenFromString( in CarUiAssistantButton()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/
DDbUtils.java42 return ComponentName.unflattenFromString(Objects.requireNonNull(tableValue)); in fromTableValue()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DVoiceInputUtils.java53 return ComponentName.unflattenFromString(currentSetting); in getComponentNameOrNull()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DSelectedVoiceInteractionServiceLiveData.kt49 ?.let(ComponentName::unflattenFromString) in loadDataAndPostValue()
DEnabledNotificationListenersLiveData.kt52 ComponentName.unflattenFromString(pkgOrComponent)?.packageName in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceFeatureProviderImpl.java44 ComponentName componentName = ComponentName.unflattenFromString(flattenedString); in getPostureGuidanceIntent()
/packages/apps/TV/tuner/SampleNetworkTuner/robotests/javatests/com/android/tv/tuner/sample/network/util/
DSampleNetworkConstantsTest.java39 assertThat(ComponentName.unflattenFromString(SampleNetworkConstants.TUNER_INPUT_ID)) in tunerInputId()
/packages/apps/TV/tuner/SampleDvbTuner/robotests/javatests/com/android/tv/tuner/sample/dvb/util/
DSampleDvbConstantsTest.java39 assertThat(ComponentName.unflattenFromString(SampleDvbConstants.TUNER_INPUT_ID)) in tunerInputId()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/
DActivityBlockingActivity.java397 ComponentName blocked = ComponentName.unflattenFromString(blockedActivity); in getDebugInfo()
404 ComponentName root = ComponentName.unflattenFromString(rootActivity); in getDebugInfo()
496 ComponentName componentName = ComponentName.unflattenFromString(blockingActivity); in startBlockingActivity()

123456789