Home
last modified time | relevance | path

Searched refs:mSound (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/jni/soundpool/
DStream.cpp108 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 …]
DStream.h120 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.
/frameworks/base/core/java/android/app/
DNotificationChannel.java240 private Uri mSound = Settings.System.DEFAULT_NOTIFICATION_URI; field in NotificationChannel
307 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()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java161 private Uri mSound; field in NotificationRecord
219 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()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8015 Landroid/app/NotificationChannel;->mSound:Landroid/net/Uri;