Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/ndk/
Dpersistable_bundle.cpp28 APersistableBundle(const APersistableBundle& pBundle) : mPBundle(pBundle.mPBundle) {} in APersistableBundle()
29 APersistableBundle(const android::os::PersistableBundle& pBundle) : mPBundle(pBundle) {} in APersistableBundle()
38 APersistableBundle* _Nullable APersistableBundle_dup(const APersistableBundle* pBundle) { in APersistableBundle_dup() argument
39 if (pBundle) { in APersistableBundle_dup()
40 return new APersistableBundle(*pBundle); in APersistableBundle_dup()
46 void APersistableBundle_delete(APersistableBundle* pBundle) { in APersistableBundle_delete() argument
47 free(pBundle); in APersistableBundle_delete()
73 binder_status_t APersistableBundle_writeToParcel(const APersistableBundle* pBundle, in APersistableBundle_writeToParcel() argument
75 if (!parcel || !pBundle) return STATUS_BAD_VALUE; in APersistableBundle_writeToParcel()
76 return pBundle->mPBundle.writeToParcel(AParcel_viewPlatformParcel(parcel)); in APersistableBundle_writeToParcel()
[all …]
/frameworks/native/libs/binder/ndk/include_ndk/android/
Dpersistable_bundle.h95 APersistableBundle* _Nullable APersistableBundle_dup(const APersistableBundle* _Nonnull pBundle)
106 void APersistableBundle_delete(APersistableBundle* _Nullable pBundle)
158 binder_status_t APersistableBundle_writeToParcel(const APersistableBundle* _Nonnull pBundle,
172 int32_t APersistableBundle_size(const APersistableBundle* _Nonnull pBundle)
185 int32_t APersistableBundle_erase(APersistableBundle* _Nonnull pBundle, const char* _Nonnull key)
198 void APersistableBundle_putBoolean(APersistableBundle* _Nonnull pBundle, const char* _Nonnull key,
212 void APersistableBundle_putInt(APersistableBundle* _Nonnull pBundle, const char* _Nonnull key,
226 void APersistableBundle_putLong(APersistableBundle* _Nonnull pBundle, const char* _Nonnull key,
240 void APersistableBundle_putDouble(APersistableBundle* _Nonnull pBundle, const char* _Nonnull key,
255 void APersistableBundle_putString(APersistableBundle* _Nonnull pBundle, const char* _Nonnull key,
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dpersistable_bundle_aidl.h98 void reset(APersistableBundle* _Nullable pBundle = nullptr) noexcept {
105 mPBundle = pBundle;
264 void putPersistableBundle(const std::string& key, const PersistableBundle& pBundle) { in putPersistableBundle() argument
266 APersistableBundle_putPersistableBundle(mPBundle, key.c_str(), pBundle.mPBundle); in putPersistableBundle()
323 const APersistableBundle* _Nonnull pBundle, const char* _Nonnull key, in getVecInternal() argument
328 bytes = getVec(pBundle, key, nullptr, 0); in getVecInternal()
332 bytes = getVec(pBundle, key, newVec, bytes); in getVecInternal()
423 int32_t (*_Nonnull getTypedKeys)(const APersistableBundle* _Nonnull pBundle, in getKeys() argument
428 const APersistableBundle* _Nonnull pBundle) { in getKeys()
430 int32_t bytes = getTypedKeys(pBundle, nullptr, 0, &stringAllocator, nullptr); in getKeys()
[all …]