Searched refs:async (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/wilhelm/src/android/
H A DOutputMix_to_android.h20 extern SLresult android_outputMix_realize(COutputMix *om, SLboolean async);
H A DAudioRecorder_to_android.h46 extern SLresult android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async);
H A DMediaPlayer_to_android.h26 extern XAresult android_Player_realize(CMediaPlayer *mp, SLboolean async);
H A DOutputMix_to_android.cpp29 SLresult android_outputMix_realize(COutputMix *om, SLboolean async) { argument
H A Dandroid_GenericPlayer.h126 virtual void notify(const char* event, int data1, bool async);
127 virtual void notify(const char* event, int data1, int data2, bool async);
149 // for async notifications of prefetch status and cache fill level, needs to be called
153 // for internal async notification to update state that the player is no longer seeking
H A DAudioPlayer_to_android.h43 extern SLresult android_audioPlayer_realize(CAudioPlayer *pAudioPlayer, SLboolean async);
/frameworks/wilhelm/src/objects/
H A DCAudioRecorder.c24 SLresult CAudioRecorder_Realize(void *self, SLboolean async) argument
30 result = android_audioRecorder_realize(thiz, async);
39 SLresult CAudioRecorder_Resume(void *self, SLboolean async) argument
H A DCMediaPlayer.c27 XAresult CMediaPlayer_Realize(void *self, XAboolean async) argument
35 result = android_Player_realize(thiz, async);
41 XAresult CMediaPlayer_Resume(void *self, XAboolean async) argument
H A DCOutputMix.c24 SLresult COutputMix_Realize(void *self, SLboolean async) argument
30 result = android_outputMix_realize(thiz, async);
39 SLresult COutputMix_Resume(void *self, SLboolean async) argument
H A DCAudioPlayer.c24 SLresult CAudioPlayer_Realize(void *self, SLboolean async) argument
30 result = android_audioPlayer_realize(thiz, async);
47 SLresult CAudioPlayer_Resume(void *self, SLboolean async) argument
H A DCEngine.c52 SLresult CEngine_Realize(void *self, SLboolean async) argument
79 SLresult CEngine_Resume(void *self, SLboolean async) argument
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h128 // The async parameter sets whether we're in asynchronous mode for this
155 // * BAD_VALUE - both in async mode and buffer count was less than the
169 virtual status_t dequeueBuffer(int* slot, sp<Fence>* fence, bool async,
223 // async mode and buffer count override.
258 // * both in async mode and buffer count was less than the
273 // async - if the buffer is queued in asynchronous mode
279 const Rect& crop, int scalingMode, uint32_t transform, bool async,
283 async(async), fence(fence) { }
293 *outAsync = bool(async);
278 QueueBufferInput(int64_t timestamp, bool isAutoTimestamp, const Rect& crop, int scalingMode, uint32_t transform, bool async, const sp<Fence>& fence, uint32_t sticky = 0) argument
313 int async; member in struct:android::IGraphicBufferProducer::QueueBufferInput
[all...]
H A DBufferQueueProducer.h96 virtual status_t dequeueBuffer(int *outSlot, sp<Fence>* outFence, bool async,
173 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height,
185 status_t waitForFreeSlotThenRelock(const char* caller, bool async,
H A DBufferQueueCore.h83 // that must remain in a state other than DEQUEUED. The async parameter
85 int getMinUndequeuedBufferCountLocked(bool async) const;
88 // given the current BufferQueue state. The async parameter tells whether
90 int getMinMaxBufferCountLocked(bool async) const;
99 // async parameter
103 int getMaxBufferCountLocked(bool async) const;
191 // mUseAsyncBuffer indicates whether an extra buffer is used in async mode
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp64 bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) {
65 return mProducer->dequeueBuffer(slot, fence, async, w, h, format, usage);
108 void MonitoredProducer::allocateBuffers(bool async, uint32_t width, argument
110 mProducer->allocateBuffers(async, width, height, format, usage);
63 dequeueBuffer(int* slot, sp<Fence>* fence, bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage) argument
H A 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/wilhelm/src/
H A Dsles_allinclusive.h116 typedef SLresult (*AsyncHook)(void *self, SLboolean async);
216 AsyncHook mRealize; // called with mutex locked; can temporarily unlock mutex (for async)
217 AsyncHook mResume; // called with mutex locked; can temporarily unlock mutex (for async)
337 extern SLresult CAudioPlayer_Realize(void *self, SLboolean async);
338 extern SLresult CAudioPlayer_Resume(void *self, SLboolean async);
342 extern SLresult CAudioRecorder_Realize(void *self, SLboolean async);
343 extern SLresult CAudioRecorder_Resume(void *self, SLboolean async);
347 extern SLresult CEngine_Realize(void *self, SLboolean async);
348 extern SLresult CEngine_Resume(void *self, SLboolean async);
353 extern SLresult COutputMix_Realize(void *self, SLboolean async);
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueCore.cpp133 int BufferQueueCore::getMinUndequeuedBufferCountLocked(bool async) const {
140 if (mDequeueBufferCannotBlock || async) {
147 int BufferQueueCore::getMinMaxBufferCountLocked(bool async) const {
148 return getMinUndequeuedBufferCountLocked(async) + 1;
151 int BufferQueueCore::getMaxBufferCountLocked(bool async) const {
152 int minMaxBufferCount = getMinMaxBufferCountLocked(async);
H A DIGraphicBufferProducer.cpp93 virtual status_t dequeueBuffer(int *buf, sp<Fence>* fence, bool async, argument
97 data.writeInt32(async);
257 virtual void allocateBuffers(bool async, uint32_t width, uint32_t height, argument
261 data.writeInt32(static_cast<int32_t>(async));
302 bool async = data.readInt32(); local
309 int result = dequeueBuffer(&buf, &fence, async, w, h, format, usage);
415 bool async = static_cast<bool>(data.readInt32()); local
420 allocateBuffers(async, width, height, format, usage);
439 + sizeof(async)
459 FlattenableUtils::write(buffer, size, async);
[all...]
H A DBufferQueueProducer.cpp135 bool async, int* found, status_t* returnFlags) const {
143 const int maxBufferCount = mCore->getMaxBufferCountLocked(async);
144 if (async && mCore->mOverrideMaxBufferCount) {
149 BQ_LOGE("%s: async mode is invalid with buffer count override",
207 mCore->getMinUndequeuedBufferCountLocked(async);
252 sp<android::Fence> *outFence, bool async,
260 BQ_LOGV("dequeueBuffer: async=%s w=%u h=%u format=%#x, usage=%#x",
261 async ? "true" : "false", width, height, format, usage);
285 status_t status = waitForFreeSlotThenRelock("dequeueBuffer", async,
483 // TODO: Should we provide an async fla
134 waitForFreeSlotThenRelock(const char* caller, bool async, int* found, status_t* returnFlags) const argument
251 dequeueBuffer(int *outSlot, sp<android::Fence> *outFence, bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
523 bool async; local
906 allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) argument
[all...]
/frameworks/base/core/java/android/os/
H A DHandler.java162 * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
167 public Handler(boolean async) { argument
168 this(null, async);
183 * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
188 public Handler(Callback callback, boolean async) { argument
205 mAsynchronous = async;
222 * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
227 public Handler(Looper looper, Callback callback, boolean async) { argument
231 mAsynchronous = async;
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp132 async = QUEUE_BUFFER_INPUT_ASYNC;
143 async,
172 QueueBufferInputBuilder& setAsync(bool async) { argument
173 this->async = async;
188 int async; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
198 status_t dequeueBuffer(bool async, uint32_t w, uint32_t h, uint32_t format, uint32_t usage, DequeueBufferResult* result) { argument
199 return mProducer->dequeueBuffer(&result->slot, &result->fence, async, w, h, format, usage);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A 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/itf/
H A DIObject.c46 // but the hook is permitted to temporarily unlock the mutex (e.g. for async).
84 static SLresult IObject_Realize(SLObjectItf self, SLboolean async) argument
114 if (async && (SL_OBJECTID_ENGINE != clazz->mSLObjectID)) {
124 assert(async);
137 // but the hook is permitted to temporarily unlock the mutex (e.g. for async).
138 result = (NULL != realize) ? (*realize)(thiz, async) : SL_RESULT_SUCCESS;
148 if (async && (NULL != callback)) {
189 // but the hook is permitted to temporarily unlock the mutex (e.g. for async).
227 static SLresult IObject_Resume(SLObjectItf self, SLboolean async) argument
242 if (async) {
[all...]
H A DIDynamicInterfaceManagement.c106 const SLInterfaceID iid, SLboolean async)
132 if (async) {
354 const SLInterfaceID iid, SLboolean async)
380 if (async) {
105 IDynamicInterfaceManagement_AddInterface(SLDynamicInterfaceManagementItf self, const SLInterfaceID iid, SLboolean async) argument
353 IDynamicInterfaceManagement_ResumeInterface(SLDynamicInterfaceManagementItf self, const SLInterfaceID iid, SLboolean async) argument

Completed in 2192 milliseconds

12