/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/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/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/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/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 | 107 ReceiverInfo ri = sReceiverInfo.get(); in onAttachedToWindow() local 108 if (ri == null) { in onAttachedToWindow() 109 ri = new ReceiverInfo(); in onAttachedToWindow() 110 sReceiverInfo.set(ri); in onAttachedToWindow() 112 ri.addView(this); in onAttachedToWindow() 126 final ReceiverInfo ri = sReceiverInfo.get(); in onDetachedFromWindow() local 127 if (ri != null) { in onDetachedFromWindow() 128 ri.removeView(this); in onDetachedFromWindow() 418 ReceiverInfo ri = sReceiverInfo.get(); in setReceiverHandler() local 419 if (ri == null) { in setReceiverHandler() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 701 public ResolveInfoPresentationGetter(Context ctx, int iconDpi, ResolveInfo ri) { 702 super(ctx, iconDpi, ri.activityInfo); 703 mRi = ri; 734 ResolveInfoPresentationGetter makePresentationGetter(ResolveInfo ri) { 735 return new ResolveInfoPresentationGetter(this, mIconDpi, ri); 780 Drawable loadIconForResolveInfo(ResolveInfo ri) { 782 return makePresentationGetter(ri).getIcon(Process.myUserHandle()); 879 ResolveInfo ri = mAdapter.resolveInfoForPosition(checkedPos, filtered); 880 if (ri == null) { 883 } 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 | 218 ResolveInfo ri = inputList.get(i).getResolveInfoAt(0); in filterLowPriority() local 223 ri.activityInfo.name + "=" + in filterLowPriority() 224 ri.priority + "/" + ri.isDefault); in filterLowPriority() 225 if (r0.priority != ri.priority || in filterLowPriority() 226 r0.isDefault != ri.isDefault) { in filterLowPriority()
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | OffloadController.java | 540 for (RouteInfo ri : oldRoutes) { in pushDownstreamState() 541 if (shouldIgnoreDownstreamRoute(ri)) continue; in pushDownstreamState() 542 if (!newRoutes.contains(ri)) { in pushDownstreamState() 543 mHwInterface.removeDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 548 for (RouteInfo ri : newRoutes) { in pushDownstreamState() 549 if (shouldIgnoreDownstreamRoute(ri)) continue; in pushDownstreamState() 550 if (!oldRoutes.contains(ri)) { in pushDownstreamState() 551 mHwInterface.addDownstreamPrefix(ifname, ri.getDestination().toString()); in pushDownstreamState() 608 for (RouteInfo ri : mUpstreamLinkProperties.getRoutes()) { in pushUpstreamParameters() 609 if (!ri.hasGateway()) continue; in pushUpstreamParameters() [all …]
|
D | TetheringInterfaceUtils.java | 89 final RouteInfo ri = (lp != null) in getInterfaceForDestination() local 92 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/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/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 203 final RestoreInfo ri = info.getRestoreInfo(userId); in computePendingRestores() local 204 if (ri != null) { in computePendingRestores() 275 final RestoreInfo ri = info.getRestoreInfo(userId); in commitPendingBackupAndRestoreForUser() local 276 if (ri != null) { in commitPendingBackupAndRestoreForUser() 278 mInstaller.restoreAppDataSnapshot(info.getPackageName(), ri.appId, in commitPendingBackupAndRestoreForUser() 279 ri.seInfo, userId, rollback.info.getRollbackId(), in commitPendingBackupAndRestoreForUser() 281 info.removeRestoreInfo(ri); in commitPendingBackupAndRestoreForUser()
|
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rscript | 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.rscript | 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.rscript | 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.rscript | 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/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()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartController.java | 223 final ResolveInfo ri = ris.get(0); in startSetupActivity() local 224 String vers = ri.activityInfo.metaData != null in startSetupActivity() 225 ? ri.activityInfo.metaData.getString(Intent.METADATA_SETUP_VERSION) in startSetupActivity() 227 if (vers == null && ri.activityInfo.applicationInfo.metaData != null) { in startSetupActivity() 228 vers = ri.activityInfo.applicationInfo.metaData.getString( in startSetupActivity() 236 ri.activityInfo.packageName, ri.activityInfo.name)); in startSetupActivity() 239 .setActivityInfo(ri.activityInfo) in startSetupActivity()
|