/base/location/services/location_locator/locator/include/ |
D | report_manager.h | 28 namespace Location { 34 bool OnReportLocation(const std::unique_ptr<Location>& location, std::string abilityName); 35 …bool ResultCheck(const std::unique_ptr<Location>& location, const std::shared_ptr<Request>& reques… 36 void SetLastLocation(const std::unique_ptr<Location>& location); 37 std::unique_ptr<Location> GetLastLocation(); 38 std::unique_ptr<Location> GetPermittedLocation(uint32_t tokenId, uint32_t firstTokenId, 39 const std::unique_ptr<Location>& location); 44 Location lastLocation_; 45 std::unique_ptr<Location> ApproximatelyLocation(const std::unique_ptr<Location>& location); 47 …ptr<std::list<std::shared_ptr<Request>>>& deadRequests, const std::unique_ptr<Location>& location);
|
D | subability_common.h | 30 namespace Location { 66 const std::vector<std::shared_ptr<Location>> &location) = 0; 81 …bool SetMockedLocations(const int timeInterval, const std::vector<std::shared_ptr<Location>> &loca… 85 std::vector<std::shared_ptr<Location>> GetLocationMock(); 91 void CacheLocationMock(const std::vector<std::shared_ptr<Location>> &location); 103 std::vector<std::shared_ptr<Location>> mockLoc_;
|
D | request.h | 26 namespace Location { 47 sptr<Location> GetLastLocation(); 48 void SetLastLocation(const std::unique_ptr<Location>& location); 66 sptr<Location> lastLocation_;
|
/base/location/frameworks/location_common/common/source/ |
D | location.cpp | 23 namespace Location { namespace 27 Location::Location() in Location() function in OHOS::Location::Location 45 Location::Location(Location& location) in Location() function in OHOS::Location::Location 63 void Location::ReadFromParcel(Parcel& parcel) in ReadFromParcel() 81 std::shared_ptr<Location> Location::UnmarshallingShared(Parcel& parcel) in UnmarshallingShared() 83 std::shared_ptr<Location> location = std::make_shared<Location>(); in UnmarshallingShared() 88 std::unique_ptr<Location> Location::Unmarshalling(Parcel& parcel) in Unmarshalling() 90 std::unique_ptr<Location> location = std::make_unique<Location>(); in Unmarshalling() 95 bool Location::Marshalling(Parcel& parcel) const in Marshalling() 113 std::string Location::ToString() const in ToString()
|
/base/location/test/location_locator/mock/src/ |
D | mock_common_event_manager.cpp | 22 return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data); in PublishCommonEvent() 28 return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo); in PublishCommonEvent() 34 …return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subsc… in PublishCommonEvent() 40 …return Location::MockCommonEventManager::GetInstance().PublishCommonEvent(data, publishInfo, subsc… in PublishCommonEvent() 45 return Location::MockCommonEventManager::GetInstance().SubscribeCommonEvent(subscriber); in SubscribeCommonEvent() 50 return Location::MockCommonEventManager::GetInstance().UnSubscribeCommonEvent(subscriber); in UnSubscribeCommonEvent() 55 return Location::MockCommonEventManager::GetInstance().GetStickyCommonEvent(event, data); in GetStickyCommonEvent() 59 namespace Location { namespace
|
/base/location/services/location_gnss/gnss/include/ |
D | agnss_event_callback.h | 24 namespace Location { 25 using HDI::Location::Agnss::V1_0::IAGnssCallback; 26 using HDI::Location::Agnss::V1_0::AGnssDataLinkRequest; 27 using HDI::Location::Agnss::V1_0::SubscriberSetId; 28 using HDI::Location::Agnss::V1_0::SubscriberSetIdType; 29 using HDI::Location::Agnss::V1_0::AGnssRefInfo; 30 using HDI::Location::Agnss::V1_0::AGnssUserPlaneProtocol;
|
D | gnss_event_callback.h | 22 namespace Location { 23 using HDI::Location::Gnss::V1_0::IGnssCallback; 24 using HDI::Location::Gnss::V1_0::LocationInfo; 25 using HDI::Location::Gnss::V1_0::GnssWorkingStatus; 26 using HDI::Location::Gnss::V1_0::GnssCapabilities; 27 using HDI::Location::Gnss::V1_0::SatelliteStatusInfo; 28 using HDI::Location::Gnss::V1_0::GnssRefInfoType;
|
D | gnss_ability.h | 36 namespace Location { 43 using HDI::Location::Gnss::V1_0::IGnssInterface; 44 using HDI::Location::Gnss::V1_0::IGnssCallback; 45 using HDI::Location::Gnss::V1_0::GNSS_START_TYPE_NORMAL; 46 using HDI::Location::Gnss::V1_0::GNSS_STATUS_NONE; 47 using HDI::Location::Gnss::V1_0::GNSS_STATUS_SESSION_BEGIN; 48 using HDI::Location::Gnss::V1_0::GNSS_STATUS_SESSION_END; 49 using HDI::Location::Gnss::V1_0::GNSS_STATUS_ENGINE_ON; 50 using HDI::Location::Gnss::V1_0::GNSS_STATUS_ENGINE_OFF; 51 using HDI::Location::Agnss::V1_0::IAGnssInterface; [all …]
|
/base/location/interfaces/inner_api/include/ |
D | location.h | 23 namespace Location { 24 class Location : public Parcelable { 26 Location(); 27 explicit Location(Location &location); 28 ~Location() override = default; 172 static std::unique_ptr<Location> Unmarshalling(Parcel& parcel); 173 static std::shared_ptr<Location> UnmarshallingShared(Parcel& parcel);
|
D | cached_locations_callback_host.h | 33 namespace Location { 41 bool Send(std::vector<std::shared_ptr<Location>>& locations); 42 void OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) override;
|
D | i_cached_locations_callback.h | 24 namespace Location { 31 … virtual void OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) = 0;
|
D | i_locator_callback.h | 24 namespace Location { 33 virtual void OnLocationReport(const std::unique_ptr<Location>& location) = 0;
|
/base/location/test/fuzztest/locator/reportmanager_fuzzer/ |
D | reportmanager_fuzzer.cpp | 25 using namespace OHOS::Location; 37 std::unique_ptr<OHOS::Location::Location> location = in ReportManagerFuzzerTest() 38 std::make_unique<OHOS::Location::Location>(); in ReportManagerFuzzerTest()
|
/base/location/services/location_network/network/source/ |
D | network_callback_host.cpp | 21 namespace Location { namespace 32 std::unique_ptr<Location> location = Location::Unmarshalling(data); in OnRemoteRequest() 44 void NetworkCallbackHost::OnLocationReport(const std::unique_ptr<Location>& location) in OnLocationReport()
|
/base/location/services/location_locator/locator/source/ |
D | report_manager.cpp | 27 namespace Location { namespace 41 bool ReportManager::OnReportLocation(const std::unique_ptr<Location>& location, std::string ability… in OnReportLocation() 89 …_ptr<std::list<std::shared_ptr<Request>>>& deadRequests, const std::unique_ptr<Location>& location) in ProcessRequestForReport() 97 std::unique_ptr<Location> finalLocation = GetPermittedLocation(tokenId, firstTokenId, location); in ProcessRequestForReport() 116 std::unique_ptr<Location> ReportManager::GetPermittedLocation(uint32_t tokenId, uint32_t firstToken… in GetPermittedLocation() 117 const std::unique_ptr<Location>& location) in GetPermittedLocation() 122 std::unique_ptr<Location> finalLocation = std::make_unique<Location>(*location); in GetPermittedLocation() 151 bool ReportManager::ResultCheck(const std::unique_ptr<Location>& location, in ResultCheck() 204 void ReportManager::SetLastLocation(const std::unique_ptr<Location>& location) in SetLastLocation() 216 std::unique_ptr<Location> ReportManager::GetLastLocation() in GetLastLocation() [all …]
|
/base/location/test/location_locator/source/ |
D | report_manager_test.cpp | 35 namespace Location { namespace 75 std::unique_ptr<Location> location = std::make_unique<Location>(); 100 std::unique_ptr<Location> location = std::make_unique<Location>(); 156 std::unique_ptr<Location> location = std::make_unique<Location>(); 184 std::unique_ptr<Location> location = std::make_unique<Location>(); 223 std::unique_ptr<Location> location = std::make_unique<Location>(); 250 std::unique_ptr<Location> location = std::make_unique<Location>(); 276 std::unique_ptr<Location> location = std::make_unique<Location>(); 315 std::unique_ptr<Location> location = std::make_unique<Location>();
|
D | location_approximately_permission_test.cpp | 29 namespace Location { namespace 81 std::unique_ptr<Location> location = std::make_unique<Location>(); 108 std::unique_ptr<Location> location = std::make_unique<Location>();
|
/base/location/test/fuzztest/locator/gnss_fuzzer/ |
D | gnss_fuzzer.cpp | 37 using namespace OHOS::Location; 46 sptr<OHOS::Location::GnssAbility> ability = new (std::nothrow) GnssAbility(); in GnssProxyFuzzTest() 47 sptr<OHOS::Location::GnssAbilityProxy> proxy = in GnssProxyFuzzTest() 73 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; in GnssProxyFuzzTest()
|
/base/location/test/fuzztest/locator/fusioncontroller_fuzzer/ |
D | fusioncontroller_fuzzer.cpp | 22 using namespace OHOS::Location; 34 auto location = std::make_unique<OHOS::Location::Location>(); in FusionControllerFuzzerTest()
|
/base/location/services/location_locator/callback/include/ |
D | locator_callback_proxy.h | 30 namespace Location { 35 void OnLocationReport(const std::unique_ptr<Location>& location) override; 46 void OnLocationReport(const std::unique_ptr<Location>& location) override;
|
D | cached_locations_callback_proxy.h | 28 namespace Location { 33 void OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) override;
|
/base/location/services/location_passive/passive/source/ |
D | passive_ability.cpp | 32 namespace Location { namespace 119 const std::vector<std::shared_ptr<Location>> &location) in SetMocked() 170 std::shared_ptr<std::vector<std::shared_ptr<Location>>> vcLoc = in SendMessage() 171 std::make_shared<std::vector<std::shared_ptr<Location>>>(); in SendMessage() 173 vcLoc->push_back(Location::UnmarshallingShared(data)); in SendMessage() 200 auto vcLoc = event->GetSharedObject<std::vector<std::shared_ptr<Location>>>(); in ProcessEvent() 204 std::vector<std::shared_ptr<Location>> mockLocations; in ProcessEvent()
|
/base/location/test/location_gnss/source/ |
D | gnss_ability_test.cpp | 40 namespace Location { namespace 41 using HDI::Location::Agnss::V1_0::IAGnssCallback; 42 using HDI::Location::Agnss::V1_0::AGnssRefInfo; 43 using HDI::Location::Gnss::V1_0::IGnssCallback; 44 using HDI::Location::Gnss::V1_0::LocationInfo; 559 std::vector<std::shared_ptr<Location>> locations; 622 std::vector<std::shared_ptr<Location>> locations; 638 locations.push_back(Location::UnmarshallingShared(parcel)); 653 std::vector<std::shared_ptr<Location>> locations; 669 locations.push_back(Location::UnmarshallingShared(parcel)); [all …]
|
/base/location/test/location_gnss/mock/src/ |
D | mock_i_cellular_data_manager.cpp | 24 return Location::MockICellularDataManager::GetInstance().GetDefaultCellularDataSlotId(); in GetDefaultCellularDataSlotId() 28 namespace Location { namespace
|
/base/location/test/fuzztest/locator/locator_fuzzer/ |
D | locator_fuzzer.cpp | 47 using namespace OHOS::Location; 186 std::unique_ptr<OHOS::Location::Location> loc = in LocatorImplV9FuzzerTest() 187 std::make_unique<OHOS::Location::Location>(); in LocatorImplV9FuzzerTest() 287 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; in TestMockFunc() 302 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; in TestMockFuncV9() 324 std::vector<std::shared_ptr<OHOS::Location::Location>> locationsForSend; in CachedLocationsCallbackHostFuzzerTest() 326 std::vector<std::unique_ptr<OHOS::Location::Location>> locationsForReport; in CachedLocationsCallbackHostFuzzerTest() 397 std::unique_ptr<OHOS::Location::Location> location = in LocationCallbackHostFuzzerTest() 398 std::make_unique<OHOS::Location::Location>(); in LocationCallbackHostFuzzerTest() 468 std::unique_ptr<OHOS::Location::Location> loc = in LocatorAbility001FuzzerTest() [all …]
|