Searched refs:UsbFunctionSwitchWindow (Results 1 – 3 of 3) sorted by relevance
43 std::shared_ptr<UsbFunctionSwitchWindow> UsbFunctionSwitchWindow::instance_;44 std::mutex UsbFunctionSwitchWindow::insMutex_;46 std::shared_ptr<UsbFunctionSwitchWindow> UsbFunctionSwitchWindow::GetInstance() in GetInstance()51 instance_.reset(new UsbFunctionSwitchWindow()); in GetInstance()56 UsbFunctionSwitchWindow::UsbFunctionSwitchWindow() {} in UsbFunctionSwitchWindow() function in OHOS::USB::UsbFunctionSwitchWindow58 UsbFunctionSwitchWindow::~UsbFunctionSwitchWindow() in ~UsbFunctionSwitchWindow()65 int32_t UsbFunctionSwitchWindow::Init() in Init()91 bool UsbFunctionSwitchWindow::PopUpFunctionSwitchWindow() in PopUpFunctionSwitchWindow()115 bool UsbFunctionSwitchWindow::DismissFunctionSwitchWindow() in DismissFunctionSwitchWindow()202 bool UsbFunctionSwitchWindow::ShowFunctionSwitchWindow() in ShowFunctionSwitchWindow()[all …]
70 std::shared_ptr<UsbFunctionSwitchWindow> window_ = UsbFunctionSwitchWindow::GetInstance(); in Init()269 std::shared_ptr<UsbFunctionSwitchWindow> window_ = UsbFunctionSwitchWindow::GetInstance(); in ProcessFunctionSwitchWindow()
44 class UsbFunctionSwitchWindow {46 static std::shared_ptr<UsbFunctionSwitchWindow> GetInstance();47 ~UsbFunctionSwitchWindow();54 UsbFunctionSwitchWindow();55 DISALLOW_COPY_AND_MOVE(UsbFunctionSwitchWindow);68 static std::shared_ptr<UsbFunctionSwitchWindow> instance_;