/base/telephony/sms_mms/services/sms/ |
H A D | sms_misc_manager.cpp | 36 int32_t SmsMiscManager::SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() argument 39 if ((toMsgId > RANG_MAX) || (fromMsgId > toMsgId) || (netType != GSM_TYPE)) { in SetCBConfig() 55 ret = OpenCBRange(fromMsgId, toMsgId); in SetCBConfig() 57 ret = CloseCBRange(fromMsgId, toMsgId); in SetCBConfig() 80 bool SmsMiscManager::OpenCBRange(uint32_t fromMsgId, uint32_t toMsgId) in OpenCBRange() argument 82 infoData data(fromMsgId, toMsgId); in OpenCBRange() 83 rangeList_.emplace_back(fromMsgId, toMsgId); in OpenCBRange() 89 uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter) in SplitMsgId() 96 rangeList_.emplace_back(toMsgId in SplitMsgId() 88 SplitMsgId( uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter) SplitMsgId() argument 101 CloseCBRange(uint32_t fromMsgId, uint32_t toMsgId) CloseCBRange() argument [all...] |
H A D | sms_interface_manager.cpp | 166 int32_t SmsInterfaceManager::SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() argument 172 return smsMiscManager_->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfig()
|
H A D | sms_interface_stub.cpp | 360 uint32_t toMsgId = data.ReadUint32(); in OnSetCBConfig() local 362 int32_t result = SetCBConfig(slotId, enable, fromMsgId, toMsgId, ranType); in OnSetCBConfig()
|
H A D | sms_service.cpp | 558 int32_t SmsService::SetCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() argument 574 return interfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfig()
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_misc_manager.h | 43 toMsgId = toId; 46 uint32_t toMsgId = 0; member 49 return fromMsgId < other.fromMsgId || (fromMsgId == other.fromMsgId && toMsgId < other.toMsgId); in operator <() 53 return fromMsgId == other.fromMsgId && toMsgId == other.toMsgId; in operator ==() 58 int32_t SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType); 75 info(uint32_t fromMsgId, uint32_t toMsgId) 78 endPos = toMsgId; 86 bool OpenCBRange(uint32_t fromMsgId, uint32_t toMsgId); [all...] |
H A D | sms_interface_manager.h | 53 int32_t SetCBConfig(bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType);
|
H A D | sms_service.h | 164 * @param toMsgId [in] 168 int32_t SetCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) override;
|
/base/telephony/sms_mms/test/gtest/ |
H A D | cb_gtest.cpp | 96 uint32_t toMsgId = 10; in OpenCellBroadcastTestFuc() local 99 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc() 132 uint32_t toMsgId = 10; in OpenCellBroadcastTestFuc2() local 135 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc2() 145 uint32_t toMsgId = 10; in OpenCellBroadcastTestFuc3() local 148 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc3() 181 uint32_t toMsgId = 10; in OpenCellBroadcastTestFuc4() local 184 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc4() 217 uint32_t toMsgId = 1000; in OpenCellBroadcastTestFuc5() local 220 helper.slotId, enable, fromMsgId, toMsgId, netTyp in OpenCellBroadcastTestFuc5() 252 uint32_t toMsgId = 0; OpenCellBroadcastTestFuc6() local 432 uint32_t toMsgId = 10; CloseCellBroadcastTestFuc() local 468 uint32_t toMsgId = 10; CloseCellBroadcastTestFuc2() local 504 uint32_t toMsgId = 10; CloseCellBroadcastTestFuc3() local 540 uint32_t toMsgId = 10; CloseCellBroadcastTestFuc4() local 576 uint32_t toMsgId = 1000; CloseCellBroadcastTestFuc5() local 611 uint32_t toMsgId = 0; CloseCellBroadcastTestFuc6() local [all...] |
H A D | zero_branch_cb_test.cpp | 1041 uint32_t toMsgId = 2; in HWTEST_F() local 1044 bool ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1048 toMsgId = 3; in HWTEST_F() 1049 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1053 toMsgId = 1; in HWTEST_F() 1054 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1059 toMsgId = 2; in HWTEST_F() 1060 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1064 toMsgId = 3; in HWTEST_F() 1065 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() [all...] |
H A D | zero_branch_sms_test.cpp | 2337 uint32_t toMsgId = 1; in HWTEST_F() local 2339 smsService->SetCBConfig(slotId, true, fromMsgId, toMsgId, netType); in HWTEST_F()
|
/base/telephony/sms_mms/test/fuzztest/setgetcbconfig_fuzzer/ |
H A D | setgetcbconfig_fuzzer.cpp | 65 uint32_t toMsgId = static_cast<uint32_t>(size); in SetCBConfigFuzz() local 71 dataParcel.WriteUint32(toMsgId); in SetCBConfigFuzz() 84 interfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz() 91 smsMiscManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz()
|
/base/telephony/sms_mms/interfaces/innerkits/ |
H A D | i_sms_service_interface.h | 246 * @param toMsgId [in], indicates the end message ID. 250 virtual int32_t SetCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) = 0;
|
H A D | sms_service_proxy.h | 145 * @param toMsgId [in] 150 int32_t SetCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) override;
|
/base/telephony/sms_mms/test/fuzztest/unittesttwo_fuzzer/ |
H A D | unittesttwo_fuzzer.cpp | 362 uint32_t toMsgId = static_cast<uint32_t>(GetNumRandom(0, 10)); in TestGetAndSet() local 364 m_pSmsInterfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in TestGetAndSet() 441 uint32_t toMsgId = static_cast<uint32_t>(GetNumRandom(0, 10)); in TestSplit() local 447 m_pSmsMiscManager->SplitMsgId(fromMsgId, toMsgId, listInfo.begin()); in TestSplit()
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
H A D | sms_service_proxy.cpp | 319 int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) in SetCBConfig() 332 dataParcel.WriteUint32(toMsgId); in SetCBConfig() 318 SetCBConfig( int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) SetCBConfig() argument
|