Searched refs:mSound (Results 1 – 4 of 4) sorted by relevance
107 if (mAudioTrack != nullptr && mSound != nullptr) { in setRate()108 const auto sampleRate = (uint32_t)lround(double(mSound->getSampleRate()) * rate); in setRate()143 if (mAudioTrack != nullptr && mSound != nullptr) { in setLoop()144 const uint32_t loopEnd = mSound->getSizeInBytes() / mSound->getChannelCount() / in setLoop()145 (mSound->getFormat() == AUDIO_FORMAT_PCM_16_BIT in setLoop()160 mSound = sound; in setPlay()210 mSound.reset(); in stop_l()242 if (pairStream->mSound == nullptr) { in playPairStream()255 mSound.reset(); in playPairStream()260 pairStream->play_l(pairStream->mSound, pairStream->mStreamID, in playPairStream()[all …]
120 bool hasSound() const NO_THREAD_SAFETY_ANALYSIS { return mSound.get() != nullptr; } in hasSound()144 std::shared_ptr<Sound> mSound GUARDED_BY(mLock); // Non-null if playing.
193 private Uri mSound = Settings.System.DEFAULT_NOTIFICATION_URI; field in NotificationChannel257 mSound = Uri.CREATOR.createFromParcel(in); in NotificationChannel()259 mSound = null; in NotificationChannel()308 if (mSound != null) { in writeToParcel()310 mSound.writeToParcel(dest, 0); in writeToParcel()474 this.mSound = sound; in setSound()649 return mSound; in getSound()1245 + ", mSound=" + mSound in getFieldsString()1277 if (mSound != null) { in dumpDebug()1278 proto.write(NotificationChannelProto.SOUND, mSound.toString()); in dumpDebug()
159 private Uri mSound; field in NotificationRecord217 mSound = calculateSound(); in NotificationRecord()375 stats.isNoisy = mSound != null || mVibration != null; in calculateInitialImportance()580 pw.println(prefix + "mSound= " + mSound); in dump()1054 return mSound; in getSound()