/device/google/felix/vibrator/cs40l26/tests/ |
D | test-hwcal.cpp | 141 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { in TEST_F() 154 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { in TEST_F() 167 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { in TEST_F() 184 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F() 193 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F() 202 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F() 214 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F() 238 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F() 262 std::transform(expect.begin(), expect.end(), actual.begin(), [](uint32_t &e) { return ~e; }); in TEST_F() 296 std::transform(volTickExpect.begin(), volTickExpect.end(), volActual.begin(), [](uint32_t &e) { in TEST_F() [all …]
|
/device/google/cuttlefish/common/libs/utils/ |
D | type_name.h | 37 if (auto begin = name.find(value_prefix); begin != std::string_view::npos) { in ExtractName() local 38 name = name.substr(begin + value_prefix.size()); in ExtractName() 42 if (auto begin = name.find(type_prefix); begin != std::string_view::npos) { in ExtractName() local 43 name = name.substr(begin + type_prefix.size()); in ExtractName() 51 if (auto begin = name.rfind(suffix); begin != std::string_view::npos) { in ExtractName() local 52 name = name.substr(0, begin); in ExtractName()
|
D | flag_parser.cpp | 208 arguments.erase(arguments.begin() + i); in Parse() 211 arguments.erase(arguments.begin() + i, arguments.begin() + i + 2); in Parse() 214 arguments.erase(arguments.begin() + i + 1, arguments.begin() + i + 2); in Parse() 311 for (auto it = flag.aliases_.begin(); it != flag.aliases_.end(); it++) { in operator <<() 312 if (it != flag.aliases_.begin()) { in operator <<() 344 auto itr = std::find(args.begin(), args.end(), "--"); in SeparateByEndOfOptionMark() 349 args_before_mark.insert(args_before_mark.end(), args.begin(), itr); in SeparateByEndOfOptionMark() 387 std::make_move_iterator(separated.args_after_mark.begin()), in ConsumeFlags()
|
/device/google/cuttlefish/tests/hal/ |
D | hal_implementation_test.cpp | 346 missingAidl.insert(kPhoneOnlyAidl.begin(), kPhoneOnlyAidl.end()); in isMissingAidl() 347 missingAidl.insert(kTvOnlyAidl.begin(), kTvOnlyAidl.end()); in isMissingAidl() 350 missingAidl.insert(kAutomotiveOnlyAidl.begin(), in isMissingAidl() 352 missingAidl.insert(kRadioOnlyAidl.begin(), kRadioOnlyAidl.end()); in isMissingAidl() 355 missingAidl.insert(kAutomotiveOnlyAidl.begin(), in isMissingAidl() 357 missingAidl.insert(kPhoneOnlyAidl.begin(), kPhoneOnlyAidl.end()); in isMissingAidl() 358 missingAidl.insert(kTvOnlyAidl.begin(), kTvOnlyAidl.end()); in isMissingAidl() 361 missingAidl.insert(kAutomotiveOnlyAidl.begin(), in isMissingAidl() 363 missingAidl.insert(kTvOnlyAidl.begin(), kTvOnlyAidl.end()); in isMissingAidl() 419 if (std::none_of(treePackage.types.begin(), treePackage.types.end(), in TEST() [all …]
|
/device/generic/goldfish/gnss/ |
D | GnssHwListener.cpp | 121 bool GnssHwListener::parse(const char* begin, const char* end, in parse() argument 124 if (const char* fields = testNmeaField(begin, end, "GPRMC", ',')) { in parse() 126 } else if (const char* fields = testNmeaField(begin, end, "GPGGA", ',')) { in parse() 148 bool GnssHwListener::parseGPRMC(const char* begin, const char*, in parseGPRMC() argument 169 if (sscanf(begin, "%06d,%c,%d.%n%d%n,%c,%d.%n%d%n,%c,%lf,%lf,%d,%lf,%c*", in parseGPRMC() 233 bool GnssHwListener::parseGPGGA(const char* begin, const char* end, in parseGPGGA() argument 253 if (sscanf(begin, "%06d,%d.%n%d%n,%c,%d.%n%d%n,%c,%d,%d,%n", in parseGPGGA() 263 begin = skipAfter(begin + consumed, end, ','); // skip HDOP in parseGPGGA() 264 if (!begin) { in parseGPGGA() 267 if (sscanf(begin, "%lf,%c,", &altitude, &altitudeUnit) != 2) { in parseGPGGA()
|
D | GnssHwListener.h | 42 bool parse(const char* begin, const char* end, 45 bool parseGPRMC(const char* begin, const char* end, 48 bool parseGPGGA(const char* begin, const char* end,
|
/device/google/cuttlefish/common/libs/security/ |
D | keymaster_channel_test.cpp | 48 ASSERT_EQ(request.end() - request.begin(), read.end() - read.begin()); in TEST() 50 ASSERT_TRUE(std::equal(request.begin(), request.end(), read.begin())); in TEST() 73 ASSERT_EQ(request.end() - request.begin(), read.end() - read.begin()); in TEST() 75 ASSERT_TRUE(std::equal(request.begin(), request.end(), read.begin())); in TEST()
|
/device/generic/goldfish/camera/ |
D | Span.h | 28 template <class I> Span(I begin, I end) : begin_(&*begin), end_(&*end) {} in Span() 29 template <class I> Span(I begin, size_t size) : begin_(&*begin), end_(&begin[size]) {} in Span() 33 T* begin() { return begin_; } in begin() function 35 const T* begin() const { return begin_; } in begin() function
|
D | list_qemu_cameras.cpp | 61 const char* i = &*str.begin(); in parseResolutions() 145 const char* i = reinterpret_cast<const char*>(&*data.begin()); in listQemuCameras() 178 std::sort(params.supportedResolutions.begin(), in listQemuCameras() 223 std::sort(thumbnailResolutions.begin(), thumbnailResolutions.end(), in listQemuCameras() 226 thumbnailResolutions.erase(std::unique(thumbnailResolutions.begin(), in listQemuCameras() 239 params.name = std::string(name.begin(), name.end()); in listQemuCameras() 242 std::next(params.supportedResolutions.begin()), in listQemuCameras()
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | tpm_attestation_record.cpp | 184 attestation_ids_.brand.assign(request.brand.begin(), request.brand.end()); in SetAttestationIds() 185 attestation_ids_.device.assign(request.device.begin(), request.device.end()); in SetAttestationIds() 186 attestation_ids_.product.assign(request.product.begin(), in SetAttestationIds() 188 attestation_ids_.serial.assign(request.serial.begin(), request.serial.end()); in SetAttestationIds() 189 attestation_ids_.imei.assign(request.imei.begin(), request.imei.end()); in SetAttestationIds() 190 attestation_ids_.meid.assign(request.meid.begin(), request.meid.end()); in SetAttestationIds() 191 attestation_ids_.manufacturer.assign(request.manufacturer.begin(), in SetAttestationIds() 193 attestation_ids_.model.assign(request.model.begin(), request.model.end()); in SetAttestationIds() 201 attestation_ids_.second_imei.assign(request.second_imei.begin(), in SetAttestationIdsKM3()
|
/device/google/cuttlefish/common/libs/confui/ |
D | protocol.cpp | 177 const std::string success_str(contents[0].begin(), contents[0].end()); in ToConfUiMessage() 179 const std::string status_message(contents[1].begin(), contents[1].end()); in ToConfUiMessage() 203 std::string ui_opts_string{message.additional_info_[3].begin(), in ToConfUiMessage() 217 std::string(message.additional_info_[0].begin(), in ToConfUiMessage() 220 std::string(message.additional_info_[2].begin(), in ToConfUiMessage() 234 auto response = std::string{message.additional_info_[0].begin(), in ToConfUiMessage() 248 auto x = std::string(message.additional_info_[0].begin(), in ToConfUiMessage() 250 auto y = std::string(message.additional_info_[1].begin(), in ToConfUiMessage() 264 auto response = std::string{message.additional_info_[0].begin(), in ToConfUiMessage()
|
/device/google/cuttlefish/guest/hals/confirmationui/ |
D | guest_session.h | 57 : prompt_text_{promptText.begin(), promptText.end()}, extra_data_{extraData.begin(), in GuestSession() 59 locale_{locale.begin(), locale.end()}, ui_options_{uiOptions.begin(), uiOptions.end()}, 105 queue_impl->erase(queue_impl->begin(), queue_impl->begin() + n); in QueueFullHandler()
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | network_service.cpp | 160 current_operator_numeric_ = operator_list_.begin()->numeric; in InitializeNetworkOperator() 161 operator_list_.begin()->operator_state = NetworkOperator::OPER_STATE_CURRENT; in InitializeNetworkOperator() 169 current_operator_numeric_ = operator_list_.begin()->numeric; in InitializeNetworkOperator() 170 operator_list_.begin()->operator_state = in InitializeNetworkOperator() 185 for (auto iter = operator_list_.begin(); iter != operator_list_.end(); in InitializeSimOperator() 188 std::swap(*iter, *(operator_list_.begin())); in InitializeSimOperator() 235 operator_list_.insert(operator_list_.begin(), sim_operator); in InitializeSimOperator() 520 auto iter = operator_list_.begin(); in HandleQueryNetworkSelectionMode() 544 auto iter = operator_list_.begin(); in HandleRequestOperator() 576 for (auto iter = operator_list_.begin(); iter != operator_list_.end(); ++iter) { in HandleQueryAvailableNetwork() [all …]
|
D | data_service.cpp | 110 for (auto iter = pdp_context_.begin(); iter != pdp_context_.end(); ++iter) { in HandleQueryDataCallList() 171 auto iter = pdp_context_.begin(); in HandlePDPContext() 193 for (auto it = pdp_context_.begin(); it != pdp_context_.end(); ++it) { in HandleQueryPDPContextList() 231 auto iter = pdp_context_.begin(); in HandleEnterDataState() 280 auto iter = pdp_context_.begin(); // Check cid in HandleReadDynamicParam()
|
D | call_service.cpp | 283 for (auto iter = active_calls_.begin(); iter != active_calls_.end();) { in HandleRejectCall() 349 for (auto iter = active_calls_.begin(); iter != active_calls_.end(); ++iter) { in HandleCurrentCalls() 412 for (auto iter = active_calls_.begin(); iter != active_calls_.end();) { in HandleHangup() 425 for (auto iter = active_calls_.begin(); iter != active_calls_.end();) { in HandleHangup() 465 for (auto iter = active_calls_.begin(); iter != active_calls_.end(); ++iter) { in HandleHangup() 473 for (auto iter = active_calls_.begin(); iter != active_calls_.end(); ++iter) { in HandleHangup() 656 auto iter = active_calls_.begin(); in HandleRemoteCall()
|
D | channel_monitor.cpp | 152 clients.begin(), clients.end(), in ReadCommand() 195 auto iter = clients_.begin(); in SendUnsolicitedCommand() 204 auto iter = remote_clients_.begin(); in SendRemoteCommand() 215 auto iter = remote_clients_.begin(); in CloseRemoteConnection() 248 auto iter = clients.begin(); in removeInvalidClients()
|
/device/google/cuttlefish/common/libs/fs/ |
D | shared_select.h | 41 iterator begin() { return value_.begin(); } in begin() function 43 const_iterator begin() const { return value_.begin(); } in begin() function
|
/device/google/tangorpro/cast_auth/mediadrm/ |
D | SessionLibrary.cpp | 26 sessions_.emplace_back(session_string.begin(), session_string.end()); in createSession() 32 sessions_.erase(std::remove_if(sessions_.begin(), sessions_.end(), in closeSession() 34 return std::equal(e.begin(), e.end(), session.begin()); in closeSession()
|
/device/generic/goldfish-opengl/system/codecs/omx/vpxdec/ |
D | GoldfishVPX.cpp | 177 outInfo = *outQueue.begin(); in outputBuffers() 219 outQueue.erase(outQueue.begin()); in outputBuffers() 230 outInfo = *outQueue.begin(); in outputBuffers() 231 outQueue.erase(outQueue.begin()); in outputBuffers() 301 BufferInfo *inInfo = *inQueue.begin(); in onQueueFilled() 310 inQueue.erase(inQueue.begin()); in onQueueFilled() 339 inQueue.erase(inQueue.begin()); in onQueueFilled()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | stream_buffer_cache.cpp | 27 auto found = std::find_if(cache_.begin(), cache_.end(), id_match); in get() 37 cache_.erase(std::remove_if(cache_.begin(), cache_.end(), id_match)); in remove() 46 auto found = std::find_if(cache_.begin(), cache_.end(), id_match); in update() 61 for (auto it = cache_.begin(); it != cache_.end();) { in removeStreamsExcept()
|
/device/generic/car/emulator/vhal_v2_0/ |
D | VehicleEmulator.cpp | 172 val.value.bytes = std::vector<uint8_t> { protoVal.bytes_value().begin(), in doSetProperty() 177 val.value.int32Values = std::vector<int32_t> { protoVal.int32_values().begin(), in doSetProperty() 182 val.value.int64Values = std::vector<int64_t> { protoVal.int64_values().begin(), in doSetProperty() 187 val.value.floatValues = std::vector<float> { protoVal.float_values().begin(), in doSetProperty() 199 protoCommands.begin(), protoCommands.end()); in doDebug()
|
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/ |
D | GoldfishAVCDec.cpp | 322 inInfo = *inQueue.begin(); in onQueueFilled() 325 inQueue.erase(inQueue.begin()); in onQueueFilled() 334 outInfo = *outQueue.begin(); in onQueueFilled() 345 inQueue.erase(inQueue.begin()); in onQueueFilled() 473 outQueue.erase(outQueue.begin()); in onQueueFilled() 491 outQueue.erase(outQueue.begin()); in onQueueFilled() 513 inQueue.erase(inQueue.begin()); in onQueueFilled()
|
/device/google/contexthub/util/nanotool/ |
D | nanopacket.cpp | 99 std::copy(data->begin(), data->end(), packet_buffer_.begin() + 10); in NanoPacket() 100 std::copy(data->begin(), data->end(), packet_content_.begin()); in NanoPacket()
|
/device/google/zuma/usb/usb/ |
D | UsbDataSessionMonitor.cpp | 251 int configuredCount = std::count(mDeviceState.states.begin(), in evaluateComplianceWarning() 254 std::count(mDeviceState.states.begin(), mDeviceState.states.end(), kDefaultState); in evaluateComplianceWarning() 264 std::count(mHost1State.states.begin(), mHost1State.states.end(), kConfiguredState); in evaluateComplianceWarning() 266 std::count(mHost1State.states.begin(), mHost1State.states.end(), kDefaultState); in evaluateComplianceWarning() 269 std::count(mHost2State.states.begin(), mHost2State.states.end(), kConfiguredState); in evaluateComplianceWarning() 271 std::count(mHost2State.states.begin(), mHost2State.states.end(), kDefaultState); in evaluateComplianceWarning()
|
/device/google/zumapro/usb/usb/ |
D | UsbDataSessionMonitor.cpp | 251 int configuredCount = std::count(mDeviceState.states.begin(), in evaluateComplianceWarning() 254 std::count(mDeviceState.states.begin(), mDeviceState.states.end(), kDefaultState); in evaluateComplianceWarning() 264 std::count(mHost1State.states.begin(), mHost1State.states.end(), kConfiguredState); in evaluateComplianceWarning() 266 std::count(mHost1State.states.begin(), mHost1State.states.end(), kDefaultState); in evaluateComplianceWarning() 269 std::count(mHost2State.states.begin(), mHost2State.states.end(), kConfiguredState); in evaluateComplianceWarning() 271 std::count(mHost2State.states.begin(), mHost2State.states.end(), kDefaultState); in evaluateComplianceWarning()
|