Home
last modified time | relevance | path

Searched refs:ClientProxy (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaScannerConnection.java136 if (mClient instanceof ClientProxy) { in disconnect()
185 static class ClientProxy implements MediaScannerConnectionClient { class in MediaScannerConnection
192 ClientProxy(String[] paths, String[] mimeTypes, OnScanCompletedListener client) { in ClientProxy() method in MediaScannerConnection.ClientProxy
240 ClientProxy client = new ClientProxy(paths, mimeTypes, callback); in scanFile()
/frameworks/av/include/private/media/
DAudioTrackShared.h137 friend class ClientProxy; member
238 class ClientProxy : public Proxy {
240 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
242 virtual ~ClientProxy() { } in ~ClientProxy()
358 class AudioTrackClientProxy : public ClientProxy {
362 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, in ClientProxy() function
471 class AudioRecordClientProxy : public ClientProxy {
475 : ClientProxy(cblk, buffers, frameCount, frameSize, in AudioRecordClientProxy()
/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp71 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, in ClientProxy() function in android::ClientProxy
80 const struct timespec ClientProxy::kForever = {INT_MAX /*tv_sec*/, 0 /*tv_nsec*/};
81 const struct timespec ClientProxy::kNonBlocking = {0 /*tv_sec*/, 0 /*tv_nsec*/};
91 uint32_t ClientProxy::setBufferSizeInFrames(uint32_t size) in setBufferSizeInFrames()
113 status_t ClientProxy::obtainBuffer(Buffer* buffer, const struct timespec *requested, in obtainBuffer()
341 void ClientProxy::releaseBuffer(Buffer* buffer) in releaseBuffer()
368 void ClientProxy::binderDied() in binderDied()
379 void ClientProxy::interrupt() in interrupt()
390 size_t ClientProxy::getMisalignment() in getMisalignment()
DAudioRecord.cpp867 requested = &ClientProxy::kForever; in obtainBuffer()
869 requested = &ClientProxy::kNonBlocking; in obtainBuffer()
928 requested = &ClientProxy::kNonBlocking; in obtainBuffer()
997 blocking ? &ClientProxy::kForever : &ClientProxy::kNonBlocking); in read()
1162 const struct timespec *requested = &ClientProxy::kForever; in processAudioBuffer()
1181 requested = &ClientProxy::kNonBlocking; in processAudioBuffer()
DAudioTrack.cpp1648 requested = &ClientProxy::kForever; in obtainBuffer()
1650 requested = &ClientProxy::kNonBlocking; in obtainBuffer()
1719 requested = &ClientProxy::kNonBlocking; in obtainBuffer()
1807 blocking ? &ClientProxy::kForever : &ClientProxy::kNonBlocking); in write()
2106 const struct timespec *requested = &ClientProxy::kForever; in processAudioBuffer()
2125 requested = &ClientProxy::kNonBlocking; in processAudioBuffer()
/frameworks/av/services/audioflinger/
DTrackBase.h337 PatchTrackBase(sp<ClientProxy> proxy, const ThreadBase& thread,
351 const sp<ClientProxy> mProxy;
DTracks.cpp282 AudioFlinger::ThreadBase::PatchTrackBase::PatchTrackBase(sp<ClientProxy> proxy, in PatchTrackBase()
1749 ClientProxy::Buffer buf; in obtainBuffer()
1799 PatchTrackBase(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, true, true),
2272 PatchTrackBase(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, false, true),