Searched refs:MyLocationEngine (Results 1 – 4 of 4) sorted by relevance
42 std::shared_ptr<MyLocationEngine> MyLocationEngine::mylocator = std::make_shared<MyLocationEngine>(…43 std::shared_ptr<MyLocationEngine> MyLocationEngine::GetInstance() in GetInstance()51 void MyLocationEngine::OnInit() in OnInit()59 MyLocationEngine::MyLocationEngine() {} in MyLocationEngine() function in OHOS::Telephony::MyLocationEngine61 MyLocationEngine::~MyLocationEngine() in ~MyLocationEngine()68 void MyLocationEngine::SetValue() in SetValue()95 …sptr<MyLocationEngine::MyLocationCallBack>(new (std::nothrow) MyLocationEngine::MyLocationCallBack… in RegisterLocationChange()221 MyLocationEngine::ConnectAbility(MyLocationEngine::PARAMETERS_VALUE, in OnLocationReport()237 MyLocationEngine::MySwitchCallback::MySwitchCallback(std::shared_ptr<MyLocationEngine> locationUpda… in MySwitchCallback()283 void MyLocationEngine::OOBEComplete() in OOBEComplete()[all …]
62 MyLocationEngine::GetInstance()->SetValue(); in OnReceiveEvent()63 MyLocationEngine::GetInstance()->RegisterLocationChange(); in OnReceiveEvent()64 MyLocationEngine::GetInstance()->RegisterSwitchCallback(); in OnReceiveEvent()68 MyLocationEngine::GetInstance()->UnregisterLocationChange(); in OnReceiveEvent()69 MyLocationEngine::GetInstance()->UnRegisterSwitchCallback(); in OnReceiveEvent()70 MyLocationEngine::GetInstance()->OnInit(); in OnReceiveEvent()181 std::string stateValue = MyLocationEngine::INITIAL_FIRST_VALUE; in OnAddSystemAbility()182 …auto alarmSwitchState = MyLocationEngine::IsSwitchOn(LocationSubscriber::SWITCH_STATE_KEY, stateVa… in OnAddSystemAbility()183 if (stateValue == MyLocationEngine::INITIAL_FIRST_VALUE) { in OnAddSystemAbility()185 MyLocationEngine::OOBEComplete(); in OnAddSystemAbility()[all …]
62 class MyLocationEngine {64 MyLocationEngine();65 virtual ~MyLocationEngine();76 static std::shared_ptr<MyLocationEngine> GetInstance();94 explicit MySwitchCallback(std::shared_ptr<MyLocationEngine> locationUpdate);99 std::shared_ptr<MyLocationEngine> locationUpdate_ = nullptr;107 static std::shared_ptr<MyLocationEngine> mylocator;
84 auto engine = std::make_shared<MyLocationEngine>();117 auto engine1 = std::make_shared<MyLocationEngine>();135 data2.WriteInterfaceToken(MyLocationEngine::MyLocationCallBack::GetDescriptor());138 data3.WriteInterfaceToken(MyLocationEngine::MyLocationCallBack::GetDescriptor());142 data4.WriteInterfaceToken(MyLocationEngine::MyLocationCallBack::GetDescriptor());146 data5.WriteInterfaceToken(MyLocationEngine::MyLocationCallBack::GetDescriptor());164 auto engine1 = std::make_shared<MyLocationEngine>();181 data2.WriteInterfaceToken(MyLocationEngine::MySwitchCallback::GetDescriptor());184 data3.WriteInterfaceToken(MyLocationEngine::MySwitchCallback::GetDescriptor());202 auto engine1 = std::make_shared<MyLocationEngine>();