Searched refs:map (Results 1 - 25 of 259) sorted by path

1234567891011

/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp51 #include <map>
64 std::map<String16, TorchStatus> mCameraTorchStatuses;
65 std::map<int32_t, Status> mCameraStatuses;
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h42 * Adds a new value in the session map table. It expects memory to be allocated already
53 map.add(key, value);
72 * returns the number of objects in the session map table
78 return map.size();
82 * returns the session object by the index in the session map table
92 if (map.size() > index) {
93 value = map.valueAt(index);
99 * deletes the object from session map. It also frees up memory for the session object.
107 map.removeItem(key);
126 map
131 KeyedVector<int, TValue> map; member in class:android::SessionMap
[all...]
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp775 String8 MockDrmPlugin::stringMapToString(KeyedVector<String8, String8> map) const
778 for (size_t i = 0; i < map.size(); i++) {
780 map.keyAt(i).string(), map.valueAt(i).string());
H A DMockDrmCryptoPlugin.h143 String8 stringMapToString(KeyedVector<String8, String8> map) const;
/frameworks/av/include/media/
H A DMediaProfiles.h396 static int findTagForName(const NameToTagMap *map, size_t nMappings, const char *name);
/frameworks/av/include/media/stagefright/
H A DOMXCodec.h406 status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]);
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp30 KeyedVector<uint16_t, const TagDefinition_t*> map; local
32 map.add(definitions[i].tagId, definitions + i);
34 return map;
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp156 MediaProfiles::findTagForName(const MediaProfiles::NameToTagMap *map, size_t nMappings, argument
161 if (!strcmp(map[i].name, name)) {
162 tag = map[i].tag;
/frameworks/av/media/libmediaplayerservice/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/av/media/libstagefright/
H A DOMXCodec.cpp4393 status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]) { argument
4396 map[0] = OMX_AUDIO_ChannelCF;
4399 map[0] = OMX_AUDIO_ChannelLF;
4400 map[1] = OMX_AUDIO_ChannelRF;
4403 map[0] = OMX_AUDIO_ChannelLF;
4404 map[1] = OMX_AUDIO_ChannelRF;
4405 map[2] = OMX_AUDIO_ChannelCF;
4408 map[0] = OMX_AUDIO_ChannelLF;
4409 map[1] = OMX_AUDIO_ChannelRF;
4410 map[
[all...]
/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...]
H A Dh264bsd_slice_group_map.h53 u32 *map,
/frameworks/av/media/utils/include/mediautils/
H A DBatteryNotifier.h24 #include <map>
63 std::map<std::pair<String8, int>, bool> mFlashlightState;
64 std::map<std::pair<String8, int>, bool> mCameraState;
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DCollection.h27 #include <map>
37 * Collection of policy element as a map indexed with a their UID type.
47 class Collection : public std::map<Key, Element<Key> *>
51 typedef typename std::map<Key, T *>::iterator CollectionIterator;
52 typedef typename std::map<Key, T *>::const_iterator CollectionConstIterator;
H A DEngine.cpp36 using std::map;
H A DStream.h23 #include <map>
36 typedef std::map<Volume::device_category, VolumeCurvePoints> VolumeProfiles;
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp38 using std::map;
223 T *ParameterManagerWrapper::getElement(const string &name, std::map<string, T *> &elementsMap)
226 typename std::map<string, T *>::iterator it = elementsMap.find(name);
232 const T *ParameterManagerWrapper::getElement(const string &name, const std::map<string, T *> &elementsMap) const
235 typename std::map<string, T *>::const_iterator it = elementsMap.find(name);
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h24 #include <map>
45 typedef std::map<std::string, ISelectionCriterionInterface *> CriterionCollection;
46 typedef std::map<std::string, ISelectionCriterionTypeInterface *> CriterionTypeCollection;
72 * @todo: map on initCheck?
222 * Retrieve an element from a map by its name.
231 T *getElement(const std::string &name, std::map<std::string, T *> &elementsMap);
234 * Retrieve an element from a map by its name. Const version.
244 const std::map<std::string, T *> &elementsMap) const;
265 CriterionTypeCollection mPolicyCriterionTypes; /**< Policy Criterion Type map. */
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp991 std::map<int,int> pidToPriorityMap;
1263 // Update UID map - this is used in the torch status changed callbacks, so must be done
H A DCameraService.h47 #include <map>
500 // Mapping from camera ID -> state for each device, map is protected by mCameraStatesLock
501 std::map<String8, std::shared_ptr<CameraState>> mCameraStates;
503 // Mutex guarding mCameraStates map
661 std::map<String8, std::pair<int, int>> mTorchUidMap;
/frameworks/av/services/camera/libcameraservice/utils/
H A DClientManager.h28 #include <map>
231 * Given a map containing owner (pid) -> priority mappings, update the priority of each
234 void updatePriorities(const std::map<int32_t,int32_t>& ownerPriorityList);
527 const std::map<int32_t,int32_t>& ownerPriorityList) {
/frameworks/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp65 PidResourceInfosMap& map) {
66 ssize_t index = map.indexOfKey(pid);
70 map.add(pid, infosForPid);
73 return map.editValueFor(pid);
63 getResourceInfosForEdit( int pid, PidResourceInfosMap& map) argument
/frameworks/av/services/mediaresourcemanager/test/
H A DResourceManagerService_test.cpp171 const PidResourceInfosMap &map = mService->mMap; local
172 EXPECT_EQ(2u, map.size());
173 ssize_t index1 = map.indexOfKey(kTestPid1);
175 const ResourceInfos &infos1 = map[index1];
179 ssize_t index2 = map.indexOfKey(kTestPid2);
181 const ResourceInfos &infos2 = map[index2];
223 const PidResourceInfosMap &map = mService->mMap; local
224 EXPECT_EQ(2u, map.size());
225 const ResourceInfos &infos1 = map.valueFor(kTestPid1);
226 const ResourceInfos &infos2 = map
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp169 SkMemoryStream stream(frame.map->getDataPtr(), frame.map->getDataLength());
182 delete frame.map;
537 FileMap* map = mZip->createEntryFileMap(entry); local
538 if (map) {
542 part.audioFile = map;
546 frame.map = map;
H A DBootAnimation.h63 FileMap* map; member in struct:android::BootAnimation::Animation::Frame

Completed in 896 milliseconds

1234567891011