Lines Matching refs:env
40 DvbManager::DvbManager(JNIEnv *env, jobject) in DvbManager() argument
46 jclass clazz = env->FindClass( in DvbManager()
48 mOpenDvbFrontEndMethodID = env->GetMethodID( in DvbManager()
50 mOpenDvbDemuxMethodID = env->GetMethodID( in DvbManager()
52 mOpenDvbDvrMethodID = env->GetMethodID( in DvbManager()
69 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune() argument
85 if (openDvbFe(env, thiz) != 0) { in tune()
118 openDvbDvr(env, thiz); in tune()
132 int DvbManager::openDvbFeFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbFeFromSystemApi() argument
133 int fd = (int) env->CallIntMethod(thiz, mOpenDvbFrontEndMethodID); in openDvbFeFromSystemApi()
138 int DvbManager::openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDemuxFromSystemApi() argument
139 int fd = (int) env->CallIntMethod(thiz, mOpenDvbDemuxMethodID); in openDvbDemuxFromSystemApi()
144 int DvbManager::openDvbDvrFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDvrFromSystemApi() argument
145 int fd = (int) env->CallIntMethod(thiz, mOpenDvbDvrMethodID); in openDvbDvrFromSystemApi()
150 int DvbManager::openDvbFe(JNIEnv *env, jobject thiz) { in openDvbFe() argument
152 if ((mFeFd = openDvbFeFromSystemApi(env, thiz)) < 0) { in openDvbFe()
182 int DvbManager::startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType) { in startTsPidFilter() argument
190 if ((demuxFd = openDvbDemuxFromSystemApi(env, thiz)) < 0) { in startTsPidFilter()
251 int DvbManager::openDvbDvr(JNIEnv *env, jobject thiz) { in openDvbDvr() argument
252 if ((mDvrFd = openDvbDvrFromSystemApi(env, thiz)) < 0) { in openDvbDvr()
288 int DvbManager::readTsStream(JNIEnv *env, jobject thiz, in readTsStream() argument
296 openDvbDvr(env, thiz); in readTsStream()