Searched refs:PassiveAbility (Results 1 – 4 of 4) sorted by relevance
33 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::PassiveAbility43 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 …]
41 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;
33 sptr<PassiveAbility> ability_;
42 ability_ = new (std::nothrow) PassiveAbility(); in SetUp()