/base/location/services/location_locator/callback/source/ |
D | gnss_status_callback_proxy.cpp | 29 void GnssStatusCallbackProxy::OnStatusChange(const std::unique_ptr<SatelliteStatus>& statusInfo) in OnStatusChange() argument 36 if (statusInfo != nullptr) { in OnStatusChange() 37 statusInfo->Marshalling(data); in OnStatusChange()
|
/base/location/frameworks/native/source/ |
D | gnss_status_callback_host.cpp | 53 std::unique_ptr<SatelliteStatus> statusInfo = SatelliteStatus::Unmarshalling(data); in OnRemoteRequest() local 54 Send(statusInfo); in OnRemoteRequest() 70 bool GnssStatusCallbackHost::Send(std::unique_ptr<SatelliteStatus>& statusInfo) in Send() argument 91 context->statusInfo = std::move(statusInfo); in Send() 124 if (context->statusInfo != nullptr) { in UvQueueWork() 127 SatelliteStatusToJs(context->env, context->statusInfo, jsEvent); in UvQueueWork() 147 void GnssStatusCallbackHost::OnStatusChange(const std::unique_ptr<SatelliteStatus>& statusInfo) in OnStatusChange() argument
|
D | napi_util.cpp | 40 const std::shared_ptr<SatelliteStatus>& statusInfo, napi_value& result) in SatelliteStatusToJs() argument 47 SetValueDouble(env, "satellitesNumber", statusInfo->GetSatellitesNumber(), result); in SatelliteStatusToJs() 48 if (statusInfo->GetSatellitesNumber() > 0) { in SatelliteStatusToJs() 50 … napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &satelliteIdsArray)); in SatelliteStatusToJs() 52 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &cn0Array)); in SatelliteStatusToJs() 54 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &altitudesArray)); in SatelliteStatusToJs() 56 napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &azimuthsArray)); in SatelliteStatusToJs() 58 … napi_create_array_with_length(env, statusInfo->GetSatellitesNumber(), &carrierFrequenciesArray)); in SatelliteStatusToJs() 60 for (int index = 0; index < statusInfo->GetSatellitesNumber(); index++) { in SatelliteStatusToJs() 62 … NAPI_CALL_RETURN_VOID(env, napi_create_double(env, statusInfo->GetSatelliteIds()[index], &value)); in SatelliteStatusToJs() [all …]
|
/base/location/interfaces/inner_api/include/ |
D | gnss_status_callback_host.h | 38 bool Send(std::unique_ptr<SatelliteStatus>& statusInfo); 39 void OnStatusChange(const std::unique_ptr<SatelliteStatus>& statusInfo) override;
|
D | i_gnss_status_callback.h | 35 virtual void OnStatusChange(const std::unique_ptr<SatelliteStatus>& statusInfo) = 0;
|
D | location_async_context.h | 131 std::shared_ptr<SatelliteStatus> statusInfo; 134 : AsyncContext(env, work, deferred), statusInfo(nullptr) {} in AsyncContext()
|
D | napi_util.h | 44 void SatelliteStatusToJs(const napi_env& env, const std::shared_ptr<SatelliteStatus>& statusInfo, n…
|
/base/location/services/location_locator/callback/include/ |
D | gnss_status_callback_proxy.h | 31 void OnStatusChange(const std::unique_ptr<SatelliteStatus>& statusInfo) override;
|
/base/location/test/location_gnss/mock/include/ |
D | mock_gnss_status_callback_host.h | 37 MOCK_METHOD(void, OnStatusChange, (const std::unique_ptr<SatelliteStatus>& statusInfo));
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_receive_handler.cpp | 61 std::shared_ptr<SmsReceiveIndexer> statusInfo = std::make_shared<SmsReceiveIndexer>(); in HandleSmsByType() local 62 if (statusInfo == nullptr) { in HandleSmsByType() 66 statusInfo->SetMsgRefId(message->GetMsgRef()); in HandleSmsByType() 67 statusInfo->SetPdu(message->GetRawPdu()); in HandleSmsByType() 68 cdmaSend->ReceiveStatusReport(statusInfo); in HandleSmsByType()
|
D | cdma_sms_sender.cpp | 436 std::shared_ptr<SmsReceiveIndexer> statusInfo = event->GetSharedObject<SmsReceiveIndexer>(); in StatusReportAnalysis() local 437 if (statusInfo == nullptr) { in StatusReportAnalysis() 441 std::string pdu = StringUtils::StringToHex(statusInfo->GetPdu()); in StatusReportAnalysis()
|
/base/location/test/location_locator/source/ |
D | callback_test.cpp | 180 auto statusInfo = std::make_unique<SatelliteStatus>(); variable 190 statusInfo->ReadFromParcel(parcel); 191 EXPECT_NE(nullptr, statusInfo); 192 gnssStatusCallbackProxy->OnStatusChange(statusInfo);
|
/base/location/test/fuzztest/locator/locator_fuzzer/ |
D | locator_fuzzer.cpp | 377 std::unique_ptr<SatelliteStatus> statusInfo = nullptr; in GnssStatusCallbackHostFuzzerTest() local 378 gnssCallbackHost->Send(statusInfo); in GnssStatusCallbackHostFuzzerTest() 380 gnssCallbackHost->OnStatusChange(statusInfo); in GnssStatusCallbackHostFuzzerTest()
|
/base/location/test/location_gnss/source/ |
D | gnss_ability_test.cpp | 931 SatelliteStatusInfo statusInfo; variable 932 statusInfo.satellitesNumber = 0; 933 statusInfo.flags = 935 gnssCallback->ReportSatelliteStatusInfo(statusInfo);
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_sender.cpp | 405 std::shared_ptr<SmsMessageInfo> statusInfo = event->GetSharedObject<SmsMessageInfo>(); in StatusReportAnalysis() local 406 if (statusInfo == nullptr) { in StatusReportAnalysis() 411 std::string pdu = StringUtils::StringToHex(statusInfo->pdu); in StatusReportAnalysis()
|