Home
last modified time | relevance | path

Searched refs:defaultComponent (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/policy/
DPolicyRequestProcessor.kt55 private val defaultComponent: ComponentName, in <lambda>() constant in com.android.systemui.screenshot.policy.PolicyRequestProcessor
122 componentName = topMainRootTask?.topActivity ?: defaultComponent, in <lambda>()
DScreenshotPolicyModule.kt82 defaultComponent = in bindProfileTypeRepository()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java487 ComponentName defaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userNotSet_sameDefaultNAS() local
490 doReturn(new ArraySet<>(Arrays.asList(defaultComponent))) in testNASSettingUpgrade_userNotSet_sameDefaultNAS()
494 .thenReturn(defaultComponent.flattenToString()); in testNASSettingUpgrade_userNotSet_sameDefaultNAS()
497 mAssistants.setPackageOrComponentEnabled(defaultComponent.flattenToString(), in testNASSettingUpgrade_userNotSet_sameDefaultNAS()
505 assertEquals(new ArraySet<>(Arrays.asList(defaultComponent)), in testNASSettingUpgrade_userNotSet_sameDefaultNAS()
DNotificationManagerServiceTest.java676 ComponentName defaultComponent = ComponentName.unflattenFromString("config/device"); in setUp() local
678 components.add(defaultComponent); in setUp()
9176 ComponentName defaultComponent = ComponentName.unflattenFromString("package/Component1"); in testNASSettingUpgrade_userSet() local
9183 .thenReturn(defaultComponent); in testNASSettingUpgrade_userSet()
9185 .thenReturn(new ArrayList(Arrays.asList(defaultComponent))); in testNASSettingUpgrade_userSet()
9264 ComponentName defaultComponent = ComponentName.unflattenFromString("package/Component"); in testNASSettingUpgrade_clearDataAfterMigrationIsDone() local
9269 .thenReturn(new ArraySet<>(Arrays.asList(defaultComponent))); in testNASSettingUpgrade_clearDataAfterMigrationIsDone()
9278 changes.put(true, new ArrayList(Arrays.asList(defaultComponent))); in testNASSettingUpgrade_clearDataAfterMigrationIsDone()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/policy/
DPolicyRequestProcessorTest.kt75 defaultComponent = ComponentName("default", "Component"), in captureDisplay()
/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerServiceImpl.java358 final ComponentName defaultComponent = getDefaultRecognitionServiceComponent(); in checkPrivilege() local
361 return serviceComponent.equals(defaultComponent) in checkPrivilege()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java1509 ComponentName defaultComponent = WallpaperManager.getCmfDefaultWallpaperComponent(context); in WallpaperManagerService() local
1510 mDefaultWallpaperComponent = defaultComponent == null ? mImageWallpaper : defaultComponent; in WallpaperManagerService()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java4040 String defaultComponent = (getContext().getResources().getString(
4044 if (defaultComponent != null && !defaultComponent.isEmpty() &&
4048 defaultComponent, null, true, SettingsState.SYSTEM_PACKAGE_NAME);