Home
last modified time | relevance | path

Searched refs:maxAllowedSize (Results 1 - 3 of 3) sorted by relevance

/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant_params.cpp1142 static constexpr int32_t maxAllowedSize = 1024; in ReadFromParcelArrayWantParams() local
1143 if (size < 0 || size > maxAllowedSize) { in ReadFromParcelArrayWantParams()
1418 static constexpr int32_t maxAllowedSize = 100 * 1024 * 1024; in ReadUnsupportedData() local
1419 if (bufferSize < 0 || bufferSize > maxAllowedSize) { in ReadUnsupportedData()
/foundation/multimedia/player_framework/frameworks/native/avmetadatahelper/
H A Davmetadatahelper_impl.cpp137 static constexpr int64_t maxAllowedSize = 100 * 1024 * 1024; in CreatePixelMapData() local
139 CHECK_AND_RETURN_RET_LOG(memSize <= maxAllowedSize, nullptr, "alloc heap size too large"); in CreatePixelMapData()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want_params.cpp1311 static constexpr int32_t maxAllowedSize = 100 * 1024 * 1024; in ReadUnsupportedData() local
1312 if (bufferSize < 0 || bufferSize > maxAllowedSize) { in ReadUnsupportedData()

Completed in 9 milliseconds