Home
last modified time | relevance | path

Searched refs:Map (Results 1 – 25 of 61) sorted by relevance

123

/system/tools/aidl/tests/android/aidl/tests/map/
DIMapTest.aidl24 Map<String, IntEnum[]> repeatIntEnumArrayMap( in repeatIntEnumArrayMap()
25 in Map<String, IntEnum[]> input, out Map<String, IntEnum[]> output); in repeatIntEnumArrayMap()
26 Map<String, int[]> repeatIntArrayMap( in repeatIntArrayMap()
27 in Map<String, int[]> input, out Map<String, int[]> output); in repeatIntArrayMap()
28 Map<String, Bar> repeatBarMap(in Map<String, Bar> input, out Map<String, Bar> output); in repeatBarMap()
29 Map<String, Bar[]> repeatBarArrayMap( in repeatBarArrayMap()
30 in Map<String, Bar[]> input, out Map<String, Bar[]> output); in repeatBarArrayMap()
31 Map<String, String> repeatStringMap( in repeatStringMap()
32 in Map<String, String> input, out Map<String, String> output); in repeatStringMap()
33 Map<String, String[]> repeatStringArrayMap( in repeatStringArrayMap()
[all …]
DFoo.aidl24 Map<String, IntEnum[]> intEnumArrayMap;
25 Map<String, int[]> intArrayMap;
26 Map<String, Bar> barMap;
27 Map<String, Bar[]> barArrayMap;
28 Map<String, String> stringMap;
29 Map<String, String[]> stringArrayMap;
30 Map<String, IEmpty> interfaceMap;
31 Map<String, IBinder> ibinderMap;
/system/tools/xsdc/src/main/java/com/android/xsdc/
DXmlSchema.java23 import java.util.Map;
26 final private Map<String, XsdElement> elementMap;
27 final private Map<String, XsdType> typeMap;
28 final private Map<String, XsdAttribute> attributeMap;
29 final private Map<String, XsdAttributeGroup> attributeGroupMap;
30 final private Map<String, XsdGroup> groupMap;
33 XmlSchema(Map<String, XsdElement> elementMap, Map<String, XsdType> typeMap, in XmlSchema()
34 Map<String, XsdAttribute> attributeMap, in XmlSchema()
35 Map<String, XsdAttributeGroup> attributeGroupMap, in XmlSchema()
36 Map<String, XsdGroup> groupMap, List<String> includeList) { in XmlSchema()
[all …]
DFileSystem.java23 import java.util.Map;
27 private Map<String, StringBuffer> fileOutputMap;
33 public FileSystem(Map<String, StringBuffer> fileOutputMap) { in FileSystem()
DXsdHandler.java31 import java.util.Map;
40 final Map<String, String> attributeMap;
46 State(String name, Map<String, String> attributeMap) { in State()
58 private final Map<String, String> namespaces;
118 Map<String, String> attributeMap = new HashMap<>(); in startElement()
245 Map<String, XsdElement> elementMap = new LinkedHashMap<>(); in makeSchema()
246 Map<String, XsdType> typeMap = new LinkedHashMap<>(); in makeSchema()
247 Map<String, XsdAttribute> attrMap = new LinkedHashMap<>(); in makeSchema()
248 Map<String, XsdAttributeGroup> attrGroupMap = new LinkedHashMap<>(); in makeSchema()
249 Map<String, XsdGroup> groupMap = new LinkedHashMap<>(); in makeSchema()
[all …]
/system/timezone/input_tools/android/tzids/src/main/java/com/android/timezone/tzids/
DTimeZoneIds.java32 import java.util.Map;
150 public Map<String, String> getCountryIdMap(String isoCode, Instant replacementThreshold) { in getCountryIdMap()
160 private Map<String, String> createCountryIdMap( in createCountryIdMap()
162 Map<String, String> tzIdMap = new HashMap<>(); in createCountryIdMap()
182 Map<String, TzIdsProto.TimeZoneReplacement> replacementLookupMap = in createCountryIdMap()
189 Map<String, String> replacementsAtThreshold = countryMapping.getTimeZoneReplacementsList() in createCountryIdMap()
203 Map<String, TzIdsProto.TimeZoneReplacement> replacementLookupMap, in traverseReplacementList()
224 private static void putAllSafely(Map<String, String> targetMap, Map<String, String> sourceMap) { in putAllSafely()
225 for (Map.Entry<String, String> entry : sourceMap.entrySet()) { in putAllSafely()
/system/libvintf/include/vintf/
DMapValueIterator.h27 template<typename Map>
29 using K = typename Map::key_type;
30 using V = typename Map::mapped_type;
48 typename Map::const_iterator, typename Map::iterator>::type;
84 using map_ref = typename std::conditional<is_const, const Map &, Map &>::type;
103 using iter_type = typename std::conditional<is_const, typename Map::const_iterator,
104 typename Map::iterator>::type;
/system/security/provisioner/
Drkp_factory_extraction_lib_test.cpp134 Map cborDeviceInfo; in TEST()
154 cborProtectedData.add(Map()); // unprotected in TEST()
199 const Map* actualVerifiedDeviceInfo = deviceInfoArray->get(0)->asMap(); in TEST()
200 EXPECT_THAT(actualVerifiedDeviceInfo, Pointee(Property(&Map::size, Eq(cborDeviceInfo.size())))); in TEST()
205 const Map* actualUnverifiedDeviceInfo = deviceInfoArray->get(1)->asMap(); in TEST()
206 EXPECT_THAT(actualUnverifiedDeviceInfo, Pointee(Property(&Map::size, Eq(0)))); in TEST()
223 Map expectedMacProtectedParams; in TEST()
226 EXPECT_THAT(actualMacedKeys->get(1)->asMap(), Pointee(Property(&Map::size, Eq(0)))); in TEST()
234 .add(Map() /* UdsCerts */) in TEST()
263 const Map* unverifedDeviceInfo = csr->get(4)->asMap(); in TEST()
Drkp_factory_extraction_lib.cpp110 .add(Map().add(1, 5).encode()) // alg: hmac-sha256 in composeCertificateRequestV1()
111 .add(Map()) // empty unprotected headers in composeCertificateRequestV1()
115 ErrMsgOr<std::unique_ptr<Map>> parsedVerifiedDeviceInfo = in composeCertificateRequestV1()
127 Array deviceInfo = Array().add(parsedVerifiedDeviceInfo.moveValue()).add(Map()); in composeCertificateRequestV1()
220 Map unverifiedDeviceInfo = in composeCertificateRequestV3()
221 Map().add("fingerprint", ::android::base::GetProperty(kFingerprintProp, /*default=*/"")); in composeCertificateRequestV3()
/system/tools/xsdc/src/test/java/com/android/xsdc/cpp/
DTestCppCodeGenerator.java31 import java.util.Map;
56 Map<String, StringBuffer> files = new TreeMap<>(); in testSimpleTypeRootParser()
75 Map<String, StringBuffer> files = new TreeMap<>(); in testPrintWithoutEnumOutput()
94 Map<String, StringBuffer> files = new TreeMap<>(); in printWithEnumOutput()
130 Map<String, StringBuffer> files = new TreeMap<>(); in generateParsersForSpecifiedRoot()
/system/tools/aidl/tests/
Daidl_parser_fuzzer.dict30 " Map "
31 " Map< "
38 " java.util.Map "
39 " java.util.Map< "
/system/memory/libion/tests/
Dmap_test.cpp25 class Map : public IonTest {}; class
27 TEST_F(Map, MapFd) { in TEST_F() argument
51 TEST_F(Map, MapOffset) { in TEST_F() argument
80 TEST_F(Map, MapCached) { in TEST_F() argument
105 TEST_F(Map, MapCachedNeedsSync) { in TEST_F() argument
/system/timezone/input_tools/android/tzids/src/test/java/com/android/timezone/tzids/
DTimeZoneIdsTest.java31 import java.util.Map;
49 Map<String, String> expectedMap = new HashMap<>(); in getCountryIdMap_links()
83 Map<String, String> baseExpectedMap = new HashMap<>(); in getCountryIdMap_replacements()
88 Map<String, String> expectedMap = new HashMap<>(baseExpectedMap); in getCountryIdMap_replacements()
98 Map<String, String> expectedMap = new HashMap<>(baseExpectedMap); in getCountryIdMap_replacements()
108 Map<String, String> expectedMap = new HashMap<>(baseExpectedMap); in getCountryIdMap_replacements()
/system/libcppbor/tests/
Dcppbor_test.cpp211 EXPECT_TRUE((details::is_unique_ptr_of_subclass_of_v<Item, std::unique_ptr<Map>>::value)); in TEST()
349 EXPECT_EQ("\xa0"s, details::makeItem(Map())->toString()); in TEST()
366 EXPECT_EQ("\xA0"s, Map().toString()); in TEST()
367 EXPECT_EQ("\xA1\x00\x01"s, Map(Uint(0), Uint(1)).toString()); in TEST()
385 Map(Uint(1), Nint(-1), Bstr(vec), Tstr("hello")).toString()); in TEST()
388 Map(1, -1, vec, "hello").toString()); in TEST()
401 Map(Tstr("Outer1"), in TEST()
403 Map(Tstr("Inner1"), Uint(99), Tstr("Inner2"), Bstr(vec)), Tstr("foo")), in TEST()
410 EXPECT_EQ(expectedEncoding, Map("Outer1", in TEST()
411 Array(Map("Inner1", 99, // in TEST()
[all …]
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java32 import java.util.Map;
107 Map<String, List<String>> expected = new HashMap<>(); in createCountryToOlsonIdsMap()
112 Map<String, List<String>> actual = ZoneTabFile.createCountryToOlsonIdsMap(zoneTab); in createCountryToOlsonIdsMap()
116 private void addIds(Map<String, List<String>> map, String iso, String... ids) { in addIds()
/system/libcppbor/include/cppbor/
Dcppbor.h80 class Map; variable
150 virtual Map* asMap() { return nullptr; } in asMap()
151 const Map* asMap() const { return const_cast<Item*>(this)->asMap(); } in asMap()
675 class Map : public Item {
681 Map() = default;
682 Map(const Map& other) = delete;
683 Map(Map&&) = default;
684 Map& operator=(const Map& other) = delete;
685 Map& operator=(Map&&) = default;
687 bool operator==(const Map& other) const&;
[all …]
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/
DConfig.java22 import java.util.Map;
41 private static Map<String, Object> configMap = null;
57 public Map<String, Object> getConfiguration() { in getConfiguration()
58 Map<String, Object> config = null; in getConfiguration()
62 config = gson.fromJson(content, Map.class); in getConfiguration()
/system/keymaster/contexts/
Dpure_soft_remote_provisioning_context.cpp74 std::unique_ptr<cppbor::Map>
76 auto result = std::make_unique<cppbor::Map>(cppbor::Map()); in CreateDeviceInfo()
140 auto coseKey = cppbor::Map() in GenerateBcc()
146 auto sign1Payload = cppbor::Map() in GenerateBcc()
155 cppbor::Map(), /* extra protected */ in GenerateBcc()
223 .add(cppbor::Map() /* UdsCerts */) in BuildCsr()
/system/libcppbor/src/
Dcppbor.cpp70 const Map* map = compoundItem->asMap(); in cborAreAllElementsNonCompound()
209 const Map* map = item->asMap(); in prettyPrintInternal()
462 bool Map::operator==(const Map& other) const& { in operator ==()
471 uint8_t* Map::encode(uint8_t* pos, const uint8_t* end) const { in encode()
483 void Map::encode(EncodeCallback encodeCallback) const { in encode()
491 bool Map::keyLess(const Item* a, const Item* b) { in keyLess()
533 Map& Map::canonicalize(bool recurse) & { in canonicalize()
552 std::unique_ptr<Item> Map::clone() const { in clone()
553 auto res = std::make_unique<Map>(); in clone()
/system/teeui/libteeui/include/teeui/
Dcbor.h130 template <typename... Elems> struct Map;
133 struct Map<MapElement<HeadKey, HeadValue>, Tail...> {
135 Map<Tail...> tail_;
136 Map(const MapElement<HeadKey, HeadValue>& head, const Tail&... tail)
141 template <> struct Map<> {};
144 Map<MapElement<Keys, Values>...> map(const MapElement<Keys, Values>&... elements) {
145 return Map<MapElement<Keys, Values>...>(elements...);
268 template <typename... Elems> WriteState write(WriteState wState, const Map<Elems...>& map) {
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DContextHubServiceTestHelper.java32 import java.util.Map;
169 for (Map.Entry<Long, Boolean> entry : findNanoApps(nanoAppIdList).entrySet()) { in assertNanoAppsLoaded()
182 for (Map.Entry<Long, Boolean> entry : findNanoApps(nanoAppIdList).entrySet()) { in assertNanoAppsNotLoaded()
197 private Map<Long, Boolean> findNanoApps(List<Long> nanoAppIds) in findNanoApps()
199 Map<Long, Boolean> foundNanoApps = new HashMap<>(); in findNanoApps()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java27 import java.util.Map;
71 static Map<String, List<String>> createCountryToOlsonIdsMap(ZoneTabFile zoneTab) { in createCountryToOlsonIdsMap()
72 Map<String, List<String>> countryIsoToOlsonIdsMap = new HashMap<>(); in createCountryToOlsonIdsMap()
/system/libcppbor/
DREADME.md36 * `Map` corresponds to major type 5, a Map. It holds a
75 "root" data item will be an `Array` or `Map` which contains a more complex structure.For example
78 ``` using cppbor::Map;
82 Map val("key1", Array(Map("key_a", 99 "key_b", vec), "foo"), "key2", true);
88 `Array` containing a `Map` and a `Tstr`. The "Outer2" entry has a
101 using cppbor::Map;
105 Map val();
106 val.add("key1", Array().add(Map().add("key_a", 99).add("key_b", vec)).add("foo")).add("key2", true);
164 Map().add("key_a", 99).add("key_b", vec).encode(iter)
175 creation and encoding of the inner Map using the fluent style.
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneUsage.java20 import java.util.Map;
28 private final Map<String, Entry> zoneIdEntryMap = new HashMap<>();
/system/keymaster/include/keymaster/cppcose/
Dcppcose.h155 return CoseKey(static_cast<cppbor::Map*>(parsedKey.release())); in parse()
262 const cppbor::Map& getMap() const { return *key_; } in getMap()
263 cppbor::Map&& moveMap() { return std::move(*key_); } in moveMap()
276 explicit CoseKey(cppbor::Map* parsedKey) : key_(parsedKey) {} in CoseKey()
279 std::unique_ptr<cppbor::Map> key_;
297 ErrMsgOr<cppbor::Array> constructCoseSign1(const bytevec& key, cppbor::Map extraProtectedFields,
300 cppbor::Map extraProtectedFields,

123