Searched defs:map (Results 51 - 75 of 142) sorted by relevance

123456

/frameworks/wilhelm/src/android/
H A Dchannels.cpp127 // In practice this map is unnecessary, because the SL definitions just
153 // This map is quite sparse, because there really isn't a reasonable mapping
154 // between most of the SL_SPEAKER bits and the android input map. It's probably
165 const struct channel_map* map,
186 if (bitsIn & map[i].sles) {
187 bitsOut |= map[i].android;
163 sles_to_android_mask_helper( SLuint32 mask, const struct channel_map* map, unsigned int nMappings) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_slice_group_map.c59 u32 *map,
65 u32 *map,
71 u32 *map,
79 u32 *map,
86 u32 *map,
92 u32 *map,
103 Function to decode interleaved slice group map type, i.e. slice
104 group map type 0.
107 map pointer to the map
120 DecodeInterleavedMap( u32 *map, u32 numSliceGroups, u32 *runLength, u32 picSize) argument
174 DecodeDispersedMap( u32 *map, u32 numSliceGroups, u32 picWidth, u32 picHeight) argument
225 DecodeForegroundLeftOverMap( u32 *map, u32 numSliceGroups, u32 *topLeft, u32 *bottomRight, u32 picWidth, u32 picHeight) argument
294 DecodeBoxOutMap( u32 *map, u32 sliceGroupChangeDirectionFlag, u32 unitsInSliceGroup0, u32 picWidth, u32 picHeight) argument
400 DecodeRasterScanMap( u32 *map, u32 sliceGroupChangeDirectionFlag, u32 sizeOfUpperLeftGroup, u32 picSize) argument
448 DecodeWipeMap( u32 *map, u32 sliceGroupChangeDirectionFlag, u32 sizeOfUpperLeftGroup, u32 picWidth, u32 picHeight) argument
503 h264bsdDecodeSliceGroupMap( u32 *map, picParamSet_t *pps, u32 sliceGroupChangeCycle, u32 picWidth, u32 picHeight) argument
[all...]
/frameworks/base/core/java/android/os/
H A DPersistableBundle.java108 * @param map a Map containing only those items that can be persisted.
109 * @throws IllegalArgumentException if any element of #map cannot be persisted.
111 private PersistableBundle(ArrayMap<String, Object> map) { argument
116 putAll(map);
158 * Clones the current PersistableBundle. The internal map is cloned, but the keys and
/frameworks/base/core/java/android/os/health/
H A DHealthStatsWriter.java120 ArrayMap<String,HealthStatsWriter> map = mStatsValues[index];
121 if (map == null) {
122 map = mStatsValues[index] = new ArrayMap<String,HealthStatsWriter>(1);
124 map.put(name, value);
135 ArrayMap<String,TimerStat> map = mTimersValues[index];
136 if (map == null) {
137 map = mTimersValues[index] = new ArrayMap<String,TimerStat>(1);
139 map.put(name, value);
148 ArrayMap<String,Long> map = mMeasurementsValues[index];
149 if (map
252 writeHealthStatsWriterMap(Parcel out, ArrayMap<String,HealthStatsWriter> map) argument
265 writeParcelableMap(Parcel out, ArrayMap<String,T> map) argument
278 writeLongsMap(Parcel out, ArrayMap<String,Long> map) argument
[all...]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DArrayMapTests.java121 private static boolean compareMaps(HashMap map, ArrayMap array) { argument
122 if (map.size() != array.size()) {
123 Log.e("test", "Bad size: expected " + map.size() + ", got " + array.size());
127 Set<Map.Entry> mapSet = map.entrySet();
141 Object expValue = map.get(key);
149 if (map.entrySet().hashCode() != array.entrySet().hashCode()) {
150 Log.e("test", "Entry set hash codes differ: map=0x"
151 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x"
156 if (!map.entrySet().equals(array.entrySet())) {
157 Log.e("test", "Failed calling equals on map entr
300 dump(Map map, ArrayMap array) argument
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dserialization_tests.cpp95 MapType map; local
97 map.emplace(i, i);
99 for (const auto& element : map) {
905 TEST(SerializationTest, map) {
908 std::map<std::uint32_t, std::uint32_t> value;
1203 std::map<int, std::pair<std::string, int>> m1 = {{0, {"a", 2}},
2047 TEST(DeserializationTest, map) {
2049 std::map<std::uint32_t, std::uint32_t> result;
2050 std::map<std::uint32_t, std::uint32_t> expected;
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageBuilder.java17 package android.bluetooth.client.map;
H A DBluetoothMapBmessageParser.java17 package android.bluetooth.client.map;
29 import android.bluetooth.client.map.BluetoothMapBmessage.Status;
30 import android.bluetooth.client.map.BluetoothMapBmessage.Type;
31 import android.bluetooth.client.map.utils.BmsgTokenizer;
32 import android.bluetooth.client.map.utils.BmsgTokenizer.Property;
H A DBluetoothMapEventReport.java17 package android.bluetooth.client.map;
H A DBluetoothMasObexClientSession.java17 package android.bluetooth.client.map;
/frameworks/rs/
H A DrsClosure.cpp132 auto map = p.second; local
133 for (const auto& p1 : *map) {
/frameworks/support/compat/java/android/support/v4/util/
H A DLruCache.java30 private final LinkedHashMap<K, V> map; field in class:LruCache
52 this.map = new LinkedHashMap<K, V>(0, 0.75f, true);
84 mapValue = map.get(key);
93 * Attempt to create a value. This may take a long time, and the map
95 * added to the map while create() was working, we leave that value in
96 * the map and release the created value.
106 mapValue = map.put(key, createdValue);
110 map.put(key, mapValue);
140 previous = map.put(key, value);
166 if (size < 0 || (map
[all...]
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl.h101 // Called to map a GraphicBuffer in |mode|.
117 AwMapFunction* map; member in struct:AwDrawGLFunctionTable
/frameworks/av/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp104 const PidSessionInfosMap& map = sessionMap(); local
105 EXPECT_EQ(2u, map.size());
106 ssize_t index1 = map.indexOfKey(kTestPid1);
108 const SessionInfos& infos1 = map[index1];
112 ssize_t index2 = map.indexOfKey(kTestPid2);
114 const SessionInfos& infos2 = map[index2];
179 const PidSessionInfosMap& map = sessionMap(); local
180 const SessionInfos& infos1 = map.valueFor(kTestPid1);
181 const SessionInfos& infos2 = map.valueFor(kTestPid2);
191 const PidSessionInfosMap& map local
212 const PidSessionInfosMap& map = sessionMap(); local
[all...]
/frameworks/av/services/mediadrm/tests/
H A DDrmSessionManager_test.cpp100 const PidSessionInfosMap& map = sessionMap(); local
101 EXPECT_EQ(2u, map.size());
102 ssize_t index1 = map.indexOfKey(kTestPid1);
104 const SessionInfos& infos1 = map[index1];
108 ssize_t index2 = map.indexOfKey(kTestPid2);
110 const SessionInfos& infos2 = map[index2];
175 const PidSessionInfosMap& map = sessionMap(); local
176 const SessionInfos& infos1 = map.valueFor(kTestPid1);
177 const SessionInfos& infos2 = map.valueFor(kTestPid2);
187 const PidSessionInfosMap& map local
208 const PidSessionInfosMap& map = sessionMap(); local
[all...]
/frameworks/base/core/java/android/util/
H A DMathUtils.java183 public static float map(float minStart, float minStop, float maxStart, float maxStop, float value) { method in class:MathUtils
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java137 * @param map The {@code Map} to insert parameter values into
141 static void parse(Reader r, Map<String, Object> map) throws ParseException, IOException { argument
194 map.remove(propertyName);
202 // Read a value of the appropriate type, and insert into the map.
204 final Object oldValue = map.remove(propertyName);
213 map.put(propertyName, value);
/frameworks/base/core/jni/
H A Dandroid_view_KeyCharacterMap.cpp50 NativeKeyCharacterMap(int32_t deviceId, const sp<KeyCharacterMap>& map) : argument
51 mDeviceId(deviceId), mMap(map) {
73 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, local
75 if (!map) {
80 reinterpret_cast<jlong>(map));
99 NativeKeyCharacterMap* map = new NativeKeyCharacterMap(deviceId, kcm); local
100 return reinterpret_cast<jlong>(map);
104 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
107 parcel->writeInt32(map->getDeviceId());
108 map
113 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
119 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
125 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
139 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
145 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
162 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
167 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
173 NativeKeyCharacterMap* map = reinterpret_cast<NativeKeyCharacterMap*>(ptr); local
[all...]
H A Dfd_utils.cpp440 const std::unordered_map<int, FileDescriptorInfo*>& map)
441 : open_fd_map_(map) {
439 FileDescriptorTable( const std::unordered_map<int, FileDescriptorInfo*>& map) argument
/frameworks/base/libs/androidfw/
H A DLocaleData.cpp52 auto map = SCRIPT_PARENTS[i].map; local
53 auto lookup_result = map->find(packed_locale);
54 if (lookup_result != map->end()) {
/frameworks/base/services/core/java/com/android/server/am/
H A DProviderMap.java134 HashMap<String, ContentProviderRecord> map = getProvidersByName(userId);
135 // map returned by getProvidersByName wouldn't be null
136 map.remove(name);
137 if (map.size() == 0) {
153 HashMap<ComponentName, ContentProviderRecord> map = getProvidersByClass(userId);
154 // map returned by getProvidersByClass wouldn't be null
155 map.remove(name);
156 if (map.size() == 0) {
164 final HashMap<String, ContentProviderRecord> map = mProvidersByNamePerUser.get(userId);
165 if (map
242 dumpProvidersByClassLocked(PrintWriter pw, boolean dumpAll, String dumpPackage, String header, boolean needSep, HashMap<ComponentName, ContentProviderRecord> map) argument
268 dumpProvidersByNameLocked(PrintWriter pw, String dumpPackage, String header, boolean needSep, HashMap<String, ContentProviderRecord> map) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DMoreAsserts.java413 * Asserts that {@code map} is empty.
415 public static void assertEmpty(String message, Map<?,?> map) { argument
416 if (!map.isEmpty()) {
417 failNotEmpty(message, map.toString());
425 public static void assertEmpty(Map<?,?> map) { argument
426 assertEmpty(null, map);
447 * Asserts that {@code map} is not empty.
449 public static void assertNotEmpty(String message, Map<?,?> map) { argument
450 if (map.isEmpty()) {
459 public static void assertNotEmpty(Map<?,?> map) { argument
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DAutomaticActivity.java177 private static void logTestResultHash(String label, HashMap<String, TestResult> map) { argument
194 for (TestResult t : map.values()) {
/frameworks/base/tools/aapt2/unflatten/
H A DBinaryResourceParser.cpp20 #include <map>
54 const std::map<ResourceId, ResourceName>* mapping)
74 const std::map<ResourceId, ResourceName>* mapping_;
454 const ResTable_map_entry* map) {
457 return ParseStyle(name, config, map);
461 return ParseAttr(name, config, map);
463 return ParseArray(name, config, map);
465 return ParsePlural(name, config, map);
468 // IDs that come from declaring an enum value in an attribute as an empty map...
472 context_->GetDiagnostics()->Error(DiagMessage() << "illegal map typ
452 ParseMapEntry( const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
479 ParseStyle( const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
504 ParseAttr( const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
548 ParseArray( const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
558 ParsePlural( const ResourceNameRef& name, const ConfigDescription& config, const ResTable_map_entry* map) argument
[all...]
/frameworks/base/tools/bit/
H A Dutil.cpp102 get_directory_contents(const string& name, map<string,FileInfo>* results)
128 directory_contents_differ(const map<string,FileInfo>& before, const map<string,FileInfo>& after) argument
133 map<string,FileInfo>::const_iterator b = before.begin();
134 map<string,FileInfo>::const_iterator a = after.begin();

Completed in 577 milliseconds

123456