Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 145) sorted by relevance

123456

/hardware/interfaces/gnss/1.0/default/
DGnssMeasurement.cpp53 auto entry = legacyGnssData->measurements[i]; in gnssMeasurementCb() local
54 auto state = static_cast<GnssMeasurementState>(entry.state); in gnssMeasurementCb()
62 .flags = entry.flags, in gnssMeasurementCb()
63 .svid = entry.svid, in gnssMeasurementCb()
64 .constellation = static_cast<GnssConstellationType>(entry.constellation), in gnssMeasurementCb()
65 .timeOffsetNs = entry.time_offset_ns, in gnssMeasurementCb()
67 .receivedSvTimeInNs = entry.received_sv_time_in_ns, in gnssMeasurementCb()
68 .receivedSvTimeUncertaintyInNs = entry.received_sv_time_uncertainty_in_ns, in gnssMeasurementCb()
69 .cN0DbHz = entry.c_n0_dbhz, in gnssMeasurementCb()
70 .pseudorangeRateMps = entry.pseudorange_rate_mps, in gnssMeasurementCb()
[all …]
/hardware/libhardware/modules/camera/3_4/arc/
Dexif_utils.cpp19 inline void operator()(ExifEntry* entry) const { exif_entry_unref(entry); } in operator ()()
91 std::unique_ptr<ExifEntry> entry = AddVariableLengthEntry( in SetMaker() local
93 if (!entry) { in SetMaker()
97 memcpy(entry->data, maker.c_str(), entrySize); in SetMaker()
103 std::unique_ptr<ExifEntry> entry = AddVariableLengthEntry( in SetModel() local
105 if (!entry) { in SetModel()
109 memcpy(entry->data, model.c_str(), entrySize); in SetModel()
123 std::unique_ptr<ExifEntry> entry = in SetDateTime() local
126 if (!entry) { in SetDateTime()
130 memcpy(entry->data, str, sizeof(str)); in SetDateTime()
[all …]
Dimage_processor.cpp355 camera_metadata_ro_entry entry; in ConvertToJpeg() local
358 entry = metadata.find(ANDROID_JPEG_QUALITY); in ConvertToJpeg()
359 jpeg_quality = entry.data.u8[0]; in ConvertToJpeg()
366 entry = metadata.find(ANDROID_JPEG_THUMBNAIL_QUALITY); in ConvertToJpeg()
367 thumbnail_jpeg_quality = entry.data.u8[0]; in ConvertToJpeg()
412 camera_metadata_ro_entry entry = metadata.find(ANDROID_LENS_FOCAL_LENGTH); in SetExifTags() local
413 if (entry.count) { in SetExifTags()
414 focal_length = entry.data.f[0]; in SetExifTags()
427 entry = metadata.find(ANDROID_JPEG_GPS_COORDINATES); in SetExifTags()
428 if (entry.count < 3) { in SetExifTags()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dmetadata_common.h127 inline void GetDataPointer<uint8_t>(camera_metadata_ro_entry_t& entry,
129 *val = entry.data.u8;
133 inline void GetDataPointer<int32_t>(camera_metadata_ro_entry_t& entry,
135 *val = entry.data.i32;
139 inline void GetDataPointer<float>(camera_metadata_ro_entry_t& entry,
141 *val = entry.data.f;
145 inline void GetDataPointer<int64_t>(camera_metadata_ro_entry_t& entry,
147 *val = entry.data.i64;
151 inline void GetDataPointer<double>(camera_metadata_ro_entry_t& entry,
153 *val = entry.data.d;
[all …]
Dtest_common.h37 camera_metadata_ro_entry_t entry = metadata.find(tag); in ExpectMetadataEq() local
38 ASSERT_EQ(entry.count, size); in ExpectMetadataEq()
40 GetDataPointer(entry, &data); in ExpectMetadataEq()
/hardware/qcom/msm8998/json-c/
Djson_object.h72 struct lh_entry *entry; member
349 for(struct lh_entry *entry ## key = json_object_get_object(obj)->head, *entry_next ## key = NULL; \
350 ({ if(entry ## key) { \
351 key = (char*)entry ## key->k; \
352 val = (struct json_object*)entry ## key->v; \
353 entry_next ## key = entry ## key->next; \
354 } ; entry ## key; }); \
355 entry ## key = entry_next ## key )
362 struct lh_entry *entry ## key; \
364 for(entry ## key = json_object_get_object(obj)->head; \
[all …]
Dlinkhash.h159 #define lh_foreach(table, entry) \ argument
160 for(entry = table->head; entry; entry = entry->next)
165 #define lh_foreach_safe(table, entry, tmp) \ argument
166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
/hardware/interfaces/camera/common/1.0/default/
DExif.cpp39 inline void operator()(ExifEntry* entry) const { exif_entry_unref(entry); } in operator ()()
521 std::unique_ptr<ExifEntry> entry = addVariableLengthEntry( in setGpsAltitude() local
523 if (!entry) { in setGpsAltitude()
528 exif_set_rational(entry->data, EXIF_BYTE_ORDER_INTEL, in setGpsAltitude()
550 std::unique_ptr<ExifEntry> entry = addVariableLengthEntry( in setGpsLatitude() local
552 if (!entry) { in setGpsLatitude()
557 setLatitudeOrLongitudeData(entry->data, latitude); in setGpsLatitude()
578 std::unique_ptr<ExifEntry> entry = addVariableLengthEntry( in setGpsLongitude() local
580 if (!entry) { in setGpsLongitude()
585 setLatitudeOrLongitudeData(entry->data, longitude); in setGpsLongitude()
[all …]
DCameraModule.cpp47 camera_metadata_entry entry = chars.find(ANDROID_CONTROL_AVAILABLE_SCENE_MODES); in deriveCameraCharacteristicsKeys() local
48 if (entry.count > 1 || entry.data.u8[0] != ANDROID_CONTROL_SCENE_MODE_DISABLED) { in deriveCameraCharacteristicsKeys()
56 entry = chars.find(ANDROID_CONTROL_AE_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
57 if (entry.count > 0) { in deriveCameraCharacteristicsKeys()
58 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys()
59 if (entry.data.u8[i] == ANDROID_CONTROL_AE_MODE_OFF) { in deriveCameraCharacteristicsKeys()
65 entry = chars.find(ANDROID_CONTROL_AF_AVAILABLE_MODES); in deriveCameraCharacteristicsKeys()
66 if (entry.count > 0) { in deriveCameraCharacteristicsKeys()
67 for (size_t i = 0; i < entry.count; i++) { in deriveCameraCharacteristicsKeys()
68 if (entry.data.u8[i] == ANDROID_CONTROL_AF_MODE_OFF) { in deriveCameraCharacteristicsKeys()
[all …]
DCameraMetadata.cpp281 status_t CameraMetadata::update(const camera_metadata_ro_entry &entry) { in update() argument
287 if ( (res = checkType(entry.tag, entry.type)) != OK) { in update()
290 return updateImpl(entry.tag, (const void*)entry.data.u8, entry.count); in update()
322 camera_metadata_entry_t entry; in updateImpl() local
323 res = find_camera_metadata_entry(mBuffer, tag, &entry); in updateImpl()
329 entry.index, data, data_count, NULL); in updateImpl()
351 camera_metadata_ro_entry entry; in exists() local
352 return find_camera_metadata_ro_entry(mBuffer, tag, &entry) == 0; in exists()
357 camera_metadata_entry entry; in find() local
360 entry.count = 0; in find()
[all …]
/hardware/libhardware/tests/camera3/
Dcamera3tests.cpp36 camera_metadata_entry entry; in TEST_F() local
40 ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE, &entry)) in TEST_F()
42 int pixel_array_w = entry.data.i32[0]; in TEST_F()
43 int pixel_array_h = entry.data.i32[1]; in TEST_F()
48 ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, &entry)) in TEST_F()
50 int active_array_w = entry.data.i32[0]; in TEST_F()
51 int active_array_h = entry.data.i32[1]; in TEST_F()
64 camera_metadata_entry entry; in TEST_F() local
67 ANDROID_CONTROL_MODE, &entry)) in TEST_F()
/hardware/interfaces/drm/1.0/default/include/
DPluginLoader.h35 PluginLoader(const char *dir, const char *entry) { in PluginLoader() argument
51 T *plugin = loadOne(path, entry); in PluginLoader()
74 T* loadOne(const char *path, const char *entry) { in loadOne() argument
82 (CreateFactoryFunc)library->lookup(entry); in loadOne()
84 ALOGV("Found plugin factory entry %s in %s", entry, path); in loadOne()
90 entry, path, library->lastError()); in loadOne()
/hardware/libhardware/tests/input/evdev/
DTestHelpers.cpp76 while (auto entry = readdir(tmpDir)) { in ~TempDir() local
77 if (strcmp(entry->d_name, ".") == 0 || in ~TempDir()
78 strcmp(entry->d_name, "..") == 0) { in ~TempDir()
81 ALOGD("stale file %s, removing", entry->d_name); in ~TempDir()
82 unlink(entry->d_name); in ~TempDir()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Conntrack_NATApp.cpp172 ipa_nat_pdn_entry entry; in AddTable() local
174 entry.dst_metadata = 0; in AddTable()
175 entry.src_metadata = GenerateMetdata(mux_id); in AddTable()
176 entry.public_ip = pub_ip; in AddTable()
177 ret = ipa_nat_modify_pdn(nat_table_hdl, 0, &entry); in AddTable()
436 IOffloadManager::ConntrackTimeoutUpdater::natTimeoutUpdate_t entry; in UpdateCTUdpTs() local
520 entry.proto = IOffloadManager::ConntrackTimeoutUpdater::UDP;; in UpdateCTUdpTs()
524 entry.proto = IOffloadManager::ConntrackTimeoutUpdater::TCP; in UpdateCTUdpTs()
529 entry.src.ipAddr = htonl(rule->private_ip); in UpdateCTUdpTs()
530 entry.src.port = rule->private_port; in UpdateCTUdpTs()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
DLocUnorderedSetMap.h99 auto entry = mMap.find(key); in getValSetPtr() local
100 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr()
106 auto entry = mMap.find(key); in getValSet() local
107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet()
113 for (auto entry : mMap) { in getKeys() local
114 keys.insert(entry.first); in getKeys()
/hardware/libhardware/modules/camera/3_0/
DVendorTags.cpp176 const Entry* entry = getEntry(tag); in getTagName() local
178 if (entry == NULL) in getTagName()
181 return entry->name; in getTagName()
186 const Entry* entry = getEntry(tag); in getTagType() local
188 if (entry == NULL) in getTagType()
191 return entry->type; in getTagType()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Conntrack_NATApp.cpp406 IOffloadManager::ConntrackTimeoutUpdater::natTimeoutUpdate_t entry; in UpdateCTUdpTs() local
490 entry.proto = IOffloadManager::ConntrackTimeoutUpdater::UDP;; in UpdateCTUdpTs()
494 entry.proto = IOffloadManager::ConntrackTimeoutUpdater::TCP; in UpdateCTUdpTs()
499 entry.src.ipAddr = htonl(rule->private_ip); in UpdateCTUdpTs()
500 entry.src.port = rule->private_port; in UpdateCTUdpTs()
501 entry.dst.ipAddr = htonl(rule->target_ip); in UpdateCTUdpTs()
502 entry.dst.port = rule->target_port; in UpdateCTUdpTs()
507 entry.src.ipAddr = htonl(rule->target_ip); in UpdateCTUdpTs()
508 entry.src.port = rule->target_port; in UpdateCTUdpTs()
509 entry.dst.ipAddr = htonl(pub_ip_addr); in UpdateCTUdpTs()
[all …]
/hardware/interfaces/drm/1.2/vts/functional/
Dvendor_modules.cpp40 struct dirent* entry; in scanModules() local
41 while ((entry = readdir(dir))) { in scanModules()
42 ALOGD("checking file %s", entry->d_name); in scanModules()
43 string fullpath = directory + "/" + entry->d_name; in scanModules()
/hardware/interfaces/drm/1.0/vts/functional/
Dvendor_modules.cpp40 struct dirent* entry; in scanModules() local
41 while ((entry = readdir(dir))) { in scanModules()
42 ALOGD("checking file %s", entry->d_name); in scanModules()
43 string fullpath = directory + "/" + entry->d_name; in scanModules()
/hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
Dauthorization_set.h171 auto entry = authorizationValue(ttag, param); in Contains() local
172 if (entry.isOk() && static_cast<ValueT>(entry.value()) == value) return true; in Contains()
183 auto entry = GetEntry(tag); in GetTagValue() local
184 if (entry.isOk()) return authorizationValue(tag, entry.value()); in GetTagValue()
191 for (auto& entry : set) { in push_back()
192 push_back(entry); in push_back()
261 for (const auto& entry : set) { in Authorizations() local
262 push_back(entry); in Authorizations()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp813 static void fillOutputStreams(camera_metadata_ro_entry_t* entry,
4825 void CameraHidlTest::fillOutputStreams(camera_metadata_ro_entry_t* entry, in fillOutputStreams() argument
4828 for (size_t i = 0; i < entry->count; i+=4) { in fillOutputStreams()
4829 if (availableConfigOutputTag == entry->data.i32[i + 3]) { in fillOutputStreams()
4831 AvailableStream s = {entry->data.i32[i+1], in fillOutputStreams()
4832 entry->data.i32[i+2], entry->data.i32[i]}; in fillOutputStreams()
4835 if ((threshold->format == entry->data.i32[i]) && in fillOutputStreams()
4836 (threshold->width >= entry->data.i32[i+1]) && in fillOutputStreams()
4837 (threshold->height >= entry->data.i32[i+2])) { in fillOutputStreams()
4838 AvailableStream s = {entry->data.i32[i+1], in fillOutputStreams()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dstorage_manager.c129 int entry; in inv_load_mpl_states() local
151 entry = inv_find_entry(hd->key); in inv_load_mpl_states()
154 if (entry >= 0 && len >= hd->size) { in inv_load_mpl_states()
155 if (hd->size != ds.hd[entry].size) in inv_load_mpl_states()
160 ds.load[entry](data); in inv_load_mpl_states()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstorage_manager.c129 int entry; in inv_load_mpl_states() local
151 entry = inv_find_entry(hd->key); in inv_load_mpl_states()
154 if (entry >= 0 && len >= hd->size) { in inv_load_mpl_states()
155 if (hd->size != ds.hd[entry].size) in inv_load_mpl_states()
160 ds.load[entry](data); in inv_load_mpl_states()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drvi.c1071 int ipa_nati_modify_pdn(struct ipa_ioc_nat_pdn_entry *entry) in ipa_nati_modify_pdn() argument
1073 if (entry->public_ip == 0) in ipa_nati_modify_pdn()
1074 IPADBG("PDN %d public ip will be set to 0\n", entry->pdn_index); in ipa_nati_modify_pdn()
1076 if (ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_NAT_MODIFY_PDN, entry)) { in ipa_nati_modify_pdn()
1080 entry->pdn_index, entry->public_ip, entry->src_metadata, entry->dst_metadata); in ipa_nati_modify_pdn()
1085 pdns[entry->pdn_index].public_ip = entry->public_ip; in ipa_nati_modify_pdn()
1086 pdns[entry->pdn_index].dst_metadata = entry->dst_metadata; in ipa_nati_modify_pdn()
1087 pdns[entry->pdn_index].src_metadata = entry->src_metadata; in ipa_nati_modify_pdn()
1090 entry->pdn_index, entry->public_ip, entry->src_metadata, entry->dst_metadata); in ipa_nati_modify_pdn()
1459 uint16_t entry, uint8_t tbl_index) in ipa_nati_copy_ipv4_rule_to_hw() argument
[all …]
/hardware/interfaces/health/storage/1.0/default/
DStorage.cpp46 for (const auto& entry : fstab) { in getGarbageCollectPath() local
47 if (!entry.sysfs_path.empty()) { in getGarbageCollectPath()
48 return entry.sysfs_path + "/manual_gc"; in getGarbageCollectPath()

123456