Lines Matching refs:iConfig
114 static SLresult ValidatePlayerConfig(IAndroidConfiguration* iConfig) { in ValidatePlayerConfig() argument
117 if (iConfig->mRoutingProxy != NULL) { in ValidatePlayerConfig()
122 IObject* configObj = iConfig->mThis; // get corresponding object in ValidatePlayerConfig()
153 static SLresult AllocPlayerRoutingProxy(IAndroidConfiguration* iConfig, jobject* proxyObj) { in AllocPlayerRoutingProxy() argument
156 IObject* configObj = iConfig->mThis; // get corresponding object in AllocPlayerRoutingProxy()
175 iConfig->mRoutingProxy = *proxyObj; in AllocPlayerRoutingProxy()
182 static SLresult ValidateRecorderConfig(IAndroidConfiguration* iConfig) { in ValidateRecorderConfig() argument
185 if (iConfig->mRoutingProxy != NULL) { in ValidateRecorderConfig()
189 IObject* configObj = iConfig->mThis; // get corresponding object in ValidateRecorderConfig()
223 static SLresult AllocRecorderRoutingProxy(IAndroidConfiguration* iConfig, jobject* proxyObj) { in AllocRecorderRoutingProxy() argument
226 IObject* configObj = iConfig->mThis; // get corresponding object in AllocRecorderRoutingProxy()
243 iConfig->mRoutingProxy = *proxyObj; in AllocRecorderRoutingProxy()
276 IAndroidConfiguration* iConfig = (IAndroidConfiguration*)self; in IAndroidConfiguration_AcquireJavaProxy() local
278 int objID = IObjectToObjectID(InterfaceToIObject(iConfig)); in IAndroidConfiguration_AcquireJavaProxy()
281 result = ValidatePlayerConfig(iConfig); in IAndroidConfiguration_AcquireJavaProxy()
283 result = AllocPlayerRoutingProxy(iConfig, proxyObj); in IAndroidConfiguration_AcquireJavaProxy()
288 result = ValidateRecorderConfig(iConfig); in IAndroidConfiguration_AcquireJavaProxy()
290 result = AllocRecorderRoutingProxy(iConfig, proxyObj); in IAndroidConfiguration_AcquireJavaProxy()
318 IAndroidConfiguration* iConfig = (IAndroidConfiguration*)self; in IAndroidConfiguration_ReleaseJavaProxy() local
322 iConfig->mRoutingProxy == NULL) { in IAndroidConfiguration_ReleaseJavaProxy()
325 int objID = IObjectToObjectID(InterfaceToIObject(iConfig)); in IAndroidConfiguration_ReleaseJavaProxy()
332 j_env->CallVoidMethod(iConfig->mRoutingProxy, gMidAudioTrackRoutingProxy_release); in IAndroidConfiguration_ReleaseJavaProxy()
337 j_env->DeleteGlobalRef(iConfig->mRoutingProxy); in IAndroidConfiguration_ReleaseJavaProxy()
338 iConfig->mRoutingProxy = NULL; in IAndroidConfiguration_ReleaseJavaProxy()
347 j_env->CallVoidMethod(iConfig->mRoutingProxy, gMidAudioRecordRoutingProxy_release); in IAndroidConfiguration_ReleaseJavaProxy()
352 j_env->DeleteGlobalRef(iConfig->mRoutingProxy); in IAndroidConfiguration_ReleaseJavaProxy()
353 iConfig->mRoutingProxy = NULL; in IAndroidConfiguration_ReleaseJavaProxy()