Searched refs:BluetoothSwitchEvent (Results 1 – 3 of 3) sorted by relevance
64 case BluetoothSwitchEvent::BLUETOOTH_ON: in ProcessBluetoothSwitchEvent()66 case BluetoothSwitchEvent::BLUETOOTH_OFF: in ProcessBluetoothSwitchEvent()68 case BluetoothSwitchEvent::BLUETOOTH_HALF: in ProcessBluetoothSwitchEvent()122 BluetoothSwitchEvent::ENABLE_BLUETOOTH); in ProcessEnableBluetoothEvent()129 BluetoothSwitchEvent::DISABLE_BLUETOOTH); in ProcessDisableBluetoothEvent()142 BluetoothSwitchEvent::ENABLE_BLUETOOTH, in ProcessBluetoothOnEvent()149 BluetoothSwitchEvent::DISABLE_BLUETOOTH, in ProcessBluetoothOffEvent()150 …{BluetoothSwitchEvent::ENABLE_BLUETOOTH, BluetoothSwitchEvent::ENABLE_BLUETOOTH_TO_RESTRICE_MODE}); in ProcessBluetoothOffEvent()157 {BluetoothSwitchEvent::ENABLE_BLUETOOTH, BluetoothSwitchEvent::DISABLE_BLUETOOTH}); in ProcessBluetoothHalfEvent()161 BluetoothSwitchEvent curSwitchActionEvent, std::vector<BluetoothSwitchEvent> expectedEventVec) in ProcessBluetoothSwitchActionEnd()[all …]
38 enum class BluetoothSwitchEvent : int { enum54 int ProcessBluetoothSwitchEvent(BluetoothSwitchEvent event);63 …int ProcessBluetoothSwitchAction(std::function<int(void)> action, BluetoothSwitchEvent cachedEvent…64 int ProcessBluetoothSwitchCachedEvent(BluetoothSwitchEvent event);66 … BluetoothSwitchEvent curSwitchActionEvent, std::vector<BluetoothSwitchEvent> expectedEventVec);67 void DeduplicateCacheEvent(BluetoothSwitchEvent curEvent);68 void LogCacheEventIgnored(std::vector<BluetoothSwitchEvent> eventVec);69 void LogBluetoothSwitchEvent(BluetoothSwitchEvent event);79 std::vector<BluetoothSwitchEvent> cachedEventVec_ {};
136 host_.switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::BLUETOOTH_ON); in OnBluetoothStateChanged()139 host_.switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::BLUETOOTH_OFF); in OnBluetoothStateChanged()142 host_.switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::BLUETOOTH_HALF); in OnBluetoothStateChanged()637 … return pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::DISABLE_BLUETOOTH); in DisableBt()663 …int ret = pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::DISABLE_BLUETOO… in RestrictBluetooth()667 …ret = pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::ENABLE_BLUETOOTH_TO_… in RestrictBluetooth()788 … return pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::ENABLE_BLUETOOTH); in EnableBle()805 …return pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::ENABLE_BLUETOOTH_TO… in EnableBluetoothToRestrictMode()1246 pimpl->switchModule_->ProcessBluetoothSwitchEvent(BluetoothSwitchEvent::BLUETOOTH_OFF); in OnRemoveBluetoothSystemAbility()