Lines Matching full:player
140 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player)
144 if (player.get()) {
145 player->incStrong((void*)setMediaPlayer);
150 env->SetIntField(thiz, fields.context, (int)player.get());
298 // This will fail if the media player has not been initialized yet. This
530 // Sends the request and reply parcels to the media player via the
727 sp<IBinder> binder = defaultServiceManager()->getService(String16("media.player"));
784 jniThrowException(env, "java/lang/IllegalStateException", "This player not initialized");
789 jniThrowException(env, "java/lang/IllegalStateException", "That player not initialized");
794 jniThrowException(env, "java/lang/IllegalArgumentException", "Next player can't be self");