/frameworks/compile/mclinker/include/mcld/LD/ |
D | StaticResolver.h | 64 …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 …]
|
D | NamePool.h | 33 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 …]
|
D | ResolveInfo.h | 36 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 …]
|
D | Resolver.h | 19 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/ |
D | ResolveInfo.cpp | 23 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 …]
|
D | ELFReaderIf.cpp | 31 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 …]
|
D | NamePool.cpp | 29 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 …]
|
D | ELFBinaryReader.cpp | 72 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/ |
D | StaticResolverTest.cpp | 49 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 …]
|
D | SymbolCategoryTest.cpp | 43 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 …]
|
D | LinkerTest.cpp | 433 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 …]
|
D | NamePoolTest.cpp | 66 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/ |
D | IRBuilder.h | 357 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/ |
D | IRBuilder.cpp | 400 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/compile/mclinker/lib/Target/Mips/ |
D | MipsRelocator.h | 35 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 …]
|
D | 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 …]
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | InputMethodManagerServiceRestrictImeAmountTest.java | 27 import android.content.pm.ResolveInfo; 45 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_loadsAllImesBelowThreshold() 58 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_ignoresImesBeyondThreshold() 72 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_loadsSystemImesBeyondThreshold() 87 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_ignoresImesBeyondThresholdFromTwoPackages() 105 final ResolveInfo enabledIme = createFakeResolveInfo( in testFilterInputMethodServices_stillLoadsEnabledImesBeyondThreshold() 108 List<ResolveInfo> resolveInfoList = new ArrayList<>(); in testFilterInputMethodServices_stillLoadsEnabledImesBeyondThreshold() 123 private List<InputMethodInfo> filterInputMethodServices(List<ResolveInfo> resolveInfoList, in filterInputMethodServices() 130 private ResolveInfo createFakeSystemResolveInfo(String packageName, String componentName) { in createFakeSystemResolveInfo() 131 final ResolveInfo ime = createFakeResolveInfo(packageName, componentName); in createFakeSystemResolveInfo() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | AbstractResolverComparatorTest.java | 26 import android.content.pm.ResolveInfo; 44 new ComponentName("package", "class"), new Intent(), new ResolveInfo() in testPositionFixed() 49 new ComponentName("zackage", "zlass"), new Intent(), new ResolveInfo() in testPositionFixed() 61 new ComponentName("package", "class"), new Intent(), new ResolveInfo() in testPinned() 66 new ComponentName("zackage", "zlass"), new Intent(), new ResolveInfo() in testPinned() 79 ResolveInfo pmInfo1 = new ResolveInfo(); in testBothPinned() 87 ResolveInfo pmInfo2 = new ResolveInfo(); in testBothPinned() 108 int compare(ResolveInfo lhs, ResolveInfo rhs) { in getTestComparator()
|
D | FakeResolverComparatorModel.java | 20 import android.content.pm.ResolveInfo; 33 private final Comparator<ResolveInfo> mComparator; 36 Comparator<ResolveInfo> comparator) { in makeModelFromComparator() 45 public Comparator<ResolveInfo> getComparator() { in getComparator() 61 private FakeResolverComparatorModel(Comparator<ResolveInfo> comparator) { in FakeResolverComparatorModel()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 140 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity() 143 final ResolveInfo info2 = mPackageManager.resolveActivity( in testResolveDisabledActivity() 156 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity() 169 final List<ResolveInfo> infoList = in testQueryDisabledActivity() 173 final List<ResolveInfo> infoList2 = in testQueryDisabledActivity() 177 final ResolveInfo info = infoList2.get(0); in testQueryDisabledActivity() 189 final List<ResolveInfo> infoList = in testQueryEnabledActivity() 192 final ResolveInfo info = infoList.get(0); in testQueryEnabledActivity() 236 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity() 241 final ResolveInfo info2 = in testEnableActivity() [all …]
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 31 import android.content.pm.ResolveInfo; 72 private List<ResolveInfo> mGlobalSearchActivities; 252 List<ResolveInfo> searchList; in updateSearchableListIfNeeded() 260 List<ResolveInfo> webSearchInfoList; in updateSearchableListIfNeeded() 272 ResolveInfo info = (ii < search_count) in updateSearchableListIfNeeded() 292 List<ResolveInfo> newGlobalSearchActivities = findGlobalSearchActivities(); in updateSearchableListIfNeeded() 310 for (ResolveInfo globalSearchActivity: mGlobalSearchActivities) { in updateSearchableListIfNeeded() 348 private List<ResolveInfo> findGlobalSearchActivities() { in findGlobalSearchActivities() 352 List<ResolveInfo> activities = queryIntentActivities(intent, in findGlobalSearchActivities() 365 private ComponentName findGlobalSearchActivity(List<ResolveInfo> installed) { in findGlobalSearchActivity() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | QueryIntentActivitiesResult.java | 19 import android.content.pm.ResolveInfo; 27 public List<ResolveInfo> result = null; 28 public List<ResolveInfo> answer = null; 30 QueryIntentActivitiesResult(List<ResolveInfo> l) { in QueryIntentActivitiesResult() 34 QueryIntentActivitiesResult(boolean s, boolean a, List<ResolveInfo> l) { in QueryIntentActivitiesResult()
|
D | ResolveIntentHelper.java | 42 import android.content.pm.ResolveInfo; 82 private final Supplier<ResolveInfo> mResolveInfoSupplier; 91 @NonNull Supplier<ResolveInfo> resolveInfoSupplier, in ResolveIntentHelper() 108 public ResolveInfo resolveIntentInternal(Computer computer, Intent intent, String resolvedType, in resolveIntentInternal() 124 final List<ResolveInfo> query = computer.queryIntentActivitiesInternal(intent, in resolveIntentInternal() 140 final ResolveInfo bestChoice = chooseBestActivity(computer, intent, resolvedType, flags, in resolveIntentInternal() 153 private ResolveInfo chooseBestActivity(Computer computer, Intent intent, String resolvedType, in chooseBestActivity() 156 List<ResolveInfo> query, int userId, boolean queryMayBeFiltered) { in chooseBestActivity() 165 ResolveInfo r0 = query.get(0); in chooseBestActivity() 166 ResolveInfo r1 = query.get(1); in chooseBestActivity() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | NoOpResolverComparator.java | 21 import android.content.pm.ResolveInfo; 43 private List<ResolveInfo> mOriginalTargetOrder = null; 62 public int compare(ResolveInfo lhs, ResolveInfo rhs) { in compare() 63 Comparator<ResolveInfo> c = Comparator.comparingDouble(r -> getScore((ResolveInfo) r)); in compare() 77 public float getScore(ResolveInfo resolveInfo) { in getScore()
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 243 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 …]
|