Useful when dealing with raw pointers in unavoidable places. Avoids an awkward (and "slow") dance of mySp->incStrong(0); mySp->get(); ~mySp; Test: make && atest --host libutils_binder_test Change-Id: Ib8d46150592725cc256779bccfed19a16dce78b2 |
||
|---|---|---|
| .. | ||
| include/utils | ||
| Android.bp | ||
| Errors.cpp | ||
| Errors_test.cpp | ||
| FuzzFormatTypes.h | ||
| RefBase.cpp | ||
| RefBase_fuzz.cpp | ||
| RefBase_test.cpp | ||
| SharedBuffer.cpp | ||
| SharedBuffer.h | ||
| SharedBuffer_test.cpp | ||
| String8.cpp | ||
| String8_fuzz.cpp | ||
| String8_test.cpp | ||
| String16.cpp | ||
| String16_fuzz.cpp | ||
| String16_test.cpp | ||
| StrongPointer.cpp | ||
| StrongPointer_test.cpp | ||
| Unicode.cpp | ||
| Unicode_test.cpp | ||
| Vector_benchmark.cpp | ||
| Vector_fuzz.cpp | ||
| Vector_test.cpp | ||
| VectorImpl.cpp | ||