/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/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/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/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/sm8150/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/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_LanToLan.cpp | 152 for(it = m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 174 if(it == m_iface.end()) //If the interface has not been created before in handle_iface_up() 206 for(it = ++m_iface.begin(); it != m_iface.end(); it++) in handle_iface_up() 241 for(it_target_iface = m_iface.begin(); it_target_iface != m_iface.end(); it_target_iface++) in handle_iface_down() 250 if(it_target_iface == m_iface.end()) in handle_iface_down() 308 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_client_add() 319 if(it_iface == m_iface.end()) in handle_client_add() 342 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_client_del() 352 if(it_iface == m_iface.end()) in handle_client_del() 365 for(it_iface = m_iface.begin(); it_iface != m_iface.end(); it_iface++) in handle_wlan_scc_mcc_switch() [all …]
|
/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/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/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()
|
/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/google/av/media/sfplugin/tests/ |
D | ReflectedParamUpdater_test.cpp | 157 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F() 159 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F() 161 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F() 163 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F() 165 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F() 203 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F() 205 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F() 207 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F() 209 EXPECT_EQ(0, std::count_if(indices.begin(), indices.end(), in TEST_F() 211 EXPECT_EQ(1, std::count_if(indices.begin(), indices.end(), in TEST_F() [all …]
|
/hardware/ril/reference-ril/ |
D | at_tok.c | 111 char *end; in at_tok_nextint_base() local 114 l = strtoul(ret, &end, base); in at_tok_nextint_base() 116 l = strtol(ret, &end, base); in at_tok_nextint_base() 120 if (end == ret) { in at_tok_nextint_base()
|
/hardware/interfaces/power/1.2/vts/functional/ |
D | VtsHalPowerV1_2TargetTest.cpp | 66 std::sort(hints2.begin(), hints2.end(), compareHints); in TEST_P() 68 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() 72 for (auto iter = hints2.begin(); iter != hints2.end(); iter++) { in TEST_P() 76 } while (std::next_permutation(hints2.begin(), hints2.end(), compareHints)); in TEST_P()
|
/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()}; 119 std::find(supported.begin(), supported.end(), effect) != supported.end(); in TEST_P() 146 std::find(supported.begin(), supported.end(), effect) != supported.end(); in TEST_P() 271 std::sort(supported.begin(), supported.end()); in TEST_P() 349 std::fill(composite.begin(), composite.end(), effect); in TEST_P() 354 std::fill(composite.begin(), composite.end(), effect); in TEST_P() 374 std::fill(composite.begin(), composite.end(), effect); in TEST_P() 405 std::chrono::time_point<high_resolution_clock> start, end; in TEST_P() local [all …]
|
/hardware/interfaces/identity/aidl/vts/ |
D | VtsAttestationTests.cpp | 74 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P() 98 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P() 101 vector<uint8_t> attestationApplicationId = {applicationId.begin(), applicationId.end()}; in TEST_P() 123 vector<uint8_t> attestationChallenge(challenge.begin(), challenge.end()); in TEST_P() 126 vector<uint8_t> attestationApplicationId = {applicationId.begin(), applicationId.end()}; in TEST_P()
|
/hardware/libhardware/modules/camera/3_4/ |
D | format_metadata_factory.cpp | 80 if (hal_formats.find(HAL_PIXEL_FORMAT_YCbCr_420_888) == hal_formats.end()) { in AddFormatComponents() 86 if (hal_formats.find(HAL_PIXEL_FORMAT_BLOB) == hal_formats.end()) { in AddFormatComponents() 134 unsupported_hal_formats.end()) { in AddFormatComponents() 232 if (std::find(fps_ranges.begin(), fps_ranges.end(), in AddFormatComponents() 234 fps_ranges.end()) { in AddFormatComponents() 242 std::sort(fps_ranges.begin(), fps_ranges.end(), FpsRangesCompare); in AddFormatComponents()
|