/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 496 ServiceItem si = mServices.get(service.service); in updateService() local 497 if (si == null) { in updateService() 499 si = new ServiceItem(mUserId); in updateService() 500 si.mRunningService = service; in updateService() 502 si.mServiceInfo = ActivityThread.getPackageManager().getServiceInfo( in updateService() 506 if (si.mServiceInfo == null) { in updateService() 513 si.mDisplayLabel = makeLabel(pm, in updateService() 514 si.mRunningService.service.getClassName(), si.mServiceInfo); in updateService() 516 si.mPackageInfo = si.mServiceInfo.applicationInfo; in updateService() 517 mServices.put(service.service, si); in updateService() [all …]
|
D | RunningServiceDetails.java | 95 RunningState.ServiceItem si = mServiceItem; in stopActiveService() local 97 if ((si.mServiceInfo.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0) { in stopActiveService() 98 showConfirmStopDialog(si.mRunningService.service); in stopActiveService() 102 getActivity().stopService(new Intent().setComponent(si.mRunningService.service)); in stopActiveService() 246 void addServiceDetailsView(RunningState.ServiceItem si, RunningState.MergedItem mi, in addServiceDetailsView() argument 258 RunningState.BaseItem bi = si != null ? si : mi; in addServiceDetailsView() 265 detail.mServiceItem = si; in addServiceDetailsView() 273 if (si != null && si.mRunningService.clientLabel != 0) { in addServiceDetailsView() 275 si.mRunningService.service); in addServiceDetailsView() 289 if (si != null && si.mServiceInfo.descriptionRes != 0) { in addServiceDetailsView() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | PackageUpdatedTask.java | 207 ShortcutInfo si = (ShortcutInfo) info; in execute() local 212 if ((si.iconResource != null) in execute() 213 && packageSet.contains(si.iconResource.packageName)) { in execute() 214 Bitmap icon = LauncherIcons.createIconBitmap(si.iconResource, context); in execute() 216 si.iconBitmap = icon; in execute() 221 ComponentName cn = si.getTargetComponent(); in execute() 222 if (cn != null && matcher.matches(si, cn)) { in execute() 225 if (si.isPromise() && mOp == OP_ADD) { in execute() 226 if (si.hasStatusFlag(ShortcutInfo.FLAG_AUTOINTALL_ICON)) { in execute() 243 removedShortcuts.add(si); in execute() [all …]
|
D | CacheDataUpdatedTask.java | 63 ShortcutInfo si = (ShortcutInfo) info; in execute() local 64 ComponentName cn = si.getTargetComponent(); in execute() 65 if (si.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION in execute() 66 && isValidShortcut(si) && cn != null in execute() 68 iconCache.getTitleAndIcon(si, si.usingLowResIcon); in execute() 69 updatedShortcuts.add(si); in execute() 87 public boolean isValidShortcut(ShortcutInfo si) { in isValidShortcut() argument 92 return si.isPromise(); in isValidShortcut()
|
D | UserLockStateChangedTask.java | 78 ShortcutInfo si = (ShortcutInfo) itemInfo; in execute() local 80 ShortcutInfoCompat shortcut = pinnedShortcuts.get(ShortcutKey.fromItemInfo(si)); in execute() 84 deletedShortcutInfos.add(si); in execute() 87 si.isDisabled &= ~ShortcutInfo.FLAG_DISABLED_LOCKED_USER; in execute() 88 si.updateFromDeepShortcutInfo(shortcut, context); in execute() 89 si.iconBitmap = LauncherIcons.createShortcutIcon(shortcut, context); in execute() 91 si.isDisabled |= ShortcutInfo.FLAG_DISABLED_LOCKED_USER; in execute() 93 updatedShortcutInfos.add(si); in execute()
|
D | PackageInstallStateChangedTask.java | 54 ShortcutInfo si = (ShortcutInfo) info; in execute() local 55 ComponentName cn = si.getTargetComponent(); in execute() 56 if (si.isPromise() && (cn != null) in execute() 58 si.setInstallProgress(mInstallInfo.progress); in execute() 62 si.status &= ~ShortcutInfo.FLAG_INSTALL_SESSION_ACTIVE; in execute() 64 updates.add(si); in execute()
|
D | ShortcutsChangedTask.java | 64 ShortcutInfo si = (ShortcutInfo) itemInfo; in execute() local 65 if (si.getIntent().getPackage().equals(mPackageName) in execute() 66 && si.user.equals(mUser)) { in execute() 67 idsToWorkspaceShortcutInfos.addToList(si.getDeepShortcutId(), si); in execute() local
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Delaunay.cpp | 371 int m,sij,si,sj,sL,sk; in rcssort() local 379 si = lowelt; sj = highelt; in rcssort() 381 sij = (sj+si) >> 1; in rcssort() 384 if ( (this->*comparison)( si,sij ) > 0 ) { in rcssort() 385 (this->*swap)( si,sij ); in rcssort() 389 if ( (this->*comparison)( si,sij ) > 0 ) { in rcssort() 390 (this->*swap)( si,sij ); in rcssort() 396 sk = si; sL = sj; in rcssort() 410 if ( sL-si > sj-sk ) { in rcssort() 411 if ( sL-si < QQ ) { in rcssort() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeSettings.java | 203 public static ZenRuleInfo getRuleInfo(PackageManager pm, ServiceInfo si) { in getRuleInfo() argument 204 if (si == null || si.metaData == null) return null; in getRuleInfo() 205 final String ruleType = si.metaData.getString(ConditionProviderService.META_DATA_RULE_TYPE); in getRuleInfo() 206 final ComponentName configurationActivity = getSettingsActivity(si); in getRuleInfo() 209 ri.serviceComponent = new ComponentName(si.packageName, si.name); in getRuleInfo() 212 ri.packageName = si.packageName; in getRuleInfo() 213 ri.configurationActivity = getSettingsActivity(si); in getRuleInfo() 214 ri.packageLabel = si.applicationInfo.loadLabel(pm); in getRuleInfo() 216 si.metaData.getInt(ConditionProviderService.META_DATA_RULE_INSTANCE_LIMIT, -1); in getRuleInfo() 222 private static ComponentName getSettingsActivity(ServiceInfo si) { in getSettingsActivity() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 449 final ShortcutInfo si = appInfo.makeShortcut(); in getItemInfo() local 451 app.getIconCache().getTitleAndIcon(si, activityInfo, false /* useLowResIcon */); in getItemInfo() 457 si, activityInfo, false /* useLowResIcon */); in getItemInfo() 458 return si; in getItemInfo() 462 return si; in getItemInfo() 464 ShortcutInfo si = new ShortcutInfo(shortcutInfo, mContext); in getItemInfo() local 465 si.iconBitmap = LauncherIcons.createShortcutIcon(shortcutInfo, mContext); in getItemInfo() 466 return si; in getItemInfo() 503 List<ShortcutInfoCompat> si = sm.queryForFullDetails( in decode() local 508 if (si.isEmpty()) { in decode() [all …]
|
D | LauncherModel.java | 1632 ShortcutInfo si = (ShortcutInfo) info; in updateIconCache() local 1633 if (si.isPromise() && si.getTargetComponent() != null) { in updateIconCache() 1634 packagesToIgnore.add(si.getTargetComponent().getPackageName()); in updateIconCache() 1908 public void updateAndBindShortcutInfo(final ShortcutInfo si, final ShortcutInfoCompat info) { in updateAndBindShortcutInfo() argument 1912 si.updateFromDeepShortcutInfo(info, mApp.getContext()); in updateAndBindShortcutInfo() 1913 si.iconBitmap = LauncherIcons.createShortcutIcon(info, mApp.getContext()); in updateAndBindShortcutInfo() 1914 return si; in updateAndBindShortcutInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
D | AvailableVirtualKeyboardFragment.java | 108 final ServiceInfo si = imi.getServiceInfo(); in getInputMethodIcon() local 109 final ApplicationInfo ai = si != null ? si.applicationInfo : null; in getInputMethodIcon() 111 if (si == null || ai == null || packageName == null) { in getInputMethodIcon() 116 Drawable drawable = loadDrawable(packageManager, packageName, si.logo, ai); in getInputMethodIcon() 120 drawable = loadDrawable(packageManager, packageName, si.icon, ai); in getInputMethodIcon()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | SettingsInjector.java | 157 ServiceInfo si = service.serviceInfo; in parseServiceInfo() local 158 ApplicationInfo ai = si.applicationInfo; in parseServiceInfo() 170 parser = si.loadXmlMetaData(pm, SettingInjectorService.META_DATA_NAME); in parseServiceInfo() 173 + " meta-data for " + service + ": " + si); in parseServiceInfo() 189 Resources res = pm.getResourcesForApplicationAsUser(si.packageName, in parseServiceInfo() 191 return parseAttributes(si.packageName, si.name, userHandle, res, attrs); in parseServiceInfo() 194 "Unable to load resources for package " + si.packageName); in parseServiceInfo()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | AvailableVirtualKeyboardFragment.java | 116 final ServiceInfo si = imi.getServiceInfo(); in getInputMethodIcon() local 117 final ApplicationInfo ai = si != null ? si.applicationInfo : null; in getInputMethodIcon() 119 if (si == null || ai == null || packageName == null) { in getInputMethodIcon() 124 Drawable drawable = loadDrawable(packageManager, packageName, si.logo, ai); in getInputMethodIcon() 128 drawable = loadDrawable(packageManager, packageName, si.icon, ai); in getInputMethodIcon()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 51 int si = 0; in intArrayToCharArray() local 53 while (si < sourceSize && di < destLimit && 0 != source[si]) { in intArrayToCharArray() 54 const int codePoint = source[si++]; in intArrayToCharArray()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerSession.java | 60 final SuggestionsInfo si = ssi.getSuggestionsInfoAt(i); in fixWronglyInvalidatedWordWithSingleQuote() local 61 final int flags = si.getSuggestionsAttributes(); in fixWronglyInvalidatedWordWithSingleQuote() 94 newSi.setCookieAndSequence(si.getCookie(), si.getSequence()); in fixWronglyInvalidatedWordWithSingleQuote()
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | VoiceInputHelper.java | 160 ServiceInfo si = resolveInfo.serviceInfo; in buildUi() local 164 parser = si.loadXmlMetaData(mContext.getPackageManager(), in buildUi() 168 " meta-data for " + si.packageName); in buildUi() 172 si.applicationInfo); in buildUi()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 1292 final ShortcutInfo si; in onDrop() local 1295 si = ((AppInfo) d.dragInfo).makeShortcut(); in onDrop() 1298 si = (ShortcutInfo) d.dragInfo; in onDrop() 1301 currentDragView = mContent.createAndAddViewForRank(si, mEmptyCellRank); in onDrop() 1305 si, mInfo.id, 0, si.cellX, si.cellY); in onDrop() 1314 mContent.addViewForRank(currentDragView, si, mEmptyCellRank); in onDrop() 1337 mInfo.add(si, false); in onDrop()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupPopulator.java | 211 ShortcutInfo si = new ShortcutInfo(shortcut, launcher); in createUpdateRunnable() 213 si.iconBitmap = LauncherIcons.createShortcutIcon( in createUpdateRunnable() 215 si.rank = i; in createUpdateRunnable() 217 si, shortcut)); in createUpdateRunnable() argument
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | Utils.java | 88 ServiceInfo si = info.getServiceInfo(); in getInputIdFromComponentName() local 89 if (new ComponentName(si.packageName, si.name).equals(name)) { in getInputIdFromComponentName()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 240 ServiceInfo si = resolvedService.serviceInfo; in getInstalledServices() local 241 ComponentName componentName = new ComponentName(si.packageName, si.name); in getInstalledServices() 243 if (pm.checkPermission(android.Manifest.permission.NFC, si.packageName) != in getInstalledServices() 251 si.permission)) { in getInstalledServices()
|
D | RegisteredNfcFServicesCache.java | 234 ServiceInfo si = resolvedService.serviceInfo; in getInstalledServices() local 235 ComponentName componentName = new ComponentName(si.packageName, si.name); in getInstalledServices() 237 if (pm.checkPermission(android.Manifest.permission.NFC, si.packageName) != in getInstalledServices() 245 si.permission)) { in getInstalledServices()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InstallShortcutReceiver.java | 257 int si = screen + (int) ((i / 2f) + 0.5f) * ((i % 2 == 1) ? 1 : -1); in processInstallShortcut() local 258 if (0 <= si && si < Launcher.SCREEN_COUNT) { in processInstallShortcut() 259 found = installShortcut(context, data, items, name, intent, si, exists, sp, in processInstallShortcut()
|
/packages/services/Telephony/src/com/android/phone/ |
D | MobileNetworkSettings.java | 328 SubscriptionInfo si = siIterator.hasNext() ? siIterator.next() : null; in initializeSubscriptions() local 332 if (si != null && si.getSimSlotIndex() == simSlotIndex) { in initializeSubscriptions() 334 tabName = String.valueOf(si.getDisplayName()); in initializeSubscriptions() 335 si = siIterator.hasNext() ? siIterator.next() : null; in initializeSubscriptions()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ManagedProfileHeuristic.java | 126 ShortcutInfo si = appInfo.makeShortcut(); in onLauncherAppsAdded() local 127 … ((info.installTime <= folderCreationTime) ? workFolderApps : homescreenApps).add(si); in onLauncherAppsAdded()
|