Home
last modified time | relevance | path

Searched defs:cn (Results 1 – 25 of 93) sorted by relevance

1234

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAccessConfirmationActivityTest.java49 ComponentName cn = new ComponentName("com.example", "com.example.SomeService"); in start_showsDialog() local
61 ComponentName cn = new ComponentName("com.example", "com.example.SomeService"); in start_withMissingPackage_finishes() local
81 ComponentName cn) { in startActivityWithIntent()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DApprovalPreferenceController.java57 public ApprovalPreferenceController setCn(ComponentName cn) { in setCn()
139 public void disable(final ComponentName cn) { in disable()
152 protected void enable(ComponentName cn) { in enable()
157 protected boolean isServiceEnabled(ComponentName cn) { in isServiceEnabled()
DScaryWarningDialogFragment.java47 public ScaryWarningDialogFragment setServiceInfo(ComponentName cn, CharSequence label, in setServiceInfo()
61 final ComponentName cn = ComponentName.unflattenFromString(args in onCreateDialog() local
72 NotificationAccessDetails parent, ComponentName cn) { in getDialogView()
DFriendlyWarningDialogFragment.java34 public FriendlyWarningDialogFragment setServiceInfo(ComponentName cn, CharSequence label, in setServiceInfo()
53 final ComponentName cn = ComponentName.unflattenFromString(args in onCreateDialog() local
DNotificationAccessDetails.java82 String cn = intent.getStringExtra(Settings.EXTRA_NOTIFICATION_LISTENER_COMPONENT_NAME); in onAttach() local
257 public void disable(final ComponentName cn) { in disable()
269 protected void enable(ComponentName cn) { in enable()
DNotificationAccessController.java36 public static boolean hasAccess(Context context, ComponentName cn) { in hasAccess()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DDefaultAssistPreferenceController.java69 final ComponentName cn = mAssistUtils.getAssistComponentForUser(mUserId); in getSettingIntent() local
112 final ComponentName cn = mAssistUtils.getAssistComponentForUser(mUserId); in getDefaultAppInfo() local
120 String getAssistSettingsActivity(ComponentName cn, ResolveInfo resolveInfo, PackageManager pm) { in getAssistSettingsActivity()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAssistantPreferenceController.java63 ComponentName cn = isChecked in setChecked() local
82 protected void setNotificationAssistantGranted(ComponentName cn) { in setNotificationAssistantGranted()
90 protected void showDialog(ComponentName cn) { in showDialog()
DNotificationAssistantDialogFragment.java36 ComponentName cn) { in newInstance()
66 final ComponentName cn = ComponentName.unflattenFromString(args in onClick() local
DNotificationAssistantPicker.java87 ComponentName cn = mNotificationBackend.getAllowedNotificationAssistant(); in getDefaultKey() local
119 final ComponentName cn = new ComponentName(service.packageName, service.name); in onServicesReloaded() local
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerPreferenceController.java62 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in DefaultVoiceInputPickerPreferenceController() local
93 ComponentName cn = VoiceInputUtils.getCurrentService(getContext()); in getCurrentDefaultKey() local
102 ComponentName cn = ComponentName.unflattenFromString(key); in setCurrentDefault() local
DAssistantAndVoiceEntryPreferenceController.java52 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in getCurrentDefaultAppInfo() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DLoaderCursorTest.java128 ComponentName cn = new ComponentName(mContext.getPackageName(), "placeholder-do"); in getAppShortcutInfo_dontAllowMissing_invalidComponent() local
135 ComponentName cn = new ComponentName(getContext(), TEST_ACTIVITY); in getAppShortcutInfo_dontAllowMissing_validComponent() local
152 ComponentName cn = new ComponentName(mContext.getPackageName(), "placeholder-do"); in getAppShortcutInfo_allowMissing_invalidComponent() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/specialaccess/
DNotificationAccessState.java102 final ComponentName cn = new ComponentName(service.packageName, service.name); in updateList() local
131 mComponentNameByKey.put(pref.getKey()[0], cn); in updateList() local
143 final ComponentName cn = mComponentNameByKey.get(key[0]); in onPreferenceChange() local
DServiceListing.java121 final ComponentName cn = ComponentName.unflattenFromString(name); in loadEnabledServices() local
164 public boolean isEnabled(ComponentName cn) { in isEnabled()
168 public void setEnabled(ComponentName cn, boolean enabled) { in setEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DPredictionHelper.java53 ComponentName cn = ((LauncherAppWidgetInfo) info).providerName; in getAppTargetFromItemInfo() local
58 ComponentName cn = info.getTargetComponent(); in getAppTargetFromItemInfo() local
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceController.java60 ComponentName cn = getComponentName(); in getCurrentDefaultAppInfo() local
84 ComponentName cn = getComponentName(); in getSettingIntent() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessibility/
DAccessibilityServiceConfirmationFragment.java60 public static AccessibilityServiceConfirmationFragment newInstance(ComponentName cn, in newInstance()
77 public static void prepareArgs(@NonNull Bundle args, ComponentName cn, CharSequence label, in prepareArgs()
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java113 final ComponentName cn = new ComponentName(service.packageName, service.name); in updateList() local
170 protected boolean isServiceEnabled(ComponentName cn) { in isServiceEnabled()
204 public ScaryWarningDialogFragment setServiceInfo(ComponentName cn, String label, in setServiceInfo()
218 final ComponentName cn = ComponentName.unflattenFromString(args in onCreateDialog() local
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DDefaultAppInfo.java42 public DefaultAppInfo(Context context, PackageManager pm, int uid, ComponentName cn) { in DefaultAppInfo()
50 public DefaultAppInfo(Context context, PackageManager pm, int uid, ComponentName cn, in DefaultAppInfo()
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomWidgetManager.java111 ComponentName cn = getWidgetProviderComponent(plugin); in onPluginDisconnected() local
145 public LauncherAppWidgetProviderInfo getWidgetProvider(ComponentName cn) { in getWidgetProvider()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DDevelopmentTilesTest.java69 final ComponentName cn = new ComponentName( in refresh_devOptionIsDisabled_shouldResetTileValue() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminListItemTest.java59 final ComponentName cn = new ComponentName(mContext.getPackageName(), "test"); in newInstance_shouldLoadInfoFromDeviceAdminInfo() local
/packages/apps/Settings/src/com/android/settings/shortcut/
DShortcutsUpdateTask.java52 ComponentName cn = ComponentName.unflattenFromString( in doInBackground() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DInstantAppResolverImpl.java52 ComponentName cn = info.getTargetComponent(); in isInstantApp() local

1234