/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 161 final ResolveInfo ri = createResolveInfoForSystemApp(pkg); in addsystemImes() local 163 ri, false, null, null, 0, true, true, false); in addsystemImes() 165 addInstalledApp(ri); in addsystemImes() 168 final ResolveInfo ri = createResolveInfoForSystemApp(pkg); in addsystemImes() local 170 ri, false, null, null, 0, false, true, false); in addsystemImes() 172 addInstalledApp(ri); in addsystemImes() 181 final ResolveInfo ri = createResolveInfoForSystemApp(pkg); in addSystemAppsForIntent() local 182 resolveInfos.add(ri); in addSystemAppsForIntent() 183 addInstalledApp(ri); in addSystemAppsForIntent() 191 final ResolveInfo ri = createResolveInfoForSystemApp(pkg); in addSystemAppsWithRequiredAccounts() local [all …]
|
/frameworks/base/libs/hwui/ |
D | FrameInfoVisualizer.cpp | 156 int ri; in initializeRects() local 160 ri = fast_i; in initializeRects() 165 ri = janky_i; in initializeRects() 171 rect[ri + 0] = right - lineWidth; in initializeRects() 172 rect[ri + 1] = baseline; in initializeRects() 173 rect[ri + 2] = right; in initializeRects() 174 rect[ri + 3] = baseline; in initializeRects() 189 int ri; in nextBarSegment() local 193 ri = fast_i; in nextBarSegment() 197 ri = janky_i; in nextBarSegment() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbResolverActivity.java | 77 ResolveInfo ri = iterator.next(); in onCreate() local 79 if (ri.getComponentInfo().name.equals(FORWARD_INTENT_TO_MANAGED_PROFILE)) { in onCreate() 80 mForwardResolveInfo = ri; in onCreate() 81 } else if (UserHandle.getUserId(ri.activityInfo.applicationInfo.uid) in onCreate() 84 rListOtherProfile.add(ri); in onCreate() 145 final ResolveInfo ri = target.getResolveInfo(); in onTargetSelected() local 146 if (ri == mForwardResolveInfo) { in onTargetSelected() 155 final int uid = ri.activityInfo.applicationInfo.uid; in onTargetSelected() 163 service.setDevicePackage(mDevice, ri.activityInfo.packageName, userId); in onTargetSelected() 172 service.setAccessoryPackage(mAccessory, ri.activityInfo.packageName, userId); in onTargetSelected()
|
/frameworks/compile/mclinker/lib/LD/ |
D | EhFrame.cpp | 171 for (LDContext::const_sect_iterator ri = ctx.relocSectBegin(), in merge() local 173 ri != re; in merge() 174 ++ri) { in merge() 175 if ((*ri)->getLink() == &pFrame.getSection()) { in merge() 176 rel_sec = *ri; in merge() 226 for (RelocData::const_iterator ri = reloc_data->begin(), in setupAttributes() local 228 ri != re; in setupAttributes() 229 ++ri) { in setupAttributes() 230 const Relocation& rel = *ri; in setupAttributes() 255 for (RelocData::const_iterator ri = reloc_data->begin(), in removeDiscardedFDE() local [all …]
|
/frameworks/base/core/java/android/speech/ |
D | RecognizerIntent.java | 336 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent() local 338 if (ri == null || ri.activityInfo == null || ri.activityInfo.metaData == null) return null; in getVoiceDetailsIntent() 340 String className = ri.activityInfo.metaData.getString(DETAILS_META_DATA); in getVoiceDetailsIntent() 344 detailsIntent.setComponent(new ComponentName(ri.activityInfo.packageName, className)); in getVoiceDetailsIntent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest6.java | 71 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher() 72 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher() 92 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 93 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 113 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 114 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 143 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 144 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 197 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_multiUser() 198 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_multiUser() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenu.java | 85 final ResolveInfo ri = lri.get(i); in addIntentOptions() local 87 ri.specificIndex < 0 ? intent : specifics[ri.specificIndex]); in addIntentOptions() 89 ri.activityInfo.applicationInfo.packageName, in addIntentOptions() 90 ri.activityInfo.name)); in addIntentOptions() 91 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) in addIntentOptions() 92 .setIcon(ri.loadIcon(pm)) in addIntentOptions() 94 if (outSpecificItems != null && ri.specificIndex >= 0) { in addIntentOptions() 95 outSpecificItems[ri.specificIndex] = item; in addIntentOptions()
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/base/core/java/android/content/rollback/ |
D | PackageRollbackInfo.java | 131 for (RestoreInfo ri : mPendingRestores) { in getRestoreInfo() 132 if (ri.userId == userId) { in getRestoreInfo() 133 return ri; in getRestoreInfo() 141 public void removeRestoreInfo(RestoreInfo ri) { in removeRestoreInfo() argument 142 mPendingRestores.remove(ri); in removeRestoreInfo()
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 104 ReceiverInfo ri = sReceiverInfo.get(); in onAttachedToWindow() local 105 if (ri == null) { in onAttachedToWindow() 106 ri = new ReceiverInfo(); in onAttachedToWindow() 107 sReceiverInfo.set(ri); in onAttachedToWindow() 109 ri.addView(this); in onAttachedToWindow() 123 final ReceiverInfo ri = sReceiverInfo.get(); in onDetachedFromWindow() local 124 if (ri != null) { in onDetachedFromWindow() 125 ri.removeView(this); in onDetachedFromWindow() 420 ReceiverInfo ri = sReceiverInfo.get(); in setReceiverHandler() local 421 if (ri == null) { in setReceiverHandler() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | OffloadController.java | 402 for (RouteInfo ri : oldRoutes) { in pushDownstreamState() 403 if (shouldIgnoreDownstreamRoute(ri)) continue; in pushDownstreamState() 404 if (!newRoutes.contains(ri)) { in pushDownstreamState() 405 mHwInterface.removeDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 410 for (RouteInfo ri : newRoutes) { in pushDownstreamState() 411 if (shouldIgnoreDownstreamRoute(ri)) continue; in pushDownstreamState() 412 if (!oldRoutes.contains(ri)) { in pushDownstreamState() 413 mHwInterface.addDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 469 for (RouteInfo ri : mUpstreamLinkProperties.getRoutes()) { in pushUpstreamParameters() 470 if (!ri.hasGateway()) continue; in pushUpstreamParameters() [all …]
|
D | TetheringInterfaceUtils.java | 85 final RouteInfo ri = (lp != null) in getInterfaceForDestination() local 88 return (ri != null) ? ri.getInterface() : null; in getInterfaceForDestination()
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 145 ResolveInfo ri = AppGlobals.getPackageManager().resolveIntent(intent, in createLocalApprovalIntent() local 147 if (ri != null && ri.activityInfo != null && ri.activityInfo.exported) { in createLocalApprovalIntent() 148 intent.setComponent(new ComponentName(ri.activityInfo.packageName, in createLocalApprovalIntent() 149 ri.activityInfo.name)); in createLocalApprovalIntent()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 686 public ResolveInfoPresentationGetter(Context ctx, int iconDpi, ResolveInfo ri) { 687 super(ctx, iconDpi, ri.activityInfo); 688 mRi = ri; 719 ResolveInfoPresentationGetter makePresentationGetter(ResolveInfo ri) { 720 return new ResolveInfoPresentationGetter(this, mIconDpi, ri); 765 Drawable loadIconForResolveInfo(ResolveInfo ri) { 767 return makePresentationGetter(ri).getIcon(Process.myUserHandle()); 864 ResolveInfo ri = mAdapter.resolveInfoForPosition(checkedPos, filtered); 865 if (ri == null) { 868 } else if (ri.targetUserId != UserHandle.USER_CURRENT) { [all …]
|
D | IntentForwarderActivity.java | 123 final ResolveInfo ri = mInjector.resolveActivityAsUser(newIntent, MATCH_DEFAULT_ONLY, in onCreate() local 143 if (shouldShowDisclosure(ri, intentReceived)) { in onCreate() 153 private boolean shouldShowDisclosure(@Nullable ResolveInfo ri, Intent intent) { in shouldShowDisclosure() argument 154 if (ri == null || ri.activityInfo == null) { in shouldShowDisclosure() 157 if (ri.activityInfo.applicationInfo.isSystemApp() in shouldShowDisclosure() 161 return !isTargetResolverOrChooserActivity(ri.activityInfo); in shouldShowDisclosure()
|
D | ResolverListController.java | 207 ResolveInfo ri = inputList.get(i).getResolveInfoAt(0); in filterLowPriority() local 212 ri.activityInfo.name + "=" + in filterLowPriority() 213 ri.priority + "/" + ri.isDefault); in filterLowPriority() 214 if (r0.priority != ri.priority || in filterLowPriority() 215 r0.isDefault != ri.isDefault) { in filterLowPriority()
|
D | AbstractResolverComparator.java | 248 private boolean isDefaultBrowser(ResolveInfo ri) { in isDefaultBrowser() argument 251 if (ri.targetUserId != UserHandle.USER_CURRENT) { in isDefaultBrowser() 255 if (ri.activityInfo.packageName != null in isDefaultBrowser() 256 && ri.activityInfo.packageName.equals(mDefaultBrowserPackageName)) { in isDefaultBrowser()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 201 final RestoreInfo ri = info.getRestoreInfo(userId); in computePendingRestores() local 202 if (ri != null) { in computePendingRestores() 272 final RestoreInfo ri = info.getRestoreInfo(userId); in commitPendingBackupAndRestoreForUser() local 273 if (ri != null) { in commitPendingBackupAndRestoreForUser() 275 mInstaller.restoreAppDataSnapshot(info.getPackageName(), ri.appId, in commitPendingBackupAndRestoreForUser() 276 ri.seInfo, userId, data.info.getRollbackId(), in commitPendingBackupAndRestoreForUser() 278 info.removeRestoreInfo(ri); in commitPendingBackupAndRestoreForUser()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 167 for (ResolveInfo ri : ris) { in createMappings() 168 Log.i(TAG, "Name: " + ri.loadLabel(pm).toString() in createMappings() 169 + " package: " + ri.activityInfo.packageName in createMappings() 170 + " name: " + ri.activityInfo.name); in createMappings() 174 startIntent.setClassName(ri.activityInfo.packageName, in createMappings() 175 ri.activityInfo.name); in createMappings() 176 mNameToIntent.put(ri.loadLabel(pm).toString(), startIntent); in createMappings() 177 mNameToProcess.put(ri.loadLabel(pm).toString(), in createMappings() 178 ri.activityInfo.processName); in createMappings()
|
/frameworks/minikin/libs/minikin/ |
D | CmapCoverage.cpp | 94 size_t ri = 0; in mergeRanges() local 96 while (li < lsize || ri < rsize) { in mergeRanges() 98 Range right = getRange(rRanges, ri); in mergeRanges() 111 Range r = getRange(rRanges, ri); in mergeRanges() 113 ri += 2; in mergeRanges() 114 } while (ri < rsize); in mergeRanges() 125 ri += 2; in mergeRanges() 130 ri += 2; in mergeRanges() 132 right = getRange(rRanges, ri); in mergeRanges() 140 ri += 2; in mergeRanges() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 296 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, in InputMethodInfo() argument 299 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, forceDefault, in InputMethodInfo() 307 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, String settingsActivity, in InputMethodInfo() argument 310 final ServiceInfo si = ri.serviceInfo; in InputMethodInfo() 311 mService = ri; in InputMethodInfo() 324 ResolveInfo ri = new ResolveInfo(); in buildDummyResolveInfo() local 335 ri.serviceInfo = si; in buildDummyResolveInfo() 336 return ri; in buildDummyResolveInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | OverlayPackagesProviderTest.java | 339 ResolveInfo ri = new ResolveInfo(); in setSystemInputMethods() local 340 ri.serviceInfo = serviceInfo; in setSystemInputMethods() 341 InputMethodInfo inputMethodInfo = new InputMethodInfo(ri, false, null, null, 0, false); in setSystemInputMethods() 385 ResolveInfo ri = new ResolveInfo(); in queryIntentActivitiesAsUser() local 386 ri.activityInfo = ai; in queryIntentActivitiesAsUser() 387 result.add(ri); in queryIntentActivitiesAsUser()
|