/cts/tests/tests/security/src/android/security/cts/ |
IntentSenderRemovalTest.java | 24 import android.content.pm.ResolveInfo; 43 ResolveInfo ri = pm.resolveActivity(debugIntentSender, 0);
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
AutomotiveEligibilityChecker.java | 5 import android.content.pm.ResolveInfo; 18 public static boolean isEligible(Context context, String id, ResolveInfo info) {
|
ProviderEligibilityChecker.java | 22 import android.content.pm.ResolveInfo; 33 public static boolean isEligible(Context context, String id, ResolveInfo info) { 38 private static boolean isSystemApp(String id, ResolveInfo info) { 50 private static boolean isEnabledInMetadata(Context context, String id, ResolveInfo info) {
|
/frameworks/base/core/java/android/app/ |
ISearchManager.aidl | 22 import android.content.pm.ResolveInfo; 30 List<ResolveInfo> getGlobalSearchActivities();
|
/frameworks/compile/mclinker/lib/Core/ |
IRBuilder.cpp | 399 ResolveInfo::Type pType, 400 ResolveInfo::Desc pDesc, 401 ResolveInfo::Binding pBind, 402 ResolveInfo::SizeType pSize, 405 ResolveInfo::Visibility pVis) { 409 ResolveInfo::Undefined == pDesc) { 420 if (pInput.noExport() && (pDesc != ResolveInfo::Undefined)) { 421 if ((pVis == ResolveInfo::Default) || (pVis == ResolveInfo::Protected)) { 422 pVis = ResolveInfo::Hidden [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
ARMRelocator.h | 25 typedef KeyEntryMap<ResolveInfo, ARMGOTEntry> SymGOTMap; 26 typedef KeyEntryMap<ResolveInfo, ARMPLT1> SymPLTMap; 29 * \brief The reserved entry type of reserved space in ResolveInfo. 118 void addCopyReloc(ResolveInfo& pSym); 124 const ResolveInfo& pSym);
|
/frameworks/compile/mclinker/unittests/ |
NamePoolTest.cpp | 13 #include "mcld/LD/ResolveInfo.h" 66 ResolveInfo::Type type = ResolveInfo::Function; 67 ResolveInfo::Desc desc = ResolveInfo::Define; 68 ResolveInfo::Binding binding = ResolveInfo::Local; 71 ResolveInfo::Visibility other = ResolveInfo::Default; 104 ResolveInfo::Type type = ResolveInfo::NoType [all...] |
/frameworks/compile/mclinker/include/mcld/Fragment/ |
Stub.h | 26 class ResolveInfo; 90 /// symInfo - ResolveInfo of this Stub 91 ResolveInfo* symInfo() { return m_pSymInfo; } 93 const ResolveInfo* symInfo() const { return m_pSymInfo; } 118 void setSymInfo(ResolveInfo* pSymInfo); 142 ResolveInfo* m_pSymInfo;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
ELFReaderIf.h | 70 virtual ResolveInfo* readSignature(Input& pInput, 98 ResolveInfo::Type getSymType(uint8_t pInfo, uint16_t pShndx) const; 100 ResolveInfo::Desc getSymDesc(uint16_t pShndx, const Input& pInput) const; 102 ResolveInfo::Binding getSymBinding(uint8_t pBinding, 114 ResolveInfo::Visibility getSymVisibility(uint8_t pVis) const;
|
/frameworks/compile/mclinker/lib/Fragment/ |
Stub.cpp | 14 #include "mcld/LD/ResolveInfo.h" 28 void Stub::setSymInfo(ResolveInfo* pSymInfo) { 47 ResolveInfo::Function, 48 ResolveInfo::Define, 49 ResolveInfo::Local, 53 ResolveInfo::Default); 54 setSymInfo(symbol->resolveInfo());
|
/frameworks/compile/mclinker/lib/LD/ |
SectionSymbolSet.cpp | 18 #include "mcld/LD/ResolveInfo.h" 36 // create the resolveInfo for this section symbol 38 ResolveInfo* sym_info = pNamePool.createSymbol(sym_name, 40 ResolveInfo::Section, 41 ResolveInfo::Define, 42 ResolveInfo::Local, 44 ResolveInfo::Default);
|
/packages/apps/Settings/tests/unit/src/com/android/settings/ |
SettingsHookTests.java | 25 import android.content.pm.ResolveInfo; 83 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0); 84 for (ResolveInfo resolveInfo : list) { 85 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) { 101 List<ResolveInfo> list = pm.queryIntentActivities(intent, 0); 102 for (ResolveInfo resolveInfo : list) { 103 if (resolveInfo.activityInfo.packageName.equals(PACKAGE_NAME)) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManager.java | 14 import android.content.pm.ResolveInfo; 23 private Map<Intent, List<ResolveInfo>> resolveList = new HashMap<Intent, List<ResolveInfo>>(); 76 public List<ResolveInfo> queryIntentActivities( Intent intent, int flags ) { 81 public List<ResolveInfo> queryIntentServices( Intent intent, int flags ) { 86 public List<ResolveInfo> queryBroadcastReceivers(Intent intent, int flags) { 91 public ResolveInfo resolveActivity(Intent intent, int flags) { 92 List<ResolveInfo> candidates = queryIntentActivities(intent, flags); 97 public ResolveInfo resolveService(Intent intent, int flags) { 101 public void addResolveInfoForIntent( Intent intent, List<ResolveInfo> info ) [all...] |
/frameworks/compile/mclinker/lib/Target/Mips/ |
MipsGOT.h | 49 bool reserveLocalEntry(ResolveInfo& pInfo, 52 bool reserveGlobalEntry(ResolveInfo& pInfo); 53 bool reserveTLSGdEntry(ResolveInfo& pInfo); 54 bool reserveTLSGotEntry(ResolveInfo& pInfo); 69 void recordGlobalEntry(const ResolveInfo* pInfo, Fragment* pEntry); 70 Fragment* lookupGlobalEntry(const ResolveInfo* pInfo); 72 void recordTLSEntry(const ResolveInfo* pInfo, Fragment* pEntry, 74 Fragment* lookupTLSEntry(const ResolveInfo* pInfo, Relocation::Type pType); 76 void recordLocalEntry(const ResolveInfo* pInfo, 79 Fragment* lookupLocalEntry(const ResolveInfo* pInfo [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 104 * Cached entry holding the best {@link ResolveInfo} for a specific 108 public ResolveInfo bestResolve; 135 final List<ResolveInfo> matches = mPackageManager.queryIntentActivities(intent, 139 ResolveInfo bestResolve = null; 160 * Best {@link ResolveInfo} when multiple found. Ties are broken by 168 protected ResolveInfo getBestResolve(Intent intent, List<ResolveInfo> matches) { 170 final ResolveInfo foundResolve = mPackageManager.resolveActivity(intent [all...] |
/packages/apps/Settings/src/com/android/settings/applications/defaultapps/ |
DefaultBrowserPreferenceController.java | 24 import android.content.pm.ResolveInfo; 51 final List<ResolveInfo> candidates = getCandidates(); 106 private List<ResolveInfo> getCandidates() { 113 final List<ResolveInfo> list = getCandidates(); 115 final ResolveInfo info = list.get(0); 126 final List<ResolveInfo> list = getCandidates(); 128 final ResolveInfo info = list.get(0); 154 final List<ResolveInfo> resolveInfos = 168 final List<ResolveInfo> list = mPackageManager.queryIntentActivitiesAsUser(BROWSE_PROBE,
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
LensPickerActivity.java | 22 import android.content.pm.ResolveInfo; 23 import android.content.pm.ResolveInfo.DisplayNameComparator; 78 List<ResolveInfo> resolveInfos = getComponents(packages, categories); 82 ResolveInfo rInfo = resolveInfos.get(0); 127 private ArrayList<ResolveInfo> getComponents(String[] packages, String[] categories) { 128 List<ResolveInfo> packageList = new ArrayList<>(); 146 HashMap<String, ResolveInfo> dedupeList = new HashMap<>(); 147 for (ResolveInfo pkg : packageList) { 154 ArrayList<ResolveInfo> filteredPackageList = new ArrayList<>(dedupeList.values()); 169 private List<ResolveInfo> resolvePackage(String packageName) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ResolveInfoTest.java | 23 import android.content.pm.ResolveInfo; 36 new ResolveInfo(); 41 ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); 44 assertEquals(expectedLabel, resolveInfo.loadLabel(pm).toString()); 45 assertNotNull(resolveInfo.loadIcon(pm)); 46 assertTrue(resolveInfo.getIconResource() != 0); 47 assertNotNull(resolveInfo.toString()); 48 assertEquals(0, resolveInfo.describeContents()); 54 ResolveInfo resolveInfo = pm.resolveService(intent, PackageManager.GET_RESOLVED_FILTER) [all...] |
/frameworks/base/services/core/java/com/android/server/search/ |
Searchables.java | 30 import android.content.pm.ResolveInfo; 70 private List<ResolveInfo> mGlobalSearchActivities; 233 List<ResolveInfo> searchList; 241 List<ResolveInfo> webSearchInfoList; 253 ResolveInfo info = (ii < search_count) 272 List<ResolveInfo> newGlobalSearchActivities = findGlobalSearchActivities(); 303 private List<ResolveInfo> findGlobalSearchActivities() { 307 List<ResolveInfo> activities = queryIntentActivities(intent, 320 private ComponentName findGlobalSearchActivity(List<ResolveInfo> installed) { 344 List<ResolveInfo> activities = queryIntentActivities(intent [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/res/ |
RobolectricPackageManagerTest.java | 18 import android.content.pm.ResolveInfo; 68 List<ResolveInfo> activities = rpm.queryIntentActivities(i, 0); 78 ResolveInfo info = new ResolveInfo(); 83 List<ResolveInfo> activities = rpm.queryIntentActivities(i, 0); 94 List<ResolveInfo> broadCastReceivers = rpm.queryBroadcastReceivers(i, 0); 102 ResolveInfo info = new ResolveInfo(); 107 List<ResolveInfo> broadCastReceivers = rpm.queryBroadcastReceivers(i, 0); 116 ResolveInfo info = new ResolveInfo() [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
NfcTest.java | 21 import android.content.pm.ResolveInfo; 50 for (ResolveInfo resolveInfo : pm.queryIntentActivities(intent, 0)) { 51 if (NFC_BEAM_ACTIVITY.equals(resolveInfo.activityInfo.name)) {
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilitySettingsTest.java | 21 import android.content.pm.ResolveInfo; 42 List<ResolveInfo> resolvedActivities = packageManager.queryIntentActivities(intent,
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
ContactsContractIntentsTest.java | 20 import android.content.pm.ResolveInfo; 32 List<ResolveInfo> resolveInfoList = getContext() 34 assertNotNull("Missing ResolveInfo", resolveInfoList); 35 assertTrue("No ResolveInfo found for " + intent.toInsecureString(),
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ResolveInfoTest.java | 10 import android.content.pm.ResolveInfo; 18 private ResolveInfo mResolveInfo;
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowResolveInfoTest.java | 5 import android.content.pm.ResolveInfo; 15 private ResolveInfo mResolveInfo;
|