/packages/apps/Settings/src/com/android/settings/utils/ |
D | ServiceListing.java | 131 for (ComponentName cn : mEnabledServices) { in saveEnabledServices() 137 sb.append(cn.flattenToString()); in saveEnabledServices() 149 final ComponentName cn = ComponentName.unflattenFromString(names[i]); in loadEnabledServices() local 150 if (cn != null) { in loadEnabledServices() 151 mEnabledServices.add(cn); in loadEnabledServices() 166 public boolean isEnabled(ComponentName cn) { in isEnabled() argument 167 return mEnabledServices.contains(cn); in isEnabled() 170 public void setEnabled(ComponentName cn, boolean enabled) { in setEnabled() argument 172 mEnabledServices.add(cn); in setEnabled() 174 mEnabledServices.remove(cn); in setEnabled()
|
D | ManagedServiceSettings.java | 96 final ComponentName cn = new ComponentName(service.packageName, service.name); in updateList() local 102 pref.setChecked(mServiceListing.isEnabled(cn)); in updateList() 107 return setEnabled(cn, title, enable); in updateList() 135 public ScaryWarningDialogFragment setServiceInfo(ComponentName cn, String label) { in setServiceInfo() argument 137 args.putString(KEY_COMPONENT, cn.flattenToString()); in setServiceInfo() 148 final ComponentName cn = ComponentName.unflattenFromString(args in onCreateDialog() local 160 mServiceListing.setEnabled(cn, true); in onCreateDialog()
|
D | ZenServiceListing.java | 50 public ServiceInfo findService(final ComponentName cn) { in findService() argument 53 if (serviceCN.equals(cn)) { in findService()
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustAgentUtils.java | 74 String cn = null; in getSettingsComponent() 101 cn = sa.getString(com.android.internal.R.styleable.TrustAgent_settingsActivity); in getSettingsComponent() 116 if (cn != null && cn.indexOf('/') < 0) { in getSettingsComponent() 117 cn = resolveInfo.serviceInfo.packageName + "/" + cn; in getSettingsComponent() 119 …trustAgentComponentInfo.componentName = (cn == null) ? null : ComponentName.unflattenFromString(cn… in getSettingsComponent()
|
D | TrustedCredentialsSettings.java | 836 String cn = mSslCert.getIssuedTo().getCName(); in CertHolder() local 843 if (!cn.isEmpty()) { in CertHolder() 845 mSubjectSecondary = cn; in CertHolder() 851 if (!cn.isEmpty()) { in CertHolder() 852 mSubjectPrimary = cn; in CertHolder()
|
D | SettingsActivity.java | 540 final ComponentName cn = intent.getComponent(); in onCreate() local 541 final String className = cn.getClassName(); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAccessSettings.java | 109 public FriendlyWarningDialogFragment setServiceInfo(ComponentName cn, String label) { in setServiceInfo() argument 111 args.putString(KEY_COMPONENT, cn.flattenToString()); in setServiceInfo() 122 final ComponentName cn = ComponentName.unflattenFromString(args in onCreateDialog() local 133 mServiceListing.setEnabled(cn, false); in onCreateDialog() 135 cn.getPackageName())) { in onCreateDialog() 136 deleteRules(mContext, cn.getPackageName()); in onCreateDialog()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 212 public boolean filterItem(ItemInfo parent, ItemInfo info, ComponentName cn); in filterItem() argument 287 ComponentName cn = si.getTargetComponent(); in setPackageState() 288 if (si.isPromise() && (cn != null) in setPackageState() 289 && installInfo.packageName.equals(cn.getPackageName())) { in setPackageState() 341 ComponentName cn = si.getTargetComponent(); in updateSessionDisplayInfo() 342 if (si.isPromise() && (cn != null) in updateSessionDisplayInfo() 343 && packageName.equals(cn.getPackageName())) { in updateSessionDisplayInfo() 1051 public boolean filterItem(ItemInfo parent, ItemInfo info, ComponentName cn) { in getItemsByPackageName() 1052 return cn.getPackageName().equals(pn) && info.user.equals(user); in getItemsByPackageName() 1855 ComponentName cn = intent.getComponent(); in loadWorkspace() local [all …]
|
D | AutoInstallsLayout.java | 345 ComponentName cn; in parseAndAdd() local 347 cn = new ComponentName(packageName, className); in parseAndAdd() 348 info = mPackageManager.getActivityInfo(cn, 0); in parseAndAdd() 352 cn = new ComponentName(packages[0], className); in parseAndAdd() 353 info = mPackageManager.getActivityInfo(cn, 0); in parseAndAdd() 357 .setComponent(cn) in parseAndAdd() 475 ComponentName cn = new ComponentName(packageName, className); in parseAndAdd() local 477 mPackageManager.getReceiverInfo(cn, 0); in parseAndAdd() 481 cn = new ComponentName(packages[0], className); in parseAndAdd() 483 mPackageManager.getReceiverInfo(cn, 0); in parseAndAdd() [all …]
|
D | IconCache.java | 298 String cn = c.getString(indexComponent); in updateDBIcons() local 299 ComponentName component = ComponentName.unflattenFromString(cn); in updateDBIcons() 601 ComponentName cn = new ComponentName(packageName, packageName + EMPTY_CLASS_NAME); in getPackageKey() local 602 return new ComponentKey(cn, user); in getPackageKey() 756 String cn = app.getComponentName().flattenToString(); in run() local 760 new String[]{cn, Long.toString(mUserSerial)}); in run()
|
D | LauncherProvider.java | 1020 ComponentName cn = ComponentName.unflattenFromString( in initializeExternalAdd() local 1023 if (cn != null) { in initializeExternalAdd() 1027 if (!appWidgetManager.bindAppWidgetIdIfAllowed(appWidgetId,cn)) { in initializeExternalAdd() 1225 final ComponentName cn; in migrateLauncher2Shortcuts() local 1235 cn = intent.getComponent(); in migrateLauncher2Shortcuts() 1240 } else if (cn != null && in migrateLauncher2Shortcuts() 1241 !LauncherModel.isValidPackageActivity(mContext, cn, in migrateLauncher2Shortcuts()
|
D | DragController.java | 353 ComponentName cn = dragInfo.intent.getComponent(); in onAppsRemoved() local 354 boolean isSameComponent = cn != null && (cn.equals(componentName) || in onAppsRemoved() 355 packageNames.contains(cn.getPackageName())); in onAppsRemoved()
|
D | Utilities.java | 455 ComponentName cn = intent.getComponent(); in isSystemApp() local 457 if (cn == null) { in isSystemApp() 463 packageName = cn.getPackageName(); in isSystemApp()
|
D | DeviceProfile.java | 132 ComponentName cn = new ComponentName(context.getPackageName(), in DeviceProfile() local 134 defaultWidgetPadding = AppWidgetHostView.getDefaultPaddingForWidget(context, cn, null); in DeviceProfile()
|
D | LauncherBackupHelper.java | 577 ComponentName cn = intent.getComponent(); in backupIcons() local 580 if (cn != null) { in backupIcons() 581 key = getKey(Key.ICON, cn.flattenToShortString()); in backupIcons()
|
D | Workspace.java | 4279 ComponentName cn) { 4280 if (packageNames.contains(cn.getPackageName()) 4282 cns.add(cn); 4317 ComponentName cn) { 4319 if (componentNames.contains(cn) && info.user.equals(user)) { 4332 if (componentNames.contains(cn) && info.user.equals(user)) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherProvider.java | 1048 ComponentName cn; in addAppShortcut() local 1050 cn = new ComponentName(packageName, className); in addAppShortcut() 1051 info = packageManager.getActivityInfo(cn, 0); in addAppShortcut() 1055 cn = new ComponentName(packages[0], className); in addAppShortcut() 1056 info = packageManager.getActivityInfo(cn, 0); in addAppShortcut() 1059 intent.setComponent(cn); in addAppShortcut() 1118 ComponentName cn = getSearchWidgetProvider(); in addSearchWidget() local 1119 return addAppWidget(db, values, cn, 4, 1, null); in addSearchWidget() 1123 ComponentName cn = new ComponentName("com.android.alarmclock", in addClockWidget() local 1125 return addAppWidget(db, values, cn, 2, 2, null); in addClockWidget() [all …]
|
D | Workspace.java | 3661 ComponentName cn = info.intent.getComponent(); 3662 if ((cn != null) && packageNames.contains(cn.getPackageName()) 3664 cns.add(cn); 3669 ComponentName cn = s.intent.getComponent(); 3670 if ((cn != null) && packageNames.contains(cn.getPackageName()) 3672 cns.add(cn); 3677 ComponentName cn = info.providerName; 3678 if ((cn != null) && packageNames.contains(cn.getPackageName()) 3680 cns.add(cn);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ApplicationUtils.java | 36 final ComponentName cn = new ComponentName(context, cls); in getActivityTitleResId() local 38 final ActivityInfo ai = context.getPackageManager().getActivityInfo(cn, 0); in getActivityTitleResId()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | WidgetsAndShortcutNameComparator.java | 80 ComponentName cn = new ComponentName(shortcutInfo.activityInfo.packageName, in getComponentKey() local 83 return new ComponentKey(cn, UserHandleCompat.myUserHandle()); in getComponentKey()
|
D | GridSizeMigrationTask.java | 733 ComponentName cn = ComponentName.unflattenFromString(provider); 734 verifyPackage(cn.getPackageName());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | AccessibilityFragment.java | 216 public static void prepareArgs(@NonNull Bundle args, ComponentName cn, String label, in prepareArgs() argument 218 args.putParcelable(ARG_COMPONENT, cn); in prepareArgs()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InstalledAppDetails.java | 293 ComponentName cn = dpm.getProfileOwnerAsUser(userInfo.id); in isProfileOrDeviceOwner() local 294 if (cn != null && cn.getPackageName().equals(packageName)) { in isProfileOrDeviceOwner()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 14 * [简体中文](http://rapidjson.org/zh-cn/)
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 1859 for (Connection cn : fgCall.getConnections()) { in isInEmergencyCall() 1861 cn.getAddress())) { in isInEmergencyCall()
|