Home
last modified time | relevance | path

Searched refs:currentMode (Results 1 – 8 of 8) sorted by relevance

/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/btm/
Dbtm_pm.c53 uint8_t currentMode; member
80 static BtmConnectionMode *BtmAllocConnectionMode(uint16_t connectionHandle, uint8_t currentMode) in BtmAllocConnectionMode() argument
85 connectionMode->currentMode = currentMode; in BtmAllocConnectionMode()
166 uint8_t currentMode = BTM_PM_ACTIVE_MODE; in BtmGetConnectionModeByConnectionHandle() local
172 currentMode = connectionMode->currentMode; in BtmGetConnectionModeByConnectionHandle()
177 return currentMode; in BtmGetConnectionModeByConnectionHandle()
196 uint8_t currentMode = BtmGetConnectionModeByConnectionHandle(connectionHandle); in BTM_EnterSniffMode() local
197 if (currentMode != BTM_PM_ACTIVE_MODE) { in BTM_EnterSniffMode()
228 uint8_t currentMode = BtmGetConnectionModeByConnectionHandle(connectionHandle); in BTM_ExitSniffMode() local
229 if (currentMode != BTM_PM_SNIFF_MODE) { in BTM_ExitSniffMode()
[all …]
/foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_rdb/test/unittest/
Drdb_store_config_test.cpp218 std::string currentMode; variable
219 int ret = store->ExecuteAndGetString(currentMode, "PRAGMA journal_mode");
221 EXPECT_EQ(currentMode, "wal");
243 std::string currentMode; variable
244 int ret = store->ExecuteAndGetString(currentMode, "PRAGMA journal_mode");
246 EXPECT_EQ(currentMode, "delete");
268 std::string currentMode; variable
269 int ret = store->ExecuteAndGetString(currentMode, "PRAGMA journal_mode");
271 EXPECT_EQ(currentMode, "truncate");
293 std::string currentMode; variable
[all …]
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/common/
Dpower_manager.cpp85 …void ModeChangeCallBackProcess(uint8_t status, const RawAddress rawAddr, uint8_t currentMode, uint…
87 … uint8_t status, const BtAddr *btAddr, uint8_t currentMode, uint16_t interval, void *context);
194 uint8_t status, const RawAddress rawAddr, uint8_t currentMode, uint16_t interval) in ModeChangeCallBackProcess() argument
199 currentMode, in ModeChangeCallBackProcess()
212 powerDevices_[rawAddr]->ModeChangeCallBack(status, currentMode, interval); in ModeChangeCallBackProcess()
216 uint8_t status, const BtAddr *btAddr, uint8_t currentMode, uint16_t interval, void *context) in ModeChangeCallBack() argument
224 currentMode, in ModeChangeCallBack()
Dpower_device.cpp137 void PowerDevice::ModeChangeCallBack(uint8_t status, uint8_t currentMode, uint16_t interval) in ModeChangeCallBack() argument
140 …}d, currentMode: %{public}d, interval: %{public}d\n", __FUNCTION__, status, currentMode, interval); in ModeChangeCallBack()
142 if (currentMode == BTM_PM_ACTIVE_MODE) { // current Mode Active in ModeChangeCallBack()
147 } else if (currentMode == BTM_PM_SNIFF_MODE) { // current Mode Sniff in ModeChangeCallBack()
Dpower_device.h100 void ModeChangeCallBack(uint8_t status, uint8_t currentMode, uint16_t interval);
/foundation/distributeddatamgr/appdatamgr/frameworks/innerkitsimpl/native_rdb/src/
Dsqlite_connection.cpp225 std::string currentMode; in SetJournalMode() local
226 int errCode = ExecuteGetString(currentMode, "PRAGMA journal_mode"); in SetJournalMode()
232 currentMode = SqliteUtils::StrToUpper(currentMode); in SetJournalMode()
233 if (currentMode != journalMode) { in SetJournalMode()
/foundation/communication/bluetooth/services/bluetooth_standard/stack/src/hci/
Dhci_def_evt.h238 uint8_t currentMode; member
/foundation/communication/bluetooth/services/bluetooth_standard/stack/include/
Dbtm.h662 …void (*modeChange)(uint8_t status, const BtAddr *addr, uint8_t currentMode, uint16_t interval, voi…