/frameworks/compile/mclinker/unittests/ |
NamePoolTest.cpp | 13 #include <mcld/LD/ResolveInfo.h> 72 ResolveInfo::Type type = ResolveInfo::Function; 73 ResolveInfo::Desc desc = ResolveInfo::Define; 74 ResolveInfo::Binding binding = ResolveInfo::Local; 77 ResolveInfo::Visibility other = ResolveInfo::Default; 124 ResolveInfo::Type type = ResolveInfo::NoType [all...] |
/packages/apps/Settings/src/com/android/settings/ |
VoiceInputOutputSettings.java | 22 import android.content.pm.ResolveInfo; 69 private HashMap<String, ResolveInfo> mAvailableRecognizersMap; 87 mAvailableRecognizersMap = new HashMap<String, ResolveInfo>(); 104 List<ResolveInfo> availableRecognitionServices = 122 ResolveInfo resolveInfo = availableRecognitionServices.get(0); 124 new ComponentName(resolveInfo.serviceInfo.packageName, 125 resolveInfo.serviceInfo.name).flattenToShortString(); 127 mAvailableRecognizersMap.put(recognizerComponent, resolveInfo); 151 private void populateRecognizerPreference(List<ResolveInfo> recognizers) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManager.java | 13 import android.content.pm.ResolveInfo; 22 private Map<Intent, List<ResolveInfo>> resolveList = new HashMap<Intent, List<ResolveInfo>>(); 75 public List<ResolveInfo> queryIntentActivities( Intent intent, int flags ) { 76 List<ResolveInfo> result = resolveList.get( intent ); 77 return (result == null) ? new ArrayList<ResolveInfo>() : result; 81 public ResolveInfo resolveActivity(Intent intent, int flags) { 82 List<ResolveInfo> candidates = queryIntentActivities(intent, flags); 87 public ResolveInfo resolveService(Intent intent, int flags) { 91 public void addResolveInfoForIntent( Intent intent, List<ResolveInfo> info ) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LiveWallpaperListAdapter.java | 24 import android.content.pm.ResolveInfo; 60 List<ResolveInfo> list = mPackageManager.queryIntentServices( 132 AsyncTask<List<ResolveInfo>, LiveWallpaperTile, Void> { 143 protected Void doInBackground(List<ResolveInfo>... params) { 146 List<ResolveInfo> list = params[0]; 148 Collections.sort(list, new Comparator<ResolveInfo>() { 155 public int compare(ResolveInfo info1, ResolveInfo info2) { 161 for (ResolveInfo resolveInfo : list) [all...] |
IconCache.java | 25 import android.content.pm.ResolveInfo; 99 public Drawable getFullResIcon(ResolveInfo info) { 169 public void getTitleAndIcon(AppInfo application, ResolveInfo info, 181 final ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); 184 if (resolveInfo == null || component == null) { 188 CacheEntry entry = cacheLocked(component, resolveInfo, null); 193 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo, 196 if (resolveInfo == null || component == null) [all...] |
AllAppsList.java | 27 import android.content.pm.ResolveInfo; 96 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); 99 for (ResolveInfo info : matches) { 126 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); 146 final ResolveInfo info = matches.get(i); 175 static List<ResolveInfo> findActivitiesForPackage(Context context, String packageName) { 182 final List<ResolveInfo> apps = packageManager.queryIntentActivities(mainIntent, 0); 183 return apps != null ? apps : new ArrayList<ResolveInfo>(); 189 private static boolean findActivity(List<ResolveInfo> apps, ComponentName component) { 191 for (ResolveInfo info : apps) [all...] |
InstallWidgetReceiver.java | 26 import android.content.pm.ResolveInfo; 62 public ResolveInfo resolveInfo; 65 public WidgetMimeTypeHandlerData(ResolveInfo rInfo, AppWidgetProviderInfo wInfo) { 66 resolveInfo = rInfo; 138 final ResolveInfo resolveInfo = data.resolveInfo; 142 Drawable d = resolveInfo.loadIcon(packageManager); 147 final CharSequence component = resolveInfo.loadLabel(packageManager) [all...] |
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperListAdapter.java | 23 import android.content.pm.ResolveInfo; 65 List<ResolveInfo> list = mPackageManager.queryIntentServices( 139 AsyncTask<List<ResolveInfo>, LiveWallpaperInfo, Void> { 150 protected Void doInBackground(List<ResolveInfo>... params) { 153 List<ResolveInfo> list = params[0]; 162 Collections.sort(list, new Comparator<ResolveInfo>() { 169 public int compare(ResolveInfo info1, ResolveInfo info2) { 175 for (ResolveInfo resolveInfo : list) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ResolveInfoTest.java | 10 import android.content.pm.ResolveInfo; 18 private ResolveInfo mResolveInfo;
|
/frameworks/compile/mclinker/lib/Core/ |
IRBuilder.cpp | 95 bool ShouldForceLocal(const ResolveInfo& pInfo, const LinkerConfig& pConfig) 103 (pInfo.visibility() == ResolveInfo::Hidden || 104 pInfo.visibility() == ResolveInfo::Internal) && 447 ResolveInfo::Type pType, 448 ResolveInfo::Desc pDesc, 449 ResolveInfo::Binding pBind, 450 ResolveInfo::SizeType pSize, 453 ResolveInfo::Visibility pVis) 458 ResolveInfo::Undefined == pDesc) { 473 ResolveInfo::Undefined == pDesc | [all...] |
/development/apps/Development/src/com/android/development/ |
Development.java | 24 import android.content.pm.ResolveInfo; 36 protected void onSortResultList(List<ResolveInfo> results) { 39 List<ResolveInfo> topItems = getPackageManager().queryIntentActivities(
|
/frameworks/compile/mclinker/lib/LD/ |
ELFBinaryReader.cpp | 81 ResolveInfo::Section, 82 ResolveInfo::Define, 83 ResolveInfo::Local, 100 ResolveInfo::NoType, 101 ResolveInfo::Define, 102 ResolveInfo::Global, 110 ResolveInfo::NoType, 111 ResolveInfo::Define, 112 ResolveInfo::Global, 120 ResolveInfo::NoType [all...] |
LDSymbol.cpp | 53 LDSymbol* LDSymbol::Create(ResolveInfo& pResolveInfo) 76 if (NULL == g_NullSymbol->resolveInfo()) { 77 g_NullSymbol->setResolveInfo(*ResolveInfo::Null()); 79 ResolveInfo::Null()->setSymPtr(&*g_NullSymbol); 89 void LDSymbol::setResolveInfo(const ResolveInfo& pInfo) 91 m_pResolveInfo = const_cast<ResolveInfo*>(&pInfo);
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsGOT.h | 57 bool reserveLocalEntry(ResolveInfo& pInfo); 58 bool reserveGlobalEntry(ResolveInfo& pInfo); 72 void recordEntry(const ResolveInfo* pInfo, MipsGOTEntry* pEntry); 73 MipsGOTEntry* lookupEntry(const ResolveInfo* pInfo); 75 void setLocal(const ResolveInfo* pInfo) { 79 void setGlobal(const ResolveInfo* pInfo) { 83 bool isLocal(const ResolveInfo* pInfo) { 87 bool isGlobal(const ResolveInfo* pInfo) { 131 typedef llvm::DenseSet<const ResolveInfo*> SymbolSetType; 132 typedef llvm::DenseMap<const ResolveInfo*, bool> SymbolUniqueMapType [all...] |
MipsLDBackend.cpp | 76 ResolveInfo::Object, 77 ResolveInfo::Define, 78 ResolveInfo::Local, 82 ResolveInfo::Hidden); 86 ResolveInfo::Section, 87 ResolveInfo::Define, 88 ResolveInfo::Absolute, 92 ResolveInfo::Default); 95 m_pGpDispSymbol->resolveInfo()->setReserved(MipsRelocator::ReserveGpDisp); 183 return ResolveInfo::Section != pSym.type() | [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
IconCache.java | 25 import android.content.pm.ResolveInfo; 97 public Drawable getFullResIcon(ResolveInfo info) { 152 public void getTitleAndIcon(ApplicationInfo application, ResolveInfo info, 164 final ResolveInfo resolveInfo = mPackageManager.resolveActivity(intent, 0); 167 if (resolveInfo == null || component == null) { 171 CacheEntry entry = cacheLocked(component, resolveInfo, null); 176 public Bitmap getIcon(ComponentName component, ResolveInfo resolveInfo, 179 if (resolveInfo == null || component == null) [all...] |
AllAppsList.java | 27 import android.content.pm.ResolveInfo; 90 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); 93 for (ResolveInfo info : matches) { 120 final List<ResolveInfo> matches = findActivitiesForPackage(context, packageName); 140 final ResolveInfo info = matches.get(i); 169 private static List<ResolveInfo> findActivitiesForPackage(Context context, String packageName) { 176 final List<ResolveInfo> apps = packageManager.queryIntentActivities(mainIntent, 0); 177 return apps != null ? apps : new ArrayList<ResolveInfo>(); 183 private static boolean findActivity(List<ResolveInfo> apps, ComponentName component) { 185 for (ResolveInfo info : apps) [all...] |
InstallWidgetReceiver.java | 26 import android.content.pm.ResolveInfo; 62 public ResolveInfo resolveInfo; 65 public WidgetMimeTypeHandlerData(ResolveInfo rInfo, AppWidgetProviderInfo wInfo) { 66 resolveInfo = rInfo; 141 final ResolveInfo resolveInfo = data.resolveInfo; 145 Drawable d = resolveInfo.loadIcon(packageManager); 150 final CharSequence component = resolveInfo.loadLabel(packageManager) [all...] |
/packages/apps/Tag/src/com/android/apps/tag/record/ |
RecordUtils.java | 27 import android.content.pm.ResolveInfo; 68 List<ResolveInfo> activities = pm.queryIntentActivities(intent, flags); 85 for (ResolveInfo resolveInfo : activities) { 86 if (!resolveInfo.activityInfo.enabled) { 95 container.addView(buildActivityView(activity, resolveInfo, pm, inflater, container, 105 private static View buildActivityView(Activity activity, ResolveInfo resolveInfo, PackageManager pm, 108 ActivityInfo activityInfo = resolveInfo.activityInfo; 110 intent.setAction(resolveInfo.filter.getAction(0)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhoneCapabilityTester.java | 23 import android.content.pm.ResolveInfo; 50 final List<ResolveInfo> receiverList = packageManager.queryIntentActivities(intent, 88 final List<ResolveInfo> resolveInfos = packageManager.queryIntentActivities(intent, 0); 89 for (ResolveInfo resolveInfo : resolveInfos) { 90 if (smsPackage.equals(resolveInfo.activityInfo.packageName)) { 91 return new ComponentName(smsPackage, resolveInfo.activityInfo.name);
|
/frameworks/compile/mclinker/include/mcld/ |
IRBuilder.h | 389 /// function, no-type and so on. @see ResolveInfo 406 ResolveInfo::Type pType, 407 ResolveInfo::Desc pDesc, 408 ResolveInfo::Binding pBind, 409 ResolveInfo::SizeType pSize, 412 ResolveInfo::Visibility pVis = ResolveInfo::Default); 451 ResolveInfo::Type pType, 452 ResolveInfo::Desc pDesc, 453 ResolveInfo::Binding pBinding [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ResolveCache.java | 25 import android.content.pm.ResolveInfo; 46 * multiple {@link ResolveInfo} are found to match. This only happens when 103 * Cached entry holding the best {@link ResolveInfo} for a specific 107 public ResolveInfo bestResolve; 136 final List<ResolveInfo> matches = mPackageManager.queryIntentActivities(intent, 140 ResolveInfo bestResolve = null; 161 * Best {@link ResolveInfo} when multiple found. Ties are broken by 169 protected ResolveInfo getBestResolve(Intent intent, List<ResolveInfo> matches) { 171 final ResolveInfo foundResolve = mPackageManager.resolveActivity(intent [all...] |
/frameworks/base/docs/html/sdk/api_diff/17/changes/ |
android.content.pm.ResolveInfo.html | 10 android.content.pm.ResolveInfo 74 Class android.content.pm.<A HREF="../../../../reference/android/content/pm/ResolveInfo.html" target="_top"><font size="+2"><code>ResolveInfo</code></font></A> 85 <A NAME="android.content.pm.ResolveInfo.ctor_added(android.content.pm.ResolveInfo)"></A> 86 <nobr><A HREF="../../../../reference/android/content/pm/ResolveInfo.html#ResolveInfo(android.content.pm.ResolveInfo)" target="_top"><code>ResolveInfo</code></A>(<code>ResolveInfo</code>)</nobr [all...] |
/frameworks/base/core/java/android/content/pm/ |
ResolveInfo.java | 37 public class ResolveInfo implements Parcelable { 38 private static final String TAG = "ResolveInfo"; 63 * The IntentFilter that was matched for this ResolveInfo. 252 public ResolveInfo() { 255 public ResolveInfo(ResolveInfo orig) { 274 sb.append("ResolveInfo{"); 326 public static final Creator<ResolveInfo> CREATOR 327 = new Creator<ResolveInfo>() { 328 public ResolveInfo createFromParcel(Parcel source) [all...] |
/frameworks/compile/mclinker/include/mcld/Fragment/ |
Stub.h | 26 class ResolveInfo; 88 /// symInfo - ResolveInfo of this Stub 89 ResolveInfo* symInfo() { return m_pSymInfo; } 91 const ResolveInfo* symInfo() const { return m_pSymInfo; } 106 void setSymInfo(ResolveInfo* pSymInfo); 127 ResolveInfo* m_pSymInfo;
|