Searched refs:context (Results 1 - 25 of 2850) sorted by path

1234567891011>>

/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.cpp36 (*mUserSessionCallback.onClosed)(mUserSessionCallback.context, this);
H A DACameraDevice.cpp264 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
420 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
428 msg->setPointer(kContextKey, session->mUserSessionCallback.context);
567 msg->setPointer(kContextKey, mBusySession->mUserSessionCallback.context);
725 msg->setPointer(kContextKey, cbh.mCallbacks.context);
744 msg->setPointer(kContextKey, cbh.mCallbacks.context);
777 void* context; local
778 bool found = msg->findPointer(kContextKey, &context);
780 ALOGE("%s: Cannot find callback context!", __FUNCTION__);
801 (*onDisconnected)(context, de
[all...]
H A DACameraManager.cpp174 msg->setPointer(kContextKey, callback->context);
210 int32_t cameraId, void* context,
214 (*cb)(context, cameraIdStr);
223 void* context; local
230 found = msg->findPointer(kContextKey, &context);
232 ALOGE("%s: Cannot find callback context!", __FUNCTION__);
240 sendSingleCallback(cameraId, context, cb);
209 sendSingleCallback( int32_t cameraId, void* context, ACameraManager_AvailabilityCallback cb) const argument
H A DACameraManager.h92 mContext(callback->context) {}
130 int32_t cameraId, void* context,
/frameworks/av/cmds/stagefright/
H A Dmediafilter.cpp72 void init(RSC::sp<RSC::RS> context) { argument
73 mScript = new ScriptC_saturation(context);
93 void init(RSC::sp<RSC::RS> context) { argument
94 mScript = new ScriptC_nightvision(context);
113 void init(RSC::sp<RSC::RS> context) { argument
114 mScript = new ScriptC_argbtorgba(context);
380 // create RenderScript context for RSFilters
381 RSC::sp<RSC::RS> context = new RSC::RS(); local
382 context->init("/system/bin");
388 rsWrapper->mContext = context
[all...]
/frameworks/av/include/camera/ndk/
H A DNdkCameraCaptureSession.h56 * @param context The optional application context provided by user in
60 typedef void (*ACameraCaptureSession_stateCallback)(void* context, ACameraCaptureSession *session);
63 /// optional application context.
64 void* context; member in struct:ACameraCaptureSession_stateCallbacks
155 * @param context The optional application context provided by user in
167 void* context, ACameraCaptureSession* session,
173 * @param context The optional application context provide
249 void* context; member in struct:ACameraCaptureSession_captureCallbacks
[all...]
H A DNdkCameraDevice.h94 * @param context The optional context in {@link ACameraDevice_stateCallbacks} will be
98 typedef void (*ACameraDevice_StateCallback)(void* context, ACameraDevice* device);
103 * @param context The optional context in {@link ACameraDevice_stateCallbacks} will be
115 typedef void (*ACameraDevice_ErrorStateCallback)(void* context, ACameraDevice* device, int error);
118 /// optional application context.
119 void* context; member in struct:ACameraDevice_StateCallbacks
H A DNdkCameraManager.h115 * @param context The optional application context provided by user in
121 typedef void (*ACameraManager_AvailabilityCallback)(void* context, const char* cameraId);
134 /// Optional application context.
135 void* context; member in struct:ACameraManager_AvailabilityListener
/frameworks/av/include/ndk/
H A DNdkImageReader.h257 * @param context The optional application context provided by user in
261 typedef void (*AImageReader_ImageCallback)(void* context, AImageReader* reader);
264 /// optional application context.
265 void* context; member in struct:AImageReader_ImageListener
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c232 module->context.state = DOWNMIX_STATE_UNINITIALIZED;
257 pDwmModule->context.state = DOWNMIX_STATE_UNINITIALIZED;
306 pDownmixer = (downmix_object_t*) &pDwmModule->context;
394 if (pDwmModule == NULL || pDwmModule->context.state == DOWNMIX_STATE_UNINITIALIZED) {
398 pDownmixer = (downmix_object_t*) &pDwmModule->context;
533 pDwnmxModule->context.state == DOWNMIX_STATE_UNINITIALIZED) {
551 * Initialize downmix context and apply default parameters
563 * pDwmModule->context.type
564 * pDwmModule->context.apply_volume_correction
569 * pDwmModule->context
[all...]
H A DEffectDownmix.h49 downmix_object_t context; member in struct:downmix_module_s
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c130 module->context.mState = REVERB_STATE_UNINITIALIZED;
147 module->context.mState = REVERB_STATE_INITIALIZED;
162 pRvbModule->context.mState = REVERB_STATE_UNINITIALIZED;
207 pReverb = (reverb_object_t*) &pRvbModule->context;
286 pRvbModule->context.mState == REVERB_STATE_UNINITIALIZED) {
290 pReverb = (reverb_object_t*) &pRvbModule->context;
301 pRvbModule->context.mState = REVERB_STATE_INITIALIZED;
406 pRvbModule->context.mState == REVERB_STATE_UNINITIALIZED) {
410 pReverb = (reverb_object_t*) &pRvbModule->context;
439 * Initialize reverb context an
[all...]
H A DEffectReverb.h296 reverb_object_t context; member in struct:reverb_module_s
362 * Pointer to reverb context
/frameworks/av/media/ndk/
H A DNdkImageReader.cpp90 msg->setPointer(AImageReader::kContextKey, mListener.context);
98 mListener.context = nullptr;
123 void* context; local
129 found = msg->findPointer(kContextKey, &context);
131 ALOGE("%s: Cannot find callback context!", __FUNCTION__);
134 (*onImageAvailable)(context, mReader);
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
H A DInputSource.cpp25 const CMappingContext &context, core::log::Logger &logger)
31 context),
36 mId = static_cast<audio_source_t>(context.getItemAsInteger(MappingKeyIdentifier));
23 InputSource(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger &logger) argument
H A DInputSource.h32 const CMappingContext &context,
H A DStrategy.cpp26 const CMappingContext &context,
33 context),
38 mId = static_cast<routing_strategy>(context.getItemAsInteger(MappingKeyIdentifier));
24 Strategy(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger& logger) argument
H A DStrategy.h32 const CMappingContext &context,
H A DStream.cpp26 const CMappingContext &context, core::log::Logger &logger)
32 mId = static_cast<audio_stream_type_t>(context.getItemAsInteger(MappingKeyIdentifier));
24 Stream(const string & , CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger &logger) argument
H A DStream.h39 const CMappingContext &context,
H A DUsage.cpp26 const CMappingContext &context, core::log::Logger &logger)
32 context),
37 mId = static_cast<audio_usage_t>(context.getItemAsInteger(MappingKeyIdentifier));
24 Usage(const string &mappingValue, CInstanceConfigurableElement *instanceConfigurableElement, const CMappingContext &context, core::log::Logger &logger) argument
H A DUsage.h32 const CMappingContext &context,
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp280 EGLContext context; local
287 context = eglCreateContext(display, config, NULL, NULL);
291 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE)
295 mContext = context;
H A Daudioplay.cpp80 void bqPlayerCallback(SLAndroidSimpleBufferQueueItf bq, void *context) { argument
82 (void)context;
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/
H A DInstrumentationUiAutomatorBridge.java34 public InstrumentationUiAutomatorBridge(Context context, UiAutomation uiAutomation) { argument
36 mContext = context;

Completed in 1889 milliseconds

1234567891011>>