Lines Matching refs:virtual
85 virtual ~AudioOutput();
87 virtual bool ready() const { return mTrack != 0; } in ready()
88 virtual ssize_t bufferSize() const;
89 virtual ssize_t frameCount() const;
90 virtual ssize_t channelCount() const;
91 virtual ssize_t frameSize() const;
92 virtual uint32_t latency() const;
93 virtual float msecsPerFrame() const;
94 virtual status_t getPosition(uint32_t *position) const;
95 virtual status_t getTimestamp(AudioTimestamp &ts) const;
96 virtual int64_t getPlayedOutDurationUs(int64_t nowUs) const;
97 virtual status_t getFramesWritten(uint32_t *frameswritten) const;
98 virtual audio_session_t getSessionId() const;
99 virtual uint32_t getSampleRate() const;
100 virtual int64_t getBufferDurationInUs() const;
102 virtual status_t open(
111 virtual status_t start();
112 virtual ssize_t write(const void* buffer, size_t size, bool blocking = true);
113 virtual void stop();
114 virtual void flush();
115 virtual void pause();
116 virtual void close();
118 virtual audio_stream_type_t getAudioStreamType() const { return mStreamType; } in getAudioStreamType()
122 virtual status_t setPlaybackRate(const AudioPlaybackRate& rate);
123 virtual status_t getPlaybackRate(AudioPlaybackRate* rate /* nonnull */);
127 virtual status_t dump(int fd, const Vector<String16>& args) const;
133 virtual bool needsTrailingPadding() { return mNextOutput == NULL; } in needsTrailingPadding()
134 virtual status_t setParameters(const String8& keyValuePairs);
135 virtual String8 getParameters(const String8& keys);
137 virtual media::VolumeShaper::Status applyVolumeShaper(
140 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override;
143 virtual status_t setOutputDevice(audio_port_handle_t deviceId);
144 virtual status_t getRoutedDeviceId(audio_port_handle_t* deviceId);
145 virtual status_t enableAudioDeviceCallback(bool enabled);
233 virtual sp<IMediaRecorder> createMediaRecorder(const String16 &opPackageName);
235 virtual sp<IMediaMetadataRetriever> createMetadataRetriever();
237 virtual sp<IMediaPlayer> create(const sp<IMediaPlayerClient>& client,
240 virtual sp<IMediaCodecList> getCodecList() const;
242 virtual sp<IRemoteDisplay> listenForRemoteDisplay(const String16 &opPackageName,
244 virtual status_t dump(int fd, const Vector<String16>& args);
258 virtual void addBatteryData(uint32_t params);
260 virtual status_t pullBatteryData(Parcel* reply);
316 virtual void disconnect();
317 virtual status_t setVideoSurfaceTexture(
319 virtual status_t setBufferingSettings(const BufferingSettings& buffering) override;
320 virtual status_t getBufferingSettings(
322 virtual status_t prepareAsync();
323 virtual status_t start();
324 virtual status_t stop();
325 virtual status_t pause();
326 virtual status_t isPlaying(bool* state);
327 virtual status_t setPlaybackSettings(const AudioPlaybackRate& rate);
328 virtual status_t getPlaybackSettings(AudioPlaybackRate* rate /* nonnull */);
329 virtual status_t setSyncSettings(const AVSyncSettings& rate, float videoFpsHint);
330 virtual status_t getSyncSettings(AVSyncSettings* rate /* nonnull */,
332 virtual status_t seekTo(
335 virtual status_t getCurrentPosition(int* msec);
336 virtual status_t getDuration(int* msec);
337 virtual status_t reset();
338 virtual status_t notifyAt(int64_t mediaTimeUs);
339 virtual status_t setAudioStreamType(audio_stream_type_t type);
340 virtual status_t setLooping(int loop);
341 virtual status_t setVolume(float leftVolume, float rightVolume);
342 virtual status_t invoke(const Parcel& request, Parcel *reply);
343 virtual status_t setMetadataFilter(const Parcel& filter);
344 virtual status_t getMetadata(bool update_only,
347 virtual status_t setAuxEffectSendLevel(float level);
348 virtual status_t attachAuxEffect(int effectId);
349 virtual status_t setParameter(int key, const Parcel &request);
350 virtual status_t getParameter(int key, Parcel *reply);
351 virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint);
352 virtual status_t getRetransmitEndpoint(struct sockaddr_in* endpoint);
353 virtual status_t setNextPlayer(const sp<IMediaPlayer>& player);
355 virtual media::VolumeShaper::Status applyVolumeShaper(
358 virtual sp<media::VolumeShaper::State> getVolumeShaperState(int id) override;
362 virtual status_t setDataSource(
367 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
369 virtual status_t setDataSource(const sp<IStreamSource> &source);
370 virtual status_t setDataSource(const sp<IDataSource> &source);
380 virtual status_t dump(int fd, const Vector<String16>& args);
384 virtual status_t prepareDrm(const uint8_t uuid[16], const Vector<uint8_t>& drmSessionId);
385 virtual status_t releaseDrm();
387 virtual status_t setOutputDevice(audio_port_handle_t deviceId);
388 virtual status_t getRoutedDeviceId(audio_port_handle_t* deviceId);
389 virtual status_t enableAudioDeviceCallback(bool enabled);
400 virtual void onAudioDeviceUpdate(audio_io_handle_t audioIo,
415 virtual ~Client();
441 virtual ~Listener() {} in ~Listener()
442 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) { in notify()
491 virtual ~MediaPlayerService();