/hardware/qcom/gps/msm8909w_3100/core/data-items/common/ |
D | DataItemIndex.cpp | 57 out = cdiIter->second; in getListOfSubscribedClients() 82 cdiIter->second.begin (), in remove() 83 cdiIter->second.end (), in remove() 86 if (iter != cdiIter->second.end ()) { in remove() 87 cdiIter->second.erase (iter); in remove() 91 if (cdiIter->second.empty ()) { in remove() 116 set_intersection (cdiIter->second.begin (), cdiIter->second.end (), in remove() 122 cdiIter->second.erase (find (cdiIter->second.begin (), in remove() 123 cdiIter->second.end (), in remove() 127 if (cdiIter->second.empty ()) { in remove() [all …]
|
D | ClientIndex.cpp | 65 out = it->second; in getSubscribedList() 88 find (dicIter->second.begin (), dicIter->second.end (), *it); in remove() 89 if (iter != dicIter->second.end ()) { in remove() 90 dicIter->second.erase (iter); in remove() 93 if (dicIter->second.empty ()) { in remove() 117 set_intersection (dicIter->second.begin (), dicIter->second.end (), in remove() 123 dicIter->second.erase (find (dicIter->second.begin (), in remove() 124 dicIter->second.end (), in remove() 128 if (dicIter->second.empty ()) { in remove() 150 dicIter->second.begin (), dicIter->second.end (), in add() [all …]
|
/hardware/interfaces/wifi/1.0/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 108 return status_and_caps.second; in configureChipForStaIfaceAndGetCapabilities() 114 return status_and_name.second; in getIfaceName() 119 *ap_iface = status_and_iface.second; in createApIface() 129 *nan_iface = status_and_iface.second; in createNanIface() 139 *p2p_iface = status_and_iface.second; in createP2pIface() 149 *sta_iface = status_and_iface.second; in createStaIface() 184 EXPECT_LT(0u, status_and_modes.second.size()); in TEST_F() 193 EXPECT_LT(0u, status_and_modes.second.size()); in TEST_F() 194 for (const auto& mode : status_and_modes.second) { in TEST_F() 216 EXPECT_NE(0u, status_and_caps.second); in TEST_F() [all …]
|
D | wifi_hidl_test_utils.cpp | 78 if (!findAnyModeSupportingIfaceType(type, status_and_modes.second, in configureChipToSupportIfaceTypeInternal() 126 const auto& chip_ids = status_and_chip_ids.second; in getWifiChip() 135 return status_and_chip.second; in getWifiChip() 142 const auto& iface_name = status_and_name.second; in setIfaceUp() 160 setIfaceUp(status_and_iface.second); in getWifiApIface() 161 return status_and_iface.second; in getWifiApIface() 176 setIfaceUp(status_and_iface.second); in getWifiNanIface() 177 return status_and_iface.second; in getWifiNanIface() 192 setIfaceUp(status_and_iface.second); in getWifiP2pIface() 193 return status_and_iface.second; in getWifiP2pIface() [all …]
|
/hardware/google/av/media/eco/ |
D | ECOData.cpp | 137 const ECODataValueType& value = it.second; in writeToParcel() 141 RETURN_STATUS_IF_ERROR(parcel->writeInt32(std::get<int32_t>(it.second))); in writeToParcel() 145 RETURN_STATUS_IF_ERROR(parcel->writeInt64(std::get<int64_t>(it.second))); in writeToParcel() 149 RETURN_STATUS_IF_ERROR(parcel->writeUint32(std::get<size_t>(it.second))); in writeToParcel() 153 RETURN_STATUS_IF_ERROR(parcel->writeFloat(std::get<float>(it.second))); in writeToParcel() 157 RETURN_STATUS_IF_ERROR(parcel->writeDouble(std::get<double>(it.second))); in writeToParcel() 161 RETURN_STATUS_IF_ERROR(parcel->writeCString(std::get<std::string>(it.second).c_str())); in writeToParcel() 165 RETURN_STATUS_IF_ERROR(parcel->writeByte(std::get<int8_t>(it.second))); in writeToParcel() 345 return ECOData::ECODataKeyValuePair(mIterator->first, mIterator->second); in next() 378 const ECODataValueType& value = it.second; in debugString() [all …]
|
/hardware/google/av/media/sfplugin/ |
D | ReflectedParamUpdater.cpp | 53 if (it.second.find(&c2Value)) { in debugString() 89 } else if (it.second.find(&int32Value)) { in debugString() 91 } else if (it.second.find(&int64Value)) { in debugString() 93 } else if (it.second.find(&strValue)) { in debugString() 95 } else if (it.second.find(&bufValue)) { in debugString() 217 if (it != mWholeParams.end() && it->second.coreIndex() == desc->index().coreIndex()) { in addParamDesc() 233 return it->second; in getParamName() 270 const FieldDesc &desc = kv.second; in getParamIndicesForKeys() 304 param = paramIt->second; in updateParamsFromMessage() 359 const FieldDesc &desc = kv.second; in parseMessageAndDoWork() [all …]
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | enum_converter.cpp | 40 if (kv.second == value) { in MetadataToV4L2() 65 if (element_range.first == element_range.second) { in V4L2ToMetadata() 71 *conversion = element->second; in V4L2ToMetadata() 73 if (++element != element_range.second) { in V4L2ToMetadata()
|
D | map_converter_test.cpp | 57 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()
|
D | map_converter.h | 82 *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/ |
D | VehiclePropertyStore.cpp | 75 mPropertyValues.erase(range.first, range.second); in removeValuesForProperty() 83 allValues.push_back(it.second); in readAllValues() 92 for (auto it = range.first; it != range.second; ++it) { in readValuesForProperty() 93 values.push_back(it->second); in readValuesForProperty() 121 configs.push_back(recordConfigIt.second.propConfig); in getAllConfigs() 129 return recordConfigIt != mConfigs.end() ? &recordConfigIt->second.propConfig : nullptr; in getConfigOrNull() 152 if (it->second.tokenFunction != nullptr) { in getRecordIdLocked() 153 recId.token = it->second.tokenFunction(valuePrototype); in getRecordIdLocked() 161 return it == mPropertyValues.end() ? nullptr : &it->second; in getValueOrNullLocked()
|
D | SubscriptionManager.cpp | 57 const SubscribeOptions& oldOpts = it->second; in addOrUpdateSubscription() 72 const SubscribeOptions& opts = it->second; in isSubscribed() 80 … ALOGI("%s propId: 0x%x, propId: 0x%x", __func__, subscription.first, subscription.second.propId); in getSubscribedProperties() 140 .values = entry.second in distributeValuesToClients() 179 const SubscribeOptions& oldOpts = it->second; in updateHalEventSubscriptionLocked() 199 propClients = it->second; in addClientToPropMapLocked() 207 return it == mPropToClients.end() ? nullptr : it->second; in getClientsForPropertyLocked() 228 return it->second; in getOrCreateHalClientLocked() 240 auto client = clientIter->second; in unsubscribe() 252 if (propClient.second->indexOf(client) >= 0) { in unsubscribe() [all …]
|
/hardware/google/pixel/powerstats/ |
D | GenericStateResidencyDataProvider.cpp | 45 cfg.header = h.second; in generateGenericStateResidencyConfigs() 128 return (a.second.header == android::base::Trim(std::string(b))); in getStateData() 139 if (parseState(data, nextState->second, fp, line, len)) { in getStateData() 173 return (a.second.mHeader == android::base::Trim(std::string(b))); in getResults() 182 if (getStateData(result, nextConfig->second.mStateResidencyConfigs, fp.get(), line, len)) { in getResults() 210 s.states.resize(config.second.mStateResidencyConfigs.size()); in getStateSpaces() 212 for (uint32_t i = 0; i < config.second.mStateResidencyConfigs.size(); ++i) { in getStateSpaces() 214 .powerEntityStateId = config.second.mStateResidencyConfigs[i].first, in getStateSpaces() 215 .powerEntityStateName = config.second.mStateResidencyConfigs[i].second.name}; in getStateSpaces()
|
D | AidlStateResidencyDataProvider.cpp | 61 if (asBinder(it->second) == callback) { in unregisterCallbackInternal() 125 binderStatus status = cb.second->getStats(&stats); in getStatsTimed() 146 auto stateSpace = infosEntry->second; in buildResult() 156 data.powerEntityStateId = stateInfosEntry->second; in buildResult() 206 .powerEntityId = info.second.powerEntityId, .states = {}}; in getStateSpaces() 207 statespace.states.resize(info.second.stateInfos.size()); in getStateSpaces() 209 for (auto state : info.second.stateInfos) { in getStateSpaces() 211 .powerEntityStateId = state.second, .powerEntityStateName = state.first}; in getStateSpaces()
|
/hardware/interfaces/wifi/1.2/vts/functional/ |
D | wifi_sta_iface_hidl_test.cpp | 51 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported() 90 << status_and_caps.second.version in TEST_F() 91 << " maxLength=" << status_and_caps.second.maxLength; in TEST_F() 95 std::min(status_and_caps.second.maxLength, static_cast<uint32_t>(500)); in TEST_F() 108 EXPECT_EQ(status_and_data.second, data); in TEST_F()
|
/hardware/interfaces/wifi/1.3/vts/functional/ |
D | wifi_sta_iface_hidl_test.cpp | 50 return (status_and_caps.second & cap_mask) != 0; in isCapabilitySupported() 65 const int num_elements = sizeof(status_and_mac.second) / sizeof(uint8_t); in TEST_F() 68 EXPECT_NE(0, status_and_mac.second[i]); in TEST_F() 92 EXPECT_GT(status_and_stats.second.timeStampInMs, 0u); in TEST_F()
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_info_drm.cpp | 321 GetSDMFormat(drm_format.first, drm_format.second, &sdm_format); in GetSystemInfo() 322 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo() 328 GetSDMFormat(drm_format.first, drm_format.second, &sdm_format); in GetSystemInfo() 329 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo() 362 uint32_t master_plane_id = pipe_obj.second.master_plane_id; in GetHWPlanesInfo() 363 if ((pipe_obj.second.type == DRMPlaneType::DMA) && (dma_pipe_count < max_dma_pipes) in GetHWPlanesInfo() 366 } else if ((pipe_obj.second.type == DRMPlaneType::VIG) && (vig_pipe_count < max_vig_pipes) in GetHWPlanesInfo() 388 switch (pipe_obj.second.type) { in GetHWPlanesInfo() 393 PopulateSupportedFmts(kHWDMAPipe, pipe_obj.second, hw_resource); in GetHWPlanesInfo() 401 PopulatePipeCaps(pipe_obj.second, hw_resource); in GetHWPlanesInfo() [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | static_properties.cpp | 70 if (spec_capabilities.second.output_supported && in ValidateStreamCapabilities() 71 spec_capabilities.second.stall_duration < 0) { in ValidateStreamCapabilities() 91 if (spec_capabilities.second.input_supported) { in ValidateReprocessFormats() 94 if (spec_capabilities.second.output_supported) { in ValidateReprocessFormats() 127 for (const auto& output_format : input_outputs_iterator->second) { in ValidateReprocessFormats() 306 !capabilities_iterator->second.input_supported) { in InputStreamsSupported() 354 if (input_output_formats_iterator->second.count(stream->format) > 0) { in InputStreamsSupported() 383 !capabilities_iterator->second.output_supported) { in OutputStreamsSupported() 397 } else if (capabilities_iterator->second.stall_duration > 0) { in OutputStreamsSupported() 479 input_output_formats->second; in ReprocessingSupported()
|
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/ |
D | SensorsSubHal.cpp | 60 sensors.push_back(sensor.second->getSensorInfo()); in getSensorsList() 69 sensor.second->setOperationMode(mode); in setOperationMode() 78 sensor->second->activate(enabled); in activate() 88 sensor->second->batch(samplingPeriodNs); in batch() 97 return sensor->second->flush(); in flush() 105 return sensor->second->injectEvent(event); in injectSensorData() 146 SensorInfo info = sensor.second->getSensorInfo(); in debug() 204 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList() 216 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList()
|
/hardware/google/pixel/atrace/ |
D | AtraceDevice.cpp | 71 categories[i].description = c.second.description; in listCategories() 88 if (p.second) { in enableCategories() 105 for (auto &p : c.second.paths) { in disableAllCategories() 108 if (p.second) { in disableAllCategories()
|
/hardware/interfaces/atrace/1.0/default/ |
D | AtraceDevice.cpp | 61 categories[i].description = c.second.description; in listCategories() 78 if (p.second) { in enableCategories() 95 for (auto& p : c.second.paths) { in disableAllCategories() 98 if (p.second) { in disableAllCategories()
|
/hardware/qcom/gps/msm8909w_3100/core/ |
D | SystemStatusOsObserver.cpp | 57 if (nullptr != each.second) { in ~SystemStatusOsObserver() 58 delete each.second; in ~SystemStatusOsObserver() 77 subscribe(each.second, each.first); in setSubscriptionObj() 81 requestData(each.second, each.first); in setSubscriptionObj() 94 dicIter->second.begin(), dicIter->second.end(), in cacheObserverRequest() 98 dicIter->second.merge(difference); in cacheObserverRequest() 99 dicIter->second.unique(); in cacheObserverRequest() 470 citer->second++; in turnOn() 471 LOC_LOGD("turnOn - Data item:%d Num_refs:%d", dit, citer->second); in turnOn() 486 citer->second--; in turnOff() [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawSensorDevice.cpp | 105 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/interfaces/sensors/2.0/default/ |
D | Sensors.cpp | 66 sensors.push_back(sensor.second->getSensorInfo()); in getSensorsList() 77 sensor.second->setOperationMode(mode); in setOperationMode() 85 sensor->second->activate(enabled); in activate() 99 sensor.second->activate(false /* enable */); in initialize() 144 sensor->second->batch(samplingPeriodNs); in batch() 153 return sensor->second->flush(); in flush() 161 return sensor->second->injectEvent(event); in injectSensorData()
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_info_drm.cpp | 289 GetSDMFormat(drm_format.first, drm_format.second, &sdm_format); in GetSystemInfo() 290 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo() 296 GetSDMFormat(drm_format.first, drm_format.second, &sdm_format); in GetSystemInfo() 297 hw_resource->comp_ratio_rt_map.insert(std::make_pair(sdm_format[0], it.second)); in GetSystemInfo() 324 uint32_t master_plane_id = pipe_obj.second.master_plane_id; in GetHWPlanesInfo() 325 if ((pipe_obj.second.type == DRMPlaneType::DMA) && (dma_pipe_count < max_dma_pipes) in GetHWPlanesInfo() 328 } else if ((pipe_obj.second.type == DRMPlaneType::VIG) && (vig_pipe_count < max_vig_pipes) in GetHWPlanesInfo() 350 switch (pipe_obj.second.type) { in GetHWPlanesInfo() 355 PopulateSupportedFmts(kHWDMAPipe, pipe_obj.second, hw_resource); in GetHWPlanesInfo() 363 PopulatePipeCaps(pipe_obj.second, hw_resource); in GetHWPlanesInfo() [all …]
|
/hardware/google/av/media/eco/tests/ |
D | EcoDataTest.cpp | 79 data->setString(it->first, it->second); in TEST() 86 EXPECT_EQ(testValue, it->second); in TEST() 129 data->setInt32(it->first, it->second); in TEST() 136 EXPECT_EQ(testValue, it->second); in TEST() 179 data->setInt64(it->first, it->second); in TEST() 186 EXPECT_EQ(testValue, it->second); in TEST() 229 data->setFloat(it->first, it->second); in TEST() 236 EXPECT_FLOAT_EQ(testValue, it->second); in TEST() 264 data->set(it->first, it->second); in TEST() 271 EXPECT_EQ(testValue, it->second); in TEST() [all …]
|