Loading libs/binder/include/binder/MemoryHeapBase.h +0 −8 Original line number Diff line number Diff line Loading @@ -71,14 +71,6 @@ public: /* this closes this heap -- use carefully */ void dispose(); /* this is only needed as a workaround, use only if you know * what you are doing */ status_t setDevice(const char* device) { if (mDevice == nullptr) mDevice = device; return mDevice ? NO_ERROR : ALREADY_EXISTS; } protected: MemoryHeapBase(); // init() takes ownership of fd Loading Loading
libs/binder/include/binder/MemoryHeapBase.h +0 −8 Original line number Diff line number Diff line Loading @@ -71,14 +71,6 @@ public: /* this closes this heap -- use carefully */ void dispose(); /* this is only needed as a workaround, use only if you know * what you are doing */ status_t setDevice(const char* device) { if (mDevice == nullptr) mDevice = device; return mDevice ? NO_ERROR : ALREADY_EXISTS; } protected: MemoryHeapBase(); // init() takes ownership of fd Loading