/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestCommon.cpp | 29 uint8_t bytes = GetBytesPerSample(Plugin::AudioSampleFormat::S64); in HWTEST() local 30 ASSERT_EQ(bytes, 8); in HWTEST() 31 bytes = GetBytesPerSample(Plugin::AudioSampleFormat::S64P); in HWTEST() 32 ASSERT_EQ(bytes, 8); in HWTEST() 33 bytes = GetBytesPerSample(Plugin::AudioSampleFormat::U64); in HWTEST() 34 ASSERT_EQ(bytes, 8); in HWTEST() 35 bytes = GetBytesPerSample(Plugin::AudioSampleFormat::U64P); in HWTEST() 36 ASSERT_EQ(bytes, 8); in HWTEST() 37 bytes = GetBytesPerSample(Plugin::AudioSampleFormat::F64); in HWTEST() 38 ASSERT_EQ(bytes, in HWTEST() [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hdr/ |
H A D | jpeg_mpf_parser.cpp | 247 static void WriteMPEntryToBytes(vector<uint8_t>& bytes, uint32_t& offset, std::vector<SingleJpegImage> images)
in WriteMPEntryToBytes() argument 255 ImageUtils::Uint32ToBytes(attributeData, bytes, offset);
in WriteMPEntryToBytes() 256 ImageUtils::Uint32ToBytes(images[i].size, bytes, offset);
in WriteMPEntryToBytes() 257 ImageUtils::Uint32ToBytes(images[i].offset, bytes, offset);
in WriteMPEntryToBytes() 260 ImageUtils::Uint16ToBytes(dependentImage1EntryNumber, bytes, offset);
in WriteMPEntryToBytes() 261 ImageUtils::Uint16ToBytes(dependentImage2EntryNumber, bytes, offset);
in WriteMPEntryToBytes() 265 static void WriteMpIndexIFD(vector<uint8_t>& bytes, uint32_t& offset, uint8_t imageNum)
in WriteMpIndexIFD() argument 269 ImageUtils::Uint16ToBytes(tagCount, bytes, offset);
in WriteMpIndexIFD() 273 ImageUtils::Uint16ToBytes(MPF_VERSION_TAG, bytes, offset);
in WriteMpIndexIFD() 274 ImageUtils::Uint16ToBytes(TAG_TYPE_UNDEFINED, bytes, offse in WriteMpIndexIFD() [all...] |
H A D | hdr_helper.cpp | 909 static void PackVividPreInfo(vector<uint8_t>& bytes, uint32_t& offset, bool base, bool enhanceType)
in PackVividPreInfo() argument 911 bytes[offset++] = 0x26; // itut35 country code
in PackVividPreInfo() 912 bytes[offset++] = 0x00;
in PackVividPreInfo() 913 bytes[offset++] = 0x04; // terminalProvideCode
in PackVividPreInfo() 914 bytes[offset++] = 0x00;
in PackVividPreInfo() 915 bytes[offset++] = 0x07; // terminalProvideOrientedCode
in PackVividPreInfo() 916 bytes[offset++] = 0x02; // extendFrameNumber
in PackVividPreInfo() 917 bytes[offset++] = base ? INDEX_ONE : INDEX_TWO; // fileType
in PackVividPreInfo() 918 bytes[offset++] = base ? INDEX_ZERO : INDEX_ONE; // metaType
in PackVividPreInfo() 919 bytes[offse in PackVividPreInfo() 986 PackExtendInfoMain(vector<uint8_t>& bytes, uint32_t& offset, HDRVividExtendMetadata& metadata) PackExtendInfoMain() argument 1007 PackTransformInfo(vector<uint8_t>& bytes, uint32_t& offset, uint8_t flag, vector<uint8_t> mapping) PackTransformInfo() argument 1024 PackExtendInfoExtention(vector<uint8_t>& bytes, uint32_t& offset, const HDRVividExtendMetadata& metadata) PackExtendInfoExtention() argument 1066 PackExtendMetadata(vector<uint8_t>& bytes, uint32_t& index, HDRVividExtendMetadata& metadata) PackExtendMetadata() argument 1078 PackVividStaticMetadata(vector<uint8_t>& bytes, uint32_t& index, vector<uint8_t>& staticVec) PackVividStaticMetadata() argument 1105 PackVividMetadata(vector<uint8_t>& bytes, uint32_t& index, HdrMetadata& metadata) PackVividMetadata() argument 1151 PackISOExtendInfo(vector<uint8_t>& bytes, uint32_t& offset, ISOMetadata& metadata) PackISOExtendInfo() argument [all...] |
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/ |
H A D | rtcp.cpp | 50 static inline int32_t AlignSize(int32_t bytes) in AlignSize() argument 52 return static_cast<int32_t>(((bytes + 3) >> 2) << 2); // 2:byte offset, 3:byte length in AlignSize() 86 auto bytes = AlignSize(realSize); in Create() local 87 if (bytes == 0 || bytes < 0) { in Create() 90 auto ptr = (RtcpSR *)new char[bytes]; in Create() 94 SetupHeader(ptr, RtcpType::RTCP_SR, itemCount, bytes); in Create() 95 SetupPadding(ptr, bytes - realSize); in Create() 187 auto bytes = AlignSize(realSize); in Create() local 188 if (bytes in Create() 232 auto bytes = AlignSize(realSize); Create() local [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | wifi_randommac_helper_test.cpp | 66 std::vector<uint8_t> bytes = {};
in HWTEST_F() local 67 WifiRandomMacHelper::LongLongToBytes(data, bytes);
in HWTEST_F() 69 EXPECT_EQ(bytes.size(), 8);
in HWTEST_F() 70 long long result = WifiRandomMacHelper::BytesToLonglong(bytes);
in HWTEST_F() 78 std::vector<uint8_t> bytes = {};
in HWTEST_F() local 79 WifiRandomMacHelper::LongLongToBytes(data, bytes);
in HWTEST_F() 81 EXPECT_EQ(bytes.size(), 8);
in HWTEST_F() 82 long long result = WifiRandomMacHelper::LongAddrFromByteAddr(bytes);
in HWTEST_F() 85 addBytes.assign(bytes.begin() + 2, bytes in HWTEST_F() 93 std::vector<uint8_t> bytes = {}; HWTEST_F() local [all...] |
/foundation/communication/netmanager_base/test/netmanagernative/unittest/bandwidth_manager_test/ |
H A D | bandwidth_manager_class_test.cpp | 141 int64_t bytes = 0; in HWTEST_F() local 142 int32_t ret = g_BandwidthManager->SetGlobalAlert(BandwidthManager::OP_SET, bytes); in HWTEST_F() 153 int64_t bytes = 0; in HWTEST_F() local 154 int32_t ret = g_BandwidthManager->SetGlobalAlert(BandwidthManager::Operate::OP_UNSET, bytes); in HWTEST_F() 165 int64_t bytes = 1; in HWTEST_F() local 166 int32_t ret = g_BandwidthManager->SetGlobalAlert(BandwidthManager::Operate::OP_SET, bytes); in HWTEST_F() 177 int64_t bytes = 1; in HWTEST_F() local 178 int32_t ret = g_BandwidthManager->SetGlobalAlert(BandwidthManager::Operate::OP_UNSET, bytes); in HWTEST_F() 190 int64_t bytes = 0; in HWTEST_F() local 191 int32_t ret = g_BandwidthManager->SetCostlyAlert(BandwidthManager::Operate::OP_SET, iface, bytes); in HWTEST_F() 203 int64_t bytes = 0; HWTEST_F() local 218 int64_t bytes = 0; HWTEST_F() local 258 int64_t bytes = 0; HWTEST_F() local 271 int64_t bytes = 0; HWTEST_F() local 284 int64_t bytes = 0; HWTEST_F() local 324 int64_t bytes = 0; HWTEST_F() local 437 int64_t bytes = 0; HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 70 constexpr int32_t NV21_BYTES = 2; // Each pixel is sorted on 3/2 bytes. 182 IMAGE_LOGE("[ImageUtil]get pixel bytes failed, pixelFormat:%{public}d.", in GetPixelBytes() 623 uint16_t ImageUtils::BytesToUint16(uint8_t* bytes, uint32_t& offset, bool isBigEndian) in BytesToUint16() argument 626 if (bytes == nullptr) { in BytesToUint16() 630 data = (bytes[offset] << MOVE_BITS_8) | bytes[offset + NUM_1]; in BytesToUint16() 632 data = (bytes[offset + NUM_1] << MOVE_BITS_8) | bytes[offset]; in BytesToUint16() 639 uint32_t ImageUtils::BytesToUint32(uint8_t* bytes, uint32_t& offset, bool isBigEndian) in BytesToUint32() argument 642 if (bytes in BytesToUint32() 657 BytesToInt32(uint8_t* bytes, uint32_t& offset, bool isBigEndian) BytesToInt32() argument 675 BytesToFloat(uint8_t* bytes, uint32_t& offset, bool isBigEndian) BytesToFloat() argument 686 Uint16ToBytes(uint16_t data, vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian) Uint16ToBytes() argument 699 Uint32ToBytes(uint32_t data, vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian) Uint32ToBytes() argument 718 FloatToBytes(float data, vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian) FloatToBytes() argument 728 Int32ToBytes(int32_t data, vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian) Int32ToBytes() argument 738 ArrayToBytes(const uint8_t* data, uint32_t length, vector<uint8_t>& bytes, uint32_t& offset) ArrayToBytes() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/ |
H A D | protocol_proto.h | 94 static int CheckAndParsePacket(const std::string &srcTarget, const uint8_t *bytes, uint32_t length, 101 static void DisplayPacketInformation(const uint8_t *bytes, uint32_t length); 106 static int CalculateXorSum(const uint8_t *bytes, uint32_t length, uint64_t &outSum); 115 static int ParseCommPhyHeader(const std::string &srcTarget, const uint8_t *bytes, uint32_t length, 117 static int ParseCommPhyHeaderCheckMagicAndVersion(const uint8_t *bytes, uint32_t length); 119 const uint8_t *bytes, uint32_t length); 120 static int ParseCommPhyOptHeader(const uint8_t *bytes, uint32_t length, ParseResult &inResult); 121 static int ParseCommDivergeHeader(const uint8_t *bytes, uint32_t length, ParseResult &inResult); 122 static int ParseCommLayerPayload(const uint8_t *bytes, uint32_t length, ParseResult &inResult); 123 static int ParseLabelExchange(const uint8_t *bytes, uint32_ [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_utils.h | 65 static uint16_t BytesToUint16(uint8_t* bytes, uint32_t& offset, bool isBigEndian = true); 66 static uint32_t BytesToUint32(uint8_t* bytes, uint32_t& offset, bool isBigEndian = true); 67 static int32_t BytesToInt32(uint8_t* bytes, uint32_t& offset, bool isBigEndian = true); 68 static float BytesToFloat(uint8_t* bytes, uint32_t& offset, bool isBigEndian = true); 69 static void Uint16ToBytes(uint16_t data, std::vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian = true); 70 static void Uint32ToBytes(uint32_t data, std::vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian = true); 71 static void FloatToBytes(float data, std::vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian = true); 72 static void Int32ToBytes(int32_t data, std::vector<uint8_t>& bytes, uint32_t& offset, bool isBigEndian = true); 73 static void ArrayToBytes(const uint8_t* data, uint32_t length, std::vector<uint8_t>& bytes, uint32_t& offset);
|
/foundation/communication/nfc/test/unittest/services/public_test/ |
H A D | nfc_public_test.cpp | 90 unsigned char *bytes = new unsigned char[0]; in HWTEST_F() local 91 std::string hexString = NfcSdkCommon::BytesVecToHexString(bytes, 0); in HWTEST_F() 102 unsigned char bytes[4] = {'b', 'c', '0', '1'}; in HWTEST_F() local 103 uint32_t size = sizeof(bytes) / sizeof(bytes[0]); in HWTEST_F() 104 std::string hexString = NfcSdkCommon::BytesVecToHexString(bytes, size); in HWTEST_F() 210 std::vector<unsigned char> bytes; in HWTEST_F() local 211 NfcSdkCommon::HexStringToBytes(src, bytes); in HWTEST_F() 212 ASSERT_TRUE(bytes.empty() == true); in HWTEST_F() 222 std::vector<unsigned char> bytes; in HWTEST_F() local 290 std::vector<unsigned char> bytes; HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/include/utils/ |
H A D | enhancement_thread_manager.h | 31 uint32_t bytes;
member 34 uint32_t bytes, bool isSuccessed)
in CloudEnhancementThreadTask() 35 : taskId(taskId), statusCode(statusCode), addr(addr), bytes(bytes),
in CloudEnhancementThreadTask()
|
/foundation/communication/netstack/interfaces/innerkits/rust/ylong_http_client/src/reqwest_impl/async_impl/uploader/ |
H A D | multipart.rs | 87 /// Get the total bytes of the `multpart/form-data` message, including 98 /// let bytes = multipart.total_bytes(); 140 states.push(MultiPartState::bytes( 143 states.push(MultiPartState::bytes( 148 states.push(MultiPartState::bytes( 154 states.push(MultiPartState::bytes( 159 states.push(MultiPartState::bytes(b"\r\n".to_vec())); 162 states.push(MultiPartState::bytes( 167 states.push(MultiPartState::bytes(b"\r\n".to_vec())); 173 states.push(MultiPartState::bytes( 447 fn bytes(bytes: Vec<u8>) -> Self { bytes() functions [all...] |
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/buffer_manager/ |
H A D | shared_buffer.cpp | 51 int32_t SharedBuffer::CopyFrom(uint8_t* address, int64_t bytes) in CopyFrom() argument 53 DP_CHECK_ERROR_RETURN_RET_LOG(bytes > capacity_, DP_INVALID_PARAM, in CopyFrom() 55 static_cast<long>(bytes), static_cast<long>(capacity_)); in CopyFrom() 57 DP_DEBUG_LOG("capacity: %{public}ld, bytes: %{public}ld", in CopyFrom() 58 static_cast<long>(capacity_), static_cast<long>(bytes)); in CopyFrom() 59 auto ret = ashmem_->WriteToAshmem(address, bytes, 0); in CopyFrom()
|
/foundation/graphic/graphic_3d/lume/LumeFont/src/ |
H A D | font_buffer.cpp | 24 FontBuffer::FontBuffer(FontManager* fontMgr, const uint64_t hash, BASE_NS::array_view<const uint8_t> bytes) in FontBuffer() argument 25 : hash_(hash), bytes_(bytes.data(), bytes.data() + bytes.size()), in FontBuffer()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/ |
H A D | netshare_exec.cpp | 170 int32_t bytes = 0; in ExecGetStatsRxBytes() local 171 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsRxBytes(bytes); in ExecGetStatsRxBytes() 177 context->SetBytes32(bytes); in ExecGetStatsRxBytes() 188 int32_t bytes = 0; in ExecGetStatsTxBytes() local 189 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTxBytes(bytes); in ExecGetStatsTxBytes() 195 context->SetBytes32(bytes); in ExecGetStatsTxBytes() 206 int32_t bytes = 0; in ExecGetStatsTotalBytes() local 207 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTotalBytes(bytes); in ExecGetStatsTotalBytes() 213 context->SetBytes32(bytes); in ExecGetStatsTotalBytes()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | networkshare_manager_test.cpp | 228 int32_t bytes = 0; in HWTEST_F() local 229 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsRxBytes(bytes); in HWTEST_F() 236 int32_t bytes = 0; in HWTEST_F() local 237 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsRxBytes(bytes); in HWTEST_F() 243 int32_t bytes = 0; in HWTEST_F() local 244 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTxBytes(bytes); in HWTEST_F() 251 int32_t bytes = 0; in HWTEST_F() local 252 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTxBytes(bytes); in HWTEST_F() 258 int32_t bytes = 0; in HWTEST_F() local 259 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTotalBytes(bytes); in HWTEST_F() 266 int32_t bytes = 0; HWTEST_F() local [all...] |
H A D | networkshare_service_stub_test.h | 81 int32_t GetStatsRxBytes(int32_t &bytes) override 86 int32_t GetStatsTxBytes(int32_t &bytes) override 91 int32_t GetStatsTotalBytes(int32_t &bytes) override
|
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/ |
H A D | networkshare_service_test.cpp | 225 int32_t bytes; in HWTEST_F() local 226 auto ret = instance_->GetStatsRxBytes(bytes); in HWTEST_F() 233 int32_t bytes; in HWTEST_F() local 234 auto ret = instance_->GetStatsRxBytes(bytes); in HWTEST_F() 240 int32_t bytes; in HWTEST_F() local 241 auto ret = instance_->GetStatsTxBytes(bytes); in HWTEST_F() 248 int32_t bytes; in HWTEST_F() local 249 auto ret = instance_->GetStatsTxBytes(bytes); in HWTEST_F() 255 int32_t bytes; in HWTEST_F() local 256 auto ret = instance_->GetStatsTotalBytes(bytes); in HWTEST_F() 263 int32_t bytes; HWTEST_F() local [all...] |
H A D | networkshare_manager_test.cpp | 226 int32_t bytes = 0; in HWTEST_F() local 227 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsRxBytes(bytes); in HWTEST_F() 234 int32_t bytes = 0; in HWTEST_F() local 235 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsRxBytes(bytes); in HWTEST_F() 241 int32_t bytes = 0; in HWTEST_F() local 242 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTxBytes(bytes); in HWTEST_F() 249 int32_t bytes = 0; in HWTEST_F() local 250 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTxBytes(bytes); in HWTEST_F() 256 int32_t bytes = 0; in HWTEST_F() local 257 int32_t result = DelayedSingleton<NetworkShareClient>::GetInstance()->GetStatsTotalBytes(bytes); in HWTEST_F() 264 int32_t bytes = 0; HWTEST_F() local [all...] |
H A D | networkshare_service_stub_test.h | 81 int32_t GetStatsRxBytes(int32_t &bytes) override
86 int32_t GetStatsTxBytes(int32_t &bytes) override
91 int32_t GetStatsTotalBytes(int32_t &bytes) override
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/ |
H A D | adapter_stub.cpp | 78 int AdapterStub::SendBytes(const std::string &dstTarget, const uint8_t *bytes, uint32_t length, uint32_t totalLength) in SendBytes() argument 116 ApplySendBitError(bytes, length); in SendBytes() 119 toAdapter->DeliverBytes(localTarget_, bytes, length); in SendBytes() 204 void AdapterStub::DeliverBytes(const std::string &srcTarget, const uint8_t *bytes, uint32_t length) in DeliverBytes() argument 210 CheckAndGetDataHeadInfo(bytes, length, headLength, userId); in DeliverBytes() 211 onReceiveHandle_(srcTarget, bytes + headLength, length - headLength, userId); in DeliverBytes() 375 uint64_t CalculateXorSum(const uint8_t *bytes, uint32_t length) in CalculateXorSum() argument 381 auto array = reinterpret_cast<const uint64_t *>(bytes); in CalculateXorSum() 391 void AdapterStub::ApplySendBitError(const uint8_t *bytes, uint32_t length) in ApplySendBitError() argument 397 auto edibleBytes = const_cast<uint8_t *>(bytes); in ApplySendBitError() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_randommac_helper.h | 83 * @param bytes - uint8_t array bytes[in]
86 static unsigned long long BytesToLonglong(const std::vector<uint8_t> &bytes);
91 * @param bytes - uint8_t array bytes[in]
94 static unsigned long long LongAddrFromByteAddr(std::vector<uint8_t> &bytes);
107 * @param bytes - uint8_t array
110 static std::string BytesArrayToString(const std::vector<uint8_t> &bytes);
|
H A D | wifi_randommac_helper.cpp | 185 std::string WifiRandomMacHelper::BytesArrayToString(const std::vector<uint8_t> &bytes)
in BytesArrayToString() argument 187 if (bytes.empty()) {
in BytesArrayToString() 190 size_t size = bytes.size();
in BytesArrayToString() 193 str += std::to_string(bytes[i]);
in BytesArrayToString() 259 std::vector<uint8_t> bytes = {};
in GenerateRandomMacAddressByLong() local 260 WifiRandomMacHelper::LongLongToBytes(random, bytes);
in GenerateRandomMacAddressByLong() 261 if (bytes.size() != LONG_TO_BYTE_SIZE) {
in GenerateRandomMacAddressByLong() 262 WIFI_LOGE("%{public}s LongLongToBytes failed size:%{public}zu", __func__, bytes.size());
in GenerateRandomMacAddressByLong() 266 addrBytes.assign(bytes.begin() + OFFSET_VALUE_2, bytes in GenerateRandomMacAddressByLong() [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/include/manager/ |
H A D | bandwidth_manager.h | 54 * @param bytes Quota value 58 int32_t SetIfaceQuota(const std::string &ifName, int64_t bytes); 64 * @param bytes Quota value 116 int32_t SetGlobalAlert(Operate operate, int64_t bytes); 117 int32_t SetCostlyAlert(Operate operate, const std::string &iface, int64_t bytes); 119 int32_t SetIfaceQuotaDetail(const std::string &ifName, int64_t bytes);
|
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
H A D | bandwidth_manager.cpp | 245 int32_t BandwidthManager::SetGlobalAlert(Operate operate, int64_t bytes) in SetGlobalAlert() argument 247 NETNATIVE_LOG_D("BandwidthManager SetGlobalAlert: operate=%{public}d, bytes=%{public}" PRId64, operate, bytes); in SetGlobalAlert() 252 globalAlertBytes_ = bytes; in SetGlobalAlert() 253 command = "-t filter -A " + chainName + " -m quota2 --quota " + std::to_string(bytes) + " --name globalAlert"; in SetGlobalAlert() 257 if (bytes == globalAlertBytes_) { in SetGlobalAlert() 259 "-t filter -D " + chainName + " -m quota --quota " + std::to_string(bytes) + " --name globalAlert"; in SetGlobalAlert() 264 NETNATIVE_LOGE("not match bytes, cannot remove global alert"); in SetGlobalAlert() 272 int32_t BandwidthManager::SetCostlyAlert(Operate operate, const std::string &iface, int64_t bytes) in SetCostlyAlert() argument 274 NETNATIVE_LOG_D("BandwidthManager SetCostlyAlert: operate=%{public}d, iface=%{public}s, bytes in SetCostlyAlert() 334 SetIfaceQuotaDetail(const std::string &ifName, int64_t bytes) SetIfaceQuotaDetail() argument 393 SetIfaceQuota(const std::string &ifName, int64_t bytes) SetIfaceQuota() argument [all...] |