Lines Matching refs:android

43     if (!android::CallbackProtector::enterCbIfOk(mp->mCallbackProtector)) {
56 case android::GenericPlayer::kEventPrepared: {
101 case android::GenericPlayer::kEventHasVideoSize: {
155 case android::GenericPlayer::kEventEndOfStream: {
185 case android::GenericPlayer::kEventChannelCount: {
196 case android::GenericPlayer::kEventPrefetchFillLevelUpdate: {
221 case android::GenericPlayer::kEventPrefetchStatusChange: {
235 if (data1 >= android::kStatusIntermediate) {
237 } else if (data1 < android::kStatusIntermediate) {
249 case android::GenericPlayer::kEventPlay: {
263 case android::GenericPlayer::kEventErrorAfterPrepare: {
396 mp->mSessionId = android::AudioSystem::newAudioSessionId();
399 // android::AudioSystem::acquireAudioSessionId(mp->mSessionId);
401 mp->mCallbackProtector = new android::CallbackProtector();
422 mp->mAVPlayer = new android::StreamPlayer(&ap_params, true /*hasVideo*/,
428 mp->mAVPlayer = new android::LocAVPlayer(&ap_params, true /*hasVideo*/);
432 ((android::LocAVPlayer*)mp->mAVPlayer.get())->setDataSource(
437 ((android::LocAVPlayer*)mp->mAVPlayer.get())->setDataSource(
501 // android::AudioSystem::releaseAudioSessionId(mp->mSessionId);
585 android::GenericPlayer* avp = mp->mAVPlayer.get();
599 XAresult android_Player_setPlayState(const android::sp<android::GenericPlayer> &gp,
701 android::StreamPlayer* splr = static_cast<android::StreamPlayer*>(mp->mAVPlayer.get());
710 android::StreamPlayer* splr = static_cast<android::StreamPlayer*>(mp->mAVPlayer.get());
743 android::sp<android::Surface> nativeSurface(
744 static_cast<android::Surface *>(nativeWindow));
751 android::sp<android::SurfaceTextureClient> surfaceTextureClient(
752 static_cast<android::SurfaceTextureClient *>(nativeWindow));
753 android::sp<android::ISurfaceTexture> nativeSurfaceTexture(