Searched refs:ashSize (Results 1 – 2 of 2) sorted by relevance
31 sptr<Ashmem> AshMemoryUtils::GetAshmem(const std::string& ashName, const uint32_t ashSize) in GetAshmem() argument33 if (ashSize <= 0) { in GetAshmem()37 auto ashmem = Ashmem::CreateAshmem(ashName.c_str(), ashSize); in GetAshmem()
27 static bool WriteBulkData(const std::vector<T>& src, sptr<Ashmem> ashmem, size_t ashSize, in WriteBulkData() argument37 if (offset + dataSize > ashSize) { in WriteBulkData()68 static sptr<Ashmem> GetAshmem(const std::string& ashName, const uint32_t ashSize);