Lines Matching refs:NN_ERROR
72 return NN_ERROR() << "Failed to create native_handle"; in hidlHandleFromUniqueFd()
94 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) in allocateSharedMemory()
98 return NN_ERROR() << "IAllocator::allocate returned an invalid memory object with " in allocateSharedMemory()
102 return NN_ERROR() << "IAllocator::allocate returned an invalid memory object with " in allocateSharedMemory()
122 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to map memory"; in map()
127 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to get the mapped pointer"; in map()
132 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to get the mapped size"; in map()
152 return NN_ERROR() << "ASharedMemory_create failed"; in allocateSharedMemory()
164 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << "Cannot map ashmem memory"; in map()
196 return NN_ERROR() << "Can't mmap the file descriptor."; in map()
217 return NN_ERROR() << "Unable to map non-blob AHardwareBuffer memory"; in map()
227 return NN_ERROR() << "Can't lock the AHardwareBuffer. Error: " << status; in map()
239 return NN_ERROR(ErrorStatus::INVALID_ARGUMENT) << "Cannot map Unknown memory"; in map()
254 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "dupFd was passed an invalid fd"; in dupFd()
259 return NN_ERROR(ErrorStatus::GENERAL_FAILURE) << "Failed to dup the fd"; in dupFd()
301 return NN_ERROR() << "Unable to map nullptr SharedMemory object"; in map()