Home
last modified time | relevance | path

Searched refs:typesPtr (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp323 jint *typesPtr = nullptr; in getVectorOfAudioDeviceTypeAddr() local
324 typesPtr = env->GetIntArrayElements(deviceTypes, 0); in getVectorOfAudioDeviceTypeAddr()
325 if (typesPtr == nullptr) { in getVectorOfAudioDeviceTypeAddr()
329 deviceTypesVector.push_back((audio_devices_t)typesPtr[i]); in getVectorOfAudioDeviceTypeAddr()
339 AudioDeviceTypeAddr dev = AudioDeviceTypeAddr(typesPtr[i], address); in getVectorOfAudioDeviceTypeAddr()
343 env->ReleaseIntArrayElements(deviceTypes, typesPtr, 0); in getVectorOfAudioDeviceTypeAddr()
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp1969 RsType* typesPtr; in nScriptGroupCreate() local
2014 typesPtr = (RsType*) malloc(sizeof(RsType) * typesLen); in nScriptGroupCreate()
2016 typesPtr[i] = (RsType)jTypesPtr[i]; in nScriptGroupCreate()
2024 (RsType *)typesPtr, typesLen * sizeof(RsType)); in nScriptGroupCreate()
2030 free(typesPtr); in nScriptGroupCreate()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp2320 RsType* typesPtr; in nScriptGroupCreate() local
2365 typesPtr = (RsType*) malloc(sizeof(RsType) * typesLen); in nScriptGroupCreate()
2367 typesPtr[i] = (RsType)jTypesPtr[i]; in nScriptGroupCreate()
2375 (RsType *)typesPtr, typesLen * sizeof(RsType)); in nScriptGroupCreate()
2381 free(typesPtr); in nScriptGroupCreate()