Searched refs:mem_name (Results 1 – 2 of 2) sorted by relevance
197 def InitHidlMemory(self, mem_size=0, client=None, mem_name=None): argument215 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
270 string mem_name = arg_name + "_mem"; in GenerateProfilerForHidlMemoryVariable() local272 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()