/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_misc_manager.h | 42 fromMsgId = fromId; 45 uint32_t fromMsgId = 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_ [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 | 163 * @param fromMsgId [in] 168 int32_t SetCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) override;
|
/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() 92 if (fromMsgId == UINT32_MAX || fromMsgId < 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 | 359 uint32_t fromMsgId = 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/test/gtest/ |
H A D | cb_gtest.cpp | 95 uint32_t fromMsgId = 0; in OpenCellBroadcastTestFuc() local 99 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc() 131 uint32_t fromMsgId = 20; in OpenCellBroadcastTestFuc2() local 135 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc2() 144 uint32_t fromMsgId = 0; in OpenCellBroadcastTestFuc3() local 148 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc3() 180 uint32_t fromMsgId = 0; in OpenCellBroadcastTestFuc4() local 184 helper.slotId, enable, fromMsgId, toMsgId, netType); in OpenCellBroadcastTestFuc4() 216 uint32_t fromMsgId = 0; in OpenCellBroadcastTestFuc5() local 220 helper.slotId, enable, fromMsgId, toMsgI in OpenCellBroadcastTestFuc5() 251 uint32_t fromMsgId = 0; OpenCellBroadcastTestFuc6() local 431 uint32_t fromMsgId = 0; CloseCellBroadcastTestFuc() local 467 uint32_t fromMsgId = 20; CloseCellBroadcastTestFuc2() local 503 uint32_t fromMsgId = 0; CloseCellBroadcastTestFuc3() local 539 uint32_t fromMsgId = 0; CloseCellBroadcastTestFuc4() local 575 uint32_t fromMsgId = 0; CloseCellBroadcastTestFuc5() local 610 uint32_t fromMsgId = 0; CloseCellBroadcastTestFuc6() local [all...] |
H A D | zero_branch_cb_test.cpp | 1040 uint32_t fromMsgId = 2; in HWTEST_F() local 1044 bool ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1049 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1054 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1058 fromMsgId = 1; in HWTEST_F() 1060 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1065 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1069 fromMsgId = 3; in HWTEST_F() 1071 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgId); in HWTEST_F() 1076 ret = smsMiscManager->CloseCBRange(fromMsgId, toMsgI in HWTEST_F() [all...] |
H A D | zero_branch_sms_test.cpp | 2336 uint32_t fromMsgId = 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 | 64 uint32_t fromMsgId = static_cast<uint32_t>(size / CB_CHANNEL_DIVISOR); in SetCBConfigFuzz() local 70 dataParcel.WriteUint32(fromMsgId); in SetCBConfigFuzz() 84 interfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz() 91 smsMiscManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in SetCBConfigFuzz()
|
/base/telephony/sms_mms/test/fuzztest/unittesttwo_fuzzer/ |
H A D | unittesttwo_fuzzer.cpp | 361 uint32_t fromMsgId = static_cast<uint32_t>(GetNumRandom(0, 10)); in TestGetAndSet() local 364 m_pSmsInterfaceManager->SetCBConfig(enable, fromMsgId, toMsgId, netType); in TestGetAndSet() 365 m_pSmsInterfaceManager->SetImsSmsConfig(g_slotId, fromMsgId); in TestGetAndSet() 440 uint32_t fromMsgId = static_cast<uint32_t>(GetNumRandom(0, 10)); in TestSplit() local 447 m_pSmsMiscManager->SplitMsgId(fromMsgId, toMsgId, listInfo.begin()); in TestSplit()
|
/base/telephony/sms_mms/interfaces/innerkits/ |
H A D | i_sms_service_interface.h | 245 * @param fromMsgId [in], indicates the start 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 | 144 * @param fromMsgId [in] 150 int32_t SetCBConfig(int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) override;
|
/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() 331 dataParcel.WriteUint32(fromMsgId); in SetCBConfig() 318 SetCBConfig( int32_t slotId, bool enable, uint32_t fromMsgId, uint32_t toMsgId, uint8_t netType) SetCBConfig() argument
|