Lines Matching refs:JMediaHTTPConnection
34 JMediaHTTPConnection::JMediaHTTPConnection(JNIEnv *env, jobject thiz) in JMediaHTTPConnection() function in android::JMediaHTTPConnection
48 env, env->NewByteArray(JMediaHTTPConnection::kBufferSize)); in JMediaHTTPConnection()
53 JMediaHTTPConnection::~JMediaHTTPConnection() { in ~JMediaHTTPConnection()
64 sp<IMemory> JMediaHTTPConnection::getIMemory() { in getIMemory()
68 jbyteArray JMediaHTTPConnection::getByteArrayObj() { in getByteArrayObj()
84 static sp<JMediaHTTPConnection> setObject( in setObject()
85 JNIEnv *env, jobject thiz, const sp<JMediaHTTPConnection> &conn) { in setObject()
86 sp<JMediaHTTPConnection> old = in setObject()
87 (JMediaHTTPConnection *)env->GetLongField(thiz, gFields.context); in setObject()
100 static sp<JMediaHTTPConnection> getObject(JNIEnv *env, jobject thiz) { in getObject()
101 return (JMediaHTTPConnection *)env->GetLongField(thiz, gFields.context); in getObject()
117 sp<JMediaHTTPConnection> conn = new JMediaHTTPConnection(env, thiz); in android_media_MediaHTTPConnection_native_setup()
129 sp<JMediaHTTPConnection> conn = getObject(env, thiz); in android_media_MediaHTTPConnection_native_getIMemory()
136 sp<JMediaHTTPConnection> conn = getObject(env, thiz); in android_media_MediaHTTPConnection_native_readAt()
137 if (size > JMediaHTTPConnection::kBufferSize) { in android_media_MediaHTTPConnection_native_readAt()
138 size = JMediaHTTPConnection::kBufferSize; in android_media_MediaHTTPConnection_native_readAt()