Home
last modified time | relevance | path

Searched refs:async (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/wilhelm/src/
Dsles_allinclusive.h115 typedef SLresult (*AsyncHook)(void *self, SLboolean async);
336 extern SLresult CAudioPlayer_Realize(void *self, SLboolean async);
337 extern SLresult CAudioPlayer_Resume(void *self, SLboolean async);
341 extern SLresult CAudioRecorder_Realize(void *self, SLboolean async);
342 extern SLresult CAudioRecorder_Resume(void *self, SLboolean async);
346 extern SLresult CEngine_Realize(void *self, SLboolean async);
347 extern SLresult CEngine_Resume(void *self, SLboolean async);
352 extern SLresult COutputMix_Realize(void *self, SLboolean async);
353 extern SLresult COutputMix_Resume(void *self, SLboolean async);
357 extern SLresult CMediaPlayer_Realize(void *self, SLboolean async);
[all …]
/frameworks/native/include/gui/
DIGraphicBufferProducer.h168 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
281 uint32_t transform, bool async, const sp<Fence>& fence,
286 async(async), fence(fence), surfaceDamage() { } in timestamp()
298 *outAsync = bool(async);
322 int async; member
460 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
DBufferQueueProducer.h95 bool async, uint32_t width, uint32_t height, PixelFormat format,
172 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
193 status_t waitForFreeSlotThenRelock(const char* caller, bool async,
DBufferQueueCore.h88 int getMinUndequeuedBufferCountLocked(bool async) const;
93 int getMinMaxBufferCountLocked(bool async) const;
106 int getMaxBufferCountLocked(bool async) const;
/frameworks/wilhelm/src/objects/
DCAudioRecorder.c24 SLresult CAudioRecorder_Realize(void *self, SLboolean async) in CAudioRecorder_Realize() argument
30 result = android_audioRecorder_realize(thiz, async); in CAudioRecorder_Realize()
39 SLresult CAudioRecorder_Resume(void *self, SLboolean async) in CAudioRecorder_Resume() argument
DCMediaPlayer.c27 XAresult CMediaPlayer_Realize(void *self, XAboolean async) in CMediaPlayer_Realize() argument
35 result = android_Player_realize(thiz, async); in CMediaPlayer_Realize()
41 XAresult CMediaPlayer_Resume(void *self, XAboolean async) in CMediaPlayer_Resume() argument
DCOutputMix.c24 SLresult COutputMix_Realize(void *self, SLboolean async) in COutputMix_Realize() argument
30 result = android_outputMix_realize(thiz, async); in COutputMix_Realize()
39 SLresult COutputMix_Resume(void *self, SLboolean async) in COutputMix_Resume() argument
DCAudioPlayer.c24 SLresult CAudioPlayer_Realize(void *self, SLboolean async) in CAudioPlayer_Realize() argument
30 result = android_audioPlayer_realize(thiz, async); in CAudioPlayer_Realize()
47 SLresult CAudioPlayer_Resume(void *self, SLboolean async) in CAudioPlayer_Resume() argument
DCEngine.c52 SLresult CEngine_Realize(void *self, SLboolean async) in CEngine_Realize() argument
79 SLresult CEngine_Resume(void *self, SLboolean async) in CEngine_Resume() argument
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp64 bool async, uint32_t w, uint32_t h, PixelFormat format, uint32_t usage) { in dequeueBuffer() argument
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage); in dequeueBuffer()
108 void MonitoredProducer::allocateBuffers(bool async, uint32_t width, in allocateBuffers() argument
110 mProducer->allocateBuffers(async, width, height, format, usage); in allocateBuffers()
DMonitoredProducer.h39 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
54 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
/frameworks/native/libs/gui/
DBufferQueueCore.cpp142 int BufferQueueCore::getMinUndequeuedBufferCountLocked(bool async) const { in getMinUndequeuedBufferCountLocked()
149 if (mDequeueBufferCannotBlock || async) { in getMinUndequeuedBufferCountLocked()
156 int BufferQueueCore::getMinMaxBufferCountLocked(bool async) const { in getMinMaxBufferCountLocked()
157 return getMinUndequeuedBufferCountLocked(async) + 1; in getMinMaxBufferCountLocked()
160 int BufferQueueCore::getMaxBufferCountLocked(bool async) const { in getMaxBufferCountLocked()
161 int minMaxBufferCount = getMinMaxBufferCountLocked(async); in getMaxBufferCountLocked()
DIGraphicBufferProducer.cpp98 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, bool async, in dequeueBuffer() argument
103 data.writeInt32(static_cast<int32_t>(async)); in dequeueBuffer()
263 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height, in allocateBuffers() argument
267 data.writeInt32(static_cast<int32_t>(async)); in allocateBuffers()
346 bool async = static_cast<bool>(data.readInt32()); in onTransact() local
353 int result = dequeueBuffer(&buf, &fence, async, width, height, in onTransact()
460 bool async = static_cast<bool>(data.readInt32()); in onTransact() local
465 allocateBuffers(async, width, height, format, usage); in onTransact()
505 + sizeof(async) in getFlattenedSize()
527 FlattenableUtils::write(buffer, size, async); in flatten()
[all …]
DBufferQueueProducer.cpp135 bool async, int* found, status_t* returnFlags) const { in waitForFreeSlotThenRelock() argument
143 const int maxBufferCount = mCore->getMaxBufferCountLocked(async); in waitForFreeSlotThenRelock()
144 if (async && mCore->mOverrideMaxBufferCount) { in waitForFreeSlotThenRelock()
196 mCore->getMinUndequeuedBufferCountLocked(async); in waitForFreeSlotThenRelock()
256 sp<android::Fence> *outFence, bool async, in dequeueBuffer() argument
265 async ? "true" : "false", width, height, format, usage); in dequeueBuffer()
296 status_t status = waitForFreeSlotThenRelock("dequeueBuffer", async, in dequeueBuffer()
554 bool async; in queueBuffer() local
557 &transform, &async, &fence, &stickyTransform); in queueBuffer()
588 const int maxBufferCount = mCore->getMaxBufferCountLocked(async); in queueBuffer()
[all …]
/frameworks/base/core/java/android/os/
DHandler.java167 public Handler(boolean async) { in Handler() argument
168 this(null, async); in Handler()
188 public Handler(Callback callback, boolean async) { in Handler() argument
205 mAsynchronous = async; in Handler()
227 public Handler(Looper looper, Callback callback, boolean async) { in Handler() argument
231 mAsynchronous = async; in Handler()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp134 async = QUEUE_BUFFER_INPUT_ASYNC; in QueueBufferInputBuilder()
146 async, in build()
180 QueueBufferInputBuilder& setAsync(bool async) { in setAsync()
181 this->async = async; in setAsync()
197 int async; member
207 …status_t dequeueBuffer(bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage, Dequeu… in dequeueBuffer() argument
208 return mProducer->dequeueBuffer(&result->slot, &result->fence, async, w, h, format, usage); in dequeueBuffer()
/frameworks/wilhelm/src/itf/
DIObject.c84 static SLresult IObject_Realize(SLObjectItf self, SLboolean async) in IObject_Realize() argument
114 if (async && (SL_OBJECTID_ENGINE != clazz->mSLObjectID)) { in IObject_Realize()
124 assert(async); in IObject_Realize()
138 result = (NULL != realize) ? (*realize)(thiz, async) : SL_RESULT_SUCCESS; in IObject_Realize()
148 if (async && (NULL != callback)) { in IObject_Realize()
227 static SLresult IObject_Resume(SLObjectItf self, SLboolean async) in IObject_Resume() argument
242 if (async) { in IObject_Resume()
252 assert(async); in IObject_Resume()
DIDynamicInterfaceManagement.c106 const SLInterfaceID iid, SLboolean async) in IDynamicInterfaceManagement_AddInterface() argument
132 if (async) { in IDynamicInterfaceManagement_AddInterface()
354 const SLInterfaceID iid, SLboolean async) in IDynamicInterfaceManagement_ResumeInterface() argument
380 if (async) { in IDynamicInterfaceManagement_ResumeInterface()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp293 bool async = (source == SOURCE_SINK); in dequeueBuffer() local
295 status_t result = mSource[source]->dequeueBuffer(sslot, fence, async, in dequeueBuffer()
334 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, in dequeueBuffer() argument
337 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, async, w, h, format, usage); in dequeueBuffer()
343 VDS_LOGW_IF(!async, "EGL called dequeueBuffer with !async despite eglSwapInterval(0)"); in dequeueBuffer()
463 bool async; in queueBuffer() local
465 &scalingMode, &transform, &async, &mFbFence); in queueBuffer()
DVirtualDisplaySurface.h102 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, bool async,
116 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
/frameworks/wilhelm/src/android/
Dandroid_GenericPlayer.cpp285 void GenericPlayer::notify(const char* event, int data, bool async) { in notify() argument
287 async ? "true" : "false"); in notify()
290 if (async) { in notify()
298 void GenericPlayer::notify(const char* event, int data1, int data2, bool async) { in notify() argument
300 async ? "true" : "false"); in notify()
303 if (async) { in notify()
DOutputMix_to_android.h20 extern SLresult android_outputMix_realize(COutputMix *om, SLboolean async);
Dandroid_GenericPlayer.h127 virtual void notify(const char* event, int data1, bool async);
128 virtual void notify(const char* event, int data1, int data2, bool async);
DAudioRecorder_to_android.h46 extern SLresult android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async);
/frameworks/native/cmds/atrace/
Datrace.cpp828 bool async = false; in main() local
897 async = true; in main()
902 async = true; in main()
905 async = true; in main()
943 if (ok && !async) { in main()

12