Lines Matching refs:mAttributes
30 mAttributes.content_type = static_cast<audio_content_type_t>(parcel->readInt32()); in readFromParcel()
31 mAttributes.usage = static_cast<audio_usage_t>(parcel->readInt32()); in readFromParcel()
32 mAttributes.source = static_cast<audio_source_t>(parcel->readInt32()); in readFromParcel()
33 mAttributes.flags = static_cast<audio_flags_mask_t>(parcel->readInt32()); in readFromParcel()
41 std::strncpy(mAttributes.tags, tags.c_str(), AUDIO_ATTRIBUTES_TAGS_MAX_SIZE - 1); in readFromParcel()
43 strcpy(mAttributes.tags, ""); in readFromParcel()
52 parcel->writeInt32(static_cast<int32_t>(mAttributes.content_type)); in writeToParcel()
53 parcel->writeInt32(static_cast<int32_t>(mAttributes.usage)); in writeToParcel()
54 parcel->writeInt32(static_cast<int32_t>(mAttributes.source)); in writeToParcel()
55 parcel->writeInt32(static_cast<int32_t>(mAttributes.flags)); in writeToParcel()
56 if (strlen(mAttributes.tags) == 0) { in writeToParcel()
60 parcel->writeUtf8AsUtf16(std::string(mAttributes.tags)); in writeToParcel()