Home
last modified time | relevance | path

Searched refs:MAX_SIZE (Results 1 - 20 of 20) sorted by relevance

/base/update/sys_installer/services/module_update/service/src/
H A Dmodule_update_queue.cpp21 constexpr int MAX_SIZE = 100; member
26 queue_.resize(MAX_SIZE); in ModuleUpdateQueue()
48 tail_ = (tail_ + 1) % MAX_SIZE; in Put()
64 head_ = (head_ + 1) % MAX_SIZE; in Pop()
79 return size_ == MAX_SIZE; in IsFull()
/base/powermgr/power_manager/frameworks/napi/utils/
H A Dnapi_utils.cpp22 constexpr uint32_t MAX_SIZE = 255; member
36 char str[MAX_SIZE] = {0}; in GetStringFromNapi()
38 if (napi_ok != napi_get_value_string_utf8(env, napiStr, str, MAX_SIZE - 1, &strLen)) { in GetStringFromNapi()
/base/powermgr/battery_manager/frameworks/napi/src/
H A Dnapi_utils.cpp22 constexpr uint32_t MAX_SIZE = 255; member
36 char str[MAX_SIZE] = {0}; in GetStringFromNapi()
38 if (napi_ok != napi_get_value_string_utf8(env, napiStr, str, MAX_SIZE - 1, &strLen)) { in GetStringFromNapi()
/base/telephony/cellular_call/services/manager/src/
H A Dcellular_call_stub.cpp28 const int32_t MAX_SIZE = 10; member
221 size = ((size > MAX_SIZE) ? 0 : size); in OnDialInner()
240 size = ((size > MAX_SIZE) ? 0 : size); in OnHangUpInner()
260 size = ((size > MAX_SIZE) ? 0 : size); in OnRejectInner()
279 size = ((size > MAX_SIZE) ? 0 : size); in OnAnswerInner()
298 size = ((size > MAX_SIZE) ? 0 : size); in OnIsEmergencyPhoneNumberInner()
325 size = ((size > MAX_SIZE) ? 0 : size); in OnSetEmergencyCallList()
358 size = ((size > MAX_SIZE) ? 0 : size); in OnRegisterCallBackInner()
381 size = ((size > MAX_SIZE) ? 0 : size); in OnUnRegisterCallBackInner()
396 size = ((size > MAX_SIZE) in OnHoldCallInner()
[all...]
/base/telephony/core_service/frameworks/native/src/
H A Dget_downloadable_profiles_result_parcel.cpp22 constexpr uint32_t MAX_SIZE = 1000; member
36 if (size > MAX_SIZE) { in ReadFromParcel()
53 if (count > MAX_SIZE) { in ReadFromParcel()
H A Ddownloadable_profile_parcel.cpp22 constexpr uint32_t MAX_SIZE = 1000; member
35 if (size > MAX_SIZE) { in ReadFromParcel()
H A Dprofile_info_list_parcel.cpp22 constexpr uint32_t MAX_SIZE = 1000; member
44 if (count > MAX_SIZE) { in ReadProfileFromParcel()
70 if (size > MAX_SIZE) { in ReadFromParcel()
H A Dprofile_metadata_result_parcel.cpp22 constexpr uint32_t MAX_SIZE = 1000; member
35 if (size > MAX_SIZE) { in ReadFromParcel()
H A Dcore_service_proxy.cpp28 constexpr int32_t MAX_SIZE = 1000; member
344 if (size >= MAX_SIZE) { in ProcessSignalInfo()
2260 if (size >= MAX_SIZE) { in QueryIccDiallingNumbers()
2729 if (size >= MAX_SIZE) { in ProcessCellInfo()
/base/location/frameworks/location_common/common/source/
H A Dlocation_data_rdb_manager.cpp25 const int MAX_SIZE = 100; member
163 char result[MAX_SIZE] = {0}; in GetSwitchStateFromSysparaForUser()
166 auto res = GetParameter(LOCATION_SWITCH_MODE, "", result, MAX_SIZE); in GetSwitchStateFromSysparaForUser()
192 char result[MAX_SIZE] = {0}; in SetSwitchStateToSysparaForUser()
195 auto res = GetParameter(LOCATION_SWITCH_MODE, "", result, MAX_SIZE); in SetSwitchStateToSysparaForUser()
219 char valueArray[MAX_SIZE] = {0}; in SetSwitchStateToSysparaForUser()
/base/telephony/call_manager/frameworks/native/src/
H A Dcellular_call_proxy.cpp22 constexpr int32_t MAX_SIZE = 10; member
32 if (!in.WriteInt32(MAX_SIZE)) { in Dial()
58 if (!in.WriteInt32(MAX_SIZE)) { in HangUp()
87 if (!in.WriteInt32(MAX_SIZE)) { in Reject()
113 if (!in.WriteInt32(MAX_SIZE)) { in Answer()
139 if (!in.WriteInt32(MAX_SIZE)) { in HoldCall()
165 if (!in.WriteInt32(MAX_SIZE)) { in UnHoldCall()
192 if (!in.WriteInt32(MAX_SIZE)) { in SwitchCall()
222 if (!in.WriteInt32(MAX_SIZE)) { in RegisterCallManagerCallBack()
249 if (!in.WriteInt32(MAX_SIZE)) { in UnRegisterCallManagerCallBack()
[all...]
H A Dbluetooth_call_proxy.cpp26 static const int32_t MAX_SIZE = 10000; member
120 if (vecCnt <= 0 || vecCnt >= MAX_SIZE) { in GetCurrentCallList()
/base/telephony/cellular_call/test/fuzztest/setimsfeaturevalue_fuzzer/
H A Dsetimsfeaturevalue_fuzzer.cpp36 constexpr int32_t MAX_SIZE = 10; member
161 dataMessageParcel.WriteInt32(MAX_SIZE); in GetImsConfig()
180 dataMessageParcel.WriteInt32(MAX_SIZE); in SetImsConfig()
198 dataMessageParcel.WriteInt32(MAX_SIZE); in GetImsFeatureValue()
217 dataMessageParcel.WriteInt32(MAX_SIZE); in SetImsFeatureValue()
/base/telephony/core_service/services/network_search/src/
H A Dnetwork_register.cpp41 constexpr int32_t MAX_SIZE = 100; member
199 if (size >= MAX_SIZE) { in ProcessChannelConfigInfo()
254 if (size >= MAX_SIZE) { in NotifyNrFrequencyChanged()
/base/location/services/location_locator/locator/source/
H A Dlocation_config_manager.cpp31 const int MAX_SIZE = 100; member
278 char valueArray[MAX_SIZE] = {0}; in SetCachePrivacyType()
H A Dlocator_ability.cpp110 const int MAX_SIZE = 100; member
334 char valueArray[MAX_SIZE] = {0}; in SetLocationhubStateToSyspara()
/base/sensors/sensor/vibration_convert/core/utils/src/
H A Dutils.cpp39 constexpr size_t MAX_SIZE = 26460000; member
79 if ((rows == 0) || (valuesSize == 0) || (valuesSize > MAX_SIZE)) { in TransposeMatrix()
/base/telephony/cellular_call/services/satellite_service_interaction/src/
H A Dsatellite_call_callback_stub.cpp30 const int32_t MAX_SIZE = 10; member
150 if (len < 0 || len > MAX_SIZE) { in OnGetSatelliteCallsDataResponseInner()
/base/customization/enterprise_device_management/interfaces/inner_api/network_manager/src/
H A Dnetwork_manager_proxy.cpp29 constexpr int32_t MAX_SIZE = 16; member
69 if (size > MAX_SIZE) { in GetAllNetworkInterfaces()
/base/telephony/cellular_call/services/ims_service_interaction/src/
H A Dims_call_callback_stub.cpp30 const int32_t MAX_SIZE = 10; member
336 if (len < 0 || len > MAX_SIZE) { in OnGetImsCallsDataResponseInner()
478 if (len < 0 || len > MAX_SIZE) { in OnGetCallTransferResponseInner()

Completed in 24 milliseconds