Searched defs:async (Results 1 - 25 of 25) sorted by last modified time

/frameworks/wilhelm/src/android/
H A DAudioPlayer_to_android.cpp1491 SLresult android_audioPlayer_realize(CAudioPlayer *pAudioPlayer, SLboolean async) { argument
H A DAudioRecorder_to_android.cpp389 SLresult android_audioRecorder_realize(CAudioRecorder* ar, SLboolean async) { argument
H A DMediaPlayer_to_android.cpp409 XAresult android_Player_realize(CMediaPlayer *mp, SLboolean async) { argument
H A DOutputMix_to_android.cpp29 SLresult android_outputMix_realize(COutputMix *om, SLboolean async) { argument
H A Dandroid_GenericPlayer.cpp285 void GenericPlayer::notify(const char* event, int data, bool async) { argument
286 SL_LOGV("GenericPlayer::notify(event=%s, data=%d, async=%s)", event, data,
287 async ? "true" : "false");
290 if (async) {
298 void GenericPlayer::notify(const char* event, int data1, int data2, bool async) { argument
299 SL_LOGV("GenericPlayer::notify(event=%s, data1=%d, data2=%d, async=%s)", event, data1, data2,
300 async ? "true" : "false");
303 if (async) {
403 true /*async*/);
555 notify(PLAYEREVENT_PREFETCHSTATUSCHANGE, (int32_t)mCacheStatus, true /*async*/);
[all...]
/frameworks/wilhelm/src/itf/
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
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...]
/frameworks/wilhelm/src/objects/
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 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 DCEngine.c52 SLresult CEngine_Realize(void *self, SLboolean async) argument
79 SLresult CEngine_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
/frameworks/native/cmds/atrace/
H A Datrace.cpp811 bool async = false; local
880 async = true;
885 async = true;
888 async = true;
926 if (ok && !async) {
/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...]
/frameworks/native/libs/gui/
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...]
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...]
/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.cpp239 true /* async*/,
290 bool async = (source == SOURCE_SINK);
292 status_t result = mSource[source]->dequeueBuffer(sslot, fence, async,
331 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, argument
334 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, async, w, h, format, usage);
340 VDS_LOGW_IF(!async, "EGL called dequeueBuffer with !async despite eglSwapInterval(0)");
459 bool async; local
461 &transform, &async, &mFbFence);
519 void VirtualDisplaySurface::allocateBuffers(bool /* async */,
[all...]
/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
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java2170 // Queue up an async operation since clearing cache may take a little while.
2196 // Queue up an async operation since clearing cache may take a little while.
2537 boolean addPermissionLocked(PermissionInfo info, boolean async) { argument
2572 if (!async) {
8614 // Queue up an async operation since the package installation may take a little while.
10851 // Queue up an async operation since the package deletion may take a little while.
11433 // Queue up an async operation since the package deletion may take a little while.
11544 // Queue up an async operation since the package deletion may take a little while.
11604 * Queue up an async operation since the package measurement may take a
12921 // Queue up an async operatio
[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;
H A DMessage.java453 * @param async True if the message is asynchronous.
457 public void setAsynchronous(boolean async) { argument
458 if (async) {
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerSession.java259 boolean async) {
260 if (async || mAsyncHandler == null) {
314 // if it is pending as an async operation.
258 processTask(ISpellCheckerSession session, SpellCheckerParams scp, boolean async) argument
/frameworks/base/core/java/com/android/internal/os/
H A DHandlerCaller.java31 MyHandler(Looper looper, boolean async) { argument
32 super(looper, null, async);
/frameworks/base/core/java/android/app/
H A DActivityThread.java872 sendMessage(H.DUMP_SERVICE, data, 0, 0, true /*async*/);
905 sendMessage(H.DUMP_HEAP, dhd, managed ? 1 : 0, 0, true /*async*/);
936 sendMessage(H.DUMP_ACTIVITY, data, 0, 0, true /*async*/);
949 sendMessage(H.DUMP_PROVIDER, data, 0, 0, true /*async*/);
2178 private void sendMessage(int what, Object obj, int arg1, int arg2, boolean async) { argument
2187 if (async) {

Completed in 2906 milliseconds