Home
last modified time | relevance | path

Searched refs:PassiveAbility (Results 1 – 4 of 4) sorted by relevance

/base/location/services/location_passive/passive/source/
Dpassive_ability.cpp33 const bool REGISTER_RESULT = PassiveAbility::MakeAndRegisterAbility(
34 DelayedSingleton<PassiveAbility>::GetInstance().get());
36 PassiveAbility::PassiveAbility() : SystemAbility(LOCATION_NOPOWER_LOCATING_SA_ID, true) in PassiveAbility() function in OHOS::Location::PassiveAbility
43 PassiveAbility::~PassiveAbility() {} in ~PassiveAbility()
45 void PassiveAbility::OnStart() in OnStart()
60 void PassiveAbility::OnStop() in OnStop()
67 bool PassiveAbility::Init() in Init()
80 LocationErrCode PassiveAbility::SendLocationRequest(WorkRecord &workrecord) in SendLocationRequest()
86 LocationErrCode PassiveAbility::SetEnable(bool state) in SetEnable()
92 void PassiveAbility::RequestRecord(WorkRecord &workRecord, bool isAdded) in RequestRecord()
[all …]
/base/location/services/location_passive/passive/include/
Dpassive_ability.h41 class PassiveAbility : public SystemAbility, public PassiveAbilityStub, public SubAbility,
42 DelayedSingleton<PassiveAbility> {
43 DECLEAR_SYSTEM_ABILITY(PassiveAbility);
46 DISALLOW_COPY_AND_MOVE(PassiveAbility);
47 PassiveAbility();
48 ~PassiveAbility() override;
/base/location/test/location_passive/include/
Dpassive_ability_test.h33 sptr<PassiveAbility> ability_;
/base/location/test/location_passive/source/
Dpassive_ability_test.cpp42 ability_ = new (std::nothrow) PassiveAbility(); in SetUp()