Searched defs:make_unique (Results 1 - 3 of 3) sorted by relevance

/system/core/adb/sysdeps/
H A Dmemory.h24 // Reimplement std::make_unique ourselves until we do.
29 typename std::enable_if<!std::is_array<T>::value, std::unique_ptr<T>>::type make_unique( function in namespace:std
/system/core/libmemunreachable/
H A DAllocator.h79 unique_ptr<T> make_unique(Args&&... args) { function in class:android::Heap
178 unique_ptr make_unique(Args&&... args) { function in class:Allocator
179 return heap_.template make_unique<T>(std::forward<Args>(args)...);
/system/keymaster/tests/
H A Dandroid_keymaster_test.cpp57 // For some reason std::make_unique isn't available. Define make_unique.
58 template <typename T, typename... Args> std::unique_ptr<T> make_unique(Args&&... args) { function in namespace:__anon1963
4290 keymasters.push_back(make_unique<AndroidKeymaster>(new TestKeymasterContext, 16));

Completed in 1012 milliseconds