Home
last modified time | relevance | path

Searched refs:mapping (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/compile/mclinker/include/mcld/Target/
DKeyEntryMap.h90 const_iterator mapping, mEnd = m_Pool.end(); in lookUp() local
91 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp()
92 if (mapping->key == &pKey) { in lookUp()
93 return mapping->entry.entry_ptr; in lookUp()
102 iterator mapping, mEnd = m_Pool.end(); in lookUp() local
103 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUp()
104 if (mapping->key == &pKey) { in lookUp()
105 return mapping->entry.entry_ptr; in lookUp()
115 const_iterator mapping, mEnd = m_Pool.end(); in lookUpFirstEntry() local
116 for (mapping = m_Pool.begin(); mapping != mEnd; ++mapping) { in lookUpFirstEntry()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DKeySetManagerServiceTest.java129 ArraySet<Long> mapping = ksMapping.get(1); in testAddSigningKSToPackageEmpty() local
130 assertEquals(1, mapping.size()); in testAddSigningKSToPackageEmpty()
131 assertTrue(mapping.contains(new Long(1))); in testAddSigningKSToPackageEmpty()
159 ArraySet<Long> mapping = ksMapping.get(1); in testAddSigningKSToPackageUpgradeSame() local
160 assertEquals(1, mapping.size()); in testAddSigningKSToPackageUpgradeSame()
161 assertTrue(mapping.contains(new Long(1))); in testAddSigningKSToPackageUpgradeSame()
194 ArraySet<Long> mapping = ksMapping.get(2); in testAddSigningKSToPackageUpgradeDiff() local
195 assertEquals(1, mapping.size()); in testAddSigningKSToPackageUpgradeDiff()
196 assertTrue(mapping.contains(new Long(2))); in testAddSigningKSToPackageUpgradeDiff()
233 ArraySet<Long> mapping = ksMapping.get(1); in testAddSigningKSToPackageUpgradeDiff2() local
[all …]
DPackageManagerSettingsTests.java1047 ArraySet<Long> mapping = ksMapping.get(1); in verifyKeySetMetaData() local
1048 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData()
1049 assertThat(mapping.contains(new Long(1)), is(true)); in verifyKeySetMetaData()
1050 mapping = ksMapping.get(2); in verifyKeySetMetaData()
1051 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData()
1052 assertThat(mapping.contains(new Long(2)), is(true)); in verifyKeySetMetaData()
1053 mapping = ksMapping.get(3); in verifyKeySetMetaData()
1054 assertThat(mapping.size(), is(1)); in verifyKeySetMetaData()
1055 assertThat(mapping.contains(new Long(3)), is(true)); in verifyKeySetMetaData()
1056 mapping = ksMapping.get(4); in verifyKeySetMetaData()
[all …]
/frameworks/rs/
DrsClosure.cpp88 auto mapping = mArgDeps[dep]; in Closure() local
89 if (mapping == nullptr) { in Closure()
90 mapping = new Map<int, ObjectBaseRef<ScriptFieldID>>(); in Closure()
91 mArgDeps[dep] = mapping; in Closure()
93 (*mapping)[i].set(const_cast<ScriptFieldID*>(depFieldIDs[i])); in Closure()
100 auto mapping = mGlobalDeps[dep]; in Closure() local
101 if (mapping == nullptr) { in Closure()
102 mapping = new Map<const ScriptFieldID*, in Closure()
104 mGlobalDeps[dep] = mapping; in Closure()
107 (*mapping)[fieldIDs[i]].set(const_cast<ScriptFieldID*>(depFieldIDs[i])); in Closure()
/frameworks/av/services/mediaanalytics/
DMediaAnalyticsService.cpp613 struct UidToPkgMap mapping; in setPkgInfo() local
614 mapping.uid = (uid_t)(-1); in setPkgInfo()
620 mapping = mPkgMappings.valueAt(i); in setPkgInfo()
622 uid, mapping.expiration, now); in setPkgInfo()
623 if (mapping.expiration <= now) { in setPkgInfo()
627 mapping.uid = (uid_t)(-1); in setPkgInfo()
633 if (mapping.uid == (uid_t)(-1)) { in setPkgInfo()
734 mapping.uid = uid; in setPkgInfo()
735 mapping.pkg = pkg; in setPkgInfo()
736 mapping.installer = installer.c_str(); in setPkgInfo()
[all …]
/frameworks/base/mime/java-res/
Dandroid.mime.types6 # Each line below defines a mapping from one MIME type to the first of the
8 # A mapping overrides any previous mapping _from_ that same MIME type or
32 # leaves any earlier mapping for "text/plain" untouched, or maps that MIME type
33 # to the file extension ".txt" if there is no earlier mapping. The line also
34 # sets the mapping from file extension ".txt" to be the MIME type "text/plain",
35 # regardless of whether a previous mapping existed.
114 # Optional additions that should not override any previous mapping.
Dvendor.mime.types5 # Each line below defines a mapping from one MIME type to the first of the
9 # but it it cannot _modify_ (replace or remove) any platform default mapping
36 # default mapping is used unmodified).
/frameworks/base/core/java/android/view/
DViewDebug.java136 IntToString[] mapping() default { }; in mapping() method
1465 final IntToString[] mapping = property.mapping();
1466 if (mapping.length > 0) {
1469 int mappingCount = mapping.length;
1471 final IntToString mapper = mapping[j];
1550 final IntToString[] mapping = property.mapping();
1551 if (mapping.length > 0) {
1553 int mappingCount = mapping.length;
1555 final IntToString mapped = mapping[j];
1626 private static void exportUnrolledFlags(BufferedWriter out, FlagToString[] mapping,
[all …]
/frameworks/compile/mclinker/include/mcld/Object/
DSectionMap.h146 typedef std::pair<Output*, Input*> mapping; typedef
162 mapping find(const std::string& pInputFile, const std::string& pInputSection);
167 std::pair<mapping, bool> insert(
171 std::pair<mapping, bool> insert(const InputSectDesc& pInputDesc,
/frameworks/base/core/java/android/view/inspector/
DPropertyMapper.java160 @NonNull IntFunction<String> mapping); in mapIntEnum() argument
184 @NonNull IntFunction<Set<String>> mapping); in mapIntFlag() argument
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp945 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mapping) in _C2MappedBlock2DImpl() argument
946 : _C2Block2DImpl(impl), mMapping(mapping) { in _C2MappedBlock2DImpl()
951 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mapping() const { return mMapping; } in mapping() function in _C2MappedBlock2DImpl
996 return mImpl->mapping()->data(); in data()
1000 return mImpl->mapping()->data(); in data()
1004 return mImpl->mapping()->layout(); in layout()
1016 return mImpl->mapping()->error(); in error()
1028 std::shared_ptr<_C2MappingBlock2DImpl::Mapped> mapping = in map() local
1031 std::shared_ptr<GraphicViewBuddy::Impl>(new GraphicViewBuddy::Impl(*mImpl, mapping)); in map()
1033 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop()))); in map()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DDiagLayouts.inc21 "Illegal section mapping rule: %0 -> %1. (conflict with %2 -> %3)",
22 "Illegal section mapping rule: %0 -> %1. (conflict with %2 -> %3)")
/frameworks/av/media/libaudiohal/impl/
DConversionHelperHidl.cpp138 …ic audio_microphone_channel_mapping_t channelMappingToHal(AudioMicrophoneChannelMapping mapping) { in channelMappingToHal() argument
139 switch (mapping) { in channelMappingToHal()
147 LOG_ALWAYS_FATAL("Unknown channelMappingToHal conversion %d", mapping); in channelMappingToHal()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DWifiTrackerTest.java298 Map<Integer, List<ScanResult>> mapping = new HashMap<>(); in createPasspointMatchingWifiConfigsWithDuplicates() local
300 mapping.put(WifiManager.PASSPOINT_HOME_NETWORK, Arrays.asList(buildScanResult1())); in createPasspointMatchingWifiConfigsWithDuplicates()
307 matchingList.add(new Pair(passpointConfig1, mapping)); in createPasspointMatchingWifiConfigsWithDuplicates()
308 matchingList.add(new Pair(passpointConfig1, mapping)); in createPasspointMatchingWifiConfigsWithDuplicates()
309 matchingList.add(new Pair(passpointConfig2, mapping)); in createPasspointMatchingWifiConfigsWithDuplicates()
310 matchingList.add(new Pair(passpointConfig2, mapping)); in createPasspointMatchingWifiConfigsWithDuplicates()
321 Map<Integer, List<ScanResult>> mapping = new HashMap<>(); in createPasspointMatchingWifiConfigWithScanResults() local
324 mapping.put(WifiManager.PASSPOINT_HOME_NETWORK, homeList); in createPasspointMatchingWifiConfigWithScanResults()
327 mapping.put(WifiManager.PASSPOINT_ROAMING_NETWORK, roamingList); in createPasspointMatchingWifiConfigWithScanResults()
331 mapping)); in createPasspointMatchingWifiConfigWithScanResults()
/frameworks/av/media/libaaudio/src/fifo/
DREADME.md9 location of indices and data buffer, mapping, allocation of memmory will probably be kept as-is.
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp694 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
696 mapping->setValue(addr); in TranslateArguments()
709 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
711 mapping->setValue(addr); in TranslateArguments()
724 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
726 mapping->setValue(addr); in TranslateArguments()
739 mcld::StringEntry<uint64_t>* mapping = in TranslateArguments() local
741 mapping->setValue(addr); in TranslateArguments()
/frameworks/base/tools/processors/view_inspector/test/resources/android/processor/view/inspector/InspectionCompanionGeneratorTest/
DNestedClass.java.txt16 * Guards against reading properties before mapping them.
DNoAttributeId.java.txt16 * Guards against reading properties before mapping them.
DSuppliedAttributeId.java.txt16 * Guards against reading properties before mapping them.
DFieldProperty.java.txt17 * Guards against reading properties before mapping them.
DIntEnum.java.txt19 * Guards against reading properties before mapping them.
DIntFlag.java.txt17 * Guards against reading properties before mapping them.
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp144 const unsigned char* mapping; in configureEncoder() local
146 mapping = mono_mapping; in configureEncoder()
148 mapping = stereo_mapping; in configureEncoder()
159 1, mChannelCount - 1, mapping, OPUS_APPLICATION_AUDIO, &err); in configureEncoder()
/frameworks/rs/script_api/
Drs_allocation_data.spec76 arg: uint32_t srcMip, "Mip level in the source allocation. 0 if mip mapping is not used."
/frameworks/base/cmds/statsd/src/
Duid_data.proto33 // mapping updates.

123