/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 | 187 ShortcutInfo si = (ShortcutInfo) info; in execute() local 192 if ((si.iconResource != null) in execute() 193 && packageSet.contains(si.iconResource.packageName)) { in execute() 194 Bitmap icon = LauncherIcons.createIconBitmap(si.iconResource, context); in execute() 196 si.iconBitmap = icon; in execute() 201 ComponentName cn = si.getTargetComponent(); in execute() 202 if (cn != null && matcher.matches(si, cn)) { in execute() 205 if (si.hasStatusFlag(ShortcutInfo.FLAG_SUPPORTS_WEB_UI)) { in execute() 206 removedShortcuts.put(si.id, false); in execute() 212 if (si.isPromise() && isNewApkAvailable) { in execute() [all …]
|
D | CacheDataUpdatedTask.java | 62 ShortcutInfo si = (ShortcutInfo) info; in execute() local 63 ComponentName cn = si.getTargetComponent(); in execute() 64 if (si.itemType == LauncherSettings.Favorites.ITEM_TYPE_APPLICATION in execute() 65 && isValidShortcut(si) && cn != null in execute() 67 iconCache.getTitleAndIcon(si, si.usingLowResIcon); in execute() 68 updatedShortcuts.add(si); in execute() 86 public boolean isValidShortcut(ShortcutInfo si) { in isValidShortcut() argument 91 return si.hasPromiseIconUi(); in isValidShortcut()
|
D | UserLockStateChangedTask.java | 80 ShortcutInfo si = (ShortcutInfo) itemInfo; in execute() local 82 ShortcutKey key = ShortcutKey.fromItemInfo(si); in execute() 90 si.isDisabled &= ~ShortcutInfo.FLAG_DISABLED_LOCKED_USER; in execute() 91 si.updateFromDeepShortcutInfo(shortcut, context); in execute() 92 si.iconBitmap = LauncherIcons.createShortcutIcon(shortcut, context, in execute() 93 si.iconBitmap); in execute() 95 si.isDisabled |= ShortcutInfo.FLAG_DISABLED_LOCKED_USER; in execute() 97 updatedShortcutInfos.add(si); in execute()
|
D | ShortcutsChangedTask.java | 68 ShortcutInfo si = (ShortcutInfo) itemInfo; in execute() local 69 if (si.getIntent().getPackage().equals(mPackageName) && si.user.equals(mUser)) { in execute() 70 keyToShortcutInfo.addToList(ShortcutKey.fromItemInfo(si), si); in execute() local 71 allIds.add(si.getDeepShortcutId()); in execute()
|
D | PackageInstallStateChangedTask.java | 110 ShortcutInfo si = (ShortcutInfo) info; in execute() local 111 ComponentName cn = si.getTargetComponent(); in execute() 112 if (si.hasPromiseIconUi() && (cn != null) in execute() 114 si.setInstallProgress(mInstallInfo.progress); in execute() 117 si.status &= ~ShortcutInfo.FLAG_INSTALL_SESSION_ACTIVE; in execute() 119 updates.add(si); in execute()
|
D | LoaderTask.java | 779 ShortcutInfo si = (ShortcutInfo) info; in updateIconCache() local 780 if (si.isPromise() && si.getTargetComponent() != null) { in updateIconCache() 781 packagesToIgnore.add(si.getTargetComponent().getPackageName()); in updateIconCache()
|
/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 | 200 public static ZenRuleInfo getRuleInfo(PackageManager pm, ServiceInfo si) { in getRuleInfo() argument 201 if (si == null || si.metaData == null) return null; in getRuleInfo() 202 final String ruleType = si.metaData.getString(ConditionProviderService.META_DATA_RULE_TYPE); in getRuleInfo() 203 final ComponentName configurationActivity = getSettingsActivity(si); in getRuleInfo() 206 ri.serviceComponent = new ComponentName(si.packageName, si.name); in getRuleInfo() 209 ri.packageName = si.packageName; in getRuleInfo() 210 ri.configurationActivity = getSettingsActivity(si); in getRuleInfo() 211 ri.packageLabel = si.applicationInfo.loadLabel(pm); in getRuleInfo() 213 si.metaData.getInt(ConditionProviderService.META_DATA_RULE_INSTANCE_LIMIT, -1); in getRuleInfo() 219 private static ComponentName getSettingsActivity(ServiceInfo si) { in getSettingsActivity() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 461 final ShortcutInfo si = appInfo.makeShortcut(); in getItemInfo() local 463 app.getIconCache().getTitleAndIcon(si, activityInfo, false /* useLowResIcon */); in getItemInfo() 469 si, activityInfo, false /* useLowResIcon */); in getItemInfo() 470 return si; in getItemInfo() 474 return Pair.create((ItemInfo) si, (Object) activityInfo); in getItemInfo() 476 ShortcutInfo si = new ShortcutInfo(shortcutInfo, mContext); in getItemInfo() local 477 si.iconBitmap = LauncherIcons.createShortcutIcon(shortcutInfo, mContext); in getItemInfo() 478 return Pair.create((ItemInfo) si, (Object) shortcutInfo); in getItemInfo() 492 ShortcutInfo si = createShortcutInfo(data, LauncherAppState.getInstance(mContext)); in getItemInfo() local 493 return Pair.create((ItemInfo) si, null); in getItemInfo() [all …]
|
D | LauncherModel.java | 630 public void updateAndBindShortcutInfo(final ShortcutInfo si, final ShortcutInfoCompat info) { in updateAndBindShortcutInfo() argument 634 si.updateFromDeepShortcutInfo(info, mApp.getContext()); in updateAndBindShortcutInfo() 635 si.iconBitmap = LauncherIcons.createShortcutIcon(info, mApp.getContext()); in updateAndBindShortcutInfo() 636 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/inputmethod/ |
D | AvailableVirtualKeyboardFragment.java | 112 final ServiceInfo si = imi.getServiceInfo(); in getInputMethodIcon() local 113 final ApplicationInfo ai = si != null ? si.applicationInfo : null; in getInputMethodIcon() 115 if (si == null || ai == null || packageName == null) { in getInputMethodIcon() 120 Drawable drawable = loadDrawable(packageManager, packageName, si.logo, ai); in getInputMethodIcon() 124 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/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/dragndrop/ |
D | DragView.java | 332 List<ShortcutInfoCompat> si = sm.queryForFullDetails( in getFullDrawable() local 334 if (si.isEmpty()) { in getFullDrawable() 337 outObj[0] = si.get(0); in getFullDrawable() 338 return sm.getShortcutIconDrawable(si.get(0), in getFullDrawable() 369 ShortcutInfoCompat si = (ShortcutInfoCompat) obj; in getBadge() local 370 Bitmap badge = LauncherIcons.getShortcutInfoBadge(si, appState.getIconCache()); in getBadge()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | Folder.java | 1375 final ShortcutInfo si; in onDrop() local 1377 si = pasiSi; in onDrop() 1380 si = ((AppInfo) d.dragInfo).makeShortcut(); in onDrop() 1383 si = (ShortcutInfo) d.dragInfo; in onDrop() 1388 currentDragView = mContent.createAndAddViewForRank(si, mEmptyCellRank); in onDrop() 1393 si, mInfo.id, 0, si.cellX, si.cellY); in onDrop() 1403 mContent.addViewForRank(currentDragView, si, mEmptyCellRank); in onDrop() 1427 mInfo.add(si, false); in onDrop()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | Utils.java | 85 ServiceInfo si = info.getServiceInfo(); in getInputIdFromComponentName() local 86 if (new ComponentName(si.packageName, si.name).equals(name)) { in getInputIdFromComponentName()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupPopulator.java | 208 ShortcutInfo si = new ShortcutInfo(shortcut, launcher); in createUpdateRunnable() 210 si.iconBitmap = LauncherIcons.createShortcutIcon( in createUpdateRunnable() 212 si.rank = i; in createUpdateRunnable() 214 si, shortcut)); in createUpdateRunnable() argument
|
/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()
|