Home
last modified time | relevance | path

Searched refs:workrecord (Results 1 – 19 of 19) sorted by relevance

/base/location/test/location_locator/source/
Dwork_record_test.cpp37 void WorkRecordTest::VerifyMarshalling(std::unique_ptr<WorkRecord>& workrecord) in VerifyMarshalling() argument
40 workrecord->Marshalling(parcel); in VerifyMarshalling()
67 std::unique_ptr<WorkRecord> workrecord = WorkRecord::Unmarshalling(parcel); variable
68 VerifyMarshalling(workrecord);
69 EXPECT_EQ(1, workrecord->Size());
70 EXPECT_EQ(false, workrecord->Remove("WrongName"));
71 EXPECT_EQ(1, workrecord->Size());
72 EXPECT_EQ(true, workrecord->Remove("name"));
73 EXPECT_EQ(0, workrecord->Size()); // remove successfully
75 EXPECT_EQ(true, workrecord->Add(SYSTEM_UID, 0, "name", 1, "0"));
[all …]
/base/location/services/location_passive/passive/source/
Dpassive_ability_skeleton.cpp50 std::unique_ptr<WorkRecord> workrecord = WorkRecord::Unmarshalling(data); in OnRemoteRequest() local
51 reply.WriteInt32(SendLocationRequest(*workrecord)); in OnRemoteRequest()
Dpassive_ability.cpp80 LocationErrCode PassiveAbility::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() argument
82 LocationRequest(workrecord); in SendLocationRequest()
/base/location/test/location_locator/include/
Dwork_record_test.h29 void VerifyMarshalling(std::unique_ptr<WorkRecord>& workrecord);
/base/location/services/location_network/network/source/
Dnetwork_ability.cpp176 LocationErrCode NetworkAbility::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() argument
178 LocationRequest(workrecord); in SendLocationRequest()
358 std::unique_ptr<WorkRecord> workrecord = WorkRecord::Unmarshalling(data); in SendMessage() local
359 AppExecFwk::InnerEvent::Pointer event = AppExecFwk::InnerEvent::Get(code, workrecord); in SendMessage()
420 std::unique_ptr<WorkRecord> workrecord = event->GetUniqueObject<WorkRecord>(); in ProcessEvent() local
421 if (workrecord != nullptr) { in ProcessEvent()
422 networkAbility->LocationRequest(*workrecord); in ProcessEvent()
/base/location/services/location_locator/locator/include/
Dsubability_common.h61 virtual LocationErrCode SendLocationRequest(WorkRecord &workrecord) = 0;
74 void LocationRequest(WorkRecord &workrecord);
Dpassive_ability_proxy.h36 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override;
Dnetwork_ability_proxy.h36 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override;
Dgnss_ability_proxy.h33 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override;
/base/location/test/location_passive/mock/include/
Dmock_passive_ability_stub.h38 MOCK_METHOD(LocationErrCode, SendLocationRequest, (WorkRecord &workrecord));
/base/location/test/location_network/mock/include/
Dmock_network_ability_stub.h39 MOCK_METHOD(LocationErrCode, SendLocationRequest, (WorkRecord &workrecord));
/base/location/services/location_locator/locator/source/
Dpassive_ability_proxy.cpp31 LocationErrCode PassiveAbilityProxy::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() argument
40 workrecord.Marshalling(data); in SendLocationRequest()
Dnetwork_ability_proxy.cpp31 LocationErrCode NetworkAbilityProxy::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() argument
40 workrecord.Marshalling(data); in SendLocationRequest()
Dgnss_ability_proxy.cpp30 LocationErrCode GnssAbilityProxy::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() argument
39 workrecord.Marshalling(data); in SendLocationRequest()
/base/location/services/location_gnss/gnss/source/
Dgnss_ability.cpp115 LocationErrCode GnssAbility::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest() argument
117 LocationRequest(workrecord); in SendLocationRequest()
636 std::unique_ptr<WorkRecord> workrecord = WorkRecord::Unmarshalling(data); in SendMessage() local
638 Get(code, workrecord); in SendMessage()
693 std::unique_ptr<WorkRecord> workrecord = event->GetUniqueObject<WorkRecord>(); in ProcessEvent() local
694 if (workrecord != nullptr) { in ProcessEvent()
695 gnssAbility->LocationRequest(*workrecord); in ProcessEvent()
/base/location/services/location_passive/passive/include/
Dpassive_ability.h55 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override;
/base/location/test/location_gnss/mock/include/
Dmock_gnss_ability_stub.h51 MOCK_METHOD(LocationErrCode, SendLocationRequest, (WorkRecord &workrecord));
/base/location/services/location_network/network/include/
Dnetwork_ability.h58 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override;
/base/location/services/location_gnss/gnss/include/
Dgnss_ability.h76 LocationErrCode SendLocationRequest(WorkRecord &workrecord) override;