Lines Matching refs:MediaPlayerService
269 /* static */ int MediaPlayerService::AudioOutput::mMinBufferCount = 4;
270 /* static */ bool MediaPlayerService::AudioOutput::mIsOnEmulator = false;
272 void MediaPlayerService::instantiate() { in instantiate()
274 String16("media.player"), new MediaPlayerService()); in instantiate()
277 MediaPlayerService::MediaPlayerService() in MediaPlayerService() function in android::MediaPlayerService
285 MediaPlayerService::~MediaPlayerService() in ~MediaPlayerService()
290 sp<IMediaRecorder> MediaPlayerService::createMediaRecorder(const String16 &opPackageName) in createMediaRecorder()
301 void MediaPlayerService::removeMediaRecorderClient(const wp<MediaRecorderClient>& client) in removeMediaRecorderClient()
308 sp<IMediaMetadataRetriever> MediaPlayerService::createMetadataRetriever() in createMetadataRetriever()
316 sp<IMediaPlayer> MediaPlayerService::create(const sp<IMediaPlayerClient>& client, in create()
337 sp<IMediaCodecList> MediaPlayerService::getCodecList() const { in getCodecList()
341 sp<IRemoteDisplay> MediaPlayerService::listenForRemoteDisplay( in listenForRemoteDisplay()
350 status_t MediaPlayerService::AudioOutput::dump(int fd, const Vector<String16>& args) const in dump()
374 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args) in dump()
418 status_t MediaPlayerService::dump(int fd, const Vector<String16>& args) in dump()
550 void MediaPlayerService::removeClient(const wp<Client>& client) in removeClient()
556 bool MediaPlayerService::hasClient(wp<Client> client) in hasClient()
562 MediaPlayerService::Client::Client( in Client()
563 const sp<MediaPlayerService>& service, pid_t pid, in Client()
586 MediaPlayerService::Client::~Client() in ~Client()
599 void MediaPlayerService::Client::disconnect() in disconnect()
632 sp<MediaPlayerBase> MediaPlayerService::Client::createPlayer(player_type playerType) in createPlayer()
651 void MediaPlayerService::Client::AudioDeviceUpdatedNotifier::onAudioDeviceUpdate( in onAudioDeviceUpdate()
662 sp<MediaPlayerBase> MediaPlayerService::Client::setDataSource_pre( in setDataSource_pre()
761 status_t MediaPlayerService::Client::setDataSource_post( in setDataSource_post()
786 status_t MediaPlayerService::Client::setDataSource( in setDataSource()
830 status_t MediaPlayerService::Client::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource()
869 status_t MediaPlayerService::Client::setDataSource( in setDataSource()
882 status_t MediaPlayerService::Client::setDataSource( in setDataSource()
894 void MediaPlayerService::Client::disconnectNativeWindow_l() { in disconnectNativeWindow_l()
907 status_t MediaPlayerService::Client::setVideoSurfaceTexture( in setVideoSurfaceTexture()
964 status_t MediaPlayerService::Client::invoke(const Parcel& request, in invoke()
973 status_t MediaPlayerService::Client::setMetadataFilter(const Parcel& filter) in setMetadataFilter()
988 status_t MediaPlayerService::Client::getMetadata( in getMetadata()
1031 status_t MediaPlayerService::Client::setBufferingSettings( in setBufferingSettings()
1041 status_t MediaPlayerService::Client::getBufferingSettings( in getBufferingSettings()
1057 status_t MediaPlayerService::Client::prepareAsync() in prepareAsync()
1070 status_t MediaPlayerService::Client::start() in start()
1079 status_t MediaPlayerService::Client::stop() in stop()
1087 status_t MediaPlayerService::Client::pause() in pause()
1095 status_t MediaPlayerService::Client::isPlaying(bool* state) in isPlaying()
1105 status_t MediaPlayerService::Client::setPlaybackSettings(const AudioPlaybackRate& rate) in setPlaybackSettings()
1114 status_t MediaPlayerService::Client::getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */) in getPlaybackSettings()
1128 status_t MediaPlayerService::Client::setSyncSettings( in setSyncSettings()
1138 status_t MediaPlayerService::Client::getSyncSettings( in getSyncSettings()
1153 status_t MediaPlayerService::Client::getCurrentPosition(int *msec) in getCurrentPosition()
1167 status_t MediaPlayerService::Client::getDuration(int *msec) in getDuration()
1181 status_t MediaPlayerService::Client::setNextPlayer(const sp<IMediaPlayer>& player) { in setNextPlayer()
1206 VolumeShaper::Status MediaPlayerService::Client::applyVolumeShaper( in applyVolumeShaper()
1225 sp<VolumeShaper::State> MediaPlayerService::Client::getVolumeShaperState(int id) { in getVolumeShaperState()
1242 status_t MediaPlayerService::Client::seekTo(int msec, MediaPlayerSeekMode mode) in seekTo()
1250 status_t MediaPlayerService::Client::reset() in reset()
1259 status_t MediaPlayerService::Client::notifyAt(int64_t mediaTimeUs) in notifyAt()
1267 status_t MediaPlayerService::Client::setAudioStreamType(audio_stream_type_t type) in setAudioStreamType()
1276 status_t MediaPlayerService::Client::setAudioAttributes_l(const Parcel &parcel) in setAudioAttributes_l()
1295 status_t MediaPlayerService::Client::setLooping(int loop) in setLooping()
1304 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) in setVolume()
1325 status_t MediaPlayerService::Client::setAuxEffectSendLevel(float level) in setAuxEffectSendLevel()
1333 status_t MediaPlayerService::Client::attachAuxEffect(int effectId) in attachAuxEffect()
1341 status_t MediaPlayerService::Client::setParameter(int key, const Parcel &request) { in setParameter()
1356 status_t MediaPlayerService::Client::getParameter(int key, Parcel *reply) { in getParameter()
1363 status_t MediaPlayerService::Client::setRetransmitEndpoint( in setRetransmitEndpoint()
1395 status_t MediaPlayerService::Client::getRetransmitEndpoint( in getRetransmitEndpoint()
1415 void MediaPlayerService::Client::notify( in notify()
1470 bool MediaPlayerService::Client::shouldDropMetadata(media::Metadata::Type code) const in shouldDropMetadata()
1486 void MediaPlayerService::Client::addNewMetadataUpdate(media::Metadata::Type metadata_type) { in addNewMetadataUpdate()
1494 status_t MediaPlayerService::Client::prepareDrm(const uint8_t uuid[16], in prepareDrm()
1507 status_t MediaPlayerService::Client::releaseDrm() in releaseDrm()
1519 status_t MediaPlayerService::Client::setOutputDevice(audio_port_handle_t deviceId) in setOutputDevice()
1531 status_t MediaPlayerService::Client::getRoutedDeviceId(audio_port_handle_t* deviceId) in getRoutedDeviceId()
1543 status_t MediaPlayerService::Client::enableAudioDeviceCallback(bool enabled) in enableAudioDeviceCallback()
1592 MediaPlayerService::AudioOutput::AudioOutput(audio_session_t sessionId, uid_t uid, int pid, in AudioOutput()
1630 MediaPlayerService::AudioOutput::~AudioOutput() in ~AudioOutput()
1638 void MediaPlayerService::AudioOutput::setMinBufferCount() in setMinBufferCount()
1648 bool MediaPlayerService::AudioOutput::isOnEmulator() in isOnEmulator()
1655 int MediaPlayerService::AudioOutput::getMinBufferCount() in getMinBufferCount()
1661 ssize_t MediaPlayerService::AudioOutput::bufferSize() const in bufferSize()
1668 ssize_t MediaPlayerService::AudioOutput::frameCount() const in frameCount()
1675 ssize_t MediaPlayerService::AudioOutput::channelCount() const in channelCount()
1682 ssize_t MediaPlayerService::AudioOutput::frameSize() const in frameSize()
1689 uint32_t MediaPlayerService::AudioOutput::latency () const in latency()
1696 float MediaPlayerService::AudioOutput::msecsPerFrame() const in msecsPerFrame()
1702 status_t MediaPlayerService::AudioOutput::getPosition(uint32_t *position) const in getPosition()
1709 status_t MediaPlayerService::AudioOutput::getTimestamp(AudioTimestamp &ts) const in getTimestamp()
1724 int64_t MediaPlayerService::AudioOutput::getPlayedOutDurationUs(int64_t nowUs) const in getPlayedOutDurationUs()
1774 status_t MediaPlayerService::AudioOutput::getFramesWritten(uint32_t *frameswritten) const in getFramesWritten()
1786 status_t MediaPlayerService::AudioOutput::setParameters(const String8& keyValuePairs) in setParameters()
1793 String8 MediaPlayerService::AudioOutput::getParameters(const String8& keys) in getParameters()
1800 void MediaPlayerService::AudioOutput::setAudioAttributes(const audio_attributes_t * attributes) { in setAudioAttributes()
1814 void MediaPlayerService::AudioOutput::setAudioStreamType(audio_stream_type_t streamType) in setAudioStreamType()
1823 void MediaPlayerService::AudioOutput::deleteRecycledTrack_l() in deleteRecycledTrack_l()
1861 void MediaPlayerService::AudioOutput::close_l() in close_l()
1866 status_t MediaPlayerService::AudioOutput::open( in open()
2114 status_t MediaPlayerService::AudioOutput::updateTrack() { in updateTrack()
2138 status_t MediaPlayerService::AudioOutput::start() in start()
2157 void MediaPlayerService::AudioOutput::setNextOutput(const sp<AudioOutput>& nextOutput) { in setNextOutput()
2162 void MediaPlayerService::AudioOutput::switchToNextOutput() { in switchToNextOutput()
2237 ssize_t MediaPlayerService::AudioOutput::write(const void* buffer, size_t size, bool blocking) in write()
2249 void MediaPlayerService::AudioOutput::stop() in stop()
2256 void MediaPlayerService::AudioOutput::flush() in flush()
2263 void MediaPlayerService::AudioOutput::pause() in pause()
2270 void MediaPlayerService::AudioOutput::close() in close()
2282 void MediaPlayerService::AudioOutput::setVolume(float left, float right) in setVolume()
2293 status_t MediaPlayerService::AudioOutput::setPlaybackRate(const AudioPlaybackRate &rate) in setPlaybackRate()
2316 status_t MediaPlayerService::AudioOutput::getPlaybackRate(AudioPlaybackRate *rate) in getPlaybackRate()
2327 status_t MediaPlayerService::AudioOutput::setAuxEffectSendLevel(float level) in setAuxEffectSendLevel()
2338 status_t MediaPlayerService::AudioOutput::attachAuxEffect(int effectId) in attachAuxEffect()
2349 status_t MediaPlayerService::AudioOutput::setOutputDevice(audio_port_handle_t deviceId) in setOutputDevice()
2360 status_t MediaPlayerService::AudioOutput::getRoutedDeviceId(audio_port_handle_t* deviceId) in getRoutedDeviceId()
2371 status_t MediaPlayerService::AudioOutput::enableAudioDeviceCallback(bool enabled) in enableAudioDeviceCallback()
2388 VolumeShaper::Status MediaPlayerService::AudioOutput::applyVolumeShaper( in applyVolumeShaper()
2439 sp<VolumeShaper::State> MediaPlayerService::AudioOutput::getVolumeShaperState(int id) in getVolumeShaperState()
2450 void MediaPlayerService::AudioOutput::CallbackWrapper( in CallbackWrapper()
2521 audio_session_t MediaPlayerService::AudioOutput::getSessionId() const in getSessionId()
2527 uint32_t MediaPlayerService::AudioOutput::getSampleRate() const in getSampleRate()
2534 int64_t MediaPlayerService::AudioOutput::getBufferDurationInUs() const in getBufferDurationInUs()
2614 void MediaPlayerService::addBatteryData(uint32_t params) { in addBatteryData()
2618 status_t MediaPlayerService::pullBatteryData(Parcel* reply) { in pullBatteryData()
2622 MediaPlayerService::BatteryTracker::BatteryTracker() { in BatteryTracker()
2638 void MediaPlayerService::BatteryTracker::addBatteryData(uint32_t params) in addBatteryData()
2778 status_t MediaPlayerService::BatteryTracker::pullBatteryData(Parcel* reply) { in pullBatteryData()