/frameworks/wilhelm/src/itf/ |
H A D | IVolume.c | 29 IVolume *thiz = (IVolume *) self; local 30 interface_lock_exclusive(thiz); 31 SLmillibel oldLevel = thiz->mLevel; 33 thiz->mLevel = level; 34 interface_unlock_exclusive_attributes(thiz, ATTR_GAIN); 36 interface_unlock_exclusive(thiz); 52 IVolume *thiz = (IVolume *) self; local 53 interface_lock_shared(thiz); 54 SLmillibel level = thiz->mLevel; 55 interface_unlock_shared(thiz); 83 IVolume *thiz = (IVolume *) self; local 106 IVolume *thiz = (IVolume *) self; local 122 IVolume *thiz = (IVolume *) self; local 145 IVolume *thiz = (IVolume *) self; local 164 IVolume *thiz = (IVolume *) self; local 187 IVolume *thiz = (IVolume *) self; local 213 IVolume *thiz = (IVolume *) self; local [all...] |
H A D | I3DLocation.c | 29 I3DLocation *thiz = (I3DLocation *) self; local 31 interface_lock_exclusive(thiz); 32 thiz->mLocationCartesian = locationCartesian; 33 thiz->mLocationActive = CARTESIAN_SET_SPHERICAL_UNKNOWN; 34 interface_unlock_exclusive(thiz); 52 I3DLocation *thiz = (I3DLocation *) self; local 53 interface_lock_exclusive(thiz); 54 thiz->mLocationSpherical.mAzimuth = azimuth; 55 thiz->mLocationSpherical.mElevation = elevation; 56 thiz 73 I3DLocation *thiz = (I3DLocation *) self; local 120 I3DLocation *thiz = (I3DLocation *) self; local 174 I3DLocation *thiz = (I3DLocation *) self; local 198 I3DLocation *thiz = (I3DLocation *) self; local 222 I3DLocation *thiz = (I3DLocation *) self; local 249 I3DLocation *thiz = (I3DLocation *) self; local 276 I3DLocation *thiz = (I3DLocation *) self; local [all...] |
H A D | I3DMacroscopic.c | 32 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 33 interface_lock_exclusive(thiz); 34 thiz->mSize.mWidth = width; 35 thiz->mSize.mHeight = height; 36 thiz->mSize.mDepth = depth; 37 interface_unlock_exclusive(thiz); 53 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 54 interface_lock_shared(thiz); 55 SLmillimeter width = thiz->mSize.mWidth; 56 SLmillimeter height = thiz 79 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 103 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 131 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 154 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local 213 I3DMacroscopic *thiz = (I3DMacroscopic *) self; local [all...] |
H A D | I3DSource.c | 26 I3DSource *thiz = (I3DSource *) self; local 27 interface_lock_poke(thiz); 28 thiz->mHeadRelative = SL_BOOLEAN_FALSE != headRelative; // normalize 29 interface_unlock_poke(thiz); 43 I3DSource *thiz = (I3DSource *) self; local 44 interface_lock_peek(thiz); 45 SLboolean headRelative = thiz->mHeadRelative; 46 interface_unlock_peek(thiz); 64 I3DSource *thiz = (I3DSource *) self; local 65 interface_lock_exclusive(thiz); 84 I3DSource *thiz = (I3DSource *) self; interface_lock_shared(thiz); local 101 I3DSource *thiz = (I3DSource *) self; local 118 I3DSource *thiz = (I3DSource *) self; local 137 I3DSource *thiz = (I3DSource *) self; local 152 I3DSource *thiz = (I3DSource *) self; local 170 I3DSource *thiz = (I3DSource *) self; local 185 I3DSource *thiz = (I3DSource *) self; local 204 I3DSource *thiz = (I3DSource *) self; local 224 I3DSource *thiz = (I3DSource *) self; local 245 I3DSource *thiz = (I3DSource *) self; local 266 I3DSource *thiz = (I3DSource *) self; local 301 I3DSource *thiz = (I3DSource *) self; local [all...] |
H A D | IAndroidBufferQueue.c | 30 static SLuint32 getAssociatedState(IAndroidBufferQueue *thiz) argument 33 switch (InterfaceToObjectID(thiz)) { 35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState; 38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState; 240 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 242 interface_lock_exclusive(thiz); 245 if (SL_PLAYSTATE_STOPPED == getAssociatedState(thiz)) { 246 thiz->mCallback = callback; 247 thiz->mContext = pContext; 254 interface_unlock_exclusive(thiz); 265 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 319 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 403 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 424 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 447 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 471 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local 491 IAndroidBufferQueue *thiz = (IAndroidBufferQueue *) self; local [all...] |
H A D | IAudioIODeviceCapabilities.c | 76 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 77 interface_lock_exclusive(thiz); 78 thiz->mAvailableAudioInputsChangedCallback = callback; 79 thiz->mAvailableAudioInputsChangedContext = pContext; 80 interface_unlock_exclusive(thiz); 146 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 147 interface_lock_exclusive(thiz); 148 thiz->mAvailableAudioOutputsChangedCallback = callback; 149 thiz->mAvailableAudioOutputsChangedContext = pContext; 150 interface_unlock_exclusive(thiz); 163 IAudioIODeviceCapabilities * thiz = (IAudioIODeviceCapabilities *) self; local 315 IAudioIODeviceCapabilities *thiz = (IAudioIODeviceCapabilities *) self; local [all...] |
H A D | IDynamicInterfaceManagement.c | 29 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 30 assert(NULL != thiz); 31 IObject *thisObject = InterfaceToIObject(thiz); 92 slDynamicInterfaceManagementCallback callback = thiz->mCallback; 93 void *context = thiz->mContext; 99 (*callback)(&thiz->mItf, context, SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION, result, iid); 114 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 115 IObject *thisObject = InterfaceToIObject(thiz); 138 result = ThreadPool_add_ppi(&thisObject->mEngine->mThreadPool, HandleAdd, thiz, 210 IDynamicInterfaceManagement *thiz local 285 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 362 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 445 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local 466 IDynamicInterfaceManagement *thiz = (IDynamicInterfaceManagement *) self; local [all...] |
H A D | IEffectSend.c | 39 static struct EnableLevel *getEnableLevel(IEffectSend *thiz, const void *pAuxEffect) argument 42 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 43 (CAudioPlayer *) thiz->mThis : NULL; 81 return &thiz->mEnableLevels[aux]; 121 IEffectSend *thiz = (IEffectSend *) self; local 122 struct EnableLevel *enableLevel = getEnableLevel(thiz, pAuxEffect); 126 interface_lock_exclusive(thiz); 133 CAudioPlayer *ap = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 134 (CAudioPlayer *) thiz->mThis : NULL; 154 interface_unlock_exclusive(thiz); 170 IEffectSend *thiz = (IEffectSend *) self; local 197 IEffectSend *thiz = (IEffectSend *) self; local 232 IEffectSend *thiz = (IEffectSend *) self; local 260 IEffectSend *thiz = (IEffectSend *) self; local 295 IEffectSend *thiz = (IEffectSend *) self; local 323 IEffectSend *thiz = (IEffectSend *) self; local [all...] |
H A D | IEngineCapabilities.c | 107 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local 114 if (index >= thiz->mMaxIndexLED) { 124 *pIndex = thiz->mMaxIndexLED; 129 for (index = 0; index < thiz->mMaxIndexLED; ++index) { 149 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local 156 if (index >= thiz->mMaxIndexVibra) { 166 *pIndex = thiz->mMaxIndexVibra; 171 for (index = 0; index < thiz->mMaxIndexVibra; ++index) { 194 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local 195 *pIsThreadSafe = thiz 215 IEngineCapabilities *thiz = (IEngineCapabilities *) self; local [all...] |
H A D | IPlay.c | 31 IPlay *thiz = (IPlay *) self; local 35 CAudioPlayer *audioPlayer = (SL_OBJECTID_AUDIOPLAYER == InterfaceToObjectID(thiz)) ? 36 (CAudioPlayer *) thiz->mThis : NULL; 38 interface_lock_exclusive(thiz); 39 SLuint32 oldState = thiz->mState; 42 for (;; interface_cond_wait(thiz)) { 69 thiz->mState = state; 84 thiz->mState = SL_PLAYSTATE_STOPPING; 99 thiz->mState = state; 105 interface_unlock_exclusive_attributes(thiz, att 124 IPlay *thiz = (IPlay *) self; local 160 IPlay *thiz = (IPlay *) self; local 202 IPlay *thiz = (IPlay *) self; local 244 IPlay *thiz = (IPlay *) self; local 264 IPlay *thiz = (IPlay *) self; local 293 IPlay *thiz = (IPlay *) self; local 312 IPlay *thiz = (IPlay *) self; local 337 IPlay *thiz = (IPlay *) self; local 365 IPlay *thiz = (IPlay *) self; local 388 IPlay *thiz = (IPlay *) self; local 429 IPlay *thiz = (IPlay *) self; local 458 IPlay *thiz = (IPlay *) self; local [all...] |
H A D | IRecord.c | 31 IRecord *thiz = (IRecord *) self; local 32 interface_lock_exclusive(thiz); 33 thiz->mState = state; 35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(thiz), state); 37 interface_unlock_exclusive(thiz); 54 IRecord *thiz = (IRecord *) self; local 58 interface_lock_shared(thiz); 59 SLuint32 state = thiz->mState; 60 interface_unlock_shared(thiz); 73 IRecord *thiz local 94 IRecord *thiz = (IRecord *) self; local 121 IRecord *thiz = (IRecord *) self; local 145 IRecord *thiz = (IRecord *) self; local 167 IRecord *thiz = (IRecord *) self; local 186 IRecord *thiz = (IRecord *) self; local 211 IRecord *thiz = (IRecord *) self; local 239 IRecord *thiz = (IRecord *) self; local 262 IRecord *thiz = (IRecord *) self; local 284 IRecord *thiz = (IRecord *) self; local 313 IRecord *thiz = (IRecord *) self; local [all...] |
H A D | IStreamInformation.c | 32 IStreamInformation *thiz = (IStreamInformation *) self; local 33 interface_lock_shared(thiz); 35 *info = thiz->mStreamInfoTable.itemAt(0).containerInfo; 36 interface_unlock_shared(thiz); 70 IStreamInformation *thiz = (IStreamInformation *) self; local 72 interface_lock_shared(thiz); 74 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; 78 *domain = thiz->mStreamInfoTable.itemAt(streamIndex).domain; 85 interface_unlock_shared(thiz); 107 IStreamInformation *thiz 172 IStreamInformation *thiz = (IStreamInformation *) self; local 219 IStreamInformation *thiz = (IStreamInformation *) self; local 245 IStreamInformation *thiz = (IStreamInformation *) self; local 289 IStreamInformation *thiz = (IStreamInformation *) self; local 317 IStreamInformation *thiz = (IStreamInformation *) self; local [all...] |
/frameworks/wilhelm/src/objects/ |
H A D | CEngine.c | 54 CEngine *thiz = (CEngine *) self; local 58 int err = pthread_create(&thiz->mSyncThread, (const pthread_attr_t *) NULL, sync_start, thiz); 64 result = ThreadPool_init(&thiz->mThreadPool, 0, 0); 66 thiz->mEngine.mShutdown = SL_BOOLEAN_TRUE; 67 (void) pthread_join(thiz->mSyncThread, (void **) NULL); 71 SDL_open(&thiz->mEngine); 89 CEngine *thiz = (CEngine *) self; local 92 unsigned instanceCount = thiz->mEngine.mInstanceCount; 93 unsigned instanceMask = thiz [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 42 android_hardware_UsbDeviceConnection_open(JNIEnv *env, jobject thiz, jstring deviceName, argument 54 env->SetIntField(thiz, field_context, (int)device); 65 android_hardware_UsbDeviceConnection_close(JNIEnv *env, jobject thiz) argument 68 struct usb_device* device = get_device_from_object(env, thiz); 71 env->SetIntField(thiz, field_context, 0); 76 android_hardware_UsbDeviceConnection_get_fd(JNIEnv *env, jobject thiz) argument 78 struct usb_device* device = get_device_from_object(env, thiz); 87 android_hardware_UsbDeviceConnection_get_desc(JNIEnv *env, jobject thiz) argument 90 int fd = android_hardware_UsbDeviceConnection_get_fd(env, thiz); 108 android_hardware_UsbDeviceConnection_claim_interface(JNIEnv *env, jobject thiz, argument 127 android_hardware_UsbDeviceConnection_release_interface(JNIEnv *env, jobject thiz, int interfaceID) argument 143 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint length, jint timeout) argument 172 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint length, jint timeout) argument 199 android_hardware_UsbDeviceConnection_request_wait(JNIEnv *env, jobject thiz) argument 215 android_hardware_UsbDeviceConnection_get_serial(JNIEnv *env, jobject thiz) argument [all...] |
H A D | android_media_AudioSystem.cpp | 57 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument 63 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) argument 71 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument 79 android_media_AudioSystem_isSourceActive(JNIEnv *env, jobject thiz, jint source) argument 87 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) argument 100 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) argument 139 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) argument 150 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) argument 160 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument 166 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jin argument 173 android_media_AudioSystem_getForceUse(JNIEnv *env, jobject thiz, jint usage) argument 179 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument 187 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument 200 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument 216 android_media_AudioSystem_setMasterVolume(JNIEnv *env, jobject thiz, jfloat value) argument 222 android_media_AudioSystem_getMasterVolume(JNIEnv *env, jobject thiz) argument 232 android_media_AudioSystem_setMasterMute(JNIEnv *env, jobject thiz, jboolean mute) argument 238 android_media_AudioSystem_getMasterMute(JNIEnv *env, jobject thiz) argument 248 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument [all...] |
H A D | android_media_JetPlayer.cpp | 79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, argument 90 env->SetIntField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, (int)lpJet); 103 android_media_JetPlayer_finalize(JNIEnv *env, jobject thiz) argument 107 thiz, javaJetPlayerFields.nativePlayerInJavaObj); 119 android_media_JetPlayer_release(JNIEnv *env, jobject thiz) argument 121 android_media_JetPlayer_finalize(env, thiz); 122 env->SetIntField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, 0); 129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) argument 132 thiz, javaJetPlayerFields.nativePlayerInJavaObj); 164 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, argument 194 android_media_JetPlayer_closeFile(JNIEnv *env, jobject thiz) argument 215 android_media_JetPlayer_play(JNIEnv *env, jobject thiz) argument 238 android_media_JetPlayer_pause(JNIEnv *env, jobject thiz) argument 265 android_media_JetPlayer_queueSegment(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jint muteFlags, jbyte userID) argument 291 android_media_JetPlayer_queueSegmentMuteArray(JNIEnv *env, jobject thiz, jint segmentNum, jint libNum, jint repeatCount, jint transpose, jbooleanArray muteArray, jbyte userID) argument 337 android_media_JetPlayer_setMuteFlags(JNIEnv *env, jobject thiz, jint muteFlags , jboolean bSync) argument 361 android_media_JetPlayer_setMuteArray(JNIEnv *env, jobject thiz, jbooleanArray muteArray, jboolean bSync) argument 406 android_media_JetPlayer_setMuteFlag(JNIEnv *env, jobject thiz, jint trackId, jboolean muteFlag, jboolean bSync) argument 432 android_media_JetPlayer_triggerClip(JNIEnv *env, jobject thiz, jint clipId) argument 456 android_media_JetPlayer_clearQueue(JNIEnv *env, jobject thiz) argument [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_UsbDeviceManager.cpp | 65 static jobjectArray android_server_UsbDeviceManager_getAccessoryStrings(JNIEnv *env, jobject thiz) argument 87 static jobject android_server_UsbDeviceManager_openAccessory(JNIEnv *env, jobject thiz) argument 102 static jboolean android_server_UsbDeviceManager_isStartRequested(JNIEnv *env, jobject thiz) argument 114 static jint android_server_UsbDeviceManager_getAudioMode(JNIEnv *env, jobject thiz) argument
|
H A D | com_android_server_UsbHostManager.cpp | 65 jobject thiz = (jobject)client_data; local 111 env->CallVoidMethod(thiz, method_usbDeviceAdded, 125 jobject thiz = (jobject)client_data; local 128 env->CallVoidMethod(thiz, method_usbDeviceRemoved, deviceName); 134 static void android_server_UsbHostManager_monitorUsbHostBus(JNIEnv *env, jobject thiz) argument 141 // this will never return so it is safe to pass thiz directly 142 usb_host_run(context, usb_device_added, usb_device_removed, NULL, (void *)thiz); 145 static jobject android_server_UsbHostManager_openDevice(JNIEnv *env, jobject thiz, jstring deviceName) argument
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 35 struct SndFile *thiz = &thisAP->mSndFile; local 37 pthread_mutex_lock(&thiz->mMutex); 38 if (thiz->mEOF) { 39 pthread_mutex_unlock(&thiz->mMutex); 42 short *pBuffer = &thiz->mBuffer[thiz->mWhich * SndFile_BUFSIZE]; 43 if (++thiz->mWhich >= SndFile_NUMBUFS) { 44 thiz->mWhich = 0; 47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); 48 pthread_mutex_unlock(&thiz 137 SndFile_checkAudioPlayerSourceSink(CAudioPlayer *thiz) argument 239 SndFile_Realize(CAudioPlayer *thiz) argument 277 SndFile_Destroy(CAudioPlayer *thiz) argument [all...] |
/frameworks/wilhelm/src/ |
H A D | locks.c | 34 void object_lock_exclusive_(IObject *thiz, const char *file, int line) argument 37 ok = pthread_mutex_trylock(&thiz->mMutex); 40 int32_t oldGeneration = thiz->mGeneration; 46 ok = pthread_mutex_lock_timeout_np(&thiz->mMutex, backoffs[i]); 60 int32_t newGeneration = thiz->mGeneration; 70 pthread_t owner = thiz->mOwner; 74 " (tid %d) at %s:%d\n", file, line, *(void **)&me, gettid(), thiz, 75 *(void **)&owner, ownerTid, thiz->mFile, thiz->mLine); 79 ok = pthread_mutex_lock(&thiz 110 object_lock_exclusive(IObject *thiz) argument 122 object_unlock_exclusive_(IObject *thiz, const char *file, int line) argument 135 object_unlock_exclusive(IObject *thiz) argument 149 object_unlock_exclusive_attributes_(IObject *thiz, unsigned attributes, const char *file, int line) argument 275 object_cond_wait_(IObject *thiz, const char *file, int line) argument 294 object_cond_wait(IObject *thiz) argument 305 object_cond_signal(IObject *thiz) argument 317 object_cond_broadcast(IObject *thiz) argument [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodecList.cpp | 31 JNIEnv *env, jobject thiz) { 36 JNIEnv *env, jobject thiz, jint index) { 48 JNIEnv *env, jobject thiz, jint index) { 53 JNIEnv *env, jobject thiz, jint index) { 79 JNIEnv *env, jobject thiz, jint index, jstring type) { 30 android_media_MediaCodecList_getCodecCount( JNIEnv *env, jobject thiz) argument 35 android_media_MediaCodecList_getCodecName( JNIEnv *env, jobject thiz, jint index) argument 47 android_media_MediaCodecList_isEncoder( JNIEnv *env, jobject thiz, jint index) argument 52 android_media_MediaCodecList_getSupportedTypes( JNIEnv *env, jobject thiz, jint index) argument 78 android_media_MediaCodecList_getCodecCapabilities( JNIEnv *env, jobject thiz, jint index, jstring type) argument
|
H A D | android_mtp_MtpServer.cpp | 55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) { argument 56 return (MtpServer*)env->GetIntField(thiz, field_MtpServer_nativeContext); 60 android_mtp_MtpServer_setup(JNIEnv *env, jobject thiz, jobject javaDatabase, jboolean usePtp) argument 66 env->SetIntField(thiz, field_MtpServer_nativeContext, (int)server); 73 android_mtp_MtpServer_run(JNIEnv *env, jobject thiz) argument 75 MtpServer* server = getMtpServer(env, thiz); 83 android_mtp_MtpServer_cleanup(JNIEnv *env, jobject thiz) argument 87 MtpServer* server = getMtpServer(env, thiz); 90 env->SetIntField(thiz, field_MtpServer_nativeContext, 0); 97 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jin argument 109 android_mtp_MtpServer_send_object_removed(JNIEnv *env, jobject thiz, jint handle) argument 121 android_mtp_MtpServer_add_storage(JNIEnv *env, jobject thiz, jobject jstorage) argument 153 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) argument [all...] |
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorPropertiesMain.cpp | 57 jobject thiz, 68 jobject thiz, 80 jobject thiz, 203 pEnv, thiz, pFile, clipType, pClipProperties); 427 jobject thiz, 78 videoEditProp_getProperties( JNIEnv* pEnv, jobject thiz, jstring file) argument 425 getClipProperties( JNIEnv* pEnv, jobject thiz, M4OSA_Char* pFile, M4VIDEOEDITING_FileType clipType, M4VIDEOEDITING_ClipProperties* pClipProperties) argument
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_program.cpp | 30 jboolean Java_android_filterfw_core_NativeProgram_allocate(JNIEnv* env, jobject thiz) { argument 31 return ToJBool(WrapObjectInJava(new NativeProgram(), env, thiz, true)); 34 jboolean Java_android_filterfw_core_NativeProgram_deallocate(JNIEnv* env, jobject thiz) { argument 35 return ToJBool(DeleteNativeObject<NativeProgram>(env, thiz)); 38 jboolean Java_android_filterfw_core_NativeProgram_nativeInit(JNIEnv* env, jobject thiz) { argument 39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 44 jobject thiz, 46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 51 jobject thiz, 53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); 43 Java_android_filterfw_core_NativeProgram_openNativeLibrary(JNIEnv* env, jobject thiz, jstring lib_name) argument 50 Java_android_filterfw_core_NativeProgram_bindInitFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 57 Java_android_filterfw_core_NativeProgram_bindSetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 66 Java_android_filterfw_core_NativeProgram_bindGetValueFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 75 Java_android_filterfw_core_NativeProgram_bindProcessFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 82 Java_android_filterfw_core_NativeProgram_bindResetFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 91 Java_android_filterfw_core_NativeProgram_bindTeardownFunction(JNIEnv* env, jobject thiz, jstring func_name) argument 100 Java_android_filterfw_core_NativeProgram_callNativeInit(JNIEnv* env, jobject thiz) argument 105 Java_android_filterfw_core_NativeProgram_callNativeSetValue(JNIEnv* env, jobject thiz, jstring key, jstring value) argument 119 Java_android_filterfw_core_NativeProgram_callNativeGetValue(JNIEnv* env, jobject thiz, jstring key) argument 130 Java_android_filterfw_core_NativeProgram_callNativeProcess(JNIEnv* env, jobject thiz, jobjectArray inputs, jobject output) argument 179 Java_android_filterfw_core_NativeProgram_callNativeReset(JNIEnv* env, jobject thiz) argument 184 Java_android_filterfw_core_NativeProgram_callNativeTeardown(JNIEnv* env, jobject thiz) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 49 static void SurfaceTexture_setSurfaceTexture(JNIEnv* env, jobject thiz, argument 53 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture); 55 surfaceTexture->incStrong(thiz); 58 p->decStrong(thiz); 60 env->SetIntField(thiz, fields.surfaceTexture, (int)surfaceTexture.get()); 63 sp<SurfaceTexture> SurfaceTexture_getSurfaceTexture(JNIEnv* env, jobject thiz) argument 66 (SurfaceTexture*)env->GetIntField(thiz, fields.surfaceTexture)); 71 JNIEnv* env, jobject thiz) 73 sp<SurfaceTexture> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, thiz)); 79 bool android_SurfaceTexture_isInstanceOf(JNIEnv* env, jobject thiz) argument 70 android_SurfaceTexture_getNativeWindow( JNIEnv* env, jobject thiz) argument 179 SurfaceTexture_init(JNIEnv* env, jobject thiz, jint texName, jobject weakThiz, jboolean allowSynchronous) argument 202 SurfaceTexture_finalize(JNIEnv* env, jobject thiz) argument 209 SurfaceTexture_setDefaultBufferSize( JNIEnv* env, jobject thiz, jint width, jint height) argument 216 SurfaceTexture_updateTexImage(JNIEnv* env, jobject thiz) argument 228 SurfaceTexture_detachFromGLContext(JNIEnv* env, jobject thiz) argument 234 SurfaceTexture_attachToGLContext(JNIEnv* env, jobject thiz, jint tex) argument 240 SurfaceTexture_getTransformMatrix(JNIEnv* env, jobject thiz, jfloatArray jmtx) argument 249 SurfaceTexture_getTimestamp(JNIEnv* env, jobject thiz) argument 255 SurfaceTexture_release(JNIEnv* env, jobject thiz) argument [all...] |