/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_dual_test.c | 90 goto end; in mm_app_dtc_0() 95 goto end; in mm_app_dtc_0() 102 goto end; in mm_app_dtc_0() 108 goto end; in mm_app_dtc_0() 114 goto end; in mm_app_dtc_0() 122 goto end; in mm_app_dtc_0() 130 goto end; in mm_app_dtc_0() 138 goto end; in mm_app_dtc_0() 144 goto end; in mm_app_dtc_0() 151 goto end; in mm_app_dtc_0() [all …]
|
/hardware/interfaces/broadcastradio/common/tests/ |
D | IdentifierIterator_test.cpp | 37 auto end = V2_0::end(sel); in TEST() local 39 ASSERT_NE(end, it); in TEST() 41 ASSERT_NE(end, ++it); in TEST() 43 ASSERT_EQ(end, ++it); in TEST() 50 auto end = V2_0::end(sel); in TEST() local 52 ASSERT_NE(end, it++); // primary id is always present in TEST() 53 ASSERT_EQ(end, it); in TEST() 70 auto end = V2_0::end(sel); in TEST() local 77 ASSERT_NE(end, pre); in TEST() 105 auto end = V2_0::end(sel); in TEST() local [all …]
|
/hardware/libhardware/tests/input/evdev/ |
D | BitUtils_test.cpp | 68 for (int end = start + 1; end <= 24; ++end) { in TEST() local 69 if (start > 16 || end <= 11 || (start > 11 && end <= 16)) { in TEST() 70 EXPECT_FALSE(testBitInRange(arr, start, end)) in TEST() 71 << "range = (" << start << ", " << end << ")"; in TEST() 73 EXPECT_TRUE(testBitInRange(arr, start, end)) in TEST() 74 << "range = (" << start << ", " << end << ")"; in TEST()
|
/hardware/qcom/gps/msm8909w_3100/core/data-items/common/ |
D | DataItemIndex.cpp | 56 if (cdiIter != mClientsPerDataItemMap.end ()) { in getListOfSubscribedClients() 76 while (cdiIter != mClientsPerDataItemMap.end()) { in remove() 78 for (; it != r.end (); ++it) { in remove() 83 cdiIter->second.end (), in remove() 86 if (iter != cdiIter->second.end ()) { in remove() 115 if (cdiIter != mClientsPerDataItemMap.end ()) { in remove() 116 set_intersection (cdiIter->second.begin (), cdiIter->second.end (), in remove() 117 r.begin (), r.end (), in remove() 121 for (; it != out.end (); ++it) { in remove() 123 cdiIter->second.end (), in remove() [all …]
|
D | ClientIndex.cpp | 52 if (it != mDataItemsPerClientMap.end ()) { in isSubscribedClient() 64 if (it != mDataItemsPerClientMap.end ()) { in getSubscribedList() 84 while (dicIter != mDataItemsPerClientMap.end()) { in remove() 86 for (; it != r.end (); ++it) { in remove() 88 find (dicIter->second.begin (), dicIter->second.end (), *it); in remove() 89 if (iter != dicIter->second.end ()) { in remove() 116 if (dicIter != mDataItemsPerClientMap.end ()) { in remove() 117 set_intersection (dicIter->second.begin (), dicIter->second.end (), in remove() 118 r.begin (), r.end (), in remove() 122 for (; it != out.end (); ++it) { in remove() [all …]
|
/hardware/interfaces/identity/support/src/ |
D | cppbor_parse.cpp | 38 std::tuple<bool, uint64_t, const uint8_t*> parseLength(const uint8_t* pos, const uint8_t* end, in parseLength() argument 40 if (pos + sizeof(T) > end) { in parseLength() 41 parseClient->error(pos - 1, insufficientLengthString(sizeof(T), end - pos, "length field")); in parseLength() 53 std::tuple<const uint8_t*, ParseClient*> parseRecursively(const uint8_t* begin, const uint8_t* end, 93 const uint8_t* valueBegin, const uint8_t* end, in handleString() argument 96 if (end - valueBegin < static_cast<ssize_t>(length)) { in handleString() 97 parseClient->error(hdrBegin, insufficientLengthString(length, end - valueBegin, errLabel)); in handleString() 158 const uint8_t* pos, const uint8_t* end, in handleEntries() argument 163 if (pos == end) { in handleEntries() 167 std::tie(pos, parseClient) = parseRecursively(pos, end, parseClient); in handleEntries() [all …]
|
D | cppbor.cpp | 54 uint8_t* encodeHeader(MajorType type, uint64_t addlInfo, uint8_t* pos, const uint8_t* end) { in encodeHeader() argument 56 if (end - pos < static_cast<ssize_t>(sz)) return nullptr; in encodeHeader() 150 uint8_t* Bstr::encode(uint8_t* pos, const uint8_t* end) const { in encode() 151 pos = encodeHeader(mValue.size(), pos, end); in encode() 152 if (!pos || end - pos < static_cast<ptrdiff_t>(mValue.size())) return nullptr; in encode() 153 return std::copy(mValue.begin(), mValue.end(), pos); in encode() 162 uint8_t* Tstr::encode(uint8_t* pos, const uint8_t* end) const { in encode() 163 pos = encodeHeader(mValue.size(), pos, end); in encode() 164 if (!pos || end - pos < static_cast<ptrdiff_t>(mValue.size())) return nullptr; in encode() 165 return std::copy(mValue.begin(), mValue.end(), pos); in encode() [all …]
|
/hardware/libhardware/modules/input/evdev/ |
D | BitUtils.cpp | 38 bool testBitInRange(const uint8_t arr[], size_t start, size_t end) { in testBitInRange() argument 40 ALOGD("testBitInRange(%d, %d)", start, end); in testBitInRange() 43 if (end <= start) return false; in testBitInRange() 48 size_t endIndex = (end + 7) / 8; in testBitInRange() 64 if (i == endIndex - 1 && (end % 8)) { in testBitInRange() 65 mask &= 0xff >> (8 - (end % 8)); in testBitInRange()
|
/hardware/qcom/sm7150/gps/utils/ |
D | SkipList.h | 76 SkipList<T>::SkipList(int totalLevels): mHeadVec(totalLevels, mMainList.end()), in SkipList() 77 mTailVec(totalLevels, mMainList.end()) {} in SkipList() 86 node.mNextInLevel = mMainList.end(); in append() 88 auto iter = --mMainList.end(); in append() 89 if (mHeadVec[level] == mMainList.end()) { in append() 99 if (mHeadVec[level] == mMainList.end()) { in pop() 103 if ((*mHeadVec[level]).mNextInLevel == mMainList.end()) { in pop() 104 mTailVec[level] = mMainList.end(); in pop() 131 mHeadVec[i] = mMainList.end(); in flush() 132 mTailVec[i] = mMainList.end(); in flush() [all …]
|
D | LocUnorderedSetMap.h | 59 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset() 60 auto a = find(s1.begin(), s1.end(), *b); in removeAndReturnInterset() 61 if (a != s1.end()) { in removeAndReturnInterset() 100 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr() 107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet() 135 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 147 if (iter != mMap.end()) { in add() 148 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/qcom/sm8150/gps/utils/ |
D | SkipList.h | 76 SkipList<T>::SkipList(int totalLevels): mHeadVec(totalLevels, mMainList.end()), in SkipList() 77 mTailVec(totalLevels, mMainList.end()) {} in SkipList() 86 node.mNextInLevel = mMainList.end(); in append() 88 auto iter = --mMainList.end(); in append() 89 if (mHeadVec[level] == mMainList.end()) { in append() 99 if (mHeadVec[level] == mMainList.end()) { in pop() 103 if ((*mHeadVec[level]).mNextInLevel == mMainList.end()) { in pop() 104 mTailVec[level] = mMainList.end(); in pop() 131 mHeadVec[i] = mMainList.end(); in flush() 132 mTailVec[i] = mMainList.end(); in flush() [all …]
|
D | LocUnorderedSetMap.h | 59 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset() 60 auto a = find(s1.begin(), s1.end(), *b); in removeAndReturnInterset() 61 if (a != s1.end()) { in removeAndReturnInterset() 100 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr() 107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet() 135 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 147 if (iter != mMap.end()) { in add() 148 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedRequestState.cpp | 614 available_control_modes_.end()) { in InitializeSensorSettings() 626 (available_scenes_.find(entry.data.u8[0]) != available_scenes_.end())) { in InitializeSensorSettings() 667 available_rotate_crop_modes_.end()) { in InitializeSensorSettings() 680 available_vstab_modes_.end()) { in InitializeSensorSettings() 693 available_edge_modes_.end()) { in InitializeSensorSettings() 709 available_ae_modes_.end()) { in InitializeSensorSettings() 719 available_awb_modes_.end()) { in InitializeSensorSettings() 729 available_af_modes_.end()) { in InitializeSensorSettings() 738 if (it != scene_overrides_.end()) { in InitializeSensorSettings() 769 available_lens_shading_map_modes_.end()) { in InitializeSensorSettings() [all …]
|
D | EmulatedLogicalRequestState.cpp | 110 result.insert(result.end(), physical_device_id.begin(), in InitializeLogicalResult() 111 physical_device_id.end()); in InitializeLogicalResult() 158 physical_camera_output_ids_->end()) { in InitializeLogicalSettings() 171 physical_focal_length_map_.end()) { in InitializeLogicalSettings() 220 physical_ids.insert(physical_ids.end(), physical_id.begin(), in AdaptLogicalCharacteristics() 221 physical_id.end()); in AdaptLogicalCharacteristics() 235 focal_buffer.insert(focal_buffer.end(), focal_lengths.begin(), in AdaptLogicalCharacteristics() 236 focal_lengths.end()); in AdaptLogicalCharacteristics() 249 std::vector<int32_t> keys_buffer(keys.begin(), keys.end()); in AdaptLogicalCharacteristics() 262 keys_buffer.insert(keys_buffer.end(), keys.begin(), keys.end()); in AdaptLogicalCharacteristics() [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
D | StreamIoUtil.h | 37 charvectorbuf(CharT *begin, CharT *end) { in charvectorbuf() argument 38 assert(end >= begin); in charvectorbuf() 39 init(begin, end - begin); in charvectorbuf() 51 charvectorbuf(const CharT *begin, const CharT *end) { in charvectorbuf() argument 52 assert(end >= begin); in charvectorbuf() 53 init(begin, end - begin); in charvectorbuf() 76 pos_type end = egptr() - eback(); variable 98 case std::ios_base::end: 99 noff = end; 105 if (noff < 0 || noff > end) {
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwcomposer.cpp | 91 return layers_.find(layer) != layers_.end(); in IsValidLayer() 100 if (layers_.find(layer) == layers_.end()) { in SetClientComposed() 204 if (iter == displays.end()) { in Hwc2ImplDestroyVirtualDisplay() 262 if (displays.find(display) == displays.end()) { in Hwc2ImplAcceptDisplayChanges() 273 if (iter == displays.end()) { in Hwc2ImplCreateLayer() 286 if (iter == displays.end()) { in Hwc2ImplDestroyLayer() 300 if (iter == displays.end()) { in Hwc2ImplGetActiveConfig() 319 if (iter == displays.end()) { in Hwc2ImplGetChangedCompositionTypes() 360 if (displays.find(display) == displays.end()) { in Hwc2ImplGetColorModes() 385 if (iter == displays.end()) { in Hwc2ImplGetDisplayAttribute() [all …]
|
/hardware/qcom/sm8150p/gps/utils/ |
D | LocUnorderedSetMap.h | 59 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset() 60 auto a = find(s1.begin(), s1.end(), *b); in removeAndReturnInterset() 61 if (a != s1.end()) { in removeAndReturnInterset() 100 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr() 107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet() 135 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 147 if (iter != mMap.end()) { in add() 148 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | LocUnorderedSetMap.h | 59 for (auto b = s2.begin(); b != s2.end(); b++) { in removeAndReturnInterset() 60 auto a = find(s1.begin(), s1.end(), *b); in removeAndReturnInterset() 61 if (a != s1.end()) { in removeAndReturnInterset() 100 return (entry != mMap.end()) ? &(entry->second) : nullptr; in getValSetPtr() 107 return (entry != mMap.end()) ? entry->second : unordered_set<VAL>(0); in getValSet() 135 if (iter != mMap.end() && trimOrRemove(iter, rVals, goneVals) && nullptr != goneKeys) { in trimOrRemove() 147 if (iter != mMap.end()) { in add() 148 iter->second.insert(newVals.begin(), newVals.end()); in add()
|
/hardware/interfaces/tests/trie/1.0/default/ |
D | Trie.cpp | 73 auto it = std::find_if(vec.begin(), vec.end(), in addString() 76 if (it == vec.end()) { in addString() 78 it = vec.end() - 1; in addString() 95 auto it = std::find_if(vec.begin(), vec.end(), in containsString() 98 if (it == vec.end()) return false; in containsString()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_LanToLan.cpp | 131 for(it = m_iface.begin(); it != m_iface.end(); it++) in has_l2tp_iface() 249 for(it = m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 271 if(it == m_iface.end()) //If the interface has not been created before in handle_iface_up() 300 …for(it_mapping = m_l2tp_vlan_mapping.begin(); it_mapping != m_l2tp_vlan_mapping.end(); it_mapping+… in handle_iface_up() 312 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 324 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 362 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down() 371 if(it_target_iface == m_iface.end()) in handle_iface_down() 382 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down() 394 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_LanToLan.cpp | 131 for(it = m_iface.begin(); it != m_iface.end(); it++) in has_l2tp_iface() 246 for(it = m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 268 if(it == m_iface.end()) //If the interface has not been created before in handle_iface_up() 297 …for(it_mapping = m_l2tp_vlan_mapping.begin(); it_mapping != m_l2tp_vlan_mapping.end(); it_mapping+… in handle_iface_up() 309 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 321 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 357 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down() 366 if(it_target_iface == m_iface.end()) in handle_iface_down() 377 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down() 389 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down() [all …]
|
/hardware/interfaces/identity/support/include/cppbor/ |
D | cppbor_parse.h | 37 ParseResult parse(const uint8_t* begin, const uint8_t* end); 75 void parse(const uint8_t* begin, const uint8_t* end, ParseClient* parseClient); 109 const uint8_t* valueBegin, const uint8_t* end) = 0; 123 const uint8_t* valueBegin, const uint8_t* end) = 0;
|
/hardware/interfaces/vibrator/aidl/vts/ |
D | VtsHalVibratorTargetTest.cpp | 39 android::enum_range<Effect>().end()}; 41 android::enum_range<EffectStrength>().end()}; 55 android::enum_range<CompositePrimitive>().end()}; 124 std::find(supported.begin(), supported.end(), effect) != supported.end(); in TEST_P() 150 std::find(supported.begin(), supported.end(), effect) != supported.end(); in TEST_P() 275 std::find(supported.begin(), supported.end(), primitive) != supported.end(); in TEST_P() 277 std::find(kOptionalPrimitives.begin(), kOptionalPrimitives.end(), primitive) != in TEST_P() 278 kOptionalPrimitives.end(); in TEST_P() 292 std::find(supported.begin(), supported.end(), primitive) != supported.end(); in TEST_P() 348 std::find(supported.begin(), supported.end(), primitive) != supported.end(); in TEST_P() [all …]
|
/hardware/google/av/media/eco/ |
D | ECOService.cpp | 129 for (auto it = mSessionConfigToSessionMap.begin(), end = mSessionConfigToSessionMap.end(); in SanitizeSession() local 130 it != end;) { in SanitizeSession() 148 for (auto it = mSessionConfigToSessionMap.begin(), end = mSessionConfigToSessionMap.end(); in dump() local 149 it != end; it++) { in dump()
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | metadata.cpp | 70 tags.end(), in FillStaticMetadata() 71 std::inserter(static_tags, static_tags.end())); in FillStaticMetadata() 74 tags.end(), in FillStaticMetadata() 75 std::inserter(control_tags, control_tags.end())); in FillStaticMetadata() 78 tags.end(), in FillStaticMetadata() 79 std::inserter(dynamic_tags, dynamic_tags.end())); in FillStaticMetadata()
|