Home
last modified time | relevance | path

Searched refs:second (Results 1 – 25 of 181) sorted by relevance

12345678

/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_chip_hidl_test.cpp92 return status_and_caps.second; in configureChipForStaIfaceAndGetCapabilities()
98 return status_and_name.second; in getIfaceName()
103 *ap_iface = status_and_iface.second; in createApIface()
113 *nan_iface = status_and_iface.second; in createNanIface()
123 *p2p_iface = status_and_iface.second; in createP2pIface()
133 *sta_iface = status_and_iface.second; in createStaIface()
168 EXPECT_LT(0u, status_and_modes.second.size()); in TEST_F()
177 EXPECT_LT(0u, status_and_modes.second.size()); in TEST_F()
178 for (const auto& mode : status_and_modes.second) { in TEST_F()
197 EXPECT_NE(0u, status_and_caps.second); in TEST_F()
[all …]
Dwifi_hidl_test_utils.cpp70 if (!findAnyModeSupportingIfaceType(type, status_and_modes.second, in configureChipToSupportIfaceTypeInternal()
110 const auto& chip_ids = status_and_chip_ids.second; in getWifiChip()
119 return status_and_chip.second; in getWifiChip()
134 return status_and_iface.second; in getWifiApIface()
149 return status_and_iface.second; in getWifiNanIface()
164 return status_and_iface.second; in getWifiP2pIface()
179 return status_and_iface.second; in getWifiStaIface()
196 return status_and_controller.second; in getWifiRttController()
/hardware/intel/common/libmix/mix_audio/src/
Dmixacpmp3.c28 gboolean mix_acp_mp3_equal(MixParams* first, MixParams *second);
142 gboolean mix_acp_mp3_equal(MixParams* first, MixParams *second) in mix_acp_mp3_equal() argument
146 if (first && second) in mix_acp_mp3_equal()
148 if (first == second) return TRUE; in mix_acp_mp3_equal()
158 ret = klass->equal(first, second); in mix_acp_mp3_equal()
162 if (ret && MIX_IS_AUDIOCONFIGPARAMSMP3(first) && MIX_IS_AUDIOCONFIGPARAMSMP3(second)) in mix_acp_mp3_equal()
165 MixAudioConfigParamsMP3 *acp2 = MIX_AUDIOCONFIGPARAMSMP3(second); in mix_acp_mp3_equal()
Dmixacpwma.c30 gboolean mix_acp_wma_equal(MixParams* first, MixParams *second);
149 gboolean mix_acp_wma_equal(MixParams* first, MixParams *second) in mix_acp_wma_equal() argument
153 if (first && second) in mix_acp_wma_equal()
155 if (first == second) return TRUE; in mix_acp_wma_equal()
164 ret = klass->equal(first, second); in mix_acp_wma_equal()
168 if (ret && MIX_IS_AUDIOCONFIGPARAMSWMA(first) && MIX_IS_AUDIOCONFIGPARAMSWMA(second)) in mix_acp_wma_equal()
171 MixAudioConfigParamsWMA *acp2 = MIX_AUDIOCONFIGPARAMSWMA(second); in mix_acp_wma_equal()
Dmixaip.c29 gboolean mix_aip_equal(MixParams* first, MixParams *second);
147 gboolean mix_aip_equal(MixParams* first, MixParams *second) in mix_aip_equal() argument
151 if (MIX_IS_AUDIOINITPARAMS(first) && MIX_IS_AUDIOINITPARAMS(second)) in mix_aip_equal()
160 ret = parent_class->equal(first, second); in mix_aip_equal()
Dmixacp.c29 gboolean mix_acp_equal(MixParams* first, MixParams *second);
167 gboolean mix_acp_equal(MixParams* first, MixParams *second) in mix_acp_equal() argument
171 if (first && second) in mix_acp_equal()
173 if (first == second) return TRUE; in mix_acp_equal()
184 ret = parent_class->equal(first, second); in mix_acp_equal()
188 if (ret && MIX_IS_AUDIOCONFIGPARAMS(first) && MIX_IS_AUDIOCONFIGPARAMS(second)) in mix_acp_equal()
191 MixAudioConfigParams *acp2 = MIX_AUDIOCONFIGPARAMS(second); in mix_acp_equal()
/hardware/libhardware/modules/camera/3_4/metadata/
Dmap_converter_test.cpp57 ExpectConvertToV4L2(kv->first, kv->second); in TEST_F()
63 ExpectConvertToV4L2(kv->first + 1, kv->second); in TEST_F()
70 ExpectConvertToV4L2(kv->first - 1, kv->second); in TEST_F()
76 ExpectConvertToV4L2(kv->first - 1, kv->second); in TEST_F()
82 ExpectConvertToV4L2(kv->first + 1, kv->second); in TEST_F()
101 ASSERT_EQ(dut_->V4L2ToMetadata(kv->second, &actual), 0); in TEST_F()
Denum_converter.cpp37 if (kv.second == value) { in MetadataToV4L2()
62 if (element_range.first == element_range.second) { in V4L2ToMetadata()
68 *conversion = element->second; in V4L2ToMetadata()
70 if (++element != element_range.second) { in V4L2ToMetadata()
Dmap_converter.h82 *conversion = kv->second; in MetadataToV4L2()
86 *conversion = kv->second; in MetadataToV4L2()
90 *conversion = kv->second; in MetadataToV4L2()
97 *conversion = kv->second; in MetadataToV4L2()
115 if (kv.second == value) { in V4L2ToMetadata()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp71 mPropertyValues.erase(range.first, range.second); in removeValuesForProperty()
79 allValues.push_back(it.second); in readAllValues()
88 for (auto it = range.first; it != range.second; ++it) { in readValuesForProperty()
89 values.push_back(it->second); in readValuesForProperty()
117 configs.push_back(recordConfigIt.second.propConfig); in getAllConfigs()
125 return recordConfigIt != mConfigs.end() ? &recordConfigIt->second.propConfig : nullptr; in getConfigOrNull()
148 if (it->second.tokenFunction != nullptr) { in getRecordIdLocked()
149 recId.token = it->second.tokenFunction(valuePrototype); in getRecordIdLocked()
157 return it == mPropertyValues.end() ? nullptr : &it->second; in getValueOrNullLocked()
DSubscriptionManager.cpp68 const SubscribeOptions& oldOpts = it->second; in addOrUpdateSubscription()
84 const SubscribeOptions& opts = it->second; in isSubscribed()
93 … ALOGI("%s propId: 0x%x, propId: 0x%x", __func__, subscription.first, subscription.second.propId); in getSubscribedProperties()
154 .values = entry.second in distributeValuesToClients()
193 const SubscribeOptions& oldOpts = it->second; in updateHalEventSubscriptionLocked()
213 propClients = it->second; in addClientToPropMapLocked()
221 return it == mPropToClients.end() ? nullptr : it->second; in getClientsForPropertyLocked()
242 return it->second; in getOrCreateHalClientLocked()
254 auto client = clientIter->second; in unsubscribe()
266 if (propClient.second->indexOf(client) >= 0) { in unsubscribe()
[all …]
/hardware/intel/common/libmix/mix_video/src/
Dmixdrmparams.c25 gboolean mix_drmparams_equal (MixParams * first, MixParams * second);
152 mix_drmparams_equal (MixParams * first, MixParams * second) in mix_drmparams_equal() argument
157 if (MIX_IS_DRMPARAMS (first) && MIX_IS_DRMPARAMS (second)) in mix_drmparams_equal()
163 this_second = MIX_DRMPARAMS (second); in mix_drmparams_equal()
171 ret = parent_class->equal (first, second); in mix_drmparams_equal()
Dmixvideoconfigparamsdec_vc1.c26 gboolean mix_videoconfigparamsdec_vc1_equal(MixParams * first, MixParams * second);
161 gboolean mix_videoconfigparamsdec_vc1_equal(MixParams * first, MixParams * second) { in mix_videoconfigparamsdec_vc1_equal() argument
166 second)) { in mix_videoconfigparamsdec_vc1_equal()
171 this_second = MIX_VIDEOCONFIGPARAMSDEC_VC1(second); in mix_videoconfigparamsdec_vc1_equal()
178 ret = klass->equal(first, second); in mix_videoconfigparamsdec_vc1_equal()
Dmixvideoconfigparamsdec_h264.c27 MixParams * second);
182 mix_videoconfigparamsdec_h264_equal (MixParams * first, MixParams * second) in mix_videoconfigparamsdec_h264_equal() argument
188 && MIX_IS_VIDEOCONFIGPARAMSDEC_H264 (second)) in mix_videoconfigparamsdec_h264_equal()
193 this_second = MIX_VIDEOCONFIGPARAMSDEC_H264 (second); in mix_videoconfigparamsdec_h264_equal()
201 ret = klass->equal (first, second); in mix_videoconfigparamsdec_h264_equal()
Dmixvideoconfigparamsenc_preview.c31 MixParams * second);
187 mix_videoconfigparamsencenc_preview_equal (MixParams * first, MixParams * second) in mix_videoconfigparamsencenc_preview_equal() argument
193 && MIX_IS_VIDEOCONFIGPARAMSENC_PREVIEW (second)) in mix_videoconfigparamsencenc_preview_equal()
198 this_second = MIX_VIDEOCONFIGPARAMSENC_PREVIEW (second); in mix_videoconfigparamsencenc_preview_equal()
210 ret = klass->equal (first, second); in mix_videoconfigparamsencenc_preview_equal()
Dmixvideoconfigparams.c27 gboolean mix_videoconfigparams_equal(MixParams * first, MixParams * second);
142 gboolean mix_videoconfigparams_equal(MixParams * first, MixParams * second) { in mix_videoconfigparams_equal() argument
146 if (MIX_IS_VIDEOCONFIGPARAMS(first) && MIX_IS_VIDEOCONFIGPARAMS(second)) { in mix_videoconfigparams_equal()
151 ret = parent_class->equal(first, second); in mix_videoconfigparams_equal()
Dmixvideodecodeparams.c25 gboolean mix_videodecodeparams_equal(MixParams * first, MixParams * second);
140 gboolean mix_videodecodeparams_equal(MixParams * first, MixParams * second) { in mix_videodecodeparams_equal() argument
144 if (MIX_IS_VIDEODECODEPARAMS(first) && MIX_IS_VIDEODECODEPARAMS(second)) { in mix_videodecodeparams_equal()
149 this_second = MIX_VIDEODECODEPARAMS(second); in mix_videodecodeparams_equal()
157 ret = parent_class->equal(first, second); in mix_videodecodeparams_equal()
Dmixvideoencodeparams.c25 gboolean mix_videoencodeparams_equal(MixParams * first, MixParams * second);
140 gboolean mix_videoencodeparams_equal(MixParams * first, MixParams * second) { in mix_videoencodeparams_equal() argument
144 if (MIX_IS_VIDEOENCODEPARAMS(first) && MIX_IS_VIDEOENCODEPARAMS(second)) { in mix_videoencodeparams_equal()
149 this_second = MIX_VIDEOENCODEPARAMS(second); in mix_videoencodeparams_equal()
157 ret = parent_class->equal(first, second); in mix_videoencodeparams_equal()
Dmixdisplayx11.c27 gboolean mix_displayx11_equal(MixDisplay * first, MixDisplay * second);
139 gboolean mix_displayx11_equal(MixDisplay * first, MixDisplay * second) { in mix_displayx11_equal() argument
145 this_second = MIX_DISPLAYX11(second); in mix_displayx11_equal()
147 if (MIX_IS_DISPLAYX11(first) && MIX_IS_DISPLAYX11(second)) { in mix_displayx11_equal()
158 ret = parent_class->equal(first, second); in mix_displayx11_equal()
/hardware/libhardware/modules/camera/3_4/
Dstatic_properties.cpp69 if (spec_capabilities.second.output_supported && in ValidateStreamCapabilities()
70 spec_capabilities.second.stall_duration < 0) { in ValidateStreamCapabilities()
90 if (spec_capabilities.second.input_supported) { in ValidateReprocessFormats()
93 if (spec_capabilities.second.output_supported) { in ValidateReprocessFormats()
126 for (const auto& output_format : input_outputs_iterator->second) { in ValidateReprocessFormats()
305 !capabilities_iterator->second.input_supported) { in InputStreamsSupported()
353 if (input_output_formats_iterator->second.count(stream->format) > 0) { in InputStreamsSupported()
382 !capabilities_iterator->second.output_supported) { in OutputStreamsSupported()
396 } else if (capabilities_iterator->second.stall_duration > 0) { in OutputStreamsSupported()
478 input_output_formats->second; in ReprocessingSupported()
Drequest_tracker.cpp83 } else if (request != frame_number_request->second) { in Remove()
107 requests->insert(frame_number_request.second); in Clear()
115 stream_count.second = 0; in Clear()
147 return it->second >= it->first->max_buffers; in StreamFull()
/hardware/intel/common/libmix/mix_common/src/
Dmixparams.c30 static gboolean mix_params_equal_default (MixParams *first, MixParams *second);
226 gboolean mix_params_equal (MixParams *first, MixParams *second) in mix_params_equal() argument
234 return klass->equal(first, second); in mix_params_equal()
238 return mix_params_equal_default(first, second); in mix_params_equal()
245 static gboolean mix_params_equal_default (MixParams *first, MixParams *second) in mix_params_equal_default() argument
247 if (MIX_IS_PARAMS(first) && MIX_IS_PARAMS(second)) in mix_params_equal_default()
Dmixdrmparams.c25 gboolean mix_drmparams_equal(MixParams* first, MixParams *second);
141 gboolean mix_drmparams_equal(MixParams* first, MixParams *second) in mix_drmparams_equal() argument
145 if (MIX_IS_DRMPARAMS(first) && MIX_IS_DRMPARAMS(second)) in mix_drmparams_equal()
154 ret = parent_class->equal(first, second); in mix_drmparams_equal()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensorDevice.cpp105 i->second->handleInput(usageId, buffer); in threadLoop()
116 if (set.find(s.second) == set.end()) { in getSensors()
117 ret.push_back(s.second); in getSensors()
118 set.insert(s.second); in getSensors()
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_info_drm.cpp253 switch (pipe_obj.second) { in GetHWPlanesInfo()
285 for (auto &fmts : pipe_type.second.formats_supported) { in GetHWPlanesInfo()
286 GetSDMFormat(fmts.first, fmts.second, &supported_sdm_formats); in GetHWPlanesInfo()
294 hw_resource->max_pipe_width = pipe_type.second.max_linewidth; in GetHWPlanesInfo()
295 hw_resource->max_scale_down = pipe_type.second.max_downscale; in GetHWPlanesInfo()
296 hw_resource->max_scale_up = pipe_type.second.max_upscale; in GetHWPlanesInfo()
298 pipe_type.second.max_horizontal_deci > 1 && pipe_type.second.max_vertical_deci > 1; in GetHWPlanesInfo()
303 hw_resource->max_pipe_width = pipe_type.second.max_linewidth; in GetHWPlanesInfo()
304 hw_resource->max_scale_down = pipe_type.second.max_downscale; in GetHWPlanesInfo()
305 hw_resource->max_scale_up = pipe_type.second.max_upscale; in GetHWPlanesInfo()
[all …]

12345678