Home | History | Annotate | Download | only in binder

Lines Matching refs:PersistableBundle

17 #define LOG_TAG "PersistableBundle"
19 #include <binder/PersistableBundle.h>
88 status_t PersistableBundle::writeToParcel(Parcel* parcel) const {
120 status_t PersistableBundle::readFromParcel(const Parcel* parcel) {
134 bool PersistableBundle::empty() const {
138 size_t PersistableBundle::size() const {
152 size_t PersistableBundle::erase(const String16& key) {
166 void PersistableBundle::putBoolean(const String16& key, bool value) {
171 void PersistableBundle::putInt(const String16& key, int32_t value) {
176 void PersistableBundle::putLong(const String16& key, int64_t value) {
181 void PersistableBundle::putDouble(const String16& key, double value) {
186 void PersistableBundle::putString(const String16& key, const String16& value) {
191 void PersistableBundle::putBooleanVector(const String16& key, const std::vector<bool>& value) {
196 void PersistableBundle::putIntVector(const String16& key, const std::vector<int32_t>& value) {
201 void PersistableBundle::putLongVector(const String16& key, const std::vector<int64_t>& value) {
206 void PersistableBundle::putDoubleVector(const String16& key, const std::vector<double>& value) {
211 void PersistableBundle::putStringVector(const String16& key, const std::vector<String16>& value) {
216 void PersistableBundle::putPersistableBundle(const String16& key, const PersistableBundle& value) {
221 bool PersistableBundle::getBoolean(const String16& key, bool* out) const {
225 bool PersistableBundle::getInt(const String16& key, int32_t* out) const {
229 bool PersistableBundle::getLong(const String16& key, int64_t* out) const {
233 bool PersistableBundle::getDouble(const String16& key, double* out) const {
237 bool PersistableBundle::getString(const String16& key, String16* out) const {
241 bool PersistableBundle::getBooleanVector(const String16& key, std::vector<bool>* out) const {
245 bool PersistableBundle::getIntVector(const String16& key, std::vector<int32_t>* out) const {
249 bool PersistableBundle::getLongVector(const String16& key, std::vector<int64_t>* out) const {
253 bool PersistableBundle::getDoubleVector(const String16& key, std::vector<double>* out) const {
257 bool PersistableBundle::getStringVector(const String16& key, std::vector<String16>* out) const {
261 bool PersistableBundle::getPersistableBundle(const String16& key, PersistableBundle* out) const {
265 status_t PersistableBundle::writeToParcelInner(Parcel* parcel) const {
274 ALOGE("The size of this PersistableBundle (%zu) too large to store in 32-bit signed int",
338 status_t PersistableBundle::readFromParcelInner(const Parcel* parcel, size_t length) {
340 * Note: we don't actually use length for anything other than an empty PersistableBundle
345 // Empty PersistableBundle or end of data.
352 ALOGE("Bad magic number for PersistableBundle: 0x%08x", magic);
373 * We assume that both the C++ and Java APIs ensure that all keys in a PersistableBundle