Home
last modified time | relevance | path

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

12345678

/hardware/interfaces/audio/aidl/common/tests/
Dutils_tests.cpp83 std::make_pair(0UL, 0), in TEST()
84 std::make_pair(1UL, AudioChannelLayout::LAYOUT_MONO), in TEST()
85 std::make_pair(2UL, AudioChannelLayout::LAYOUT_STEREO), in TEST()
86 std::make_pair(6UL, AudioChannelLayout::LAYOUT_5POINT1), in TEST()
87 std::make_pair(8UL, AudioChannelLayout::LAYOUT_7POINT1), in TEST()
88 std::make_pair(16UL, AudioChannelLayout::LAYOUT_9POINT1POINT6), in TEST()
89 std::make_pair(13UL, AudioChannelLayout::LAYOUT_13POINT_360RA), in TEST()
90 std::make_pair(24UL, AudioChannelLayout::LAYOUT_22POINT2), in TEST()
91 std::make_pair(3UL, AudioChannelLayout::LAYOUT_STEREO_HAPTIC_A), in TEST()
92 std::make_pair(4UL, AudioChannelLayout::LAYOUT_STEREO_HAPTIC_AB)}; in TEST()
[all …]
/hardware/google/aemu/base/
DLayoutResolver_unittest.cpp38 std::make_pair(testDisplayInput{0, 1080, 1960}, in TEST()
40 std::make_pair(testDisplayInput{1, 1080, 1960}, in TEST()
47 displays[input.id] = std::make_pair(input.width, input.height); in TEST()
62 std::make_pair(testDisplayInput{0, 1080, 1960}, in TEST()
64 std::make_pair(testDisplayInput{1, 1080, 1860}, in TEST()
66 std::make_pair(testDisplayInput{2, 1200, 1300}, in TEST()
68 std::make_pair(testDisplayInput{3, 1200, 1400}, in TEST()
75 displays[input.id] = std::make_pair(input.width, input.height); in TEST()
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_pluggable.cpp270 var.push_back(std::make_pair(kColorGamutAttribute, kSrgb)); in InitializeColorModes()
271 var.push_back(std::make_pair(kDynamicRangeAttribute, kSdr)); in InitializeColorModes()
272 var.push_back(std::make_pair(kPictureQualityAttribute, kStandard)); in InitializeColorModes()
273 var.push_back(std::make_pair(kRenderIntentAttribute, "0")); in InitializeColorModes()
274 color_mode_attr_map_.insert(std::make_pair(kSrgb, var)); in InitializeColorModes()
279 color_mode_attr_map_.insert(std::make_pair("hal_native", var)); in InitializeColorModes()
283 var.push_back(std::make_pair(kColorGamutAttribute, kBt2020)); in InitializeColorModes()
284 var.push_back(std::make_pair(kPictureQualityAttribute, kStandard)); in InitializeColorModes()
285 var.push_back(std::make_pair(kRenderIntentAttribute, "0")); in InitializeColorModes()
288 var.push_back(std::make_pair(kGammaTransferAttribute, kSt2084)); in InitializeColorModes()
[all …]
/hardware/google/gfxstream/host/
DBlobManager.cpp36 auto key = std::make_pair(ctxId, blobId); in addMapping()
38 mHostMemInfos.insert(std::make_pair(key, info)); in addMapping()
42 auto key = std::make_pair(ctxId, blobId); in removeMapping()
64 auto key = std::make_pair(ctxId, blobId); in addDescriptorInfo()
66 mDescriptorInfos.insert(std::make_pair(key, std::move(info))); in addDescriptorInfo()
71 auto key = std::make_pair(ctxId, blobId); in removeDescriptorInfo()
/hardware/qcom/sm8150/display/sdm/libs/core/
Ddisplay_pluggable.cpp335 var.push_back(std::make_pair(kColorGamutAttribute, kSrgb)); in InitializeColorModes()
336 var.push_back(std::make_pair(kDynamicRangeAttribute, kSdr)); in InitializeColorModes()
337 var.push_back(std::make_pair(kPictureQualityAttribute, kStandard)); in InitializeColorModes()
338 color_mode_attr_map_.insert(std::make_pair(kSrgb, var)); in InitializeColorModes()
343 color_mode_attr_map_.insert(std::make_pair("hal_native", var)); in InitializeColorModes()
349 var.push_back(std::make_pair(kColorGamutAttribute, kBt2020)); in InitializeColorModes()
350 var.push_back(std::make_pair(kGammaTransferAttribute, kGamma2_2)); in InitializeColorModes()
351 color_mode_attr_map_.insert(std::make_pair(kBt2020, var)); in InitializeColorModes()
355 var.push_back(std::make_pair(kColorGamutAttribute, kBt2020)); in InitializeColorModes()
358 var.push_back(std::make_pair(kGammaTransferAttribute, kSt2084)); in InitializeColorModes()
[all …]
/hardware/interfaces/soundtrigger/2.1/default/
DSoundTriggerHw.cpp47 return std::make_pair(true, memory); in memoryAsVector()
54 return std::make_pair(true, memory); in memoryAsVector()
57 return std::make_pair(false, memory); in memoryAsVector()
69 return std::make_pair(true, memory); in moveVectorToMemory()
74 return std::make_pair(false, memory); in moveVectorToMemory()
88 return std::make_pair(true, memory); in moveVectorToMemory()
95 return std::make_pair(false, memory); in moveVectorToMemory()
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/
DStreamConfigurationMap.cpp67 stream_output_size_map_[format].insert(std::make_pair(width, height)); in AppendAvailableStreamConfigurations()
84 std::make_pair(width, height)); in AppendAvailableDynamicPhysicalStreamConfigurations()
97 std::make_pair(format, std::make_pair(width, height)); in AppendAvailableStreamMinDurations()
111 std::make_pair(format, std::make_pair(width, height)); in AppendAvailableStreamStallDurations()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_V2/
DSamplerData.cpp29 return std::make_pair(idx, val); in SamplerData()
35 return std::make_pair(idx, val); in SamplerData()
/hardware/google/pixel/powerstats/
DWlanStateResidencyDataProvider.cpp50 results.insert(std::make_pair(mPowerEntityId, result)); in getResults()
92 results.insert(std::make_pair(mPowerEntityId, result)); in getResults()
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp785 return emplace_front(std::make_pair(s, t), NextStates{std::forward<Next>(next)...}); in makeNode()
807 return emplace_front(std::make_pair(s, kGetStatusCommand), NextStates{}); in makeFinalNode()
2009 [](const auto& port) { return std::make_pair(port.id, port.profiles.size()); }); in GetProfileSizes()
3396 std::make_pair(std::string("HalReservedExit"), in SendInvalidCommandImpl()
3399 std::make_pair(std::string("BurstNeg"), in SendInvalidCommandImpl()
3403 std::make_pair( in SendInvalidCommandImpl()
4441 d->makeNodes({std::make_pair(State::STANDBY, kStartCommand), in makeAsyncDrainCommands()
4442 std::make_pair(State::IDLE, kBurstCommand), in makeAsyncDrainCommands()
4443 std::make_pair(State::ACTIVE, kDrainInCommand), in makeAsyncDrainCommands()
4444 std::make_pair(State::DRAINING, kStartCommand), in makeAsyncDrainCommands()
[all …]
DModuleConfig.cpp327 allowedRoutes.emplace(std::make_pair(srcPortId, route.sinkPortId)); in getNonRoutableSrcSinkPair()
330 auto make_pair = [isInput](auto& device, auto& mix) { in getNonRoutableSrcSinkPair() local
331 return isInput ? std::make_pair(device, mix) : std::make_pair(mix, device); in getNonRoutableSrcSinkPair()
340 make_pair(portId, mixPort.id)) == allowedRoutes.end()) { in getNonRoutableSrcSinkPair()
343 return make_pair(devicePortConfig, mixPortConfig.value()); in getNonRoutableSrcSinkPair()
365 return std::make_pair(devicePortConfig, mixPortConfig.value()); in getRoutableSrcSinkPair()
377 return std::make_pair(mixPortConfig.value(), devicePortConfig); in getRoutableSrcSinkPair()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_info_drm.cpp322 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo()
329 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo()
348 width_constraints.push_back(std::make_pair(kPipeVigLimit, info.vig_limit_index)); in GetSystemInfo()
349 width_constraints.push_back(std::make_pair(kPipeDmaLimit, info.dma_limit_index)); in GetSystemInfo()
350 width_constraints.push_back(std::make_pair(kPipeScalingLimit, info.scaling_limit_index)); in GetSystemInfo()
351 width_constraints.push_back(std::make_pair(kPipeRotationLimit, info.rotation_limit_index)); in GetSystemInfo()
499 fmts_map.insert(make_pair(sub_blk_type, sdm_formats)); in PopulateSupportedFmts()
528 hw_resource->supported_formats_map.insert(make_pair(sub_blk_type, supported_sdm_formats)); in GetWBInfo()
606 hw_resource->supported_formats_map.insert(make_pair(kHWRotatorInput, supported_formats)); in GetRotatorSupportedFormats()
611 hw_resource->supported_formats_map.insert(make_pair(kHWRotatorOutput, supported_formats)); in GetRotatorSupportedFormats()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DPreparedModel.cpp54 return std::make_pair(NN_TRY(nn::convert(timingLaunched)), NN_TRY(nn::convert(timingFenced))); in convertFencedExecutionCallbackResults()
83 return std::make_pair(std::move(resultSyncFence), std::move(resultCallback)); in fencedExecutionCallback()
174 return std::make_pair(std::move(outputShapes), timing); in executeInternal()
232 return std::make_pair(std::move(syncFence), std::move(callback)); in executeFencedInternal()
/hardware/google/aemu/base/include/aemu/base/testing/
DTestNetworkInterfaceNameResolver.h49 mEntries.emplace_back(std::make_pair(std::string(name), index)); in addEntry()
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_info_drm.cpp318 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo()
325 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo()
340 width_constraints.push_back(std::make_pair(kPipeVigLimit, info.vig_limit_index)); in GetSystemInfo()
341 width_constraints.push_back(std::make_pair(kPipeDmaLimit, info.dma_limit_index)); in GetSystemInfo()
342 width_constraints.push_back(std::make_pair(kPipeScalingLimit, info.scaling_limit_index)); in GetSystemInfo()
343 width_constraints.push_back(std::make_pair(kPipeRotationLimit, info.rotation_limit_index)); in GetSystemInfo()
518 fmts_map.insert(make_pair(sub_blk_type, sdm_formats)); in PopulateSupportedFmts()
558 hw_resource->supported_formats_map.insert(make_pair(sub_blk_type, supported_sdm_formats)); in GetWBInfo()
636 hw_resource->supported_formats_map.insert(make_pair(kHWRotatorInput, supported_formats)); in GetRotatorSupportedFormats()
641 hw_resource->supported_formats_map.insert(make_pair(kHWRotatorOutput, supported_formats)); in GetRotatorSupportedFormats()
/hardware/interfaces/camera/provider/2.4/default/
DLegacyCameraProviderImpl_2_4.cpp81 auto deviceNamePair = std::make_pair(cameraIdStr, in addDeviceNames()
95 deviceNamePair = std::make_pair(cameraIdStr, in addDeviceNames()
117 auto deviceNamePair = std::make_pair(cameraIdStr, in removeDeviceNames()
124 deviceNamePair = std::make_pair(cameraIdStr, in removeDeviceNames()
510 ssize_t index = mCameraDeviceNames.indexOf(std::make_pair(cameraId, deviceName)); in getCameraDeviceInterface_V1_x()
564 ssize_t index = mCameraDeviceNames.indexOf(std::make_pair(cameraId, deviceName)); in getCameraDeviceInterface_V3_x()
/hardware/qcom/sm8150/gps/utils/
DSkipList.h140 li.push_back(make_pair(item.mData, item.mLevel)); in dump()
150 li.push_back(make_pair((*head).mData, (*head).mLevel)); in dump()
/hardware/qcom/sm7250/gps/utils/
DSkipList.h140 li.push_back(make_pair(item.mData, item.mLevel)); in dump()
150 li.push_back(make_pair((*head).mData, (*head).mLevel)); in dump()
/hardware/qcom/sm7150/gps/utils/
DSkipList.h140 li.push_back(make_pair(item.mData, item.mLevel)); in dump()
150 li.push_back(make_pair((*head).mData, (*head).mLevel)); in dump()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp79 return std::make_pair(NN_TRY(nn::convert(outputShapes)), NN_TRY(nn::convert(timing))); in convertExecutionResults()
97 return std::make_pair(identifier, std::move(cleaner)); in getOrCacheMemory()
118 auto result = std::make_pair(identifier, std::move(cleaner)); in getOrCacheMemory()
132 return std::make_pair(identifier, std::move(cleaner)); in getMemoryIfAvailable()
261 return std::make_pair(std::move(outputShapes), timing); in executeInternal()
DPreparedModel.cpp47 return std::make_pair(NN_TRY(nn::convert(outputShapes)), NN_TRY(nn::convert(timing))); in convertExecutionResults()
54 return std::make_pair(NN_TRY(nn::convert(timingLaunched)), NN_TRY(nn::convert(timingFenced))); in convertFencedExecutionResults()
71 return std::make_pair(std::move(outputShapes), timing); in handleExecutionResult()
108 return std::make_pair(std::move(resultSyncFence), std::move(resultCallback)); in handleFencedExecutionResult()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp550 return std::make_pair(true, memory); in memoryAsVector()
557 return std::make_pair(true, memory); in memoryAsVector()
560 return std::make_pair(false, memory); in memoryAsVector()
572 return std::make_pair(true, memory); in moveVectorToMemory()
577 return std::make_pair(false, memory); in moveVectorToMemory()
591 return std::make_pair(true, memory); in moveVectorToMemory()
598 return std::make_pair(false, memory); in moveVectorToMemory()
/hardware/google/camera/common/hal/utils/
Dutils.cc42 std::make_pair<FpsRange, FpsRange>({2, 2}, {12, 12}),
43 std::make_pair<FpsRange, FpsRange>({12, 12}, {30, 30}),
44 std::make_pair<FpsRange, FpsRange>({30, 30}, {60, 60}),
45 std::make_pair<FpsRange, FpsRange>({24, 24}, {24, 30}),
46 std::make_pair<FpsRange, FpsRange>({24, 24}, {30, 30}),
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp435 return std::make_pair(NOT_BATCHED, nullptr); in getBatch()
440 return std::make_pair(NOT_BATCHED, nullptr); in getBatch()
445 return std::make_pair(i, mInflightBatches[i]); in getBatch()
448 return std::make_pair(NOT_BATCHED, nullptr); in getBatch()
783 std::make_pair(result.frameNumber, result.result)); in processCaptureResult()
1223 auto key = std::make_pair(request.inputBuffer.streamId, request.frameNumber); in processOneCaptureRequest()
1236 auto key = std::make_pair(request.outputBuffers[i].streamId, request.frameNumber); in processOneCaptureRequest()
1270 auto key = std::make_pair(request.inputBuffer.streamId, request.frameNumber); in processOneCaptureRequest()
1274 auto key = std::make_pair(request.outputBuffers[i].streamId, request.frameNumber); in processOneCaptureRequest()
1357 auto key = std::make_pair(streamId, frameNumber); in constructCaptureResult()
[all …]
/hardware/interfaces/media/bufferpool/aidl/default/
DObserver.cpp53 mClients.insert(std::make_pair(connectionId, wclient)); in addClient()

12345678