Searched refs:applicationStateObserver_ (Results 1 – 5 of 5) sorted by relevance
124 mgr.applicationStateObserver_ = nullptr;126 ASSERT_FALSE(mgr.applicationStateObserver_ != nullptr);129 mgr.applicationStateObserver_ = new ApplicationStateObserver();131 ASSERT_TRUE(mgr.applicationStateObserver_ != nullptr);134 mgr.applicationStateObserver_ = nullptr;137 ASSERT_FALSE(mgr.applicationStateObserver_ != nullptr);185 ASSERT_NE(mgr.applicationStateObserver_, nullptr);
90 if (applicationStateObserver_ != nullptr && hall == HALL_THRESHOLD in HandleHallChange()93 applicationStateObserver_->GetForegroundApp())) { in HandleHallChange()138 applicationStateObserver_ = new (std::nothrow) ApplicationStateObserver(); in RegisterApplicationStateObserver()139 if (applicationStateObserver_ == nullptr) { in RegisterApplicationStateObserver()149 …appMgrClient_->RegisterApplicationStateObserver(applicationStateObserver_, hallSwitchPackageNameLi… in RegisterApplicationStateObserver()
127 if (applicationStateObserver_ == nullptr) { in SetCameraFoldStrategy()130 if (applicationStateObserver_->GetForegroundApp().empty()) { in SetCameraFoldStrategy()133 if (applicationStateObserver_->GetForegroundApp().find(CAMERA_NAME) != std::string::npos && in SetCameraFoldStrategy()164 if (applicationStateObserver_ == nullptr) { in SetCameraRotationStatusChange()168 (applicationStateObserver_->GetForegroundApp().find(CAMERA_NAME) != std::string::npos)) { in SetCameraRotationStatusChange()229 applicationStateObserver_ = new (std::nothrow) ApplicationStatePocketObserver(); in RegisterApplicationStateObserver()231 if (applicationStateObserver_ == nullptr) { in RegisterApplicationStateObserver()239 …appMgrClient_->RegisterApplicationStateObserver(applicationStateObserver_, hallSwitchPackageNameLi… in RegisterApplicationStateObserver()
63 sptr<ApplicationStateObserver> applicationStateObserver_; variable
69 sptr<ApplicationStatePocketObserver> applicationStateObserver_; variable