Home
last modified time | relevance | path

Searched refs:mem_name (Results 1 – 2 of 2) sorted by relevance

/test/vts/utils/python/mirror/
Dmirror_tracker.py197 def InitHidlMemory(self, mem_size=0, client=None, mem_name=None): argument
215 if mem_name is not None and mem_name in self._registered_mirrors:
235 if mem_name is None:
236 mem_name = "mem_id_" + str(mirror._mem_id)
237 self._registered_mirrors[mem_name] = mirror
/test/vts/compilation_tools/vtsc/code_gen/profiler/
DHalHidlProfilerCodeGen.cpp270 string mem_name = arg_name + "_mem"; in GenerateProfilerForHidlMemoryVariable() local
272 out << "sp<android::hidl::memory::V1_0::IMemory> " << mem_name in GenerateProfilerForHidlMemoryVariable()
274 out << "if (" << mem_name << " == nullptr) {\n"; in GenerateProfilerForHidlMemoryVariable()
280 out << mem_name << "->read();\n"; in GenerateProfilerForHidlMemoryVariable()
282 << " = static_cast<char*>(static_cast<void*>(" << mem_name in GenerateProfilerForHidlMemoryVariable()
286 out << mem_name << "->commit();\n"; in GenerateProfilerForHidlMemoryVariable()