Home
last modified time | relevance | path

Searched refs:resolved (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityIntentHelper.java82 ResolveInfo resolved = packageManager.resolveActivityAsUser(intent, in getTargetActivityInfo() local
84 if (resolved == null || wouldLaunchResolverActivity(resolved, appList)) { in getTargetActivityInfo()
87 return resolved.activityInfo; in getTargetActivityInfo()
114 public boolean wouldLaunchResolverActivity(ResolveInfo resolved, List<ResolveInfo> appList) { in wouldLaunchResolverActivity() argument
119 if (tmp.activityInfo.name.equals(resolved.activityInfo.name) in wouldLaunchResolverActivity()
120 && tmp.activityInfo.packageName.equals(resolved.activityInfo.packageName)) { in wouldLaunchResolverActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DPreviewInflater.java133 ResolveInfo resolved = packageManager.resolveActivityAsUser(intent, in getWidgetInfo() local
136 if (mActivityIntentHelper.wouldLaunchResolverActivity(resolved, appList)) { in getWidgetInfo()
139 if (resolved == null || resolved.activityInfo == null) { in getWidgetInfo()
142 return getWidgetInfoFromMetaData(resolved.activityInfo.packageName, in getWidgetInfo()
143 resolved.activityInfo.metaData); in getWidgetInfo()
/frameworks/base/core/tests/coretests/src/android/os/vibrator/
DStepSegmentTest.java85 StepSegment resolved = new StepSegment(0, 0, 0); in testResolve() local
86 assertSame(resolved, resolved.resolve(100)); in testResolve()
88 assertThrows(IllegalArgumentException.class, () -> resolved.resolve(1000)); in testResolve()
/frameworks/base/core/java/android/content/
DContentProviderOperation.java448 final Object resolved; in resolveValueBackReferences() local
450 resolved = ((BackReference) value).resolve(backRefs, numBackRefs); in resolveValueBackReferences()
452 resolved = value; in resolveValueBackReferences()
454 values.putObject(mValues.keyAt(i), resolved); in resolveValueBackReferences() local
475 final Object resolved; in resolveExtrasBackReferences() local
477 resolved = ((BackReference) value).resolve(backRefs, numBackRefs); in resolveExtrasBackReferences()
479 resolved = value; in resolveExtrasBackReferences()
481 extras.putObject(mExtras.keyAt(i), resolved); in resolveExtrasBackReferences() local
507 final Object resolved; in resolveSelectionArgsBackReferences() local
509 resolved = ((BackReference) value).resolve(backRefs, numBackRefs); in resolveSelectionArgsBackReferences()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DVibrationEffectTest.java198 VibrationEffect.Composed resolved = DEFAULT_ONE_SHOT.resolve(51); in testResolveOneShot() local
199 assertEquals(0.2f, ((StepSegment) resolved.getSegments().get(0)).getAmplitude()); in testResolveOneShot()
206 VibrationEffect.Composed resolved = TEST_WAVEFORM.resolve(102); in testResolveWaveform() local
207 assertEquals(0.4f, ((StepSegment) resolved.getSegments().get(2)).getAmplitude()); in testResolveWaveform()
225 VibrationEffect.Composed resolved = VibrationEffect.startComposition() in testResolveComposed() local
229 assertEquals(0.2f, ((StepSegment) resolved.getSegments().get(0)).getAmplitude()); in testResolveComposed()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTileUtils.java304 for (ResolveInfo resolved : results) { in loadActivityTiles()
305 if (!resolved.system) { in loadActivityTiles()
309 final ActivityInfo activityInfo = resolved.activityInfo; in loadActivityTiles()
321 for (ResolveInfo resolved : results) { in loadProviderTiles()
322 if (!resolved.system) { in loadProviderTiles()
326 final ProviderInfo providerInfo = resolved.providerInfo; in loadProviderTiles()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationScalerTest.java200 StepSegment resolved = getFirstSegment(mVibrationScaler.scale( in scale_withOneShotAndWaveform_resolvesAmplitude() local
203 assertTrue(resolved.getAmplitude() > 0); in scale_withOneShotAndWaveform_resolvesAmplitude()
205 resolved = getFirstSegment(mVibrationScaler.scale( in scale_withOneShotAndWaveform_resolvesAmplitude()
209 assertTrue(resolved.getAmplitude() > 0); in scale_withOneShotAndWaveform_resolvesAmplitude()
/frameworks/native/cmds/installd/
Dutils.cpp88 auto resolved = StringPrintf("%s/%s", root_path.c_str(), ent->d_name); in resolve_ce_path_by_inode_or_fallback() local
89 if (resolved != fallback) { in resolve_ce_path_by_inode_or_fallback()
90 LOG(DEBUG) << "Resolved path " << resolved << " for inode " << ce_data_inode in resolve_ce_path_by_inode_or_fallback()
94 return resolved; in resolve_ce_path_by_inode_or_fallback()
801 auto resolved = StringPrintf("%s/%s", parent.c_str(), ent->d_name); in read_path_inode() local
803 if (resolved != fallback) { in read_path_inode()
804 LOG(DEBUG) << "Resolved path " << resolved << " for inode " << inode in read_path_inode()
809 return resolved; in read_path_inode()
DInstalldNativeService.cpp2998 auto resolved = mStorageMounts[path]; in findDataMediaPath() local
2999 if (resolved.empty()) { in findDataMediaPath()
3001 resolved = path; in findDataMediaPath()
3003 return StringPrintf("%s/%u", resolved.c_str(), userid); in findDataMediaPath()
/frameworks/base/services/core/java/com/android/server/pm/
DDataLoaderManagerService.java132 ComponentName resolved = new ComponentName( in resolveDataLoaderComponentName() local
136 return resolved; in resolveDataLoaderComponentName()
DShortcutService.java4285 final List<ResolveInfo> resolved;
4288 resolved = mContext.getPackageManager().queryIntentActivitiesAsUser(intent,
4293 if (resolved == null || resolved.size() == 0) {
4297 resolved.removeIf(ACTIVITY_NOT_INSTALLED);
4298 resolved.removeIf((ri) -> {
4303 resolved.removeIf(ACTIVITY_NOT_EXPORTED);
4305 return resolved;
4316 final List<ResolveInfo> resolved =
4318 return resolved.size() == 0 ? null : resolved.get(0).activityInfo.getComponentName();
4337 final List<ResolveInfo> resolved = queryActivities(
[all …]
/frameworks/base/core/java/android/os/
DVibrationEffect.java634 Composed resolved = new Composed(resolvedSegments, mRepeatIndex); in resolve() local
635 resolved.validate(); in resolve()
636 return resolved; in resolve()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityClientController.java1211 final ParceledListSlice<ResolveInfo> resolved = in isLauncherActivity() local
1214 if (resolved == null) return false; in isLauncherActivity()
1215 for (final ResolveInfo ri : resolved.getList()) { in isLauncherActivity()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java789 ResourceValue resolved = mRenderResources.resolveResValue( in internalObtainStyledAttributes() local
792 if (resolved instanceof StyleResourceValue) { in internalObtainStyledAttributes()
793 customStyleValues = (StyleResourceValue) resolved; in internalObtainStyledAttributes()
/frameworks/base/core/java/android/content/res/
DResources.java1878 boolean resolved = resolveAttribute(styleAttr, explicitStyle, true); in getExplicitStyle()
1879 if (resolved) { in getExplicitStyle()
/frameworks/base/
DAndroid.bp566 // need to be resolved by metalava. We use a prebuilt stub of the
/frameworks/base/core/java/android/view/
DViewRootImpl.java4617 final boolean resolved = mView.mContext.getTheme().resolveAttribute( in getAccessibilityFocusedDrawable()
4619 if (resolved) { in getAccessibilityFocusedDrawable()
/frameworks/native/docs/
DDoxyfile362 # pre-resolved symbols. If the cache is too small doxygen will become slower.
/frameworks/av/media/libaaudio/
DDoxyfile379 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
/frameworks/av/media/codec2/docs/
Ddoxygen.config407 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
/frameworks/base/media/native/midi/include/
DDoxyfile416 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small