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

123456

/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java17 package android.bluetooth.client.map.utils;
H A DObexAppParameters.java17 package android.bluetooth.client.map.utils;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
H A DVolumeLoader.java33 HashMap<String, Properties> map = new HashMap<String, Properties>(); field in class:VolumeLoader
38 map.put(Mandelbulb.NAME,null);
39 map.put(Droid.NAME,null);
47 map.put(prop[i].getProperty("name"), prop[i]);
53 String [] ret = map.keySet().toArray(new String[map.size()]);
65 Properties p = map.get(name);
/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
H A DSharedMemory.java173 * protection level of the shared memory is at least PROT_READ|PROT_WRITE or the map will fail.
175 * Use {@link #map(int, int, int)} to have more control over the mapping if desired.
176 * This is equivalent to map(OsConstants.PROT_READ | OsConstants.PROT_WRITE, 0, getSize())
182 return map(OsConstants.PROT_READ | OsConstants.PROT_WRITE, 0, mSize);
187 * protection level of the shared memory is at least PROT_READ or the map will fail.
189 * Use {@link #map(int, int, int)} to have more control over the mapping if desired.
190 * This is equivalent to map(OsConstants.PROT_READ, 0, getSize())
196 return map(OsConstants.PROT_READ, 0, mSize);
202 * to map() may be paired with a call to {@link #unmap(ByteBuffer)} when the ByteBuffer
203 * returned by map() i
213 public @NonNull ByteBuffer map(int prot, int offset, int length) throws ErrnoException { method in class:SharedMemory
[all...]
/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.java31 private final LinkedHashMap<K, V> map; field in class:LruCache
53 this.map = new LinkedHashMap<K, V>(0, 0.75f, true);
85 mapValue = map.get(key);
94 * Attempt to create a value. This may take a long time, and the map
96 * added to the map while create() was working, we leave that value in
97 * the map and release the created value.
107 mapValue = map.put(key, createdValue);
111 map.put(key, mapValue);
141 previous = map.put(key, value);
167 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.java181 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...]

Completed in 912 milliseconds

123456