Home
last modified time | relevance | path

Searched refs:ResolveInfo (Results 1 – 25 of 386) sorted by relevance

12345678910>>...16

/frameworks/compile/mclinker/include/mcld/LD/
DStaticResolver.h64 …U = ResolveInfo::global_flag | ResolveInfo::regular_flag | ResolveInfo::undefine_flag, // NOLI…
65 …w_U = ResolveInfo::weak_flag | ResolveInfo::regular_flag | ResolveInfo::undefine_flag, // NOLI…
66 …d_U = ResolveInfo::global_flag | ResolveInfo::dynamic_flag | ResolveInfo::undefine_flag, // NOLI…
67 …wd_U = ResolveInfo::weak_flag | ResolveInfo::dynamic_flag | ResolveInfo::undefine_flag, // NOLI…
68 …D = ResolveInfo::global_flag | ResolveInfo::regular_flag | ResolveInfo::define_flag, // NOLI…
69 …w_D = ResolveInfo::weak_flag | ResolveInfo::regular_flag | ResolveInfo::define_flag, // NOLI…
70 …d_D = ResolveInfo::global_flag | ResolveInfo::dynamic_flag | ResolveInfo::define_flag, // NOLI…
71 …wd_D = ResolveInfo::weak_flag | ResolveInfo::dynamic_flag | ResolveInfo::define_flag, // NOLI…
72 …C = ResolveInfo::global_flag | ResolveInfo::regular_flag | ResolveInfo::common_flag, // NOLI…
73 …w_C = ResolveInfo::weak_flag | ResolveInfo::regular_flag | ResolveInfo::common_flag, // NOLI…
[all …]
DNamePool.h33 typedef HashTable<ResolveInfo, hash::StringHash<hash::DJB> > Table;
37 typedef GCFactory<ResolveInfo*, 128> FreeInfoSet;
51 ResolveInfo* createSymbol(
54 ResolveInfo::Type pType,
55 ResolveInfo::Desc pDesc,
56 ResolveInfo::Binding pBinding,
57 ResolveInfo::SizeType pSize,
58 ResolveInfo::Visibility pVisibility = ResolveInfo::Default);
68 ResolveInfo::Type pType,
69 ResolveInfo::Desc pDesc,
[all …]
DResolveInfo.h36 class ResolveInfo {
79 static ResolveInfo* Create(const key_type& pKey);
81 static void Destroy(ResolveInfo*& pInfo);
83 static ResolveInfo* Null();
112 void override(const ResolveInfo& pForm);
114 void overrideAttributes(const ResolveInfo& pFrom);
116 void overrideVisibility(const ResolveInfo& pFrom);
122 void setLink(const ResolveInfo* pTarget) { in setLink()
123 m_Ptr.info_ptr = const_cast<ResolveInfo*>(pTarget); in setLink()
174 ResolveInfo* link() { return m_Ptr.info_ptr; } in link()
[all …]
DResolver.h19 class ResolveInfo; variable
40 ResolveInfo* info;
52 virtual bool resolve(ResolveInfo& __restrict__ pOld,
53 const ResolveInfo& __restrict__ pNew,
62 ResolveInfo& __restrict__ pOld, in resolveAgain()
63 const ResolveInfo& __restrict__ pNew, in resolveAgain()
/frameworks/compile/mclinker/lib/LD/
DResolveInfo.cpp23 static ResolveInfo* g_NullResolveInfo = NULL;
28 ResolveInfo::ResolveInfo() : m_Size(0), m_BitField(0) { in ResolveInfo() function in mcld::ResolveInfo
32 ResolveInfo::~ResolveInfo() { in ~ResolveInfo()
35 void ResolveInfo::override(const ResolveInfo& pFrom) { in override()
41 void ResolveInfo::overrideAttributes(const ResolveInfo& pFrom) { in overrideAttributes()
48 void ResolveInfo::overrideVisibility(const ResolveInfo& pFrom) { in overrideVisibility()
72 void ResolveInfo::setRegular() { in setRegular()
76 void ResolveInfo::setDynamic() { in setDynamic()
80 void ResolveInfo::setSource(bool pIsDyn) { in setSource()
87 void ResolveInfo::setInDyn() { in setInDyn()
[all …]
DELFReaderIf.cpp31 ResolveInfo::Type ELFReaderIF::getSymType(uint8_t pInfo, in getSymType()
33 ResolveInfo::Type result = static_cast<ResolveInfo::Type>(pInfo & 0xF); in getSymType()
34 if (pShndx == llvm::ELF::SHN_ABS && result == ResolveInfo::Section) { in getSymType()
39 return ResolveInfo::Object; in getSymType()
46 ResolveInfo::Desc ELFReaderIF::getSymDesc(uint16_t pShndx, in getSymDesc()
49 return ResolveInfo::Undefined; in getSymDesc()
56 return ResolveInfo::Undefined; in getSymDesc()
57 return ResolveInfo::Define; in getSymDesc()
61 return ResolveInfo::Define; in getSymDesc()
64 return ResolveInfo::Common; in getSymDesc()
[all …]
DNamePool.cpp29 ResolveInfo::Destroy(*info); in ~NamePool()
34 ResolveInfo* NamePool::createSymbol(const llvm::StringRef& pName, in createSymbol()
36 ResolveInfo::Type pType, in createSymbol()
37 ResolveInfo::Desc pDesc, in createSymbol()
38 ResolveInfo::Binding pBinding, in createSymbol()
39 ResolveInfo::SizeType pSize, in createSymbol()
40 ResolveInfo::Visibility pVisibility) { in createSymbol()
41 ResolveInfo** result = m_FreeInfoSet.allocate(); in createSymbol()
42 (*result) = ResolveInfo::Create(pName); in createSymbol()
58 ResolveInfo::Type pType, in insertSymbol()
[all …]
DELFBinaryReader.cpp72 ResolveInfo::Section, in readBinary()
73 ResolveInfo::Define, in readBinary()
74 ResolveInfo::Local, in readBinary()
92 ResolveInfo::NoType, in readBinary()
93 ResolveInfo::Define, in readBinary()
94 ResolveInfo::Global, in readBinary()
102 ResolveInfo::NoType, in readBinary()
103 ResolveInfo::Define, in readBinary()
104 ResolveInfo::Global, in readBinary()
112 ResolveInfo::NoType, in readBinary()
[all …]
/frameworks/compile/mclinker/unittests/
DStaticResolverTest.cpp49 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F()
50 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F()
51 new_sym->setDesc(ResolveInfo::Define); in TEST_F()
52 old_sym->setDesc(ResolveInfo::Define); in TEST_F()
53 ASSERT_TRUE(mcld::ResolveInfo::Define == new_sym->desc()); in TEST_F()
54 ASSERT_TRUE(mcld::ResolveInfo::Define == old_sym->desc()); in TEST_F()
55 ASSERT_TRUE(mcld::ResolveInfo::define_flag == new_sym->info()); in TEST_F()
56 ASSERT_TRUE(mcld::ResolveInfo::define_flag == old_sym->info()); in TEST_F()
64 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F()
65 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F()
[all …]
DSymbolCategoryTest.cpp43 ResolveInfo* a = ResolveInfo::Create("a"); in TEST_F()
44 ResolveInfo* b = ResolveInfo::Create("b"); in TEST_F()
45 ResolveInfo* c = ResolveInfo::Create("c"); in TEST_F()
46 ResolveInfo* d = ResolveInfo::Create("d"); in TEST_F()
47 ResolveInfo* e = ResolveInfo::Create("e"); in TEST_F()
48 e->setBinding(ResolveInfo::Global); in TEST_F()
49 d->setBinding(ResolveInfo::Weak); in TEST_F()
50 c->setDesc(ResolveInfo::Common); in TEST_F()
51 c->setBinding(ResolveInfo::Global); in TEST_F()
52 b->setBinding(ResolveInfo::Local); in TEST_F()
[all …]
DLinkerTest.cpp433 ResolveInfo::File, in TEST_F()
434 ResolveInfo::Define, in TEST_F()
435 ResolveInfo::Local, in TEST_F()
440 ResolveInfo::Section, in TEST_F()
441 ResolveInfo::Define, in TEST_F()
442 ResolveInfo::Local, in TEST_F()
449 ResolveInfo::Section, in TEST_F()
450 ResolveInfo::Define, in TEST_F()
451 ResolveInfo::Local, in TEST_F()
458 ResolveInfo::Section, in TEST_F()
[all …]
DNamePoolTest.cpp66 ResolveInfo::Type type = ResolveInfo::Function; in TEST_F()
67 ResolveInfo::Desc desc = ResolveInfo::Define; in TEST_F()
68 ResolveInfo::Binding binding = ResolveInfo::Local; in TEST_F()
71 ResolveInfo::Visibility other = ResolveInfo::Default; in TEST_F()
104 ResolveInfo::Type type = ResolveInfo::NoType; in TEST_F()
105 ResolveInfo::Desc desc = ResolveInfo::Undefined; in TEST_F()
106 ResolveInfo::Binding binding = ResolveInfo::Global; in TEST_F()
108 ResolveInfo::Visibility other = ResolveInfo::Default; in TEST_F()
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h357 ResolveInfo* CreateLocalSymbol(FragmentRef& pFragRef);
388 ResolveInfo::Type pType,
389 ResolveInfo::Desc pDesc,
390 ResolveInfo::Binding pBind,
391 ResolveInfo::SizeType pSize,
394 ResolveInfo::Visibility pVis = ResolveInfo::Default);
433 ResolveInfo::Type pType,
434 ResolveInfo::Desc pDesc,
435 ResolveInfo::Binding pBinding,
436 ResolveInfo::SizeType pSize = 0,
[all …]
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp400 ResolveInfo::Type pType, in AddSymbol()
401 ResolveInfo::Desc pDesc, in AddSymbol()
402 ResolveInfo::Binding pBind, in AddSymbol()
403 ResolveInfo::SizeType pSize, in AddSymbol()
406 ResolveInfo::Visibility pVis) { in AddSymbol()
410 ResolveInfo::Undefined == pDesc) { in AddSymbol()
421 if (pInput.noExport() && (pDesc != ResolveInfo::Undefined)) { in AddSymbol()
422 if ((pVis == ResolveInfo::Default) || (pVis == ResolveInfo::Protected)) { in AddSymbol()
423 pVis = ResolveInfo::Hidden; in AddSymbol()
430 if (pSection == NULL || ResolveInfo::Undefined == pDesc || in AddSymbol()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DBroadcastRecordTest.java24 import android.content.pm.ResolveInfo;
55 final List<ResolveInfo> receiversM = createReceiverInfos( in testCleanupDisabledPackageReceivers()
59 final List<ResolveInfo> receiversU0 = excludeReceivers( in testCleanupDisabledPackageReceivers()
104 List<ResolveInfo> expectedRemainingReceivers) { in verifyRemaining()
108 final ResolveInfo resolveInfo = (ResolveInfo) receiver; in verifyRemaining()
112 for (final ResolveInfo expectedReceiver : expectedRemainingReceivers) { in verifyRemaining()
132 private static ResolveInfo createResolveInfo(String packageName, int uid) { in createResolveInfo()
133 final ResolveInfo resolveInfo = new ResolveInfo(); in createResolveInfo()
146 private static List<ResolveInfo> createReceiverInfos(String[] packages, int[] userIds) { in createReceiverInfos()
147 final List<ResolveInfo> receivers = new ArrayList<>(); in createReceiverInfos()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.h35 typedef KeyEntryMap<ResolveInfo, PLTEntryBase> SymPLTMap;
36 typedef KeyEntryMap<ResolveInfo, Fragment> SymGOTPLTMap;
147 virtual void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym) = 0;
149 virtual void setupTLSDynEntry(Fragment& pFrag, ResolveInfo* pSym,
153 bool isLocalReloc(ResolveInfo& pSym) const;
156 void setupRelDynEntry(FragmentRef& pFragRef, ResolveInfo* pSym,
161 typedef llvm::DenseMap<const ResolveInfo*, RelocationSet> SymRelocSetMap;
185 void addCopyReloc(ResolveInfo& pSym);
191 const ResolveInfo& pSym);
206 void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym);
[all …]
DMipsGOT.h49 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 …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java138 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity()
141 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity()
154 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity()
167 final List<ResolveInfo> infoList = in testQueryDisabledActivity()
171 final List<ResolveInfo> infoList2 = in testQueryDisabledActivity()
175 final ResolveInfo info = infoList2.get(0); in testQueryDisabledActivity()
187 final List<ResolveInfo> infoList = in testQueryEnabledActivity()
190 final ResolveInfo info = infoList.get(0); in testQueryEnabledActivity()
234 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity()
239 final ResolveInfo info2 = in testEnableActivity()
[all …]
/frameworks/base/services/core/java/com/android/server/search/
DSearchables.java31 import android.content.pm.ResolveInfo;
71 private List<ResolveInfo> mGlobalSearchActivities;
234 List<ResolveInfo> searchList; in updateSearchableList()
242 List<ResolveInfo> webSearchInfoList; in updateSearchableList()
254 ResolveInfo info = (ii < search_count) in updateSearchableList()
273 List<ResolveInfo> newGlobalSearchActivities = findGlobalSearchActivities(); in updateSearchableList()
304 private List<ResolveInfo> findGlobalSearchActivities() { in findGlobalSearchActivities()
308 List<ResolveInfo> activities = queryIntentActivities(intent, in findGlobalSearchActivities()
321 private ComponentName findGlobalSearchActivity(List<ResolveInfo> installed) { in findGlobalSearchActivity()
345 List<ResolveInfo> activities = queryIntentActivities(intent, in isInstalled()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DAbstractResolverComparatorTest.java25 import android.content.pm.ResolveInfo;
39 new ComponentName("package", "class"), new Intent(), new ResolveInfo() in testPinned()
44 new ComponentName("zackage", "zlass"), new Intent(), new ResolveInfo() in testPinned()
57 ResolveInfo pmInfo1 = new ResolveInfo(); in testBothPinned()
65 ResolveInfo pmInfo2 = new ResolveInfo(); in testBothPinned()
85 int compare(ResolveInfo lhs, ResolveInfo rhs) { in getTestComparator()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DMultiClientInputMethodManagerServiceTest.java27 import android.content.pm.ResolveInfo;
57 asList(new ResolveInfo(), new ResolveInfo()))).isNull(); in testQueryInputMethod_multipleIMEsFound()
63 ResolveInfo imeService = buildResolveInfo(/* permission= */ "", in testQueryInputMethod_IMEFound_invalidPermission()
74 ResolveInfo imeService = buildResolveInfo(android.Manifest.permission.BIND_INPUT_METHOD, in testQueryInputMethod_IMEFound()
82 private ResolveInfo buildResolveInfo(String permission, int flags) { in buildResolveInfo()
83 ResolveInfo imeService = new ResolveInfo(); in buildResolveInfo()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp243 ResolveInfo::NoType, in initStandardSymbols()
244 ResolveInfo::Define, in initStandardSymbols()
245 ResolveInfo::Global, in initStandardSymbols()
249 ResolveInfo::Default); in initStandardSymbols()
256 ResolveInfo::NoType, in initStandardSymbols()
257 ResolveInfo::Define, in initStandardSymbols()
258 ResolveInfo::Global, in initStandardSymbols()
262 ResolveInfo::Default); in initStandardSymbols()
281 ResolveInfo::NoType, in initStandardSymbols()
282 ResolveInfo::Define, in initStandardSymbols()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DActivityIntentHelper.java23 import android.content.pm.ResolveInfo;
77 final List<ResolveInfo> appList = packageManager.queryIntentActivitiesAsUser( in getTargetActivityInfo()
82 ResolveInfo resolved = packageManager.resolveActivityAsUser(intent, in getTargetActivityInfo()
114 public boolean wouldLaunchResolverActivity(ResolveInfo resolved, List<ResolveInfo> appList) { in wouldLaunchResolverActivity()
118 ResolveInfo tmp = appList.get(i); in wouldLaunchResolverActivity()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.cpp63 static mcld::ResolveInfo*
66 mcld::ResolveInfo* resolveInfo = in CreateLocalSymbolToFragmentEnd()
69 mcld::ResolveInfo::Section, in CreateLocalSymbolToFragmentEnd()
70 mcld::ResolveInfo::Define, in CreateLocalSymbolToFragmentEnd()
71 mcld::ResolveInfo::Local, in CreateLocalSymbolToFragmentEnd()
73 mcld::ResolveInfo::Hidden); in CreateLocalSymbolToFragmentEnd()
204 ResolveInfo::Object, in initTargetSymbols()
205 ResolveInfo::Define, in initTargetSymbols()
206 ResolveInfo::Local, in initTargetSymbols()
210 ResolveInfo::Hidden); in initTargetSymbols()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java51 import android.content.pm.ResolveInfo;
112 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldParseCategory()
132 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldParseKeyHintForSystemApp()
133 ResolveInfo resolveInfo = newInfo(true, null /* category */, keyHint); in getTilesForIntent_shouldParseKeyHintForSystemApp()
154 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldSkipNonSystemApp()
193 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldReadMetadataTitleAsString()
194 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleAsString()
215 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldReadMetadataTitleFromResource()
216 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleFromResource()
239 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldNotTintIconIfInSettingsPackage()
[all …]

12345678910>>...16