Lines Matching refs:MediaPlayerService
266 /* static */ int MediaPlayerService::AudioOutput::mMinBufferCount = 4;
267 /* static */ bool MediaPlayerService::AudioOutput::mIsOnEmulator = false;
269 void MediaPlayerService::instantiate() { in instantiate()
271 String16("media.player"), new MediaPlayerService()); in instantiate()
274 MediaPlayerService::MediaPlayerService() in MediaPlayerService() function in android::MediaPlayerService
298 MediaPlayerService::~MediaPlayerService() in ~MediaPlayerService()
303 sp<IMediaRecorder> MediaPlayerService::createMediaRecorder(const String16 &opPackageName) in createMediaRecorder()
314 void MediaPlayerService::removeMediaRecorderClient(wp<MediaRecorderClient> client) in removeMediaRecorderClient()
321 sp<IMediaMetadataRetriever> MediaPlayerService::createMetadataRetriever() in createMetadataRetriever()
329 sp<IMediaPlayer> MediaPlayerService::create(const sp<IMediaPlayerClient>& client, in create()
350 sp<IMediaCodecList> MediaPlayerService::getCodecList() const { in getCodecList()
354 sp<IOMX> MediaPlayerService::getOMX() { in getOMX()
364 sp<ICrypto> MediaPlayerService::makeCrypto() { in makeCrypto()
368 sp<IDrm> MediaPlayerService::makeDrm() { in makeDrm()
372 sp<IHDCP> MediaPlayerService::makeHDCP(bool createEncryptionModule) { in makeHDCP()
376 sp<IRemoteDisplay> MediaPlayerService::listenForRemoteDisplay( in listenForRemoteDisplay()
386 status_t MediaPlayerService::AudioOutput::dump(int fd, const Vector<String16>& args) const in dump()
410 status_t MediaPlayerService::Client::dump(int fd, const Vector<String16>& args) in dump()
434 status_t MediaPlayerService::dump(int fd, const Vector<String16>& args) in dump()
555 void MediaPlayerService::removeClient(wp<Client> client) in removeClient()
561 MediaPlayerService::Client::Client( in Client()
562 const sp<MediaPlayerService>& service, pid_t pid, in Client()
584 MediaPlayerService::Client::~Client() in ~Client()
596 void MediaPlayerService::Client::disconnect() in disconnect()
627 sp<MediaPlayerBase> MediaPlayerService::Client::createPlayer(player_type playerType) in createPlayer()
646 sp<MediaPlayerBase> MediaPlayerService::Client::setDataSource_pre( in setDataSource_pre()
667 void MediaPlayerService::Client::setDataSource_post( in setDataSource_post()
691 status_t MediaPlayerService::Client::setDataSource( in setDataSource()
734 status_t MediaPlayerService::Client::setDataSource(int fd, int64_t offset, int64_t length) in setDataSource()
774 status_t MediaPlayerService::Client::setDataSource( in setDataSource()
788 status_t MediaPlayerService::Client::setDataSource( in setDataSource()
801 void MediaPlayerService::Client::disconnectNativeWindow() { in disconnectNativeWindow()
814 status_t MediaPlayerService::Client::setVideoSurfaceTexture( in setVideoSurfaceTexture()
863 status_t MediaPlayerService::Client::invoke(const Parcel& request, in invoke()
872 status_t MediaPlayerService::Client::setMetadataFilter(const Parcel& filter) in setMetadataFilter()
887 status_t MediaPlayerService::Client::getMetadata( in getMetadata()
930 status_t MediaPlayerService::Client::prepareAsync() in prepareAsync()
943 status_t MediaPlayerService::Client::start() in start()
952 status_t MediaPlayerService::Client::stop() in stop()
960 status_t MediaPlayerService::Client::pause() in pause()
968 status_t MediaPlayerService::Client::isPlaying(bool* state) in isPlaying()
978 status_t MediaPlayerService::Client::setPlaybackSettings(const AudioPlaybackRate& rate) in setPlaybackSettings()
987 status_t MediaPlayerService::Client::getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */) in getPlaybackSettings()
1001 status_t MediaPlayerService::Client::setSyncSettings( in setSyncSettings()
1011 status_t MediaPlayerService::Client::getSyncSettings( in getSyncSettings()
1026 status_t MediaPlayerService::Client::getCurrentPosition(int *msec) in getCurrentPosition()
1040 status_t MediaPlayerService::Client::getDuration(int *msec) in getDuration()
1054 status_t MediaPlayerService::Client::setNextPlayer(const sp<IMediaPlayer>& player) { in setNextPlayer()
1075 status_t MediaPlayerService::Client::seekTo(int msec) in seekTo()
1083 status_t MediaPlayerService::Client::reset() in reset()
1092 status_t MediaPlayerService::Client::setAudioStreamType(audio_stream_type_t type) in setAudioStreamType()
1101 status_t MediaPlayerService::Client::setAudioAttributes_l(const Parcel &parcel) in setAudioAttributes_l()
1120 status_t MediaPlayerService::Client::setLooping(int loop) in setLooping()
1129 status_t MediaPlayerService::Client::setVolume(float leftVolume, float rightVolume) in setVolume()
1150 status_t MediaPlayerService::Client::setAuxEffectSendLevel(float level) in setAuxEffectSendLevel()
1158 status_t MediaPlayerService::Client::attachAuxEffect(int effectId) in attachAuxEffect()
1166 status_t MediaPlayerService::Client::setParameter(int key, const Parcel &request) { in setParameter()
1181 status_t MediaPlayerService::Client::getParameter(int key, Parcel *reply) { in getParameter()
1188 status_t MediaPlayerService::Client::setRetransmitEndpoint( in setRetransmitEndpoint()
1218 status_t MediaPlayerService::Client::getRetransmitEndpoint( in getRetransmitEndpoint()
1237 void MediaPlayerService::Client::notify( in notify()
1277 bool MediaPlayerService::Client::shouldDropMetadata(media::Metadata::Type code) const in shouldDropMetadata()
1293 void MediaPlayerService::Client::addNewMetadataUpdate(media::Metadata::Type metadata_type) { in addNewMetadataUpdate()
1337 MediaPlayerService::AudioOutput::AudioOutput(int sessionId, int uid, int pid, in AudioOutput()
1371 MediaPlayerService::AudioOutput::~AudioOutput() in ~AudioOutput()
1379 void MediaPlayerService::AudioOutput::setMinBufferCount() in setMinBufferCount()
1389 bool MediaPlayerService::AudioOutput::isOnEmulator() in isOnEmulator()
1396 int MediaPlayerService::AudioOutput::getMinBufferCount() in getMinBufferCount()
1402 ssize_t MediaPlayerService::AudioOutput::bufferSize() const in bufferSize()
1409 ssize_t MediaPlayerService::AudioOutput::frameCount() const in frameCount()
1416 ssize_t MediaPlayerService::AudioOutput::channelCount() const in channelCount()
1423 ssize_t MediaPlayerService::AudioOutput::frameSize() const in frameSize()
1430 uint32_t MediaPlayerService::AudioOutput::latency () const in latency()
1437 float MediaPlayerService::AudioOutput::msecsPerFrame() const in msecsPerFrame()
1443 status_t MediaPlayerService::AudioOutput::getPosition(uint32_t *position) const in getPosition()
1450 status_t MediaPlayerService::AudioOutput::getTimestamp(AudioTimestamp &ts) const in getTimestamp()
1457 status_t MediaPlayerService::AudioOutput::getFramesWritten(uint32_t *frameswritten) const in getFramesWritten()
1465 status_t MediaPlayerService::AudioOutput::setParameters(const String8& keyValuePairs) in setParameters()
1472 String8 MediaPlayerService::AudioOutput::getParameters(const String8& keys) in getParameters()
1479 void MediaPlayerService::AudioOutput::setAudioAttributes(const audio_attributes_t * attributes) { in setAudioAttributes()
1493 void MediaPlayerService::AudioOutput::setAudioStreamType(audio_stream_type_t streamType) in setAudioStreamType()
1502 void MediaPlayerService::AudioOutput::deleteRecycledTrack_l() in deleteRecycledTrack_l()
1528 void MediaPlayerService::AudioOutput::close_l() in close_l()
1533 status_t MediaPlayerService::AudioOutput::open( in open()
1760 status_t MediaPlayerService::AudioOutput::start() in start()
1775 void MediaPlayerService::AudioOutput::setNextOutput(const sp<AudioOutput>& nextOutput) { in setNextOutput()
1780 void MediaPlayerService::AudioOutput::switchToNextOutput() { in switchToNextOutput()
1855 ssize_t MediaPlayerService::AudioOutput::write(const void* buffer, size_t size, bool blocking) in write()
1871 void MediaPlayerService::AudioOutput::stop() in stop()
1879 void MediaPlayerService::AudioOutput::flush() in flush()
1887 void MediaPlayerService::AudioOutput::pause() in pause()
1894 void MediaPlayerService::AudioOutput::close() in close()
1901 void MediaPlayerService::AudioOutput::setVolume(float left, float right) in setVolume()
1912 status_t MediaPlayerService::AudioOutput::setPlaybackRate(const AudioPlaybackRate &rate) in setPlaybackRate()
1935 status_t MediaPlayerService::AudioOutput::getPlaybackRate(AudioPlaybackRate *rate) in getPlaybackRate()
1946 status_t MediaPlayerService::AudioOutput::setAuxEffectSendLevel(float level) in setAuxEffectSendLevel()
1957 status_t MediaPlayerService::AudioOutput::attachAuxEffect(int effectId) in attachAuxEffect()
1969 void MediaPlayerService::AudioOutput::CallbackWrapper( in CallbackWrapper()
2041 int MediaPlayerService::AudioOutput::getSessionId() const in getSessionId()
2047 uint32_t MediaPlayerService::AudioOutput::getSampleRate() const in getSampleRate()
2121 void MediaPlayerService::addBatteryData(uint32_t params) in addBatteryData()
2261 status_t MediaPlayerService::pullBatteryData(Parcel* reply) { in pullBatteryData()