Home
last modified time | relevance | path

Searched refs:ScopedAResource (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_auto_utils.h118 class ScopedAResource {
123 explicit ScopedAResource(T t = DEFAULT) : mT(t) {} in mT()
128 ~ScopedAResource() { set(DEFAULT); } in ~ScopedAResource()
163 ScopedAResource(const ScopedAResource&) = delete;
164 ScopedAResource& operator=(const ScopedAResource&) = delete;
165 ScopedAResource& operator=(ScopedAResource&&) = delete;
168 ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } in ScopedAResource() function
179 class ScopedAParcel : public impl::ScopedAResource<AParcel*, void, AParcel_delete, nullptr> {
184 explicit ScopedAParcel(AParcel* a = nullptr) : ScopedAResource(a) {} in ScopedAResource() function
192 class ScopedAStatus : public impl::ScopedAResource<AStatus*, void, AStatus_delete, nullptr> {
[all …]