Searched refs:mSound (Results 1 – 5 of 5) sorted by relevance
108 if (mAudioTrack != nullptr && mSound != nullptr) { in setRate()109 const auto sampleRate = (uint32_t)lround(double(mSound->getSampleRate()) * rate); in setRate()144 if (mAudioTrack != nullptr && mSound != nullptr) { in setLoop()145 const uint32_t loopEnd = mSound->getSizeInBytes() / mSound->getChannelCount() / in setLoop()146 (mSound->getFormat() == AUDIO_FORMAT_PCM_16_BIT in setLoop()161 mSound = sound; in setPlay()211 mSound.reset(); in stop_l()243 if (pairStream->mSound == nullptr) { in playPairStream()256 mSound.reset(); in playPairStream()261 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.
240 private Uri mSound = Settings.System.DEFAULT_NOTIFICATION_URI; field in NotificationChannel307 mSound = Uri.CREATOR.createFromParcel(in); in NotificationChannel()309 mSound = null; in NotificationChannel()359 if (mSound != null) { in writeToParcel()361 mSound.writeToParcel(dest, 0); in writeToParcel()533 this.mSound = sound; in setSound()716 return mSound; in getSound()1321 + ", mSound=" + mSound in getFieldsString()1354 if (mSound != null) { in dumpDebug()1355 proto.write(NotificationChannelProto.SOUND, mSound.toString()); in dumpDebug()
161 private Uri mSound; field in NotificationRecord219 mSound = calculateSound(); in NotificationRecord()376 stats.isNoisy = mSound != null || mVibration != null; in calculateInitialImportance()509 pw.println(prefix + "mSound= " + mSound); in dump()1071 return mSound; in getSound()
8015 Landroid/app/NotificationChannel;->mSound:Landroid/net/Uri;