Lines Matching refs:attrs
23 void writeAudioAttributes(const audio_attributes_t& attrs, android::Parcel* out) { in writeAudioAttributes() argument
24 out->writeInt32(attrs.usage); in writeAudioAttributes()
25 out->writeInt32(attrs.content_type); in writeAudioAttributes()
26 out->writeInt32(attrs.source); in writeAudioAttributes()
27 out->writeInt32(attrs.flags); in writeAudioAttributes()
30 void readAudioAttributes(audio_attributes_t* attrs, const android::Parcel* in) { in readAudioAttributes() argument
31 attrs->usage = static_cast<audio_usage_t>(in->readInt32()); in readAudioAttributes()
32 attrs->content_type = static_cast<audio_content_type_t>(in->readInt32()); in readAudioAttributes()
33 attrs->source = static_cast<audio_source_t>(in->readInt32()); in readAudioAttributes()
34 attrs->flags = static_cast<audio_flags_mask_t>(in->readInt32()); in readAudioAttributes()
40 ExternalVibration::ExternalVibration(int32_t uid, std::string pkg, const audio_attributes_t& attrs, in ExternalVibration() argument
42 mUid(uid), mPkg(pkg), mAttrs(attrs), mController(controller) { } in ExternalVibration()