code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
package com.aviary.android.feather.graphics; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.PixelFormat; import android.graphics.Rect; import android.graphics.drawable.Drawable; import com.outsourcing.bottle.R; import com.aviary.android.feather.widget.Gallery; /** * Default checkbox drawable for {@link Gallery} views.<br /> * Draw a checkbox drawable in order to simulate a checkbox component.<br/> * * @author alessandro * */ public class CropCheckboxDrawable extends OverlayGalleryCheckboxDrawable { /** The default drawable. */ protected Drawable mCropDrawable; /** * Instantiates a new crop checkbox drawable. * * @param res * the res * @param pressed * the pressed * @param resId * the res id * @param bottomOffset * the bottom offset * @param padding * the padding */ public CropCheckboxDrawable( Resources res, boolean pressed, int resId, float bottomOffset, float paddingW, float paddingH ) { this( res, pressed, res.getDrawable( resId ), bottomOffset, paddingW, paddingH ); } /** * Instantiates a new crop checkbox drawable. * * @param res * the res * @param pressed * the pressed * @param drawable * the drawable * @param bottomOffset * the bottom offset * @param padding * the padding */ public CropCheckboxDrawable( Resources res, boolean pressed, Drawable drawable, float bottomOffset, float paddingW, float paddingH ) { super( res, pressed, drawable, bottomOffset, paddingW, paddingH ); mCropDrawable = res.getDrawable( pressed ? R.drawable.feather_crop_checkbox_selected : R.drawable.feather_crop_checkbox_unselected ); } /* * (non-Javadoc) * * @see com.aviary.android.feather.graphics.OverlayGalleryCheckboxDrawable#draw(android.graphics.Canvas) */ @Override public void draw( Canvas canvas ) { super.draw( canvas ); mCropDrawable.draw( canvas ); } /* * (non-Javadoc) * * @see com.aviary.android.feather.graphics.OverlayGalleryCheckboxDrawable#onBoundsChange(android.graphics.Rect) */ @Override protected void onBoundsChange( Rect rect ) { super.onBoundsChange( rect ); int left = (int) ( rect.width() * 0.2831 ); int top = (int) ( rect.height() * 0.6708 ); int right = (int) ( rect.width() * 0.7433 ); int bottom = (int) ( rect.height() * 0.8037 ); mCropDrawable.setBounds( left, top, right, bottom ); } /* * (non-Javadoc) * * @see com.aviary.android.feather.graphics.DefaultGalleryCheckboxDrawable#getOpacity() */ @Override public int getOpacity() { return PixelFormat.TRANSLUCENT; } /* * (non-Javadoc) * * @see com.aviary.android.feather.graphics.DefaultGalleryCheckboxDrawable#setAlpha(int) */ @Override public void setAlpha( int alpha ) {} /* * (non-Javadoc) * * @see com.aviary.android.feather.graphics.DefaultGalleryCheckboxDrawable#setColorFilter(android.graphics.ColorFilter) */ @Override public void setColorFilter( ColorFilter cf ) {} }
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/CropCheckboxDrawable.java
Java
asf20
3,127
package com.aviary.android.feather.graphics; import java.lang.ref.WeakReference; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Rect; import android.graphics.Typeface; import android.graphics.drawable.Drawable; import android.util.Log; public class ExternalFilterPackDrawable extends Drawable { Paint mPaint; Matrix mMatrix; Matrix mDrawMatrix = new Matrix(); Paint mDrawPaint = new Paint(); static final int defaultWidth = 161; static final int defaultHeight = 250; final int bitmapWidth; final int bitmapHeight; float xRatio; float yRatio; private String mTitle, mShortTitle; private int mNumEffects; private int mColor; private WeakReference<Bitmap> mShadowBitmap; private WeakReference<Bitmap> mEffectBitmap; public ExternalFilterPackDrawable( String title, String shortTitle, int numEffects, int color, Typeface typeFace, Bitmap shadow, Bitmap effect ) { super(); mMatrix = new Matrix(); mPaint = new Paint( Paint.ANTI_ALIAS_FLAG ); mPaint.setSubpixelText( true ); mPaint.setAntiAlias( true ); mPaint.setDither( true ); mPaint.setFilterBitmap( true ); bitmapWidth = effect.getWidth(); bitmapHeight = effect.getHeight(); Log.d( "xxx", "size: " + bitmapWidth + "x" + bitmapHeight ); xRatio = (float) defaultWidth / bitmapWidth; yRatio = (float) defaultHeight / bitmapHeight; mShadowBitmap = new WeakReference<Bitmap>( shadow ); mEffectBitmap = new WeakReference<Bitmap>( effect ); mTitle = title; mShortTitle = shortTitle; mNumEffects = numEffects < 0 ? 6 : numEffects; mColor = color; if ( null != typeFace ) { mPaint.setTypeface( typeFace ); } } @Override protected void finalize() throws Throwable { super.finalize(); } @Override protected void onBoundsChange( Rect bounds ) { super.onBoundsChange( bounds ); } @Override public void draw( Canvas canvas ) { drawInternal( canvas ); } @Override public int getIntrinsicWidth() { return bitmapWidth; } @Override public int getIntrinsicHeight() { return bitmapHeight; } private void drawInternal( Canvas canvas ) { final int leftTextSize = (int) ( 32 / xRatio ); final int titleTextSize = (int) ( 26 / yRatio ); Bitmap bmp; // SHADOW mMatrix.reset(); if ( null != mShadowBitmap ) { bmp = mShadowBitmap.get(); if ( null != bmp ) { canvas.drawBitmap( bmp, mMatrix, mPaint ); } } // colored background mPaint.setColor( mColor ); canvas.drawRect( 17 / xRatio, 37 / yRatio, 145 / xRatio, 225 / yRatio, mPaint ); int saveCount = canvas.save( Canvas.MATRIX_SAVE_FLAG ); canvas.rotate( 90 ); // SHORT TITLE mPaint.setColor( Color.BLACK ); mPaint.setTextSize( leftTextSize ); canvas.drawText( mShortTitle, 66 / xRatio, -26 / yRatio, mPaint ); // TITLE mPaint.setTextSize( titleTextSize ); canvas.drawText( mTitle, 69 / xRatio, -88 / yRatio, mPaint ); // NUM EFFECTS mPaint.setARGB( 255, 35, 31, 42 ); canvas.drawRect( 135 / yRatio, -16 / xRatio, 216 / yRatio, -57 / xRatio, mPaint ); mPaint.setColor( Color.WHITE ); mPaint.setTextSize( leftTextSize ); String text = mNumEffects + "fx"; int numEffectsLength = String.valueOf( mNumEffects ).length(); canvas.drawText( text, ( 160 - ( numEffectsLength * 10 ) ) / xRatio, -26 / yRatio, mPaint ); // restore canvas canvas.restoreToCount( saveCount ); // cannister if ( null != mEffectBitmap ) { bmp = mEffectBitmap.get(); if ( null != bmp ) { canvas.drawBitmap( bmp, mMatrix, mPaint ); } } } @Override public int getOpacity() { return PixelFormat.TRANSLUCENT; } @Override public void setAlpha( int alpha ) {} @Override public void setColorFilter( ColorFilter cf ) {} @Override public void setBounds( int left, int top, int right, int bottom ) { Log.d( "xxx", "setBounds: " + left + ", " + top + ", " + right + ", " + bottom ); super.setBounds( left, top, right, bottom ); } }
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/ExternalFilterPackDrawable.java
Java
asf20
4,103
package com.aviary.android.feather.graphics; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapShader; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Matrix; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Rect; import android.graphics.Shader; import android.graphics.Shader.TileMode; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.view.View; /** * Draw a bitmap repeated horizontally and scaled vertically. * * @author alessandro */ public class RepeatableHorizontalDrawable extends Drawable { private Paint mPaint = new Paint(); private Rect mRect = new Rect(); private Matrix mMatrix = new Matrix(); private Bitmap mBitmap = null; private Shader mShader; /** * Construct a new {@link RepeatableHorizontalDrawable} instance. * * @param resources * the current Context {@link Resources} used to extract the resource * @param resId * the {@link BitmapDrawable} resource used to draw */ public RepeatableHorizontalDrawable( Resources resources, int resId ) { try { Bitmap bitmap = ( (BitmapDrawable) resources.getDrawable( resId ) ).getBitmap(); init( bitmap ); } catch ( Exception e ) {} } public static Drawable createFromView( View view ) { Drawable drawable = view.getBackground(); if ( null != drawable ) { if ( drawable instanceof BitmapDrawable ) { Bitmap bitmap = ( (BitmapDrawable) drawable ).getBitmap(); return new RepeatableHorizontalDrawable( bitmap ); } } return drawable; } public RepeatableHorizontalDrawable( Bitmap bitmap ) { init( bitmap ); } private void init( Bitmap bitmap ) { mBitmap = bitmap; if ( mBitmap != null ) { mShader = new BitmapShader( mBitmap, TileMode.REPEAT, TileMode.CLAMP ); mPaint.setShader( mShader ); } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#draw(android.graphics.Canvas) */ @Override public void draw( Canvas canvas ) { if ( null != mBitmap ) { copyBounds( mRect ); canvas.drawPaint( mPaint ); } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#onBoundsChange(android.graphics.Rect) */ @Override protected void onBoundsChange( Rect bounds ) { super.onBoundsChange( bounds ); if ( null != mBitmap ) { mMatrix.setScale( 1, (float) bounds.height() / mBitmap.getHeight() ); mShader.setLocalMatrix( mMatrix ); } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getOpacity() */ @Override public int getOpacity() { return PixelFormat.TRANSLUCENT; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setAlpha(int) */ @Override public void setAlpha( int alpha ) { mPaint.setAlpha( alpha ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setColorFilter(android.graphics.ColorFilter) */ @Override public void setColorFilter( ColorFilter cf ) { mPaint.setColorFilter( cf ); } }
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/RepeatableHorizontalDrawable.java
Java
asf20
3,105
package com.aviary.android.feather.graphics; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.ColorMatrixColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Rect; import android.graphics.drawable.Drawable; import com.aviary.android.feather.library.graphics.drawable.IBitmapDrawable; /** * The Class StickerBitmapDrawable. */ public class StickerBitmapDrawable extends Drawable implements IBitmapDrawable { protected Bitmap mBitmap; protected Paint mPaint; protected Paint mShadowPaint; protected Rect srcRect; protected Rect dstRect; protected ColorFilter blackColorFilter, whiteColorFilter; protected int mInset; /** * Instantiates a new sticker bitmap drawable. * * @param b * the b * @param inset * the inset */ public StickerBitmapDrawable( Bitmap b, int inset ) { mBitmap = b; mPaint = new Paint(); mPaint.setAntiAlias( true ); mPaint.setDither( true ); mPaint.setFilterBitmap( false ); mInset = inset; mShadowPaint = new Paint( mPaint ); mShadowPaint.setAntiAlias( true ); srcRect = new Rect( 0, 0, b.getWidth(), b.getHeight() ); dstRect = new Rect(); blackColorFilter = new ColorMatrixColorFilter( new float[] { 1, 0, 0, -255, 0, 0, 1, 0, -255, 0, 0, 0, 1, -255, 0, 0, 0, 0, 0.3f, 0, } ); whiteColorFilter = new ColorMatrixColorFilter( new float[] { 1, 0, 0, 0, 255, 0, 1, 0, 0, 255, 0, 0, 1, 0, 255, 0, 0, 0, 1, 0, } ); mShadowPaint.setColorFilter( blackColorFilter ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#draw(android.graphics.Canvas) */ @Override public void draw( Canvas canvas ) { dstRect.set( srcRect ); dstRect.inset( -mInset / 2, -mInset / 2 ); dstRect.offset( mInset / 2 + 1, mInset / 2 + 1 ); canvas.drawBitmap( mBitmap, srcRect, dstRect, mShadowPaint ); mPaint.setColorFilter( whiteColorFilter ); dstRect.offset( -1, -1 ); canvas.drawBitmap( mBitmap, srcRect, dstRect, mPaint ); mPaint.setColorFilter( null ); canvas.drawBitmap( mBitmap, mInset / 2, mInset / 2, mPaint ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getOpacity() */ @Override public int getOpacity() { return PixelFormat.TRANSLUCENT; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setAlpha(int) */ @Override public void setAlpha( int alpha ) {} /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setColorFilter(android.graphics.ColorFilter) */ @Override public void setColorFilter( ColorFilter cf ) { mPaint.setColorFilter( cf ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getIntrinsicWidth() */ @Override public int getIntrinsicWidth() { return mBitmap.getWidth() + ( mInset * 2 ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getIntrinsicHeight() */ @Override public int getIntrinsicHeight() { return mBitmap.getHeight() + ( mInset * 2 ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getMinimumWidth() */ @Override public int getMinimumWidth() { return mBitmap.getWidth() + ( mInset * 2 ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getMinimumHeight() */ @Override public int getMinimumHeight() { return mBitmap.getHeight() + ( mInset * 2 ); } /* * (non-Javadoc) * * @see com.aviary.android.feather.library.graphics.drawable.IBitmapDrawable#getBitmap() */ @Override public Bitmap getBitmap() { return mBitmap; } }
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/StickerBitmapDrawable.java
Java
asf20
3,635
package com.aviary.android.feather.graphics; import android.graphics.BlurMaskFilter; import android.graphics.BlurMaskFilter.Blur; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.RectF; import android.graphics.drawable.Drawable; import android.widget.Toast; /** * Default drawable used to display the {@link Toast} preview for panels like the RedEye panel, Whiten, etc.. * * @author alessandro * */ public class PreviewCircleDrawable extends Drawable { Paint mPaint; float mRadius; /** * Instantiates a new preview circle drawable. * * @param radius * the radius */ public PreviewCircleDrawable( final float radius ) { mPaint = new Paint( Paint.ANTI_ALIAS_FLAG ); mPaint.setFilterBitmap( false ); mPaint.setDither( true ); mPaint.setStrokeWidth( 10.0f ); mPaint.setStyle( Paint.Style.STROKE ); mPaint.setColor( Color.WHITE ); mRadius = radius; } /** * Sets the paint. * * @param value * the new paint */ public void setPaint( Paint value ) { mPaint.set( value ); } /** * Sets the Paint style. * * @param value * the new style */ public void setStyle( Paint.Style value ) { mPaint.setStyle( value ); } /** * Sets the radius. * * @param value * the new radius */ public void setRadius( float value ) { mRadius = value; invalidateSelf(); } /** * Sets the color. * * @param color * the new color */ public void setColor( int color ) { mPaint.setColor( color ); } /** * Sets the blur. * * @param value * the new blur */ public void setBlur( int value ) { if ( value > 0 ) { mPaint.setMaskFilter( new BlurMaskFilter( value, Blur.NORMAL ) ); } else { mPaint.setMaskFilter( null ); } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#draw(android.graphics.Canvas) */ @Override public void draw( final Canvas canvas ) { final RectF rect = new RectF( getBounds() ); canvas.drawCircle( rect.centerX(), rect.centerY(), mRadius, mPaint ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getOpacity() */ @Override public int getOpacity() { return PixelFormat.OPAQUE; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setAlpha(int) */ @Override public void setAlpha( final int alpha ) {} /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setColorFilter(android.graphics.ColorFilter) */ @Override public void setColorFilter( final ColorFilter cf ) {} };
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/PreviewCircleDrawable.java
Java
asf20
2,700
package com.aviary.android.feather.graphics; import android.graphics.BlurMaskFilter; import android.graphics.BlurMaskFilter.Blur; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Rect; import android.graphics.drawable.Drawable; /** * Drawable used as overlay {@link Drawable} in conjunction with {@link OverlayGalleryCheckboxDrawable}.<br /> * Create a circle drawable using radius and blur_size. * * @author alessandro * */ public class GalleryCircleDrawable extends Drawable { private Paint mPaint; private Paint mShadowPaint; final int mShadowOffset = 3; float mStrokeWidth = 5.0f; float mRadius, mOriginalRadius; float centerX, centerY; /** * Instantiates a new gallery circle drawable. * * @param radius * Radius of the circle * @param blur_size * blur size, if &gt; 0 create a blur mask around the circle */ public GalleryCircleDrawable( float radius, int blur_size ) { super(); mPaint = new Paint( Paint.ANTI_ALIAS_FLAG ); mPaint.setStrokeWidth( mStrokeWidth ); mPaint.setStyle( Paint.Style.STROKE ); mPaint.setColor( Color.WHITE ); mShadowPaint = new Paint( mPaint ); mShadowPaint.setColor( Color.BLACK ); update( radius, blur_size ); } /** * Sets the stroke width. * * @param value * the new stroke width */ public void setStrokeWidth( float value ) { mStrokeWidth = value; mPaint.setStrokeWidth( mStrokeWidth ); invalidateSelf(); } /** * Update. * * @param radius * the radius * @param blur_size * the blur_size */ public void update( float radius, int blur_size ) { mOriginalRadius = radius; if ( blur_size > 0 ) mPaint.setMaskFilter( new BlurMaskFilter( blur_size, Blur.NORMAL ) ); else mPaint.setMaskFilter( null ); invalidateSelf(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#draw(android.graphics.Canvas) */ @Override public void draw( Canvas canvas ) { canvas.drawCircle( centerX, centerY + mShadowOffset, mRadius, mShadowPaint ); canvas.drawCircle( centerX, centerY, mRadius, mPaint ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#onBoundsChange(android.graphics.Rect) */ @Override protected void onBoundsChange( Rect rect ) { super.onBoundsChange( rect ); invalidateSelf(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#invalidateSelf() */ @Override public void invalidateSelf() { super.invalidateSelf(); invalidate(); } /** * Invalidate. */ protected void invalidate() { Rect rect = getBounds(); int minSize = Math.max( 1, Math.min( rect.width(), rect.height() ) ); mRadius = ( (float) minSize * mOriginalRadius ) / 2; centerX = rect.centerX(); centerY = rect.centerY(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getOpacity() */ @Override public int getOpacity() { return PixelFormat.TRANSLUCENT; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setAlpha(int) */ @Override public void setAlpha( int alpha ) {} /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setColorFilter(android.graphics.ColorFilter) */ @Override public void setColorFilter( ColorFilter cf ) {} }
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/GalleryCircleDrawable.java
Java
asf20
3,416
package com.aviary.android.feather.graphics; import android.content.Context; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.ColorFilter; import android.graphics.Paint; import android.graphics.PixelFormat; import android.graphics.Rect; import android.graphics.drawable.Drawable; import android.graphics.drawable.StateListDrawable; import com.outsourcing.bottle.R; import com.aviary.android.feather.widget.Gallery; /** * Default Drawable used for all the Views created inside a {@link Gallery}.<br/ > * This drawable will only draw the default background based on the pressed state.<br /> * Note that this {@link Drawable} should be used inside a {@link StateListDrawable} instance. * * @author alessandro * */ public class DefaultGalleryCheckboxDrawable extends Drawable { private Paint mPaint; protected Rect mRect; private int backgroundColor; // 0xFF2e2e2e - 0xFF404040 private int borderColor; // 0xff535353 - 0xFF626262 /** * Instantiates a new default gallery checkbox drawable. * * @param res * {@link Context} resource manager * @param pressed * pressed state. it will affect the background colors */ public DefaultGalleryCheckboxDrawable( Resources res, boolean pressed ) { super(); mPaint = new Paint( Paint.ANTI_ALIAS_FLAG ); mRect = new Rect(); if ( pressed ) { backgroundColor = res.getColor( R.color.feather_crop_adapter_background_selected ); borderColor = res.getColor( R.color.feather_crop_adapter_border_selected ); } else { backgroundColor = res.getColor( R.color.feather_crop_adapter_background_normal ); borderColor = res.getColor( R.color.feather_crop_adapter_border_normal ); } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#draw(android.graphics.Canvas) */ @Override public void draw( Canvas canvas ) { copyBounds( mRect ); mPaint.setColor( backgroundColor ); canvas.drawPaint( mPaint ); mPaint.setColor( Color.BLACK ); canvas.drawRect( 0, 0, 1, mRect.bottom, mPaint ); canvas.drawRect( mRect.right - 1, 0, mRect.right, mRect.bottom, mPaint ); mPaint.setColor( borderColor ); canvas.drawRect( 1, 0, 3, mRect.bottom, mPaint ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getOpacity() */ @Override public int getOpacity() { return PixelFormat.TRANSLUCENT; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setAlpha(int) */ @Override public void setAlpha( int alpha ) {} /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setColorFilter(android.graphics.ColorFilter) */ @Override public void setColorFilter( ColorFilter cf ) {} }
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/DefaultGalleryCheckboxDrawable.java
Java
asf20
2,750
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aviary.android.feather.graphics; import java.io.IOException; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import android.content.res.Resources; import android.graphics.Canvas; import android.graphics.ColorFilter; import android.graphics.Rect; import android.graphics.drawable.Animatable; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; import android.os.SystemClock; import android.util.AttributeSet; import com.aviary.android.feather.Constants; import com.aviary.android.feather.library.utils.ReflectionUtils; import com.aviary.android.feather.library.utils.ReflectionUtils.ReflectionException; /** * Rotate Drawable. */ public class AnimatedRotateDrawable extends Drawable implements Drawable.Callback, Runnable, Animatable { private AnimatedRotateState mState; private boolean mMutated; private float mCurrentDegrees; private float mIncrement; private boolean mRunning; /** * Instantiates a new animated rotate drawable. */ public AnimatedRotateDrawable() { this( null, null ); } /** * Instantiates a new animated rotate drawable. * * @param res * the res * @param resId * the res id */ public AnimatedRotateDrawable( Resources res, int resId ) { this( res, resId, 8, 100 ); } public AnimatedRotateDrawable( Resources res, int resId, int frames, int duration ) { this( null, null ); final float pivotX = 0.5f; final float pivotY = 0.5f; final boolean pivotXRel = true; final boolean pivotYRel = true; setFramesCount( frames ); setFramesDuration( duration ); Drawable drawable = null; if ( resId > 0 ) { drawable = res.getDrawable( resId ); } final AnimatedRotateState rotateState = mState; rotateState.mDrawable = drawable; rotateState.mPivotXRel = pivotXRel; rotateState.mPivotX = pivotX; rotateState.mPivotYRel = pivotYRel; rotateState.mPivotY = pivotY; init(); if ( drawable != null ) { drawable.setCallback( this ); } } /** * Instantiates a new animated rotate drawable. * * @param rotateState * the rotate state * @param res * the res */ private AnimatedRotateDrawable( AnimatedRotateState rotateState, Resources res ) { mState = new AnimatedRotateState( rotateState, this, res ); init(); } /** * Initialize */ private void init() { final AnimatedRotateState state = mState; mIncrement = 360.0f / state.mFramesCount; final Drawable drawable = state.mDrawable; if ( drawable != null ) { drawable.setFilterBitmap( true ); if ( drawable instanceof BitmapDrawable ) { ( (BitmapDrawable) drawable ).setAntiAlias( true ); } } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#draw(android.graphics.Canvas) */ @Override public void draw( Canvas canvas ) { int saveCount = canvas.save(); final AnimatedRotateState st = mState; final Drawable drawable = st.mDrawable; final Rect bounds = drawable.getBounds(); int w = bounds.right - bounds.left; int h = bounds.bottom - bounds.top; float px = st.mPivotXRel ? ( w * st.mPivotX ) : st.mPivotX; float py = st.mPivotYRel ? ( h * st.mPivotY ) : st.mPivotY; canvas.rotate( mCurrentDegrees, px + bounds.left, py + bounds.top ); drawable.draw( canvas ); canvas.restoreToCount( saveCount ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Animatable#start() */ @Override public void start() { if ( !mRunning ) { mRunning = true; nextFrame(); } } /* * (non-Javadoc) * * @see android.graphics.drawable.Animatable#stop() */ @Override public void stop() { mRunning = false; unscheduleSelf( this ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Animatable#isRunning() */ @Override public boolean isRunning() { return mRunning; } /** * Next frame. */ private void nextFrame() { unscheduleSelf( this ); scheduleSelf( this, SystemClock.uptimeMillis() + mState.mFrameDuration ); } /* * (non-Javadoc) * * @see java.lang.Runnable#run() */ @Override public void run() { mCurrentDegrees += mIncrement; if ( mCurrentDegrees > ( 360.0f - mIncrement ) ) { mCurrentDegrees = 0.0f; } invalidateSelf(); nextFrame(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setVisible(boolean, boolean) */ @Override public boolean setVisible( boolean visible, boolean restart ) { mState.mDrawable.setVisible( visible, restart ); boolean changed = super.setVisible( visible, restart ); if ( visible ) { if ( changed || restart ) { mCurrentDegrees = 0.0f; nextFrame(); } } else { unscheduleSelf( this ); } return changed; } /** * Returns the drawable rotated by this RotateDrawable. * * @return the drawable */ public Drawable getDrawable() { return mState.mDrawable; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getChangingConfigurations() */ @Override public int getChangingConfigurations() { return super.getChangingConfigurations() | mState.mChangingConfigurations | mState.mDrawable.getChangingConfigurations(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setAlpha(int) */ @Override public void setAlpha( int alpha ) { mState.mDrawable.setAlpha( alpha ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#setColorFilter(android.graphics.ColorFilter) */ @Override public void setColorFilter( ColorFilter cf ) { mState.mDrawable.setColorFilter( cf ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getOpacity() */ @Override public int getOpacity() { return mState.mDrawable.getOpacity(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable.Callback#invalidateDrawable(android.graphics.drawable.Drawable) */ @Override public void invalidateDrawable( Drawable who ) { if ( Constants.ANDROID_SDK > 10 ) { Callback callback; try { callback = (Callback) ReflectionUtils.invokeMethod( this, "getCallback" ); } catch ( ReflectionException e ) { return; } if ( callback != null ) { callback.invalidateDrawable( this ); } } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable.Callback#scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, * long) */ @Override public void scheduleDrawable( Drawable who, Runnable what, long when ) { if ( Constants.ANDROID_SDK > 10 ) { Callback callback; try { callback = (Callback) ReflectionUtils.invokeMethod( this, "getCallback" ); } catch ( ReflectionException e ) { return; } if ( callback != null ) { callback.scheduleDrawable( this, what, when ); } } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable.Callback#unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable) */ @Override public void unscheduleDrawable( Drawable who, Runnable what ) { if ( Constants.ANDROID_SDK > 10 ) { Callback callback; try { callback = (Callback) ReflectionUtils.invokeMethod( this, "getCallback" ); } catch ( ReflectionException e ) { return; } if ( callback != null ) { callback.unscheduleDrawable( this, what ); } } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getPadding(android.graphics.Rect) */ @Override public boolean getPadding( Rect padding ) { return mState.mDrawable.getPadding( padding ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#isStateful() */ @Override public boolean isStateful() { return mState.mDrawable.isStateful(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#onBoundsChange(android.graphics.Rect) */ @Override protected void onBoundsChange( Rect bounds ) { mState.mDrawable.setBounds( bounds.left, bounds.top, bounds.right, bounds.bottom ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getIntrinsicWidth() */ @Override public int getIntrinsicWidth() { return mState.mDrawable.getIntrinsicWidth(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getIntrinsicHeight() */ @Override public int getIntrinsicHeight() { return mState.mDrawable.getIntrinsicHeight(); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#getConstantState() */ @Override public ConstantState getConstantState() { if ( mState.canConstantState() ) { mState.mChangingConfigurations = getChangingConfigurations(); return mState; } return null; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#inflate(android.content.res.Resources, org.xmlpull.v1.XmlPullParser, * android.util.AttributeSet) */ @Override public void inflate( Resources r, XmlPullParser parser, AttributeSet attrs ) throws XmlPullParserException, IOException {} /** * Sets the frames count. * * @param framesCount * the new frames count */ public void setFramesCount( int framesCount ) { mState.mFramesCount = framesCount; mIncrement = 360.0f / mState.mFramesCount; } /** * Sets the frames duration. * * @param framesDuration * the new frames duration */ public void setFramesDuration( int framesDuration ) { mState.mFrameDuration = framesDuration; } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable#mutate() */ @Override public Drawable mutate() { if ( !mMutated && super.mutate() == this ) { mState.mDrawable.mutate(); mMutated = true; } return this; } final static class AnimatedRotateState extends Drawable.ConstantState { Drawable mDrawable; int mChangingConfigurations; boolean mPivotXRel; float mPivotX; boolean mPivotYRel; float mPivotY; int mFrameDuration; int mFramesCount; private boolean mCanConstantState; private boolean mCheckedConstantState; /** * Instantiates a new animated rotate state. * * @param source * the source * @param owner * the owner * @param res * the res */ public AnimatedRotateState( AnimatedRotateState source, AnimatedRotateDrawable owner, Resources res ) { if ( source != null ) { if ( res != null ) { mDrawable = source.mDrawable.getConstantState().newDrawable( res ); } else { mDrawable = source.mDrawable.getConstantState().newDrawable(); } mDrawable.setCallback( owner ); mPivotXRel = source.mPivotXRel; mPivotX = source.mPivotX; mPivotYRel = source.mPivotYRel; mPivotY = source.mPivotY; mFramesCount = source.mFramesCount; mFrameDuration = source.mFrameDuration; mCanConstantState = mCheckedConstantState = true; } } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable.ConstantState#newDrawable() */ @Override public Drawable newDrawable() { return new AnimatedRotateDrawable( this, null ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable.ConstantState#newDrawable(android.content.res.Resources) */ @Override public Drawable newDrawable( Resources res ) { return new AnimatedRotateDrawable( this, res ); } /* * (non-Javadoc) * * @see android.graphics.drawable.Drawable.ConstantState#getChangingConfigurations() */ @Override public int getChangingConfigurations() { return mChangingConfigurations; } /** * Can constant state. * * @return true, if successful */ public boolean canConstantState() { if ( !mCheckedConstantState ) { mCanConstantState = mDrawable.getConstantState() != null; mCheckedConstantState = true; } return mCanConstantState; } } }
06peng
trunk/mzba/src/com/aviary/android/feather/graphics/AnimatedRotateDrawable.java
Java
asf20
12,426
package oauth.signpost.basic; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.util.HashMap; import java.util.List; import java.util.Map; import oauth.signpost.http.HttpRequest; public class HttpURLConnectionRequestAdapter implements HttpRequest { protected HttpURLConnection connection; public HttpURLConnectionRequestAdapter(HttpURLConnection connection) { this.connection = connection; } public String getMethod() { return connection.getRequestMethod(); } public String getRequestUrl() { return connection.getURL().toExternalForm(); } public void setRequestUrl(String url) { // can't do } public void setHeader(String name, String value) { connection.setRequestProperty(name, value); } public String getHeader(String name) { return connection.getRequestProperty(name); } public Map<String, String> getAllHeaders() { Map<String, List<String>> origHeaders = connection.getRequestProperties(); Map<String, String> headers = new HashMap<String, String>(origHeaders.size()); for (String name : origHeaders.keySet()) { List<String> values = origHeaders.get(name); if (!values.isEmpty()) { headers.put(name, values.get(0)); } } return headers; } public InputStream getMessagePayload() throws IOException { return null; } public String getContentType() { return connection.getRequestProperty("Content-Type"); } public HttpURLConnection unwrap() { return connection; } }
06peng
trunk/mzba/src/oauth/signpost/basic/HttpURLConnectionRequestAdapter.java
Java
asf20
1,681
package oauth.signpost.basic; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import oauth.signpost.http.HttpResponse; public class HttpURLConnectionResponseAdapter implements HttpResponse { private HttpURLConnection connection; public HttpURLConnectionResponseAdapter(HttpURLConnection connection) { this.connection = connection; } public InputStream getContent() throws IOException { return connection.getInputStream(); } public int getStatusCode() throws IOException { return connection.getResponseCode(); } public String getReasonPhrase() throws Exception { return connection.getResponseMessage(); } public Object unwrap() { return connection; } }
06peng
trunk/mzba/src/oauth/signpost/basic/HttpURLConnectionResponseAdapter.java
Java
asf20
788
/* * Copyright (c) 2009 Matthias Kaeppler Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law * or agreed to in writing, software distributed under the License is * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package oauth.signpost.basic; import java.io.IOException; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import oauth.commons.http.HttpRequestAdapter; import oauth.signpost.AbstractOAuthProvider; import oauth.signpost.http.HttpRequest; import oauth.signpost.http.HttpResponse; import org.apache.http.client.methods.HttpPost; /** * This default implementation uses {@link java.net.HttpURLConnection} type GET * requests to receive tokens from a service provider. * * @author Matthias Kaeppler */ public class DefaultOAuthProvider extends AbstractOAuthProvider { private static final long serialVersionUID = 1L; public DefaultOAuthProvider(String requestTokenEndpointUrl, String accessTokenEndpointUrl, String authorizationWebsiteUrl) { super(requestTokenEndpointUrl, accessTokenEndpointUrl, authorizationWebsiteUrl); } protected HttpRequest createRequest(String endpointUrl) throws MalformedURLException, IOException { HttpURLConnection connection = (HttpURLConnection) new URL(endpointUrl).openConnection(); connection.setRequestMethod("POST"); connection.setAllowUserInteraction(false); connection.setRequestProperty("Content-Length", "0"); return new HttpURLConnectionRequestAdapter(connection); } protected HttpResponse sendRequest(HttpRequest request) throws IOException { HttpURLConnection connection = (HttpURLConnection) request.unwrap(); connection.connect(); return new HttpURLConnectionResponseAdapter(connection); } @Override protected void closeConnection(HttpRequest request, HttpResponse response) { HttpURLConnection connection = (HttpURLConnection) request.unwrap(); if (connection != null) { connection.disconnect(); } } @Override protected HttpResponse sendRequestForTencent(HttpRequest request) throws Exception { return null; } @Override protected HttpRequest createRequestForTencent(String endpointUrl) throws Exception { HttpPost request = new HttpPost(endpointUrl); request.addHeader("Content-Type", "application/x-www-form-urlencoded"); return new HttpRequestAdapter(request); } }
06peng
trunk/mzba/src/oauth/signpost/basic/DefaultOAuthProvider.java
Java
asf20
2,849
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.basic; import java.net.HttpURLConnection; import oauth.signpost.AbstractOAuthConsumer; import oauth.signpost.http.HttpRequest; /** * The default implementation for an OAuth consumer. Only supports signing * {@link java.net.HttpURLConnection} type requests. * * @author Matthias Kaeppler */ public class DefaultOAuthConsumer extends AbstractOAuthConsumer { private static final long serialVersionUID = 1L; public DefaultOAuthConsumer(String consumerKey, String consumerSecret) { super(consumerKey, consumerSecret); } @Override protected HttpRequest wrap(Object request) { if (!(request instanceof HttpURLConnection)) { throw new IllegalArgumentException( "The default consumer expects requests of type java.net.HttpURLConnection"); } return new HttpURLConnectionRequestAdapter((HttpURLConnection) request); } }
06peng
trunk/mzba/src/oauth/signpost/basic/DefaultOAuthConsumer.java
Java
asf20
1,536
package oauth.signpost.basic; import java.io.IOException; import java.io.InputStream; import java.util.Collections; import java.util.Map; import oauth.signpost.http.HttpRequest; public class UrlStringRequestAdapter implements HttpRequest { private String url; public UrlStringRequestAdapter(String url) { this.url = url; } public String getMethod() { return "GET"; } public String getRequestUrl() { return url; } public void setRequestUrl(String url) { this.url = url; } public void setHeader(String name, String value) { } public String getHeader(String name) { return null; } public Map<String, String> getAllHeaders() { return Collections.emptyMap(); } public InputStream getMessagePayload() throws IOException { return null; } public String getContentType() { return null; } public Object unwrap() { return url; } }
06peng
trunk/mzba/src/oauth/signpost/basic/UrlStringRequestAdapter.java
Java
asf20
990
package oauth.signpost.exception; @SuppressWarnings("serial") public abstract class OAuthException extends Exception { public OAuthException(String message) { super(message); } public OAuthException(Throwable cause) { super(cause); } public OAuthException(String message, Throwable cause) { super(message, cause); } }
06peng
trunk/mzba/src/oauth/signpost/exception/OAuthException.java
Java
asf20
370
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.exception; @SuppressWarnings("serial") public class OAuthMessageSignerException extends OAuthException { public OAuthMessageSignerException(String message) { super(message); } public OAuthMessageSignerException(Exception cause) { super(cause); } }
06peng
trunk/mzba/src/oauth/signpost/exception/OAuthMessageSignerException.java
Java
asf20
909
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.exception; @SuppressWarnings("serial") public class OAuthNotAuthorizedException extends OAuthException { private static final String ERROR = "Authorization failed (server replied with a 401). " + "This can happen if the consumer key was not correct or " + "the signatures did not match."; private String responseBody; public OAuthNotAuthorizedException() { super(ERROR); } public OAuthNotAuthorizedException(String responseBody) { super(ERROR); this.responseBody = responseBody; } public String getResponseBody() { return responseBody; } }
06peng
trunk/mzba/src/oauth/signpost/exception/OAuthNotAuthorizedException.java
Java
asf20
1,267
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.exception; @SuppressWarnings("serial") public class OAuthExpectationFailedException extends OAuthException { public OAuthExpectationFailedException(String message) { super(message); } }
06peng
trunk/mzba/src/oauth/signpost/exception/OAuthExpectationFailedException.java
Java
asf20
829
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.exception; @SuppressWarnings("serial") public class OAuthCommunicationException extends OAuthException { private String responseBody; public OAuthCommunicationException(Exception cause) { super("Communication with the service provider failed: " + cause.getLocalizedMessage(), cause); } public OAuthCommunicationException(String message, String responseBody) { super(message); this.responseBody = responseBody; } public String getResponseBody() { return responseBody; } }
06peng
trunk/mzba/src/oauth/signpost/exception/OAuthCommunicationException.java
Java
asf20
1,189
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost; import java.io.IOException; import java.io.InputStream; import java.util.Random; import oauth.signpost.basic.UrlStringRequestAdapter; import oauth.signpost.exception.OAuthCommunicationException; import oauth.signpost.exception.OAuthExpectationFailedException; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; import oauth.signpost.signature.AuthorizationHeaderSigningStrategy; import oauth.signpost.signature.HmacSha1MessageSigner; import oauth.signpost.signature.OAuthMessageSigner; import oauth.signpost.signature.QueryStringSigningStrategy; import oauth.signpost.signature.SigningStrategy; /** * ABC for consumer implementations. If you're developing a custom consumer you * will probably inherit from this class to save you a lot of work. * * @author Matthias Kaeppler */ public abstract class AbstractOAuthConsumer implements OAuthConsumer { private static final long serialVersionUID = 1L; private String consumerKey, consumerSecret; private String token; private OAuthMessageSigner messageSigner; private SigningStrategy signingStrategy; // these are params that may be passed to the consumer directly (i.e. // without going through the request object) private HttpParameters additionalParameters; // these are the params which will be passed to the message signer private HttpParameters requestParameters; private boolean sendEmptyTokens; public AbstractOAuthConsumer(String consumerKey, String consumerSecret) { this.consumerKey = consumerKey; this.consumerSecret = consumerSecret; setMessageSigner(new HmacSha1MessageSigner()); setSigningStrategy(new AuthorizationHeaderSigningStrategy()); } public void setMessageSigner(OAuthMessageSigner messageSigner) { this.messageSigner = messageSigner; messageSigner.setConsumerSecret(consumerSecret); } public void setSigningStrategy(SigningStrategy signingStrategy) { this.signingStrategy = signingStrategy; } public void setAdditionalParameters(HttpParameters additionalParameters) { this.additionalParameters = additionalParameters; } public HttpRequest sign(HttpRequest request) throws OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException { if (consumerKey == null) { throw new OAuthExpectationFailedException("consumer key not set"); } if (consumerSecret == null) { throw new OAuthExpectationFailedException("consumer secret not set"); } requestParameters = new HttpParameters(); try { if (additionalParameters != null) { requestParameters.putAll(additionalParameters, false); } collectHeaderParameters(request, requestParameters); collectQueryParameters(request, requestParameters); collectBodyParameters(request, requestParameters); // add any OAuth params that haven't already been set completeOAuthParameters(requestParameters); requestParameters.remove(OAuth.OAUTH_SIGNATURE); } catch (IOException e) { throw new OAuthCommunicationException(e); } String signature = messageSigner.sign(request, requestParameters); OAuth.debugOut("signature", signature); signingStrategy.writeSignature(signature, request, requestParameters); OAuth.debugOut("Auth header", request.getHeader("Authorization")); OAuth.debugOut("Request URL", request.getRequestUrl()); return request; } public HttpRequest sign(Object request) throws OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException { return sign(wrap(request)); } public String sign(String url) throws OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException { HttpRequest request = new UrlStringRequestAdapter(url); // switch to URL signing SigningStrategy oldStrategy = this.signingStrategy; this.signingStrategy = new QueryStringSigningStrategy(); sign(request); // revert to old strategy this.signingStrategy = oldStrategy; return request.getRequestUrl(); } /** * Adapts the given request object to a Signpost {@link HttpRequest}. How * this is done depends on the consumer implementation. * * @param request * the native HTTP request instance * @return the adapted request */ protected abstract HttpRequest wrap(Object request); public void setTokenWithSecret(String token, String tokenSecret) { this.token = token; messageSigner.setTokenSecret(tokenSecret); } public String getToken() { return token; } public String getTokenSecret() { return messageSigner.getTokenSecret(); } public String getConsumerKey() { return this.consumerKey; } public String getConsumerSecret() { return this.consumerSecret; } /** * <p> * Helper method that adds any OAuth parameters to the given request * parameters which are missing from the current request but required for * signing. A good example is the oauth_nonce parameter, which is typically * not provided by the client in advance. * </p> * <p> * It's probably not a very good idea to override this method. If you want * to generate different nonces or timestamps, override * {@link #generateNonce()} or {@link #generateTimestamp()} instead. * </p> * * @param out * the request parameter which should be completed */ protected void completeOAuthParameters(HttpParameters out) { if (!out.containsKey(OAuth.OAUTH_CONSUMER_KEY)) { out.put(OAuth.OAUTH_CONSUMER_KEY, consumerKey, true); } if (!out.containsKey(OAuth.OAUTH_SIGNATURE_METHOD)) { out.put(OAuth.OAUTH_SIGNATURE_METHOD, messageSigner.getSignatureMethod(), true); } if (!out.containsKey(OAuth.OAUTH_TIMESTAMP)) { out.put(OAuth.OAUTH_TIMESTAMP, generateTimestamp(), true); } if (!out.containsKey(OAuth.OAUTH_NONCE)) { out.put(OAuth.OAUTH_NONCE, generateNonce(), true); } if (!out.containsKey(OAuth.OAUTH_VERSION)) { out.put(OAuth.OAUTH_VERSION, OAuth.VERSION_1_0, true); } if (!out.containsKey(OAuth.OAUTH_TOKEN)) { if (token != null && !token.equals("") || sendEmptyTokens) { out.put(OAuth.OAUTH_TOKEN, token, true); } } } public HttpParameters getRequestParameters() { return requestParameters; } public void setSendEmptyTokens(boolean enable) { this.sendEmptyTokens = enable; } /** * Collects OAuth Authorization header parameters as per OAuth Core 1.0 spec * section 9.1.1 */ protected void collectHeaderParameters(HttpRequest request, HttpParameters out) { HttpParameters headerParams = OAuth.oauthHeaderToParamsMap(request.getHeader(OAuth.HTTP_AUTHORIZATION_HEADER)); out.putAll(headerParams, false); } /** * Collects x-www-form-urlencoded body parameters as per OAuth Core 1.0 spec * section 9.1.1 */ protected void collectBodyParameters(HttpRequest request, HttpParameters out) throws IOException { // collect x-www-form-urlencoded body params String contentType = request.getContentType(); if (contentType != null && contentType.startsWith(OAuth.FORM_ENCODED)) { InputStream payload = request.getMessagePayload(); out.putAll(OAuth.decodeForm(payload), true); } } /** * Collects HTTP GET query string parameters as per OAuth Core 1.0 spec * section 9.1.1 */ protected void collectQueryParameters(HttpRequest request, HttpParameters out) { String url = request.getRequestUrl(); int q = url.indexOf('?'); if (q >= 0) { // Combine the URL query string with the other parameters: out.putAll(OAuth.decodeForm(url.substring(q + 1)), true); } } protected String generateTimestamp() { return Long.toString(System.currentTimeMillis() / 1000L); } protected String generateNonce() { return Long.toString(new Random().nextLong()); } }
06peng
trunk/mzba/src/oauth/signpost/AbstractOAuthConsumer.java
Java
asf20
9,250
package oauth.signpost; import oauth.signpost.http.HttpRequest; import oauth.signpost.http.HttpResponse; /** * Provides hooks into the token request handling procedure executed by * {@link OAuthProvider}. * * @author Matthias Kaeppler */ public interface OAuthProviderListener { /** * Called after the request has been created and default headers added, but * before the request has been signed. * * @param request * the request to be sent * @throws Exception */ void prepareRequest(HttpRequest request) throws Exception; /** * Called after the request has been signed, but before it's being sent. * * @param request * the request to be sent * @throws Exception */ void prepareSubmission(HttpRequest request) throws Exception; /** * Called when the server response has been received. You can implement this * to manually handle the response data. * * @param request * the request that was sent * @param response * the response that was received * @return returning true means you have handled the response, and the * provider will return immediately. Return false to let the event * propagate and let the provider execute its default response * handling. * @throws Exception */ boolean onResponseReceived(HttpRequest request, HttpResponse response) throws Exception; }
06peng
trunk/mzba/src/oauth/signpost/OAuthProviderListener.java
Java
asf20
1,489
/* Copyright (c) 2008, 2009 Netflix, Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.URLDecoder; import java.util.Collection; import java.util.HashMap; import java.util.Map; import oauth.signpost.http.HttpParameters; import com.google.gdata.util.common.base.PercentEscaper; public class OAuth { public static final String VERSION_1_0 = "1.0"; public static final String ENCODING = "UTF-8"; public static final String FORM_ENCODED = "application/x-www-form-urlencoded"; public static final String HTTP_AUTHORIZATION_HEADER = "Authorization"; public static final String OAUTH_CONSUMER_KEY = "oauth_consumer_key"; public static final String OAUTH_TOKEN = "oauth_token"; public static final String OAUTH_TOKEN_SECRET = "oauth_token_secret"; public static final String OAUTH_SIGNATURE_METHOD = "oauth_signature_method"; public static final String OAUTH_SIGNATURE = "oauth_signature"; public static final String OAUTH_TIMESTAMP = "oauth_timestamp"; public static final String OAUTH_NONCE = "oauth_nonce"; public static final String OAUTH_VERSION = "oauth_version"; public static final String OAUTH_CALLBACK = "oauth_callback"; public static final String OAUTH_CALLBACK_CONFIRMED = "oauth_callback_confirmed"; public static final String OAUTH_VERIFIER = "oauth_verifier"; /** * Pass this value as the callback "url" upon retrieving a request token if * your application cannot receive callbacks (e.g. because it's a desktop * app). This will tell the service provider that verification happens * out-of-band, which basically means that it will generate a PIN code (the * OAuth verifier) and display that to your user. You must obtain this code * from your user and pass it to * {@link OAuthProvider#retrieveAccessToken(OAuthConsumer, String)} in order * to complete the token handshake. */ public static final String OUT_OF_BAND = "oob"; private static final PercentEscaper percentEncoder = new PercentEscaper( "-._~", false); public static String percentEncode(String s) { if (s == null) { return ""; } return percentEncoder.escape(s); } public static String percentDecode(String s) { try { if (s == null) { return ""; } return URLDecoder.decode(s, ENCODING); // This implements http://oauth.pbwiki.com/FlexibleDecoding } catch (java.io.UnsupportedEncodingException wow) { throw new RuntimeException(wow.getMessage(), wow); } } /** * Construct a x-www-form-urlencoded document containing the given sequence * of name/value pairs. Use OAuth percent encoding (not exactly the encoding * mandated by x-www-form-urlencoded). */ public static <T extends Map.Entry<String, String>> void formEncode(Collection<T> parameters, OutputStream into) throws IOException { if (parameters != null) { boolean first = true; for (Map.Entry<String, String> entry : parameters) { if (first) { first = false; } else { into.write('&'); } into.write(percentEncode(safeToString(entry.getKey())).getBytes()); into.write('='); into.write(percentEncode(safeToString(entry.getValue())).getBytes()); } } } /** * Construct a x-www-form-urlencoded document containing the given sequence * of name/value pairs. Use OAuth percent encoding (not exactly the encoding * mandated by x-www-form-urlencoded). */ public static <T extends Map.Entry<String, String>> String formEncode(Collection<T> parameters) throws IOException { ByteArrayOutputStream b = new ByteArrayOutputStream(); formEncode(parameters, b); return new String(b.toByteArray()); } /** Parse a form-urlencoded document. */ public static HttpParameters decodeForm(String form) { HttpParameters params = new HttpParameters(); if (isEmpty(form)) { return params; } for (String nvp : form.split("\\&")) { int equals = nvp.indexOf('='); String name; String value; if (equals < 0) { name = percentDecode(nvp); value = null; } else { name = percentDecode(nvp.substring(0, equals)); value = percentDecode(nvp.substring(equals + 1)); } params.put(name, value); } return params; } public static HttpParameters decodeForm(InputStream content) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader( content)); StringBuilder sb = new StringBuilder(); String line = reader.readLine(); while (line != null) { sb.append(line); line = reader.readLine(); } return decodeForm(sb.toString()); } /** * Construct a Map containing a copy of the given parameters. If several * parameters have the same name, the Map will contain the first value, * only. */ public static <T extends Map.Entry<String, String>> Map<String, String> toMap(Collection<T> from) { HashMap<String, String> map = new HashMap<String, String>(); if (from != null) { for (Map.Entry<String, String> entry : from) { String key = entry.getKey(); if (!map.containsKey(key)) { map.put(key, entry.getValue()); } } } return map; } public static final String safeToString(Object from) { return (from == null) ? null : from.toString(); } public static boolean isEmpty(String str) { return (str == null) || (str.length() == 0); } /** * Appends a list of key/value pairs to the given URL, e.g.: * * <pre> * String url = OAuth.addQueryParameters(&quot;http://example.com?a=1&quot;, b, 2, c, 3); * </pre> * * which yields: * * <pre> * http://example.com?a=1&b=2&c=3 * </pre> * * All parameters will be encoded according to OAuth's percent encoding * rules. * * @param url * the URL * @param kvPairs * the list of key/value pairs * @return */ public static String addQueryParameters(String url, String... kvPairs) { String queryDelim = url.contains("?") ? "&" : "?"; StringBuilder sb = new StringBuilder(url + queryDelim); for (int i = 0; i < kvPairs.length; i += 2) { if (i > 0) { sb.append("&"); } sb.append(OAuth.percentEncode(kvPairs[i]) + "=" + OAuth.percentEncode(kvPairs[i + 1])); } return sb.toString(); } public static String addQueryParameters(String url, Map<String, String> params) { String[] kvPairs = new String[params.size() * 2]; int idx = 0; for (String key : params.keySet()) { kvPairs[idx] = key; kvPairs[idx + 1] = params.get(key); idx += 2; } return addQueryParameters(url, kvPairs); } /** * Builds an OAuth header from the given list of header fields. All * parameters starting in 'oauth_*' will be percent encoded. * * <pre> * String authHeader = OAuth.prepareOAuthHeader(&quot;realm&quot;, &quot;http://example.com&quot;, &quot;oauth_token&quot;, &quot;x%y&quot;); * </pre> * * which yields: * * <pre> * OAuth realm="http://example.com", oauth_token="x%25y" * </pre> * * @param kvPairs * the list of key/value pairs * @return a string eligible to be used as an OAuth HTTP Authorization * header. */ public static String prepareOAuthHeader(String... kvPairs) { StringBuilder sb = new StringBuilder("OAuth "); for (int i = 0; i < kvPairs.length; i += 2) { if (i > 0) { sb.append(", "); } String value = kvPairs[i].startsWith("oauth_") ? OAuth .percentEncode(kvPairs[i + 1]) : kvPairs[i + 1]; sb.append(OAuth.percentEncode(kvPairs[i]) + "=\"" + value + "\""); } return sb.toString(); } public static HttpParameters oauthHeaderToParamsMap(String oauthHeader) { HttpParameters params = new HttpParameters(); if (oauthHeader == null || !oauthHeader.startsWith("OAuth ")) { return params; } oauthHeader = oauthHeader.substring("OAuth ".length()); String[] elements = oauthHeader.split(","); for (String keyValuePair : elements) { String[] keyValue = keyValuePair.split("="); params.put(keyValue[0].trim(), keyValue[1].replace("\"", "").trim()); } return params; } /** * Helper method to concatenate a parameter and its value to a pair that can * be used in an HTTP header. This method percent encodes both parts before * joining them. * * @param name * the OAuth parameter name, e.g. oauth_token * @param value * the OAuth parameter value, e.g. 'hello oauth' * @return a name/value pair, e.g. oauth_token="hello%20oauth" */ public static String toHeaderElement(String name, String value) { return OAuth.percentEncode(name) + "=\"" + OAuth.percentEncode(value) + "\""; } public static void debugOut(String key, String value) { if (System.getProperty("debug") != null) { System.out.println("[SIGNPOST] " + key + ": " + value); } } }
06peng
trunk/mzba/src/oauth/signpost/OAuth.java
Java
asf20
10,723
/* * Copyright (c) 2009 Matthias Kaeppler Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law * or agreed to in writing, software distributed under the License is * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package oauth.signpost; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; import oauth.signpost.exception.OAuthCommunicationException; import oauth.signpost.exception.OAuthExpectationFailedException; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.exception.OAuthNotAuthorizedException; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; import oauth.signpost.http.HttpResponse; /** * ABC for all provider implementations. If you're writing a custom provider, * you will probably inherit from this class, since it takes a lot of work from * you. * * @author Matthias Kaeppler */ public abstract class AbstractOAuthProvider implements OAuthProvider { private static final long serialVersionUID = 1L; private String requestTokenEndpointUrl; private String accessTokenEndpointUrl; private String authorizationWebsiteUrl; private HttpParameters responseParameters; private Map<String, String> defaultHeaders; private boolean isOAuth10a; private transient OAuthProviderListener listener; public AbstractOAuthProvider(String requestTokenEndpointUrl, String accessTokenEndpointUrl, String authorizationWebsiteUrl) { this.requestTokenEndpointUrl = requestTokenEndpointUrl; this.accessTokenEndpointUrl = accessTokenEndpointUrl; this.authorizationWebsiteUrl = authorizationWebsiteUrl; this.responseParameters = new HttpParameters(); this.defaultHeaders = new HashMap<String, String>(); } public String retrieveRequestToken(OAuthConsumer consumer, String callbackUrl) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException { // invalidate current credentials, if any consumer.setTokenWithSecret(null, null); // 1.0a expects the callback to be sent while getting the request token. // 1.0 service providers would simply ignore this parameter. retrieveToken(consumer, requestTokenEndpointUrl, OAuth.OAUTH_CALLBACK, callbackUrl); String callbackConfirmed = responseParameters.getFirst(OAuth.OAUTH_CALLBACK_CONFIRMED); responseParameters.remove(OAuth.OAUTH_CALLBACK_CONFIRMED); isOAuth10a = Boolean.TRUE.toString().equals(callbackConfirmed); // 1.0 service providers expect the callback as part of the auth URL, // Do not send when 1.0a. if (isOAuth10a) { return OAuth.addQueryParameters(authorizationWebsiteUrl, OAuth.OAUTH_TOKEN, consumer.getToken()); } else { return OAuth.addQueryParameters(authorizationWebsiteUrl, OAuth.OAUTH_TOKEN, consumer.getToken(), OAuth.OAUTH_CALLBACK, callbackUrl); } } public String retrieveRequestTokenForTencent(OAuthConsumer consumer, String callbackUrl) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException { consumer.setTokenWithSecret(null, null); retrieveTokenForTencent(consumer, requestTokenEndpointUrl, OAuth.OAUTH_CALLBACK, callbackUrl); String callbackConfirmed = responseParameters.getFirst(OAuth.OAUTH_CALLBACK_CONFIRMED); responseParameters.remove(OAuth.OAUTH_CALLBACK_CONFIRMED); isOAuth10a = Boolean.TRUE.toString().equals(callbackConfirmed); if (isOAuth10a) { return OAuth.addQueryParameters(authorizationWebsiteUrl, OAuth.OAUTH_TOKEN, consumer.getToken()); } else { return OAuth.addQueryParameters(authorizationWebsiteUrl, OAuth.OAUTH_TOKEN, consumer.getToken(), OAuth.OAUTH_CALLBACK, callbackUrl); } } public void retrieveAccessToken(OAuthConsumer consumer, String oauthVerifier) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException { if (consumer.getToken() == null || consumer.getTokenSecret() == null) { throw new OAuthExpectationFailedException( "Authorized request token or token secret not set. " + "Did you retrieve an authorized request token before?"); } if (isOAuth10a && oauthVerifier != null) { retrieveToken(consumer, accessTokenEndpointUrl, OAuth.OAUTH_VERIFIER, oauthVerifier); } else { retrieveToken(consumer, accessTokenEndpointUrl); } } public void retrieveAccessTokenForTencent(OAuthConsumer consumer, String oauthVerifier) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException { if (consumer.getToken() == null || consumer.getTokenSecret() == null) { throw new OAuthExpectationFailedException( "Authorized request token or token secret not set. " + "Did you retrieve an authorized request token before?"); } if (isOAuth10a && oauthVerifier != null) { retrieveTokenForTencent(consumer, accessTokenEndpointUrl, OAuth.OAUTH_VERIFIER, oauthVerifier); } else { retrieveTokenForTencent(consumer, accessTokenEndpointUrl); } } /** * <p> * Implemented by subclasses. The responsibility of this method is to * contact the service provider at the given endpoint URL and fetch a * request or access token. What kind of token is retrieved solely depends * on the URL being used. * </p> * <p> * Correct implementations of this method must guarantee the following * post-conditions: * <ul> * <li>the {@link OAuthConsumer} passed to this method must have a valid * {@link OAuth#OAUTH_TOKEN} and {@link OAuth#OAUTH_TOKEN_SECRET} set by * calling {@link OAuthConsumer#setTokenWithSecret(String, String)}</li> * <li>{@link #getResponseParameters()} must return the set of query * parameters served by the service provider in the token response, with all * OAuth specific parameters being removed</li> * </ul> * </p> * * @param consumer * the {@link OAuthConsumer} that should be used to sign the request * @param endpointUrl * the URL at which the service provider serves the OAuth token that * is to be fetched * @param additionalParameters * you can pass parameters here (typically OAuth parameters such as * oauth_callback or oauth_verifier) which will go directly into the * signer, i.e. you don't have to put them into the request first, * just so the consumer pull them out again. Pass them sequentially * in key/value order. * @throws OAuthMessageSignerException * if signing the token request fails * @throws OAuthCommunicationException * if a network communication error occurs * @throws OAuthNotAuthorizedException * if the server replies 401 - Unauthorized * @throws OAuthExpectationFailedException * if an expectation has failed, e.g. because the server didn't * reply in the expected format */ protected void retrieveToken(OAuthConsumer consumer, String endpointUrl, String... additionalParameters) throws OAuthMessageSignerException, OAuthCommunicationException, OAuthNotAuthorizedException, OAuthExpectationFailedException { Map<String, String> defaultHeaders = getRequestHeaders(); if (consumer.getConsumerKey() == null || consumer.getConsumerSecret() == null) { throw new OAuthExpectationFailedException("Consumer key or secret not set"); } HttpRequest request = null; HttpResponse response = null; try { request = createRequest(endpointUrl); for (String header : defaultHeaders.keySet()) { request.setHeader(header, defaultHeaders.get(header)); } if (additionalParameters != null) { HttpParameters httpParams = new HttpParameters(); httpParams.putAll(additionalParameters, true); consumer.setAdditionalParameters(httpParams); } if (this.listener != null) { this.listener.prepareRequest(request); } consumer.sign(request); if (this.listener != null) { this.listener.prepareSubmission(request); } response = sendRequest(request); int statusCode = response.getStatusCode(); boolean requestHandled = false; if (this.listener != null) { requestHandled = this.listener.onResponseReceived(request, response); } if (requestHandled) { return; } if (statusCode >= 300) { handleUnexpectedResponse(statusCode, response); } HttpParameters responseParams = OAuth.decodeForm(response.getContent()); String token = responseParams.getFirst(OAuth.OAUTH_TOKEN); String secret = responseParams.getFirst(OAuth.OAUTH_TOKEN_SECRET); responseParams.remove(OAuth.OAUTH_TOKEN); responseParams.remove(OAuth.OAUTH_TOKEN_SECRET); setResponseParameters(responseParams); if (token == null || secret == null) { throw new OAuthExpectationFailedException( "Request token or token secret not set in server reply. " + "The service provider you use is probably buggy."); } consumer.setTokenWithSecret(token, secret); } catch (OAuthNotAuthorizedException e) { throw e; } catch (OAuthExpectationFailedException e) { throw e; } catch (Exception e) { throw new OAuthCommunicationException(e); } finally { try { closeConnection(request, response); } catch (Exception e) { throw new OAuthCommunicationException(e); } } } protected void retrieveTokenForTencent(OAuthConsumer consumer, String endpointUrl, String... additionalParameters) throws OAuthMessageSignerException, OAuthCommunicationException, OAuthNotAuthorizedException, OAuthExpectationFailedException { Map<String, String> defaultHeaders = getRequestHeaders(); if (consumer.getConsumerKey() == null || consumer.getConsumerSecret() == null) { throw new OAuthExpectationFailedException("Consumer key or secret not set"); } HttpRequest request = null; HttpResponse response = null; try { request = createRequestForTencent(endpointUrl); for (String header : defaultHeaders.keySet()) { request.setHeader(header, defaultHeaders.get(header)); } if (additionalParameters != null) { HttpParameters httpParams = new HttpParameters(); httpParams.putAll(additionalParameters, true); consumer.setAdditionalParameters(httpParams); } if (this.listener != null) { this.listener.prepareRequest(request); } consumer.sign(request); if (this.listener != null) { this.listener.prepareSubmission(request); } response = sendRequestForTencent(request); int statusCode = response.getStatusCode(); boolean requestHandled = false; if (this.listener != null) { requestHandled = this.listener.onResponseReceived(request, response); } if (requestHandled) { return; } if (statusCode >= 300) { handleUnexpectedResponse(statusCode, response); } HttpParameters responseParams = OAuth.decodeForm(response.getContent()); String token = responseParams.getFirst(OAuth.OAUTH_TOKEN); String secret = responseParams.getFirst(OAuth.OAUTH_TOKEN_SECRET); responseParams.remove(OAuth.OAUTH_TOKEN); responseParams.remove(OAuth.OAUTH_TOKEN_SECRET); setResponseParameters(responseParams); if (token == null || secret == null) { throw new OAuthExpectationFailedException( "Request token or token secret not set in server reply. " + "The service provider you use is probably buggy."); } consumer.setTokenWithSecret(token, secret); } catch (OAuthNotAuthorizedException e) { throw e; } catch (OAuthExpectationFailedException e) { throw e; } catch (Exception e) { throw new OAuthCommunicationException(e); } finally { try { closeConnection(request, response); } catch (Exception e) { throw new OAuthCommunicationException(e); } } } protected void handleUnexpectedResponse(int statusCode, HttpResponse response) throws Exception { if (response == null) { return; } BufferedReader reader = new BufferedReader(new InputStreamReader(response.getContent())); StringBuilder responseBody = new StringBuilder(); String line = reader.readLine(); while (line != null) { responseBody.append(line); line = reader.readLine(); } switch (statusCode) { case 401: throw new OAuthNotAuthorizedException(responseBody.toString()); default: throw new OAuthCommunicationException("Service provider responded in error: " + statusCode + " (" + response.getReasonPhrase() + ")", responseBody.toString()); } } /** * Overrride this method if you want to customize the logic for building a * request object for the given endpoint URL. * * @param endpointUrl * the URL to which the request will go * @return the request object * @throws Exception * if something breaks */ protected abstract HttpRequest createRequest(String endpointUrl) throws Exception; protected abstract HttpRequest createRequestForTencent(String endpointUrl) throws Exception; /** * Override this method if you want to customize the logic for how the given * request is sent to the server. * * @param request * the request to send * @return the response to the request * @throws Exception * if something breaks */ protected abstract HttpResponse sendRequest(HttpRequest request) throws Exception; protected abstract HttpResponse sendRequestForTencent(HttpRequest request) throws Exception; /** * Called when the connection is being finalized after receiving the * response. Use this to do any cleanup / resource freeing. * * @param request * the request that has been sent * @param response * the response that has been received * @throws Exception * if something breaks */ protected void closeConnection(HttpRequest request, HttpResponse response) throws Exception { // NOP } public HttpParameters getResponseParameters() { return responseParameters; } /** * Returns a single query parameter as served by the service provider in a * token reply. You must call {@link #setResponseParameters} with the set of * parameters before using this method. * * @param key * the parameter name * @return the parameter value */ protected String getResponseParameter(String key) { return responseParameters.getFirst(key); } public void setResponseParameters(HttpParameters parameters) { this.responseParameters = parameters; } public void setOAuth10a(boolean isOAuth10aProvider) { this.isOAuth10a = isOAuth10aProvider; } public boolean isOAuth10a() { return isOAuth10a; } public String getRequestTokenEndpointUrl() { return this.requestTokenEndpointUrl; } public String getAccessTokenEndpointUrl() { return this.accessTokenEndpointUrl; } public String getAuthorizationWebsiteUrl() { return this.authorizationWebsiteUrl; } public void setRequestHeader(String header, String value) { defaultHeaders.put(header, value); } public Map<String, String> getRequestHeaders() { return defaultHeaders; } public void setListener(OAuthProviderListener listener) { this.listener = listener; } public void removeListener(OAuthProviderListener listener) { this.listener = null; } }
06peng
trunk/mzba/src/oauth/signpost/AbstractOAuthProvider.java
Java
asf20
17,817
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost; import java.io.Serializable; import oauth.signpost.exception.OAuthCommunicationException; import oauth.signpost.exception.OAuthExpectationFailedException; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; import oauth.signpost.signature.AuthorizationHeaderSigningStrategy; import oauth.signpost.signature.HmacSha1MessageSigner; import oauth.signpost.signature.OAuthMessageSigner; import oauth.signpost.signature.PlainTextMessageSigner; import oauth.signpost.signature.QueryStringSigningStrategy; import oauth.signpost.signature.SigningStrategy; /** * <p> * Exposes a simple interface to sign HTTP requests using a given OAuth token * and secret. Refer to {@link OAuthProvider} how to retrieve a valid token and * token secret. * </p> * <p> * HTTP messages are signed as follows: * <p> * * <pre> * // exchange the arguments with the actual token/secret pair * OAuthConsumer consumer = new DefaultOAuthConsumer(&quot;1234&quot;, &quot;5678&quot;); * * URL url = new URL(&quot;http://example.com/protected.xml&quot;); * HttpURLConnection request = (HttpURLConnection) url.openConnection(); * * consumer.sign(request); * * request.connect(); * </pre> * * </p> * </p> * * @author Matthias Kaeppler */ public interface OAuthConsumer extends Serializable { /** * Sets the message signer that should be used to generate the OAuth * signature. * * @param messageSigner * the signer * @see HmacSha1MessageSigner * @see PlainTextMessageSigner */ public void setMessageSigner(OAuthMessageSigner messageSigner); /** * Allows you to add parameters (typically OAuth parameters such as * oauth_callback or oauth_verifier) which will go directly into the signer, * i.e. you don't have to put them into the request first. The consumer's * {@link SigningStrategy} will then take care of writing them to the * correct part of the request before it is sent. Note that these parameters * are expected to already be percent encoded -- they will be simply merged * as-is. * * @param additionalParameters * the parameters */ public void setAdditionalParameters(HttpParameters additionalParameters); /** * Defines which strategy should be used to write a signature to an HTTP * request. * * @param signingStrategy * the strategy * @see AuthorizationHeaderSigningStrategy * @see QueryStringSigningStrategy */ public void setSigningStrategy(SigningStrategy signingStrategy); /** * <p> * Causes the consumer to always include the oauth_token parameter to be * sent, even if blank. If you're seeing 401s during calls to * {@link OAuthProvider#retrieveRequestToken}, try setting this to true. * </p> * * @param enable * true or false */ public void setSendEmptyTokens(boolean enable); /** * Signs the given HTTP request by writing an OAuth signature (and other * required OAuth parameters) to it. Where these parameters are written * depends on the current {@link SigningStrategy}. * * @param request * the request to sign * @return the request object passed as an argument * @throws OAuthMessageSignerException * @throws OAuthExpectationFailedException * @throws OAuthCommunicationException */ public HttpRequest sign(HttpRequest request) throws OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException; /** * <p> * Signs the given HTTP request by writing an OAuth signature (and other * required OAuth parameters) to it. Where these parameters are written * depends on the current {@link SigningStrategy}. * </p> * This method accepts HTTP library specific request objects; the consumer * implementation must ensure that only those request types are passed which * it supports. * * @param request * the request to sign * @return the request object passed as an argument * @throws OAuthMessageSignerException * @throws OAuthExpectationFailedException * @throws OAuthCommunicationException */ public HttpRequest sign(Object request) throws OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException; /** * <p> * "Signs" the given URL by appending all OAuth parameters to it which are * required for message signing. The assumed HTTP method is GET. * Essentially, this is equivalent to signing an HTTP GET request, but it * can be useful if your application requires clickable links to protected * resources, i.e. when your application does not have access to the actual * request that is being sent. * </p> * * @param url * the input URL. May have query parameters. * @return the input URL, with all necessary OAuth parameters attached as a * query string. Existing query parameters are preserved. * @throws OAuthMessageSignerException * @throws OAuthExpectationFailedException * @throws OAuthCommunicationException */ public String sign(String url) throws OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException; /** * Sets the OAuth token and token secret used for message signing. * * @param token * the token * @param tokenSecret * the token secret */ public void setTokenWithSecret(String token, String tokenSecret); public String getToken(); public String getTokenSecret(); public String getConsumerKey(); public String getConsumerSecret(); /** * Returns all parameters collected from the HTTP request during message * signing (this means the return value may be NULL before a call to * {@link #sign}), plus all required OAuth parameters that were added * because the request didn't contain them beforehand. In other words, this * is the exact set of parameters that were used for creating the message * signature. * * @return the request parameters used for message signing */ public HttpParameters getRequestParameters(); }
06peng
trunk/mzba/src/oauth/signpost/OAuthConsumer.java
Java
asf20
7,056
/* Copyright (c) 2008, 2009 Netflix, Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.http; import java.io.Serializable; import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.SortedSet; import java.util.TreeMap; import java.util.TreeSet; import oauth.signpost.OAuth; /** * A multi-map of HTTP request parameters. Each key references a * {@link SortedSet} of parameters collected from the request during message * signing. Parameter values are sorted as per {@linkplain http * ://oauth.net/core/1.0a/#anchor13}. Every key/value pair will be * percent-encoded upon insertion. This class has special semantics tailored to * being useful for message signing; it's not a general purpose collection class * to handle request parameters. * * @author Matthias Kaeppler */ @SuppressWarnings("serial") public class HttpParameters implements Map<String, SortedSet<String>>, Serializable { private TreeMap<String, SortedSet<String>> wrappedMap = new TreeMap<String, SortedSet<String>>(); public SortedSet<String> put(String key, SortedSet<String> value) { return wrappedMap.put(key, value); } public SortedSet<String> put(String key, SortedSet<String> values, boolean percentEncode) { if (percentEncode) { remove(key); for (String v : values) { put(key, v, true); } return get(key); } else { return wrappedMap.put(key, values); } } /** * Convenience method to add a single value for the parameter specified by * 'key'. * * @param key * the parameter name * @param value * the parameter value * @return the value */ public String put(String key, String value) { return put(key, value, false); } /** * Convenience method to add a single value for the parameter specified by * 'key'. * * @param key * the parameter name * @param value * the parameter value * @param percentEncode * whether key and value should be percent encoded before being * inserted into the map * @return the value */ public String put(String key, String value, boolean percentEncode) { SortedSet<String> values = wrappedMap.get(key); if (values == null) { values = new TreeSet<String>(); wrappedMap.put(percentEncode ? OAuth.percentEncode(key) : key, values); } if (value != null) { value = percentEncode ? OAuth.percentEncode(value) : value; values.add(value); } return value; } /** * Convenience method to allow for storing null values. {@link #put} doesn't * allow null values, because that would be ambiguous. * * @param key * the parameter name * @param nullString * can be anything, but probably... null? * @return null */ public String putNull(String key, String nullString) { return put(key, nullString); } public void putAll(Map<? extends String, ? extends SortedSet<String>> m) { wrappedMap.putAll(m); } public void putAll(Map<? extends String, ? extends SortedSet<String>> m, boolean percentEncode) { if (percentEncode) { for (String key : m.keySet()) { put(key, m.get(key), true); } } else { wrappedMap.putAll(m); } } public void putAll(String[] keyValuePairs, boolean percentEncode) { for (int i = 0; i < keyValuePairs.length - 1; i += 2) { this.put(keyValuePairs[i], keyValuePairs[i + 1], percentEncode); } } /** * Convenience method to merge a Map<String, List<String>>. * * @param m * the map */ public void putMap(Map<String, List<String>> m) { for (String key : m.keySet()) { SortedSet<String> vals = get(key); if (vals == null) { vals = new TreeSet<String>(); put(key, vals); } vals.addAll(m.get(key)); } } public SortedSet<String> get(Object key) { return wrappedMap.get(key); } /** * Convenience method for {@link #getFirst(key, false)}. * * @param key * the parameter name (must be percent encoded if it contains unsafe * characters!) * @return the first value found for this parameter */ public String getFirst(Object key) { return getFirst(key, false); } /** * Returns the first value from the set of all values for the given * parameter name. If the key passed to this method contains special * characters, you MUST first percent encode it using * {@link OAuth#percentEncode(String)}, otherwise the lookup will fail * (that's because upon storing values in this map, keys get * percent-encoded). * * @param key * the parameter name (must be percent encoded if it contains unsafe * characters!) * @param percentDecode * whether the value being retrieved should be percent decoded * @return the first value found for this parameter */ public String getFirst(Object key, boolean percentDecode) { SortedSet<String> values = wrappedMap.get(key); if (values == null || values.isEmpty()) { return null; } String value = values.first(); return percentDecode ? OAuth.percentDecode(value) : value; } /** * Concatenates all values for the given key to a list of key/value pairs * suitable for use in a URL query string. * * @param key * the parameter name * @return the query string */ public String getAsQueryString(Object key) { StringBuilder sb = new StringBuilder(); key = OAuth.percentEncode((String) key); Set<String> values = wrappedMap.get(key); if (values == null) { return key + "="; } Iterator<String> iter = values.iterator(); while (iter.hasNext()) { sb.append(key + "=" + iter.next()); if (iter.hasNext()) { sb.append("&"); } } return sb.toString(); } public String getAsHeaderElement(String key) { String value = getFirst(key); if (value == null) { return null; } return key + "=\"" + value + "\""; } public boolean containsKey(Object key) { return wrappedMap.containsKey(key); } public boolean containsValue(Object value) { for (Set<String> values : wrappedMap.values()) { if (values.contains(value)) { return true; } } return false; } public int size() { int count = 0; for (String key : wrappedMap.keySet()) { count += wrappedMap.get(key).size(); } return count; } public boolean isEmpty() { return wrappedMap.isEmpty(); } public void clear() { wrappedMap.clear(); } public SortedSet<String> remove(Object key) { return wrappedMap.remove(key); } public Set<String> keySet() { return wrappedMap.keySet(); } public Collection<SortedSet<String>> values() { return wrappedMap.values(); } public Set<java.util.Map.Entry<String, SortedSet<String>>> entrySet() { return wrappedMap.entrySet(); } }
06peng
trunk/mzba/src/oauth/signpost/http/HttpParameters.java
Java
asf20
8,242
package oauth.signpost.http; import java.io.IOException; import java.io.InputStream; public interface HttpResponse { int getStatusCode() throws IOException; String getReasonPhrase() throws Exception; InputStream getContent() throws IOException; /** * Returns the underlying response object, in case you need to work on it * directly. * * @return the wrapped response object */ Object unwrap(); }
06peng
trunk/mzba/src/oauth/signpost/http/HttpResponse.java
Java
asf20
448
package oauth.signpost.http; import java.io.IOException; import java.io.InputStream; import java.util.Map; import oauth.signpost.OAuthConsumer; import oauth.signpost.basic.HttpURLConnectionRequestAdapter; /** * A concise description of an HTTP request. Contains methods to access all * those parts of an HTTP request which Signpost needs to sign a message. If you * want to extend Signpost to sign a different kind of HTTP request than those * currently supported, you'll have to write an adapter which implements this * interface and a custom {@link OAuthConsumer} which performs the wrapping. * * @see HttpURLConnectionRequestAdapter * @author Matthias Kaeppler */ public interface HttpRequest { String getMethod(); String getRequestUrl(); void setRequestUrl(String url); void setHeader(String name, String value); String getHeader(String name); Map<String, String> getAllHeaders(); InputStream getMessagePayload() throws IOException; String getContentType(); /** * Returns the wrapped request object, in case you must work directly on it. * * @return the wrapped request object */ Object unwrap(); }
06peng
trunk/mzba/src/oauth/signpost/http/HttpRequest.java
Java
asf20
1,186
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.signature; import java.io.IOException; import java.io.Serializable; import java.io.UnsupportedEncodingException; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; import com.outsourcing.bottle.oauth.Base64; public abstract class OAuthMessageSigner implements Serializable { private static final long serialVersionUID = 4445779788786131202L; private transient Base64 base64; private String consumerSecret; private String tokenSecret; public OAuthMessageSigner() { this.base64 = new Base64(); } public abstract String sign(HttpRequest request, HttpParameters requestParameters) throws OAuthMessageSignerException; public abstract String getSignatureMethod(); public String getConsumerSecret() { return consumerSecret; } public String getTokenSecret() { return tokenSecret; } public void setConsumerSecret(String consumerSecret) { this.consumerSecret = consumerSecret; } public void setTokenSecret(String tokenSecret) { this.tokenSecret = tokenSecret; } @SuppressWarnings("static-access") protected byte[] decodeBase64(String s) { try { return base64.decode(s); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return null; } @SuppressWarnings("static-access") protected String base64Encode(byte[] b) { return new String(base64.encode(b)); } private void readObject(java.io.ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); this.base64 = new Base64(); } }
06peng
trunk/mzba/src/oauth/signpost/signature/OAuthMessageSigner.java
Java
asf20
2,354
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.signature; import java.io.UnsupportedEncodingException; import java.security.GeneralSecurityException; import javax.crypto.Mac; import javax.crypto.SecretKey; import javax.crypto.spec.SecretKeySpec; import oauth.signpost.OAuth; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; @SuppressWarnings("serial") public class HmacSha1MessageSigner extends OAuthMessageSigner { private static final String MAC_NAME = "HmacSHA1"; @Override public String getSignatureMethod() { return "HMAC-SHA1"; } @Override public String sign(HttpRequest request, HttpParameters requestParams) throws OAuthMessageSignerException { try { String keyString = OAuth.percentEncode(getConsumerSecret()) + '&' + OAuth.percentEncode(getTokenSecret()); byte[] keyBytes = keyString.getBytes(OAuth.ENCODING); SecretKey key = new SecretKeySpec(keyBytes, MAC_NAME); Mac mac = Mac.getInstance(MAC_NAME); mac.init(key); String sbs = new SignatureBaseString(request, requestParams).generate(); OAuth.debugOut("SBS", sbs); byte[] text = sbs.getBytes(OAuth.ENCODING); return base64Encode(mac.doFinal(text)).trim(); } catch (GeneralSecurityException e) { throw new OAuthMessageSignerException(e); } catch (UnsupportedEncodingException e) { throw new OAuthMessageSignerException(e); } } }
06peng
trunk/mzba/src/oauth/signpost/signature/HmacSha1MessageSigner.java
Java
asf20
2,200
package oauth.signpost.signature; import java.io.Serializable; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; /** * <p> * Defines how an OAuth signature string is written to a request. * </p> * <p> * Unlike {@link OAuthMessageSigner}, which is concerned with <i>how</i> to * generate a signature, this class is concered with <i>where</i> to write it * (e.g. HTTP header or query string). * </p> * * @author Matthias Kaeppler */ public interface SigningStrategy extends Serializable { /** * Writes an OAuth signature and all remaining required parameters to an * HTTP message. * * @param signature * the signature to write * @param request * the request to sign * @param requestParameters * the request parameters * @return whatever has been written to the request, e.g. an Authorization * header field */ String writeSignature(String signature, HttpRequest request, HttpParameters requestParameters); }
06peng
trunk/mzba/src/oauth/signpost/signature/SigningStrategy.java
Java
asf20
1,058
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.signpost.signature; import oauth.signpost.OAuth; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; @SuppressWarnings("serial") public class PlainTextMessageSigner extends OAuthMessageSigner { @Override public String getSignatureMethod() { return "PLAINTEXT"; } @Override public String sign(HttpRequest request, HttpParameters requestParams) throws OAuthMessageSignerException { return OAuth.percentEncode(getConsumerSecret()) + '&' + OAuth.percentEncode(getTokenSecret()); } }
06peng
trunk/mzba/src/oauth/signpost/signature/PlainTextMessageSigner.java
Java
asf20
1,259
/* * Copyright (c) 2009 Matthias Kaeppler Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law * or agreed to in writing, software distributed under the License is * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package oauth.signpost.signature; import java.io.IOException; import java.net.URI; import java.net.URISyntaxException; import java.util.Iterator; import oauth.signpost.OAuth; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; public class SignatureBaseString { private HttpRequest request; private HttpParameters requestParameters; /** * Constructs a new SBS instance that will operate on the given request * object and parameter set. * * @param request * the HTTP request * @param requestParameters * the set of request parameters from the Authorization header, query * string and form body */ public SignatureBaseString(HttpRequest request, HttpParameters requestParameters) { this.request = request; this.requestParameters = requestParameters; } /** * Builds the signature base string from the data this instance was * configured with. * * @return the signature base string * @throws OAuthMessageSignerException */ public String generate() throws OAuthMessageSignerException { try { String normalizedUrl = normalizeRequestUrl(); String normalizedParams = normalizeRequestParameters(); return request.getMethod() + '&' + OAuth.percentEncode(normalizedUrl) + '&' + OAuth.percentEncode(normalizedParams); } catch (Exception e) { throw new OAuthMessageSignerException(e); } } public String normalizeRequestUrl() throws URISyntaxException { URI uri = new URI(request.getRequestUrl()); String scheme = uri.getScheme().toLowerCase(); String authority = uri.getAuthority().toLowerCase(); boolean dropPort = (scheme.equals("http") && uri.getPort() == 80) || (scheme.equals("https") && uri.getPort() == 443); if (dropPort) { // find the last : in the authority int index = authority.lastIndexOf(":"); if (index >= 0) { authority = authority.substring(0, index); } } String path = uri.getRawPath(); if (path == null || path.length() <= 0) { path = "/"; // conforms to RFC 2616 section 3.2.2 } // we know that there is no query and no fragment here. return scheme + "://" + authority + path; } /** * Normalizes the set of request parameters this instance was configured * with, as per OAuth spec section 9.1.1. * * @param parameters * the set of request parameters * @return the normalized params string * @throws IOException */ public String normalizeRequestParameters() throws IOException { if (requestParameters == null) { return ""; } StringBuilder sb = new StringBuilder(); Iterator<String> iter = requestParameters.keySet().iterator(); for (int i = 0; iter.hasNext(); i++) { String param = iter.next(); if (OAuth.OAUTH_SIGNATURE.equals(param) || "realm".equals(param)) { continue; } if (i > 0) { sb.append("&"); } sb.append(requestParameters.getAsQueryString(param)); } return sb.toString(); } }
06peng
trunk/mzba/src/oauth/signpost/signature/SignatureBaseString.java
Java
asf20
4,046
package oauth.signpost.signature; import oauth.signpost.OAuth; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; /** * Writes to the HTTP Authorization header field. * * @author Matthias Kaeppler */ public class AuthorizationHeaderSigningStrategy implements SigningStrategy { private static final long serialVersionUID = 1L; public String writeSignature(String signature, HttpRequest request, HttpParameters requestParameters) { StringBuilder sb = new StringBuilder(); sb.append("OAuth "); if (requestParameters.containsKey("realm")) { sb.append(requestParameters.getAsHeaderElement("realm")); sb.append(", "); } if (requestParameters.containsKey(OAuth.OAUTH_TOKEN)) { sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_TOKEN)); sb.append(", "); } if (requestParameters.containsKey(OAuth.OAUTH_CALLBACK)) { sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_CALLBACK)); sb.append(", "); } if (requestParameters.containsKey(OAuth.OAUTH_VERIFIER)) { sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_VERIFIER)); sb.append(", "); } sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_CONSUMER_KEY)); sb.append(", "); sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_VERSION)); sb.append(", "); sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_SIGNATURE_METHOD)); sb.append(", "); sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_TIMESTAMP)); sb.append(", "); sb.append(requestParameters.getAsHeaderElement(OAuth.OAUTH_NONCE)); sb.append(", "); sb.append(OAuth.toHeaderElement(OAuth.OAUTH_SIGNATURE, signature)); String header = sb.toString(); request.setHeader(OAuth.HTTP_AUTHORIZATION_HEADER, header); return header; } }
06peng
trunk/mzba/src/oauth/signpost/signature/AuthorizationHeaderSigningStrategy.java
Java
asf20
2,039
package oauth.signpost.signature; import java.io.IOException; import java.net.Socket; import java.net.UnknownHostException; import java.security.KeyManagementException; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.UnrecoverableKeyException; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import org.apache.http.conn.ssl.SSLSocketFactory; /** * SSL认证 * @author mzba * */ public class SSLSocketFactoryEx extends SSLSocketFactory { SSLContext sslContext = SSLContext.getInstance("TLS"); public SSLSocketFactoryEx(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException { super(truststore); TrustManager tm = new X509TrustManager() { public java.security.cert.X509Certificate[] getAcceptedIssuers() { return null; } @Override public void checkClientTrusted( java.security.cert.X509Certificate[] chain, String authType) throws java.security.cert.CertificateException { } @Override public void checkServerTrusted( java.security.cert.X509Certificate[] chain, String authType) throws java.security.cert.CertificateException { } }; sslContext.init(null, new TrustManager[] { tm }, null); } @Override public Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException { return sslContext.getSocketFactory().createSocket(socket, host, port, autoClose); } @Override public Socket createSocket() throws IOException { return sslContext.getSocketFactory().createSocket(); } }
06peng
trunk/mzba/src/oauth/signpost/signature/SSLSocketFactoryEx.java
Java
asf20
1,812
package oauth.signpost.signature; import oauth.signpost.OAuth; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; /** * Writes to a URL query string. <strong>Note that this currently ONLY works * when signing a URL directly, not with HTTP request objects.</strong> That's * because most HTTP request implementations do not allow the client to change * the URL once the request has been instantiated, so there is no way to append * parameters to it. * * @author Matthias Kaeppler */ public class QueryStringSigningStrategy implements SigningStrategy { private static final long serialVersionUID = 1L; public String writeSignature(String signature, HttpRequest request, HttpParameters requestParameters) { // add the signature StringBuilder sb = new StringBuilder(OAuth.addQueryParameters(request.getRequestUrl(), OAuth.OAUTH_SIGNATURE, signature)); // add the optional OAuth parameters if (requestParameters.containsKey(OAuth.OAUTH_TOKEN)) { sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_TOKEN)); } if (requestParameters.containsKey(OAuth.OAUTH_CALLBACK)) { sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_CALLBACK)); } if (requestParameters.containsKey(OAuth.OAUTH_VERIFIER)) { sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_VERIFIER)); } // add the remaining OAuth params sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_CONSUMER_KEY)); sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_VERSION)); sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_SIGNATURE_METHOD)); sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_TIMESTAMP)); sb.append("&"); sb.append(requestParameters.getAsQueryString(OAuth.OAUTH_NONCE)); String signedUrl = sb.toString(); request.setRequestUrl(signedUrl); return signedUrl; } }
06peng
trunk/mzba/src/oauth/signpost/signature/QueryStringSigningStrategy.java
Java
asf20
2,217
/* * Copyright (c) 2009 Matthias Kaeppler Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law * or agreed to in writing, software distributed under the License is * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package oauth.signpost; import java.io.Serializable; import java.util.Map; import oauth.signpost.basic.DefaultOAuthConsumer; import oauth.signpost.basic.DefaultOAuthProvider; import oauth.signpost.exception.OAuthCommunicationException; import oauth.signpost.exception.OAuthExpectationFailedException; import oauth.signpost.exception.OAuthMessageSignerException; import oauth.signpost.exception.OAuthNotAuthorizedException; import oauth.signpost.http.HttpParameters; /** * <p> * Supplies an interface that can be used to retrieve request and access tokens * from an OAuth 1.0(a) service provider. A provider object requires an * {@link OAuthConsumer} to sign the token request message; after a token has * been retrieved, the consumer is automatically updated with the token and the * corresponding secret. * </p> * <p> * To initiate the token exchange, create a new provider instance and configure * it with the URLs the service provider exposes for requesting tokens and * resource authorization, e.g.: * </p> * * <pre> * OAuthProvider provider = new DefaultOAuthProvider(&quot;http://twitter.com/oauth/request_token&quot;, * &quot;http://twitter.com/oauth/access_token&quot;, &quot;http://twitter.com/oauth/authorize&quot;); * </pre> * <p> * Depending on the HTTP library you use, you may need a different provider * type, refer to the website documentation for how to do that. * </p> * <p> * To receive a request token which the user must authorize, you invoke it using * a consumer instance and a callback URL: * </p> * <p> * * <pre> * String url = provider.retrieveRequestToken(consumer, &quot;http://www.example.com/callback&quot;); * </pre> * * </p> * <p> * That url must be opened in a Web browser, where the user can grant access to * the resources in question. If that succeeds, the service provider will * redirect to the callback URL and append the blessed request token. * </p> * <p> * That token must now be exchanged for an access token, as such: * </p> * <p> * * <pre> * provider.retrieveAccessToken(consumer, nullOrVerifierCode); * </pre> * * </p> * <p> * where nullOrVerifierCode is either null if your provided a callback URL in * the previous step, or the pin code issued by the service provider to the user * if the request was out-of-band (cf. {@link OAuth#OUT_OF_BAND}. * </p> * <p> * The consumer used during token handshakes is now ready for signing. * </p> * * @see DefaultOAuthProvider * @see DefaultOAuthConsumer * @see OAuthProviderListener */ public interface OAuthProvider extends Serializable { /** * Queries the service provider for a request token. * <p> * <b>Pre-conditions:</b> the given {@link OAuthConsumer} must have a valid * consumer key and consumer secret already set. * </p> * <p> * <b>Post-conditions:</b> the given {@link OAuthConsumer} will have an * unauthorized request token and token secret set. * </p> * * @param consumer * the {@link OAuthConsumer} that should be used to sign the request * @param callbackUrl * Pass an actual URL if your app can receive callbacks and you want * to get informed about the result of the authorization process. * Pass {@link OAuth.OUT_OF_BAND} if the service provider implements * OAuth 1.0a and your app cannot receive callbacks. Pass null if the * service provider implements OAuth 1.0 and your app cannot receive * callbacks. Please note that some services (among them Twitter) * will fail authorization if you pass a callback URL but register * your application as a desktop app (which would only be able to * handle OOB requests). * @return The URL to which the user must be sent in order to authorize the * consumer. It includes the unauthorized request token (and in the * case of OAuth 1.0, the callback URL -- 1.0a clients send along * with the token request). * @throws OAuthMessageSignerException * if signing the request failed * @throws OAuthNotAuthorizedException * if the service provider rejected the consumer * @throws OAuthExpectationFailedException * if required parameters were not correctly set by the consumer or * service provider * @throws OAuthCommunicationException * if server communication failed */ public String retrieveRequestToken(OAuthConsumer consumer, String callbackUrl) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException; /** * * @param consumer * @param callbackUrl * @return * @throws OAuthMessageSignerException * @throws OAuthNotAuthorizedException * @throws OAuthExpectationFailedException * @throws OAuthCommunicationException */ public String retrieveRequestTokenForTencent(OAuthConsumer consumer, String callbackUrl) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException; /** * Queries the service provider for an access token. * <p> * <b>Pre-conditions:</b> the given {@link OAuthConsumer} must have a valid * consumer key, consumer secret, authorized request token and token secret * already set. * </p> * <p> * <b>Post-conditions:</b> the given {@link OAuthConsumer} will have an * access token and token secret set. * </p> * * @param consumer * the {@link OAuthConsumer} that should be used to sign the request * @param oauthVerifier * <b>NOTE: Only applies to service providers implementing OAuth * 1.0a. Set to null if the service provider is still using OAuth * 1.0.</b> The verification code issued by the service provider * after the the user has granted the consumer authorization. If the * callback method provided in the previous step was * {@link OAuth.OUT_OF_BAND}, then you must ask the user for this * value. If your app has received a callback, the verfication code * was passed as part of that request instead. * @throws OAuthMessageSignerException * if signing the request failed * @throws OAuthNotAuthorizedException * if the service provider rejected the consumer * @throws OAuthExpectationFailedException * if required parameters were not correctly set by the consumer or * service provider * @throws OAuthCommunicationException * if server communication failed */ public void retrieveAccessToken(OAuthConsumer consumer, String oauthVerifier) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException; public void retrieveAccessTokenForTencent(OAuthConsumer consumer, String oauthVerifier) throws OAuthMessageSignerException, OAuthNotAuthorizedException, OAuthExpectationFailedException, OAuthCommunicationException; /** * Any additional non-OAuth parameters returned in the response body of a * token request can be obtained through this method. These parameters will * be preserved until the next token request is issued. The return value is * never null. */ public HttpParameters getResponseParameters(); /** * Subclasses must use this setter to preserve any non-OAuth query * parameters contained in the server response. It's the caller's * responsibility that any OAuth parameters be removed beforehand. * * @param parameters * the map of query parameters served by the service provider in the * token response */ public void setResponseParameters(HttpParameters parameters); /** * Use this method to set custom HTTP headers to be used for the requests * which are sent to retrieve tokens. @deprecated THIS METHOD HAS BEEN * DEPRECATED. Use {@link OAuthProviderListener} to customize requests. * * @param header * The header name (e.g. 'WWW-Authenticate') * @param value * The header value (e.g. 'realm=www.example.com') */ @Deprecated public void setRequestHeader(String header, String value); /** * @deprecated THIS METHOD HAS BEEN DEPRECATED. Use * {@link OAuthProviderListener} to customize requests. * @return all request headers set via {@link #setRequestHeader} */ @Deprecated public Map<String, String> getRequestHeaders(); /** * @param isOAuth10aProvider * set to true if the service provider supports OAuth 1.0a. Note that * you need only call this method if you reconstruct a provider * object in between calls to retrieveRequestToken() and * retrieveAccessToken() (i.e. if the object state isn't preserved). * If instead those two methods are called on the same provider * instance, this flag will be deducted automatically based on the * server response during retrieveRequestToken(), so you can simply * ignore this method. */ public void setOAuth10a(boolean isOAuth10aProvider); /** * @return true if the service provider supports OAuth 1.0a. Note that the * value returned here is only meaningful after you have already * performed the token handshake, otherwise there is no way to * determine what version of the OAuth protocol the service provider * implements. */ public boolean isOAuth10a(); public String getRequestTokenEndpointUrl(); public String getAccessTokenEndpointUrl(); public String getAuthorizationWebsiteUrl(); public void setListener(OAuthProviderListener listener); public void removeListener(OAuthProviderListener listener); }
06peng
trunk/mzba/src/oauth/signpost/OAuthProvider.java
Java
asf20
10,755
/* Copyright (c) 2009 Matthias Kaeppler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.commons.http; import oauth.signpost.AbstractOAuthConsumer; import oauth.signpost.http.HttpRequest; /** * Supports signing HTTP requests of type {@link org.apache.http.HttpRequest}. * * @author Matthias Kaeppler */ public class CommonsHttpOAuthConsumer extends AbstractOAuthConsumer { private static final long serialVersionUID = 1L; public CommonsHttpOAuthConsumer(String consumerKey, String consumerSecret) { super(consumerKey, consumerSecret); } @Override protected HttpRequest wrap(Object request) { if (!(request instanceof org.apache.http.HttpRequest)) { throw new IllegalArgumentException( "This consumer expects requests of type " + org.apache.http.HttpRequest.class.getCanonicalName()); } return new HttpRequestAdapter((org.apache.http.client.methods.HttpUriRequest) request); } }
06peng
trunk/mzba/src/oauth/commons/http/CommonsHttpOAuthConsumer.java
Java
asf20
1,532
package oauth.commons.http; import java.io.IOException; import java.io.InputStream; import oauth.signpost.http.HttpResponse; public class HttpResponseAdapter implements HttpResponse { private org.apache.http.HttpResponse response; public HttpResponseAdapter(org.apache.http.HttpResponse response) { this.response = response; } public InputStream getContent() throws IOException { return response.getEntity().getContent(); } public int getStatusCode() throws IOException { return response.getStatusLine().getStatusCode(); } public String getReasonPhrase() throws Exception { return response.getStatusLine().getReasonPhrase(); } public Object unwrap() { return response; } }
06peng
trunk/mzba/src/oauth/commons/http/HttpResponseAdapter.java
Java
asf20
766
/* * Copyright (c) 2009 Matthias Kaeppler Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law * or agreed to in writing, software distributed under the License is * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package oauth.commons.http; import java.io.IOException; import java.net.URLDecoder; import java.security.KeyStore; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import oauth.signpost.AbstractOAuthProvider; import oauth.signpost.OAuth; import oauth.signpost.http.HttpParameters; import oauth.signpost.http.HttpRequest; import oauth.signpost.signature.SSLSocketFactoryEx; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpVersion; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpUriRequest; import org.apache.http.conn.ClientConnectionManager; import org.apache.http.conn.scheme.PlainSocketFactory; import org.apache.http.conn.scheme.Scheme; import org.apache.http.conn.scheme.SchemeRegistry; import org.apache.http.conn.ssl.SSLSocketFactory; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager; import org.apache.http.message.BasicNameValuePair; import org.apache.http.params.BasicHttpParams; import org.apache.http.params.HttpParams; import org.apache.http.params.HttpProtocolParams; import org.apache.http.protocol.HTTP; /** * This implementation uses the Apache Commons {@link HttpClient} 4.x HTTP * implementation to fetch OAuth tokens from a service provider. Android users * should use this provider implementation in favor of the default one, since * the latter is known to cause problems with Android's Apache Harmony * underpinnings. * * @author Matthias Kaeppler */ public class CommonsHttpOAuthProvider extends AbstractOAuthProvider { private static final long serialVersionUID = 1L; private transient HttpClient httpClient; public CommonsHttpOAuthProvider(String requestTokenEndpointUrl, String accessTokenEndpointUrl, String authorizationWebsiteUrl) { super(requestTokenEndpointUrl, accessTokenEndpointUrl, authorizationWebsiteUrl); this.httpClient = new DefaultHttpClient(); } public CommonsHttpOAuthProvider(String requestTokenEndpointUrl, String accessTokenEndpointUrl, String authorizationWebsiteUrl, HttpClient httpClient) { super(requestTokenEndpointUrl, accessTokenEndpointUrl, authorizationWebsiteUrl); this.httpClient = httpClient; } public void setHttpClient(HttpClient httpClient) { this.httpClient = httpClient; } @Override protected HttpRequest createRequest(String endpointUrl) throws Exception { HttpPost request = new HttpPost(endpointUrl); return new HttpRequestAdapter(request); } @Override protected HttpRequest createRequestForTencent(String endpointUrl) throws Exception { HttpPost request = new HttpPost(endpointUrl); request.addHeader("Content-Type", "application/x-www-form-urlencoded"); return new HttpRequestAdapter(request); } @Override protected oauth.signpost.http.HttpResponse sendRequest(HttpRequest request) throws Exception { HttpResponse response = httpClient.execute((HttpUriRequest) request.unwrap()); return new HttpResponseAdapter(response); } @Override protected oauth.signpost.http.HttpResponse sendRequestForTencent( HttpRequest request) throws Exception { Map<String, String> headers = request.getAllHeaders(); String oauthHeader = (String) headers.get("Authorization"); HttpParameters httpParams = OAuth.oauthHeaderToParamsMap(oauthHeader); List<NameValuePair> formParams = new ArrayList<NameValuePair>(); Set<String> keys = httpParams.keySet(); for (Iterator<String> iterator = keys.iterator(); iterator.hasNext();) { String key = (String) iterator.next(); String value = httpParams.getFirst(key); formParams.add(new BasicNameValuePair(key, URLDecoder.decode(value, "UTF-8"))); } UrlEncodedFormEntity entity = new UrlEncodedFormEntity(formParams, "UTF-8"); HttpPost postRequest = (HttpPost) request.unwrap(); postRequest.setEntity(entity); org.apache.http.HttpResponse response = getNewHttpClient().execute(postRequest); return new HttpResponseAdapter(response); } public HttpClient getNewHttpClient() { try { KeyStore trustStore = KeyStore.getInstance(KeyStore.getDefaultType()); trustStore.load(null, null); SSLSocketFactory sf = new SSLSocketFactoryEx(trustStore); sf.setHostnameVerifier(SSLSocketFactory.ALLOW_ALL_HOSTNAME_VERIFIER); HttpParams params = new BasicHttpParams(); HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1); HttpProtocolParams.setContentCharset(params, HTTP.UTF_8); SchemeRegistry registry = new SchemeRegistry(); registry.register(new Scheme("http", PlainSocketFactory.getSocketFactory(), 80)); registry.register(new Scheme("https", sf, 443)); ClientConnectionManager ccm = new ThreadSafeClientConnManager(params, registry); return new DefaultHttpClient(ccm, params); } catch (Exception e) { return new DefaultHttpClient(); } } @Override protected void closeConnection(HttpRequest request, oauth.signpost.http.HttpResponse response) throws Exception { if (response != null) { HttpEntity entity = ((HttpResponse) response.unwrap()).getEntity(); if (entity != null) { try { // free the connection entity.consumeContent(); } catch (IOException e) { // this means HTTP keep-alive is not possible e.printStackTrace(); } } } } }
06peng
trunk/mzba/src/oauth/commons/http/CommonsHttpOAuthProvider.java
Java
asf20
6,491
package oauth.commons.http; import java.io.IOException; import java.io.InputStream; import java.util.HashMap; import java.util.Map; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.HttpEntityEnclosingRequest; import org.apache.http.client.methods.HttpUriRequest; public class HttpRequestAdapter implements oauth.signpost.http.HttpRequest { private HttpUriRequest request; private HttpEntity entity; public HttpRequestAdapter(HttpUriRequest request) { this.request = request; if (request instanceof HttpEntityEnclosingRequest) { entity = ((HttpEntityEnclosingRequest) request).getEntity(); } } public String getMethod() { return request.getRequestLine().getMethod(); } public String getRequestUrl() { return request.getURI().toString(); } public void setRequestUrl(String url) { throw new RuntimeException(new UnsupportedOperationException()); } public String getHeader(String name) { Header header = request.getFirstHeader(name); if (header == null) { return null; } return header.getValue(); } public void setHeader(String name, String value) { request.setHeader(name, value); } public Map<String, String> getAllHeaders() { Header[] origHeaders = request.getAllHeaders(); HashMap<String, String> headers = new HashMap<String, String>(); for (Header h : origHeaders) { headers.put(h.getName(), h.getValue()); } return headers; } public String getContentType() { if (entity == null) { return null; } Header header = entity.getContentType(); if (header == null) { return null; } return header.getValue(); } public InputStream getMessagePayload() throws IOException { if (entity == null) { return null; } return entity.getContent(); } public Object unwrap() { return request; } }
06peng
trunk/mzba/src/oauth/commons/http/HttpRequestAdapter.java
Java
asf20
2,100
package oauth.facebook; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import oauth.facebook.AsyncFacebookRunner.RequestListener; import android.util.Log; /** * Skeleton base class for RequestListeners, providing default error * handling. Applications should handle these error conditions. * */ public abstract class BaseRequestListener implements RequestListener { public void onFacebookError(FacebookError e, final Object state) { Log.e("Facebook", e.getMessage()); e.printStackTrace(); } public void onFileNotFoundException(FileNotFoundException e, final Object state) { Log.e("Facebook", e.getMessage()); e.printStackTrace(); } public void onIOException(IOException e, final Object state) { Log.e("Facebook", e.getMessage()); e.printStackTrace(); } public void onMalformedURLException(MalformedURLException e, final Object state) { Log.e("Facebook", e.getMessage()); e.printStackTrace(); } }
06peng
trunk/mzba/src/oauth/facebook/BaseRequestListener.java
Java
asf20
1,146
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import android.Manifest; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.ResolveInfo; import android.content.pm.Signature; import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.os.Message; import android.os.Messenger; import android.os.RemoteException; import android.text.TextUtils; import android.webkit.CookieSyncManager; import com.outsourcing.bottle.util.AppContext; /** * Main Facebook object for interacting with the Facebook developer API. * Provides methods to log in and log out a user, make requests using the REST * and Graph APIs, and start user interface interactions with the API (such as * pop-ups promoting for credentials, permissions, stream posts, etc.) * * @author Jim Brusstar (jimbru@facebook.com), * Yariv Sadan (yariv@facebook.com), * Luke Shepard (lshepard@facebook.com) */ public class Facebook { // Strings used in the authorization flow public static final String REDIRECT_URI = "fbconnect://success"; public static final String CANCEL_URI = "fbconnect://cancel"; public static final String TOKEN = "access_token"; public static final String EXPIRES = "expires_in"; public static final String SINGLE_SIGN_ON_DISABLED = "service_disabled"; public static final int FORCE_DIALOG_AUTH = -1; private static final String LOGIN = "oauth"; // Used as default activityCode by authorize(). See authorize() below. private static final int DEFAULT_AUTH_ACTIVITY_CODE = 32665; // Facebook server endpoints: may be modified in a subclass for testing protected static String DIALOG_BASE_URL = "https://m.facebook.com/dialog/"; protected static String GRAPH_BASE_URL = "https://graph.facebook.com/"; protected static String RESTSERVER_URL = "https://api.facebook.com/restserver.php"; private String mAccessToken = null; private long mLastAccessUpdate = 0; private long mAccessExpires = 0; private String mAppId; private Activity mAuthActivity; private String[] mAuthPermissions; private int mAuthActivityCode; private DialogListener mAuthDialogListener; // If the last time we extended the access token was more than 24 hours ago // we try to refresh the access token again. final private long REFRESH_TOKEN_BARRIER = 24L * 60L * 60L * 1000L; /** * Constructor for Facebook object. * * @param appId * Your Facebook application ID. Found at * www.facebook.com/developers/apps.php. */ public Facebook(String appId) { if (appId == null) { throw new IllegalArgumentException( "You must specify your application ID when instantiating " + "a Facebook object. See README for details."); } mAppId = appId; } /** * Default authorize method. Grants only basic permissions. * * See authorize() below for @params. */ public void authorize(Activity activity, final DialogListener listener) { authorize(activity, new String[] {}, DEFAULT_AUTH_ACTIVITY_CODE, listener); } /** * Authorize method that grants custom permissions. * * See authorize() below for @params. */ public void authorize(Activity activity, String[] permissions, final DialogListener listener) { authorize(activity, permissions, DEFAULT_AUTH_ACTIVITY_CODE, listener); } /** * Full authorize method. * * Starts either an Activity or a dialog which prompts the user to log in to * Facebook and grant the requested permissions to the given application. * * This method will, when possible, use Facebook's single sign-on for * Android to obtain an access token. This involves proxying a call through * the Facebook for Android stand-alone application, which will handle the * authentication flow, and return an OAuth access token for making API * calls. * * Because this process will not be available for all users, if single * sign-on is not possible, this method will automatically fall back to the * OAuth 2.0 User-Agent flow. In this flow, the user credentials are handled * by Facebook in an embedded WebView, not by the client application. As * such, the dialog makes a network request and renders HTML content rather * than a native UI. The access token is retrieved from a redirect to a * special URL that the WebView handles. * * Note that User credentials could be handled natively using the OAuth 2.0 * Username and Password Flow, but this is not supported by this SDK. * * See http://developers.facebook.com/docs/authentication/ and * http://wiki.oauth.net/OAuth-2 for more details. * * Note that this method is asynchronous and the callback will be invoked in * the original calling thread (not in a background thread). * * Also note that requests may be made to the API without calling authorize * first, in which case only public information is returned. * * IMPORTANT: Note that single sign-on authentication will not function * correctly if you do not include a call to the authorizeCallback() method * in your onActivityResult() function! Please see below for more * information. single sign-on may be disabled by passing FORCE_DIALOG_AUTH * as the activityCode parameter in your call to authorize(). * * @param activity * The Android activity in which we want to display the * authorization dialog. * @param applicationId * The Facebook application identifier e.g. "350685531728" * @param permissions * A list of permissions required for this application: e.g. * "read_stream", "publish_stream", "offline_access", etc. see * http://developers.facebook.com/docs/authentication/permissions * This parameter should not be null -- if you do not require any * permissions, then pass in an empty String array. * @param activityCode * Single sign-on requires an activity result to be called back * to the client application -- if you are waiting on other * activities to return data, pass a custom activity code here to * avoid collisions. If you would like to force the use of legacy * dialog-based authorization, pass FORCE_DIALOG_AUTH for this * parameter. Otherwise just omit this parameter and Facebook * will use a suitable default. See * http://developer.android.com/reference/android/ * app/Activity.html for more information. * @param listener * Callback interface for notifying the calling application when * the authentication dialog has completed, failed, or been * canceled. */ public void authorize(Activity activity, String[] permissions, int activityCode, final DialogListener listener) { boolean singleSignOnStarted = false; mAuthDialogListener = listener; // Prefer single sign-on, where available. if (activityCode >= 0) { singleSignOnStarted = startSingleSignOn(activity, mAppId, permissions, activityCode); } // Otherwise fall back to traditional dialog. if (!singleSignOnStarted) { startDialogAuth(activity, permissions); } } /** * Internal method to handle single sign-on backend for authorize(). * * @param activity * The Android Activity that will parent the ProxyAuth Activity. * @param applicationId * The Facebook application identifier. * @param permissions * A list of permissions required for this application. If you do * not require any permissions, pass an empty String array. * @param activityCode * Activity code to uniquely identify the result Intent in the * callback. */ private boolean startSingleSignOn(Activity activity, String applicationId, String[] permissions, int activityCode) { boolean didSucceed = true; Intent intent = new Intent(); intent.setClassName("com.facebook.katana", "com.facebook.katana.ProxyAuth"); intent.putExtra("client_id", applicationId); if (permissions.length > 0) { intent.putExtra("scope", TextUtils.join(",", permissions)); } // Verify that the application whose package name is // com.facebook.katana.ProxyAuth // has the expected FB app signature. if (!validateActivityIntent(activity, intent)) { return false; } mAuthActivity = activity; mAuthPermissions = permissions; mAuthActivityCode = activityCode; try { activity.startActivityForResult(intent, activityCode); } catch (ActivityNotFoundException e) { didSucceed = false; } return didSucceed; } /** * Helper to validate an activity intent by resolving and checking the * provider's package signature. * * @param context * @param intent * @return true if the service intent resolution happens successfully and the * signatures match. */ private boolean validateActivityIntent(Context context, Intent intent) { ResolveInfo resolveInfo = context.getPackageManager().resolveActivity(intent, 0); if (resolveInfo == null) { return false; } return validateAppSignatureForPackage( context, resolveInfo.activityInfo.packageName); } /** * Helper to validate a service intent by resolving and checking the * provider's package signature. * * @param context * @param intent * @return true if the service intent resolution happens successfully and the * signatures match. */ private boolean validateServiceIntent(Context context, Intent intent) { ResolveInfo resolveInfo = context.getPackageManager().resolveService(intent, 0); if (resolveInfo == null) { return false; } return validateAppSignatureForPackage( context, resolveInfo.serviceInfo.packageName); } /** * Query the signature for the application that would be invoked by the * given intent and verify that it matches the FB application's signature. * * @param context * @param packageName * @return true if the app's signature matches the expected signature. */ private boolean validateAppSignatureForPackage(Context context, String packageName) { PackageInfo packageInfo; try { packageInfo = context.getPackageManager().getPackageInfo( packageName, PackageManager.GET_SIGNATURES); } catch (NameNotFoundException e) { return false; } for (Signature signature : packageInfo.signatures) { if (signature.toCharsString().equals(FB_APP_SIGNATURE)) { return true; } } return false; } /** * Internal method to handle dialog-based authentication backend for * authorize(). * * @param activity * The Android Activity that will parent the auth dialog. * @param applicationId * The Facebook application identifier. * @param permissions * A list of permissions required for this application. If you do * not require any permissions, pass an empty String array. */ private void startDialogAuth(Activity activity, String[] permissions) { Bundle params = new Bundle(); if (permissions.length > 0) { params.putString("scope", TextUtils.join(",", permissions)); } CookieSyncManager.createInstance(activity); dialog(activity, LOGIN, params, new DialogListener() { public void onComplete(Bundle values) { // ensure any cookies set by the dialog are saved CookieSyncManager.getInstance().sync(); setAccessToken(values.getString(TOKEN)); setAccessExpiresIn(values.getString(EXPIRES)); if (isSessionValid()) { Util.logd("Facebook-authorize", "Login Success! access_token=" + getAccessToken() + " expires=" + getAccessExpires()); mAuthDialogListener.onComplete(values); } else { mAuthDialogListener.onFacebookError(new FacebookError( "Failed to receive access token.")); } } public void onError(DialogError error) { Util.logd("Facebook-authorize", "Login failed: " + error); mAuthDialogListener.onError(error); } public void onFacebookError(FacebookError error) { Util.logd("Facebook-authorize", "Login failed: " + error); mAuthDialogListener.onFacebookError(error); } public void onCancel() { Util.logd("Facebook-authorize", "Login canceled"); mAuthDialogListener.onCancel(); } }); } /** * IMPORTANT: This method must be invoked at the top of the calling * activity's onActivityResult() function or Facebook authentication will * not function properly! * * If your calling activity does not currently implement onActivityResult(), * you must implement it and include a call to this method if you intend to * use the authorize() method in this SDK. * * For more information, see * http://developer.android.com/reference/android/app/ * Activity.html#onActivityResult(int, int, android.content.Intent) */ public void authorizeCallback(int requestCode, int resultCode, Intent data) { if (requestCode == mAuthActivityCode) { // Successfully redirected. if (resultCode == Activity.RESULT_OK) { // Check OAuth 2.0/2.10 error code. String error = data.getStringExtra("error"); if (error == null) { error = data.getStringExtra("error_type"); } // A Facebook error occurred. if (error != null) { if (error.equals(SINGLE_SIGN_ON_DISABLED) || error.equals("AndroidAuthKillSwitchException")) { Util.logd("Facebook-authorize", "Hosted auth currently " + "disabled. Retrying dialog auth..."); startDialogAuth(mAuthActivity, mAuthPermissions); } else if (error.equals("access_denied") || error.equals("OAuthAccessDeniedException")) { Util.logd("Facebook-authorize", "Login canceled by user."); mAuthDialogListener.onCancel(); } else { String description = data.getStringExtra("error_description"); if (description != null) { error = error + ":" + description; } Util.logd("Facebook-authorize", "Login failed: " + error); mAuthDialogListener.onFacebookError( new FacebookError(error)); } // No errors. } else { setAccessToken(data.getStringExtra(TOKEN)); setAccessExpiresIn(data.getStringExtra(EXPIRES)); if (isSessionValid()) { Util.logd("Facebook-authorize", "Login Success! access_token=" + getAccessToken() + " expires=" + getAccessExpires()); mAuthDialogListener.onComplete(data.getExtras()); } else { mAuthDialogListener.onFacebookError(new FacebookError( "Failed to receive access token.")); } } // An error occurred before we could be redirected. } else if (resultCode == Activity.RESULT_CANCELED) { // An Android error occured. if (data != null) { Util.logd("Facebook-authorize", "Login failed: " + data.getStringExtra("error")); mAuthDialogListener.onError( new DialogError( data.getStringExtra("error"), data.getIntExtra("error_code", -1), data.getStringExtra("failing_url"))); // User pressed the 'back' button. } else { Util.logd("Facebook-authorize", "Login canceled by user."); mAuthDialogListener.onCancel(); } } } } /** * Refresh OAuth access token method. Binds to Facebook for Android * stand-alone application application to refresh the access token. This * method tries to connect to the Facebook App which will handle the * authentication flow, and return a new OAuth access token. This method * will automatically replace the old token with a new one. Note that this * method is asynchronous and the callback will be invoked in the original * calling thread (not in a background thread). * * @param context * The Android Context that will be used to bind to the Facebook * RefreshToken Service * @param serviceListener * Callback interface for notifying the calling application when * the refresh request has completed or failed (can be null). In * case of a success a new token can be found inside the result * Bundle under Facebook.ACCESS_TOKEN key. * @return true if the binding to the RefreshToken Service was created */ public boolean extendAccessToken(Context context, ServiceListener serviceListener) { Intent intent = new Intent(); intent.setClassName("com.facebook.katana", "com.facebook.katana.platform.TokenRefreshService"); // Verify that the application whose package name is // com.facebook.katana // has the expected FB app signature. if (!validateServiceIntent(context, intent)) { return false; } return context.bindService(intent, new TokenRefreshServiceConnection(context, serviceListener), Context.BIND_AUTO_CREATE); } /** * Calls extendAccessToken if shouldExtendAccessToken returns true. * * @return the same value as extendAccessToken if the the token requires * refreshing, true otherwise */ public boolean extendAccessTokenIfNeeded(Context context, ServiceListener serviceListener) { if (shouldExtendAccessToken()) { return extendAccessToken(context, serviceListener); } return true; } /** * Check if the access token requires refreshing. * * @return true if the last time a new token was obtained was over 24 hours ago. */ public boolean shouldExtendAccessToken() { return isSessionValid() && (System.currentTimeMillis() - mLastAccessUpdate >= REFRESH_TOKEN_BARRIER); } /** * Handles connection to the token refresh service (this service is a part * of Facebook App). */ private class TokenRefreshServiceConnection implements ServiceConnection { final Messenger messageReceiver = new Messenger(new Handler() { @Override public void handleMessage(Message msg) { String token = msg.getData().getString(TOKEN); long expiresAt = msg.getData().getLong(EXPIRES) * 1000L; // To avoid confusion we should return the expiration time in // the same format as the getAccessExpires() function - that // is in milliseconds. Bundle resultBundle = (Bundle) msg.getData().clone(); resultBundle.putLong(EXPIRES, expiresAt); if (token != null) { setAccessToken(token); setAccessExpires(expiresAt); if (serviceListener != null) { serviceListener.onComplete(resultBundle); } } else if (serviceListener != null) { // extract errors only if client wants them String error = msg.getData().getString("error"); if (msg.getData().containsKey("error_code")) { int errorCode = msg.getData().getInt("error_code"); serviceListener.onFacebookError(new FacebookError(error, null, errorCode)); } else { serviceListener.onError(new Error(error != null ? error : "Unknown service error")); } } // The refreshToken function should be called rarely, // so there is no point in keeping the binding open. applicationsContext.unbindService(TokenRefreshServiceConnection.this); } }); final ServiceListener serviceListener; final Context applicationsContext; Messenger messageSender = null; public TokenRefreshServiceConnection(Context applicationsContext, ServiceListener serviceListener) { this.applicationsContext = applicationsContext; this.serviceListener = serviceListener; } @Override public void onServiceConnected(ComponentName className, IBinder service) { messageSender = new Messenger(service); refreshToken(); } @Override public void onServiceDisconnected(ComponentName arg) { serviceListener.onError(new Error("Service disconnected")); // We returned an error so there's no point in // keeping the binding open. applicationsContext.unbindService(TokenRefreshServiceConnection.this); } private void refreshToken() { Bundle requestData = new Bundle(); requestData.putString(TOKEN, mAccessToken); Message request = Message.obtain(); request.setData(requestData); request.replyTo = messageReceiver; try { messageSender.send(request); } catch (RemoteException e) { serviceListener.onError(new Error("Service connection error")); } } }; /** * Invalidate the current user session by removing the access token in * memory, clearing the browser cookie, and calling auth.expireSession * through the API. * * Note that this method blocks waiting for a network response, so do not * call it in a UI thread. * * @param context * The Android context in which the logout should be called: it * should be the same context in which the login occurred in * order to clear any stored cookies * @throws IOException * @throws MalformedURLException * @return JSON string representation of the auth.expireSession response * ("true" if successful) */ public String logout(Context context) throws MalformedURLException, IOException { Util.clearCookies(context); Bundle b = new Bundle(); b.putString("method", "auth.expireSession"); String response = request(b); setAccessToken(null); setAccessExpires(0); return response; } /** * Make a request to Facebook's old (pre-graph) API with the given * parameters. One of the parameter keys must be "method" and its value * should be a valid REST server API method. * * See http://developers.facebook.com/docs/reference/rest/ * * Note that this method blocks waiting for a network response, so do not * call it in a UI thread. * * Example: * <code> * Bundle parameters = new Bundle(); * parameters.putString("method", "auth.expireSession"); * String response = request(parameters); * </code> * * @param parameters * Key-value pairs of parameters to the request. Refer to the * documentation: one of the parameters must be "method". * @throws IOException * if a network error occurs * @throws MalformedURLException * if accessing an invalid endpoint * @throws IllegalArgumentException * if one of the parameters is not "method" * @return JSON string representation of the response */ public String request(Bundle parameters) throws MalformedURLException, IOException { if (!parameters.containsKey("method")) { throw new IllegalArgumentException("API method must be specified. " + "(parameters must contain key \"method\" and value). See" + " http://developers.facebook.com/docs/reference/rest/"); } return request(null, parameters, "GET"); } /** * Make a request to the Facebook Graph API without any parameters. * * See http://developers.facebook.com/docs/api * * Note that this method blocks waiting for a network response, so do not * call it in a UI thread. * * @param graphPath * Path to resource in the Facebook graph, e.g., to fetch data * about the currently logged authenticated user, provide "me", * which will fetch http://graph.facebook.com/me * @throws IOException * @throws MalformedURLException * @return JSON string representation of the response */ public String request(String graphPath) throws MalformedURLException, IOException { return request(graphPath, new Bundle(), "GET"); } /** * Make a request to the Facebook Graph API with the given string parameters * using an HTTP GET (default method). * * See http://developers.facebook.com/docs/api * * Note that this method blocks waiting for a network response, so do not * call it in a UI thread. * * @param graphPath * Path to resource in the Facebook graph, e.g., to fetch data * about the currently logged authenticated user, provide "me", * which will fetch http://graph.facebook.com/me * @param parameters * key-value string parameters, e.g. the path "search" with * parameters "q" : "facebook" would produce a query for the * following graph resource: * https://graph.facebook.com/search?q=facebook * @throws IOException * @throws MalformedURLException * @return JSON string representation of the response */ public String request(String graphPath, Bundle parameters) throws MalformedURLException, IOException { return request(graphPath, parameters, "GET"); } /** * Synchronously make a request to the Facebook Graph API with the given * HTTP method and string parameters. Note that binary data parameters * (e.g. pictures) are not yet supported by this helper function. * * See http://developers.facebook.com/docs/api * * Note that this method blocks waiting for a network response, so do not * call it in a UI thread. * * @param graphPath * Path to resource in the Facebook graph, e.g., to fetch data * about the currently logged authenticated user, provide "me", * which will fetch http://graph.facebook.com/me * @param params * Key-value string parameters, e.g. the path "search" with * parameters {"q" : "facebook"} would produce a query for the * following graph resource: * https://graph.facebook.com/search?q=facebook * @param httpMethod * http verb, e.g. "GET", "POST", "DELETE" * @throws IOException * @throws MalformedURLException * @return JSON string representation of the response */ public String request(String graphPath, Bundle params, String httpMethod) throws FileNotFoundException, MalformedURLException, IOException { params.putString("format", "json"); if (isSessionValid()) { params.putString(TOKEN, getAccessToken()); } String url = (graphPath != null) ? GRAPH_BASE_URL + graphPath : RESTSERVER_URL; return Util.openUrl(url, httpMethod, params); } /** * Generate a UI dialog for the request action in the given Android context. * * Note that this method is asynchronous and the callback will be invoked in * the original calling thread (not in a background thread). * * @param context * The Android context in which we will generate this dialog. * @param action * String representation of the desired method: e.g. "login", * "stream.publish", ... * @param listener * Callback interface to notify the application when the dialog * has completed. */ public void dialog(Context context, String action, DialogListener listener) { dialog(context, action, new Bundle(), listener); } /** * Generate a UI dialog for the request action in the given Android context * with the provided parameters. * * Note that this method is asynchronous and the callback will be invoked in * the original calling thread (not in a background thread). * * @param context * The Android context in which we will generate this dialog. * @param action * String representation of the desired method: e.g. "feed" ... * @param parameters * String key-value pairs to be passed as URL parameters. * @param listener * Callback interface to notify the application when the dialog * has completed. */ public static DialogListener listener; public void dialog(Context context, String action, Bundle parameters, final DialogListener listener) { Facebook.listener = listener; String endpoint = DIALOG_BASE_URL + action; parameters.putString("display", "touch"); parameters.putString("redirect_uri", REDIRECT_URI); if (action.equals(LOGIN)) { parameters.putString("type", "user_agent"); parameters.putString("client_id", mAppId); } else { parameters.putString("app_id", mAppId); } if (isSessionValid()) { parameters.putString(TOKEN, getAccessToken()); } String url = endpoint + "?" + Util.encodeUrl(parameters); if (context.checkCallingOrSelfPermission(Manifest.permission.INTERNET) != PackageManager.PERMISSION_GRANTED) { Util.showAlert(context, "Error", "Application requires permission to access the Internet"); } else { Intent intent = new Intent(AppContext.getContext(), FacebookActivity.class); intent.putExtra("url", url); AppContext.getContext().startActivity(intent); // new FbDialog(context, url, listener).show(); } } /** * @return boolean - whether this object has an non-expired session token */ public boolean isSessionValid() { return (getAccessToken() != null) && ((getAccessExpires() == 0) || (System.currentTimeMillis() < getAccessExpires())); } /** * Retrieve the OAuth 2.0 access token for API access: treat with care. * Returns null if no session exists. * * @return String - access token */ public String getAccessToken() { return mAccessToken; } /** * Retrieve the current session's expiration time (in milliseconds since * Unix epoch), or 0 if the session doesn't expire or doesn't exist. * * @return long - session expiration time */ public long getAccessExpires() { return mAccessExpires; } /** * Set the OAuth 2.0 access token for API access. * * @param token - access token */ public void setAccessToken(String token) { mAccessToken = token; mLastAccessUpdate = System.currentTimeMillis(); } /** * Set the current session's expiration time (in milliseconds since Unix * epoch), or 0 if the session doesn't expire. * * @param time - timestamp in milliseconds */ public void setAccessExpires(long time) { mAccessExpires = time; } /** * Set the current session's duration (in seconds since Unix epoch), or "0" * if session doesn't expire. * * @param expiresIn * - duration in seconds (or 0 if the session doesn't expire) */ public void setAccessExpiresIn(String expiresIn) { if (expiresIn != null) { long expires = expiresIn.equals("0") ? 0 : System.currentTimeMillis() + Long.parseLong(expiresIn) * 1000L; setAccessExpires(expires); } } public String getAppId() { return mAppId; } public void setAppId(String appId) { mAppId = appId; } /** * Callback interface for dialog requests. * */ public static interface DialogListener { /** * Called when a dialog completes. * * Executed by the thread that initiated the dialog. * * @param values * Key-value string pairs extracted from the response. */ public void onComplete(Bundle values); /** * Called when a Facebook responds to a dialog with an error. * * Executed by the thread that initiated the dialog. * */ public void onFacebookError(FacebookError e); /** * Called when a dialog has an error. * * Executed by the thread that initiated the dialog. * */ public void onError(DialogError e); /** * Called when a dialog is canceled by the user. * * Executed by the thread that initiated the dialog. * */ public void onCancel(); } /** * Callback interface for service requests. */ public static interface ServiceListener { /** * Called when a service request completes. * * @param values * Key-value string pairs extracted from the response. */ public void onComplete(Bundle values); /** * Called when a Facebook server responds to the request with an error. */ public void onFacebookError(FacebookError e); /** * Called when a Facebook Service responds to the request with an error. */ public void onError(Error e); } public static final String FB_APP_SIGNATURE = "30820268308201d102044a9c4610300d06092a864886f70d0101040500307a310" + "b3009060355040613025553310b30090603550408130243413112301006035504" + "07130950616c6f20416c746f31183016060355040a130f46616365626f6f6b204" + "d6f62696c653111300f060355040b130846616365626f6f6b311d301b06035504" + "03131446616365626f6f6b20436f72706f726174696f6e3020170d30393038333" + "13231353231365a180f32303530303932353231353231365a307a310b30090603" + "55040613025553310b30090603550408130243413112301006035504071309506" + "16c6f20416c746f31183016060355040a130f46616365626f6f6b204d6f62696c" + "653111300f060355040b130846616365626f6f6b311d301b06035504031314466" + "16365626f6f6b20436f72706f726174696f6e30819f300d06092a864886f70d01" + "0101050003818d0030818902818100c207d51df8eb8c97d93ba0c8c1002c928fa" + "b00dc1b42fca5e66e99cc3023ed2d214d822bc59e8e35ddcf5f44c7ae8ade50d7" + "e0c434f500e6c131f4a2834f987fc46406115de2018ebbb0d5a3c261bd97581cc" + "fef76afc7135a6d59e8855ecd7eacc8f8737e794c60a761c536b72b11fac8e603" + "f5da1a2d54aa103b8a13c0dbc10203010001300d06092a864886f70d010104050" + "0038181005ee9be8bcbb250648d3b741290a82a1c9dc2e76a0af2f2228f1d9f9c" + "4007529c446a70175c5a900d5141812866db46be6559e2141616483998211f4a6" + "73149fb2232a10d247663b26a9031e15f84bc1c74d141ff98a02d76f85b2c8ab2" + "571b6469b232d8e768a7f7ca04f7abe4a775615916c07940656b58717457b42bd" + "928a2"; }
06peng
trunk/mzba/src/oauth/facebook/Facebook.java
Java
asf20
38,952
package oauth.facebook; import oauth.facebook.Facebook.DialogListener; /** * Skeleton base class for RequestListeners, providing default error * handling. Applications should handle these error conditions. * */ public abstract class BaseDialogListener implements DialogListener { public void onFacebookError(FacebookError e) { e.printStackTrace(); } public void onError(DialogError e) { e.printStackTrace(); } public void onCancel() { } }
06peng
trunk/mzba/src/oauth/facebook/BaseDialogListener.java
Java
asf20
510
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; import java.net.URLDecoder; import java.net.URLEncoder; import org.json.JSONException; import org.json.JSONObject; import android.app.AlertDialog.Builder; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.webkit.CookieManager; import android.webkit.CookieSyncManager; /** * Utility class supporting the Facebook Object. * * @author ssoneff@facebook.com * */ public final class Util { /** * Set this to true to enable log output. Remember to turn this back off * before releasing. Sending sensitive data to log is a security risk. */ private static boolean ENABLE_LOG = false; /** * Generate the multi-part post body providing the parameters and boundary * string * * @param parameters the parameters need to be posted * @param boundary the random string as boundary * @return a string of the post body */ public static String encodePostBody(Bundle parameters, String boundary) { if (parameters == null) return ""; StringBuilder sb = new StringBuilder(); for (String key : parameters.keySet()) { Object parameter = parameters.get(key); if (!(parameter instanceof String)) { continue; } sb.append("Content-Disposition: form-data; name=\"" + key + "\"\r\n\r\n" + (String)parameter); sb.append("\r\n" + "--" + boundary + "\r\n"); } return sb.toString(); } @SuppressWarnings("deprecation") public static String encodeUrl(Bundle parameters) { if (parameters == null) { return ""; } StringBuilder sb = new StringBuilder(); boolean first = true; for (String key : parameters.keySet()) { Object parameter = parameters.get(key); if (!(parameter instanceof String)) { continue; } if (first) first = false; else sb.append("&"); sb.append(URLEncoder.encode(key) + "=" + URLEncoder.encode(parameters.getString(key))); } return sb.toString(); } @SuppressWarnings("deprecation") public static Bundle decodeUrl(String s) { Bundle params = new Bundle(); if (s != null) { String array[] = s.split("&"); for (String parameter : array) { String v[] = parameter.split("="); if (v.length == 2) { params.putString(URLDecoder.decode(v[0]), URLDecoder.decode(v[1])); } } } return params; } /** * Parse a URL query and fragment parameters into a key-value bundle. * * @param url the URL to parse * @return a dictionary bundle of keys and values */ public static Bundle parseUrl(String url) { // hack to prevent MalformedURLException url = url.replace("fbconnect", "http"); try { URL u = new URL(url); Bundle b = decodeUrl(u.getQuery()); b.putAll(decodeUrl(u.getRef())); return b; } catch (MalformedURLException e) { return new Bundle(); } } /** * Connect to an HTTP URL and return the response as a string. * * Note that the HTTP method override is used on non-GET requests. (i.e. * requests are made as "POST" with method specified in the body). * * @param url - the resource to open: must be a welformed URL * @param method - the HTTP method to use ("GET", "POST", etc.) * @param params - the query parameter for the URL (e.g. access_token=foo) * @return the URL contents as a String * @throws MalformedURLException - if the URL format is invalid * @throws IOException - if a network problem occurs */ @SuppressWarnings("deprecation") public static String openUrl(String url, String method, Bundle params) throws MalformedURLException, IOException { // random string as boundary for multi-part http post String strBoundary = "3i2ndDfv2rTHiSisAbouNdArYfORhtTPEefj3q2f"; String endLine = "\r\n"; OutputStream os; if (method.equals("GET")) { url = url + "?" + encodeUrl(params); } Util.logd("Facebook-Util", method + " URL: " + url); HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection(); conn.setRequestProperty("User-Agent", System.getProperties(). getProperty("http.agent") + " FacebookAndroidSDK"); if (!method.equals("GET")) { Bundle dataparams = new Bundle(); for (String key : params.keySet()) { Object parameter = params.get(key); if (parameter instanceof byte[]) { dataparams.putByteArray(key, (byte[])parameter); } } // use method override if (!params.containsKey("method")) { params.putString("method", method); } if (params.containsKey("access_token")) { String decoded_token = URLDecoder.decode(params.getString("access_token")); params.putString("access_token", decoded_token); } conn.setRequestMethod("POST"); conn.setRequestProperty( "Content-Type", "multipart/form-data;boundary="+strBoundary); conn.setDoOutput(true); conn.setDoInput(true); conn.setRequestProperty("Connection", "Keep-Alive"); conn.connect(); os = new BufferedOutputStream(conn.getOutputStream()); os.write(("--" + strBoundary +endLine).getBytes()); os.write((encodePostBody(params, strBoundary)).getBytes()); os.write((endLine + "--" + strBoundary + endLine).getBytes()); if (!dataparams.isEmpty()) { for (String key: dataparams.keySet()){ os.write(("Content-Disposition: form-data; filename=\"" + key + "\"" + endLine).getBytes()); os.write(("Content-Type: content/unknown" + endLine + endLine).getBytes()); os.write(dataparams.getByteArray(key)); os.write((endLine + "--" + strBoundary + endLine).getBytes()); } } os.flush(); } String response = ""; try { response = read(conn.getInputStream()); } catch (FileNotFoundException e) { // Error Stream contains JSON that we can parse to a FB error response = read(conn.getErrorStream()); } return response; } private static String read(InputStream in) throws IOException { StringBuilder sb = new StringBuilder(); BufferedReader r = new BufferedReader(new InputStreamReader(in), 1000); for (String line = r.readLine(); line != null; line = r.readLine()) { sb.append(line); } in.close(); return sb.toString(); } public static void clearCookies(Context context) { // Edge case: an illegal state exception is thrown if an instance of // CookieSyncManager has not be created. CookieSyncManager is normally // created by a WebKit view, but this might happen if you start the // app, restore saved state, and click logout before running a UI // dialog in a WebView -- in which case the app crashes @SuppressWarnings("unused") CookieSyncManager cookieSyncMngr = CookieSyncManager.createInstance(context); CookieManager cookieManager = CookieManager.getInstance(); cookieManager.removeAllCookie(); } /** * Parse a server response into a JSON Object. This is a basic * implementation using org.json.JSONObject representation. More * sophisticated applications may wish to do their own parsing. * * The parsed JSON is checked for a variety of error fields and * a FacebookException is thrown if an error condition is set, * populated with the error message and error type or code if * available. * * @param response - string representation of the response * @return the response as a JSON Object * @throws JSONException - if the response is not valid JSON * @throws FacebookError - if an error condition is set */ public static JSONObject parseJson(String response) throws JSONException, FacebookError { // Edge case: when sending a POST request to /[post_id]/likes // the return value is 'true' or 'false'. Unfortunately // these values cause the JSONObject constructor to throw // an exception. if (response.equals("false")) { throw new FacebookError("request failed"); } if (response.equals("true")) { response = "{value : true}"; } JSONObject json = new JSONObject(response); // errors set by the server are not consistent // they depend on the method and endpoint if (json.has("error")) { JSONObject error = json.getJSONObject("error"); throw new FacebookError( error.getString("message"), error.getString("type"), 0); } if (json.has("error_code") && json.has("error_msg")) { throw new FacebookError(json.getString("error_msg"), "", Integer.parseInt(json.getString("error_code"))); } if (json.has("error_code")) { throw new FacebookError("request failed", "", Integer.parseInt(json.getString("error_code"))); } if (json.has("error_msg")) { throw new FacebookError(json.getString("error_msg")); } if (json.has("error_reason")) { throw new FacebookError(json.getString("error_reason")); } return json; } /** * Display a simple alert dialog with the given text and title. * * @param context * Android context in which the dialog should be displayed * @param title * Alert dialog title * @param text * Alert dialog message */ public static void showAlert(Context context, String title, String text) { Builder alertBuilder = new Builder(context); alertBuilder.setTitle(title); alertBuilder.setMessage(text); alertBuilder.create().show(); } /** * A proxy for Log.d api that kills log messages in release build. It * not recommended to send sensitive information to log output in * shipping apps. * * @param tag * @param msg */ public static void logd(String tag, String msg) { if (ENABLE_LOG) { Log.d(tag, msg); } } }
06peng
trunk/mzba/src/oauth/facebook/Util.java
Java
asf20
11,970
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; /** * Encapsulation of Dialog Error. * * @author ssoneff@facebook.com */ public class DialogError extends Throwable { private static final long serialVersionUID = 1L; /** * The ErrorCode received by the WebView: see * http://developer.android.com/reference/android/webkit/WebViewClient.html */ private int mErrorCode; /** The URL that the dialog was trying to load */ private String mFailingUrl; public DialogError(String message, int errorCode, String failingUrl) { super(message); mErrorCode = errorCode; mFailingUrl = failingUrl; } int getErrorCode() { return mErrorCode; } String getFailingUrl() { return mFailingUrl; } }
06peng
trunk/mzba/src/oauth/facebook/DialogError.java
Java
asf20
1,359
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; /** * Encapsulation of a Facebook Error: a Facebook request that could not be * fulfilled. * * @author ssoneff@facebook.com */ public class FacebookError extends RuntimeException { private static final long serialVersionUID = 1L; private int mErrorCode = 0; private String mErrorType; public FacebookError(String message) { super(message); } public FacebookError(String message, String type, int code) { super(message); mErrorType = type; mErrorCode = code; } public int getErrorCode() { return mErrorCode; } public String getErrorType() { return mErrorType; } }
06peng
trunk/mzba/src/oauth/facebook/FacebookError.java
Java
asf20
1,290
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; public class SessionStore { private static final String TOKEN = "access_token"; private static final String EXPIRES = "expires_in"; private static final String KEY = "facebook-session"; public static boolean save(Facebook session, Context context) { Editor editor = context.getSharedPreferences(KEY, Context.MODE_PRIVATE).edit(); editor.putString(TOKEN, session.getAccessToken()); editor.putLong(EXPIRES, session.getAccessExpires()); return editor.commit(); } public static boolean restore(Facebook session, Context context) { SharedPreferences savedSession = context.getSharedPreferences(KEY, Context.MODE_PRIVATE); session.setAccessToken(savedSession.getString(TOKEN, null)); session.setAccessExpires(savedSession.getLong(EXPIRES, 0)); return session.isSessionValid(); } public static void clear(Context context) { Editor editor = context.getSharedPreferences(KEY, Context.MODE_PRIVATE).edit(); editor.clear(); editor.commit(); } }
06peng
trunk/mzba/src/oauth/facebook/SessionStore.java
Java
asf20
1,860
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import android.content.Context; import android.os.Bundle; /** * A sample implementation of asynchronous API requests. This class provides * the ability to execute API methods and have the call return immediately, * without blocking the calling thread. This is necessary when accessing the * API in the UI thread, for instance. The request response is returned to * the caller via a callback interface, which the developer must implement. * * This sample implementation simply spawns a new thread for each request, * and makes the API call immediately. This may work in many applications, * but more sophisticated users may re-implement this behavior using a thread * pool, a network thread, a request queue, or other mechanism. Advanced * functionality could be built, such as rate-limiting of requests, as per * a specific application's needs. * * @see RequestListener * The callback interface. * * @author Jim Brusstar (jimbru@fb.com), * Yariv Sadan (yariv@fb.com), * Luke Shepard (lshepard@fb.com) */ public class AsyncFacebookRunner { Facebook fb; public AsyncFacebookRunner(Facebook fb) { this.fb = fb; } /** * Invalidate the current user session by removing the access token in * memory, clearing the browser cookies, and calling auth.expireSession * through the API. The application will be notified when logout is * complete via the callback interface. * * Note that this method is asynchronous and the callback will be invoked * in a background thread; operations that affect the UI will need to be * posted to the UI thread or an appropriate handler. * * @param context * The Android context in which the logout should be called: it * should be the same context in which the login occurred in * order to clear any stored cookies * @param listener * Callback interface to notify the application when the request * has completed. * @param state * An arbitrary object used to identify the request when it * returns to the callback. This has no effect on the request * itself. */ public void logout(final Context context, final RequestListener listener, final Object state) { new Thread() { @Override public void run() { try { String response = fb.logout(context); if (response.length() == 0 || response.equals("false")){ listener.onFacebookError(new FacebookError( "auth.expireSession failed"), state); return; } listener.onComplete(response, state); } catch (FileNotFoundException e) { listener.onFileNotFoundException(e, state); } catch (MalformedURLException e) { listener.onMalformedURLException(e, state); } catch (IOException e) { listener.onIOException(e, state); } } }.start(); } public void logout(final Context context, final RequestListener listener) { logout(context, listener, /* state */ null); } /** * Make a request to Facebook's old (pre-graph) API with the given * parameters. One of the parameter keys must be "method" and its value * should be a valid REST server API method. * * See http://developers.facebook.com/docs/reference/rest/ * * Note that this method is asynchronous and the callback will be invoked * in a background thread; operations that affect the UI will need to be * posted to the UI thread or an appropriate handler. * * Example: * <code> * Bundle parameters = new Bundle(); * parameters.putString("method", "auth.expireSession", new Listener()); * String response = request(parameters); * </code> * * @param parameters * Key-value pairs of parameters to the request. Refer to the * documentation: one of the parameters must be "method". * @param listener * Callback interface to notify the application when the request * has completed. * @param state * An arbitrary object used to identify the request when it * returns to the callback. This has no effect on the request * itself. */ public void request(Bundle parameters, RequestListener listener, final Object state) { request(null, parameters, "GET", listener, state); } public void request(Bundle parameters, RequestListener listener) { request(null, parameters, "GET", listener, /* state */ null); } /** * Make a request to the Facebook Graph API without any parameters. * * See http://developers.facebook.com/docs/api * * Note that this method is asynchronous and the callback will be invoked * in a background thread; operations that affect the UI will need to be * posted to the UI thread or an appropriate handler. * * @param graphPath * Path to resource in the Facebook graph, e.g., to fetch data * about the currently logged authenticated user, provide "me", * which will fetch http://graph.facebook.com/me * @param listener * Callback interface to notify the application when the request * has completed. * @param state * An arbitrary object used to identify the request when it * returns to the callback. This has no effect on the request * itself. */ public void request(String graphPath, RequestListener listener, final Object state) { request(graphPath, new Bundle(), "GET", listener, state); } public void request(String graphPath, RequestListener listener) { request(graphPath, new Bundle(), "GET", listener, /* state */ null); } /** * Make a request to the Facebook Graph API with the given string parameters * using an HTTP GET (default method). * * See http://developers.facebook.com/docs/api * * Note that this method is asynchronous and the callback will be invoked * in a background thread; operations that affect the UI will need to be * posted to the UI thread or an appropriate handler. * * @param graphPath * Path to resource in the Facebook graph, e.g., to fetch data * about the currently logged authenticated user, provide "me", * which will fetch http://graph.facebook.com/me * @param parameters * key-value string parameters, e.g. the path "search" with * parameters "q" : "facebook" would produce a query for the * following graph resource: * https://graph.facebook.com/search?q=facebook * @param listener * Callback interface to notify the application when the request * has completed. * @param state * An arbitrary object used to identify the request when it * returns to the callback. This has no effect on the request * itself. */ public void request(String graphPath, Bundle parameters, RequestListener listener, final Object state) { request(graphPath, parameters, "GET", listener, state); } public void request(String graphPath, Bundle parameters, RequestListener listener) { request(graphPath, parameters, "GET", listener, /* state */ null); } /** * Make a request to the Facebook Graph API with the given HTTP method and * string parameters. Note that binary data parameters (e.g. pictures) are * not yet supported by this helper function. * * See http://developers.facebook.com/docs/api * * Note that this method is asynchronous and the callback will be invoked * in a background thread; operations that affect the UI will need to be * posted to the UI thread or an appropriate handler. * * @param graphPath * Path to resource in the Facebook graph, e.g., to fetch data * about the currently logged authenticated user, provide "me", * which will fetch http://graph.facebook.com/me * @param parameters * key-value string parameters, e.g. the path "search" with * parameters {"q" : "facebook"} would produce a query for the * following graph resource: * https://graph.facebook.com/search?q=facebook * @param httpMethod * http verb, e.g. "POST", "DELETE" * @param listener * Callback interface to notify the application when the request * has completed. * @param state * An arbitrary object used to identify the request when it * returns to the callback. This has no effect on the request * itself. */ public void request(final String graphPath, final Bundle parameters, final String httpMethod, final RequestListener listener, final Object state) { new Thread() { @Override public void run() { try { String resp = fb.request(graphPath, parameters, httpMethod); listener.onComplete(resp, state); } catch (FileNotFoundException e) { listener.onFileNotFoundException(e, state); } catch (MalformedURLException e) { listener.onMalformedURLException(e, state); } catch (IOException e) { listener.onIOException(e, state); } } }.start(); } /** * Callback interface for API requests. * * Each method includes a 'state' parameter that identifies the calling * request. It will be set to the value passed when originally calling the * request method, or null if none was passed. */ public static interface RequestListener { /** * Called when a request completes with the given response. * * Executed by a background thread: do not update the UI in this method. */ public void onComplete(String response, Object state); /** * Called when a request has a network or request error. * * Executed by a background thread: do not update the UI in this method. */ public void onIOException(IOException e, Object state); /** * Called when a request fails because the requested resource is * invalid or does not exist. * * Executed by a background thread: do not update the UI in this method. */ public void onFileNotFoundException(FileNotFoundException e, Object state); /** * Called if an invalid graph path is provided (which may result in a * malformed URL). * * Executed by a background thread: do not update the UI in this method. */ public void onMalformedURLException(MalformedURLException e, Object state); /** * Called when the server-side Facebook method fails. * * Executed by a background thread: do not update the UI in this method. */ public void onFacebookError(FacebookError e, Object state); } }
06peng
trunk/mzba/src/oauth/facebook/AsyncFacebookRunner.java
Java
asf20
12,788
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; import java.util.LinkedList; public class SessionEvents { private static LinkedList<AuthListener> mAuthListeners = new LinkedList<AuthListener>(); private static LinkedList<LogoutListener> mLogoutListeners = new LinkedList<LogoutListener>(); /** * Associate the given listener with this Facebook object. The listener's * callback interface will be invoked when authentication events occur. * * @param listener * The callback object for notifying the application when auth * events happen. */ public static void addAuthListener(AuthListener listener) { mAuthListeners.add(listener); } /** * Remove the given listener from the list of those that will be notified * when authentication events occur. * * @param listener * The callback object for notifying the application when auth * events happen. */ public static void removeAuthListener(AuthListener listener) { mAuthListeners.remove(listener); } /** * Associate the given listener with this Facebook object. The listener's * callback interface will be invoked when logout occurs. * * @param listener * The callback object for notifying the application when log out * starts and finishes. */ public static void addLogoutListener(LogoutListener listener) { mLogoutListeners.add(listener); } /** * Remove the given listener from the list of those that will be notified * when logout occurs. * * @param listener * The callback object for notifying the application when log out * starts and finishes. */ public static void removeLogoutListener(LogoutListener listener) { mLogoutListeners.remove(listener); } public static void onLoginSuccess() { for (AuthListener listener : mAuthListeners) { listener.onAuthSucceed(); } } public static void onLoginError(String error) { for (AuthListener listener : mAuthListeners) { listener.onAuthFail(error); } } public static void onLogoutBegin() { for (LogoutListener l : mLogoutListeners) { l.onLogoutBegin(); } } public static void onLogoutFinish() { for (LogoutListener l : mLogoutListeners) { l.onLogoutFinish(); } } /** * Callback interface for authorization events. * */ public static interface AuthListener { /** * Called when a auth flow completes successfully and a valid OAuth * Token was received. * * Executed by the thread that initiated the authentication. * * API requests can now be made. */ public void onAuthSucceed(); /** * Called when a login completes unsuccessfully with an error. * * Executed by the thread that initiated the authentication. */ public void onAuthFail(String error); } /** * Callback interface for logout events. * */ public static interface LogoutListener { /** * Called when logout begins, before session is invalidated. * Last chance to make an API call. * * Executed by the thread that initiated the logout. */ public void onLogoutBegin(); /** * Called when the session information has been cleared. * UI should be updated to reflect logged-out state. * * Executed by the thread that initiated the logout. */ public void onLogoutFinish(); } }
06peng
trunk/mzba/src/oauth/facebook/SessionEvents.java
Java
asf20
4,444
/* * Copyright 2010 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package oauth.facebook; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.ViewGroup.LayoutParams; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.FrameLayout; import android.widget.LinearLayout; import com.outsourcing.bottle.BasicActivity; import com.outsourcing.bottle.R; import com.outsourcing.bottle.widget.CustomDialog; public class FacebookActivity extends BasicActivity { static final int FB_BLUE = 0xFF6D84B4; static final float[] DIMENSIONS_DIFF_LANDSCAPE = {20, 60}; static final float[] DIMENSIONS_DIFF_PORTRAIT = {40, 60}; static final FrameLayout.LayoutParams FILL = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT); static final int MARGIN = 4; static final int PADDING = 2; static final String DISPLAY_STRING = "touch"; static final String FB_ICON = "icon.png"; private String mUrl; private CustomDialog mSpinner; private WebView mWebView; private FrameLayout mContent; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mUrl = getIntent().getStringExtra("url"); mSpinner = new CustomDialog(this); View progressview = LayoutInflater.from(this).inflate(R.layout.progress_dialog, null); CustomDialog.Builder progressBuilder = new CustomDialog.Builder(this); progressBuilder.setContentView(progressview); mSpinner = progressBuilder.create(); mContent = new FrameLayout(this); mContent.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); /* Create the 'x' image, but don't add to the mContent layout yet * at this point, we only need to know its drawable width and height * to place the webview */ // createCrossImage(); /* Now we know 'x' drawable width and height, * layout the webivew and add it the mContent layout */ // int crossWidth = mCrossImage.getDrawable().getIntrinsicWidth(); setUpWebView(); /* Finally add the 'x' image to the mContent layout and * add mContent to the Dialog view */ // mContent.addView(mCrossImage, new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT)); setContentView(mContent); } // private void createCrossImage() { // mCrossImage = new ImageView(this); // // Dismiss the dialog when user click on the 'x' // mCrossImage.setOnClickListener(new View.OnClickListener() { // @Override // public void onClick(View v) { // Facebook.listener.onCancel(); // finish(); // } // }); // Drawable crossDrawable = getResources().getDrawable(R.drawable.close); // mCrossImage.setImageDrawable(crossDrawable); // /* 'x' should not be visible while webview is loading // * make it visible only after webview has fully loaded // */ // mCrossImage.setVisibility(View.INVISIBLE); // } private void setUpWebView() { LinearLayout webViewContainer = new LinearLayout(this); mWebView = new WebView(this); mWebView.setVerticalScrollBarEnabled(false); mWebView.setHorizontalScrollBarEnabled(false); mWebView.setWebViewClient(new FacebookActivity.FbWebViewClient()); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(mUrl); mWebView.setLayoutParams(FILL); mWebView.setVisibility(View.INVISIBLE); mWebView.getSettings().setSavePassword(false); // webViewContainer.setPadding(margin, margin, margin, margin); webViewContainer.addView(mWebView); mContent.addView(webViewContainer); } private class FbWebViewClient extends WebViewClient { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { Util.logd("Facebook-WebView", "Redirect URL: " + url); if (url.startsWith(Facebook.REDIRECT_URI)) { Bundle values = Util.parseUrl(url); String error = values.getString("error"); if (error == null) { error = values.getString("error_type"); } if (error == null) { Facebook.listener.onComplete(values); } else if (error.equals("access_denied") || error.equals("OAuthAccessDeniedException")) { Facebook.listener.onCancel(); } else { Facebook.listener.onFacebookError(new FacebookError(error)); } finish(); return true; } else if (url.startsWith(Facebook.CANCEL_URI)) { Facebook.listener.onCancel(); finish(); return true; } else if (url.contains(DISPLAY_STRING)) { return false; } // launch non-dialog URLs in a full browser startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); return true; } @Override public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { super.onReceivedError(view, errorCode, description, failingUrl); Facebook.listener.onError( new DialogError(description, errorCode, failingUrl)); finish(); } @Override public void onPageStarted(WebView view, String url, Bitmap favicon) { Util.logd("Facebook-WebView", "Webview loading URL: " + url); super.onPageStarted(view, url, favicon); if (mSpinner != null || !mSpinner.isShowing()) { mSpinner.show(); } } @Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, url); mSpinner.dismiss(); /* * Once webview is fully loaded, set the mContent background to be transparent * and make visible the 'x' image. */ mContent.setBackgroundColor(Color.TRANSPARENT); mWebView.setVisibility(View.VISIBLE); } } }
06peng
trunk/mzba/src/oauth/facebook/FacebookActivity.java
Java
asf20
7,239
/** Automatically generated file. DO NOT MODIFY */ package com.outsourcing.bottle; public final class BuildConfig { public final static boolean DEBUG = true; }
06peng
trunk/mzba/gen/com/outsourcing/bottle/BuildConfig.java
Java
asf20
164
/*************************************************************/ /** @file:break_point.h @brief: @details: @author:Juntham @date: 2012-07-25,15:24 @note: */ /*************************************************************/ #ifndef __BREAK_POINT_H__ #define __BREAK_POINT_H__ #include "config.h" #ifdef __SMART_CPU__ void clear_music_break_point(u8 dev); void save_music_break_point(u8 dev); void save_music_break_point_rtc_ram(u8 dev); _bool load_music_break_point(u8 dev); void load_music_last_file(u8 dev); void save_music_break_point_halfsec_refresh(u8 dev); #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/break_point.h
C
mpl11
620
/*************************************************************/ /** @file:voice_play.h @brief: @details: @author:Juntham @date: 2012-08-02,13:46 @note: */ /*************************************************************/ #ifndef __VOICE_PLAY_H__ #define __VOICE_PLAY_H__ #include "config.h" #ifdef __SMART_CPU__ bool voice_play_by_index(u16 index); #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/play_voice.h
C
mpl11
405
/*************************************************************/ /** @file:voice_table.h @brief: @details: @author:Juntham @date: 2012-08-02,14:26 @note: */ /*************************************************************/ #ifndef __VOICE_TABLE_H__ #define __VOICE_TABLE_H__ #include "config.h" #ifdef __SMART_CPU__ typedef struct _voicetable { u8 const _code * table_addr; u16 table_len; }voicetable; #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/voice_table.h
C
mpl11
473
/*************************************************************/ /** @file:voice_talbe.c @brief: @details: @author:Juntham @date: 2012-08-02,14:28 @note: */ /*************************************************************/ #include "voice_table.h" u8 const voicetable_0[] AT(OTP_VOICE) = { #if 0 /* 0xBD, 0xDC, 0xC0, 0xED, 0x01, 0x86, 0x00, 0x00, 0x1B, 0x04, 0x48, 0x4E, 0xBC, 0x00, 0x7B, 0xDE, 0x25, 0xDF, 0xBC, 0x06, 0xB7, 0xC7, 0x42, 0xFB, 0x9A, 0xBE, 0x13, 0x23, 0xF7, 0xD1, 0x1F, 0xDA, 0x25, 0x21, 0x80, 0x1A, 0x04, 0x08, 0x52, 0xF0, 0x00, 0x7B, 0xDE, 0x24, 0xF9, 0xC5, 0x20, 0xDC, 0x83, 0xC6, 0x92, 0xD1, 0x36, 0xE1, 0x1A, 0x58, 0x1A, 0x7F, 0x88, 0x96, 0x80, 0x19, 0x04, 0x00, 0x52, 0xF0, 0x00, 0x7B, 0x5E, 0x24, 0x87, 0x7F, 0xEC, 0x99, 0x09, 0xB2, 0xED, 0x26, 0x24, 0x99, 0x25, 0x9E, 0xD0, 0xD8, 0x22, 0x6C, 0x1B, 0x04, 0x80, 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0x68, 0x05, 0x84, 0x85, 0xE1, 0x25, 0x2F, 0xAA, 0x5A, 0xD6, 0xDD, 0x5B, 0xE8, 0x70, #endif #ifdef Lamborghini_voice 0xFF, 0xE3, 0x18, 0xC0, 0x00, 0x00, 0x00, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x80, 0x30, 0x12, 0x1A, 0xF3, 0xCC, 0x46, 0x23, 0x19, 0x76, 0xAF, 0x5E, 0x9D, 0x74, 0x63, 0xB8, 0x85, 0x77, 0xD0, 0xCB, 0x70, 0xF3, 0xB6, 0xD9, 0xF3, 0xD8, 0xF8, 0xE1, 0x68, 0xF9, 0x87, 0xB7, 0xF3, 0x74, 0xBE, 0x37, 0x39, 0x4B, 0x0D, 0x08, 0x0A, 0xC4, 0xBE, 0xCD, 0xBF, 0x74, 0xF4, 0x66, 0x17, 0x8A, 0x08, 0x28, 0xE0, 0x9C, 0x5E, 0x4C, 0xE0, 0x70, 0x7F, 0xFF, 0xE3, 0x18, 0xC0, 0x3B, 0x00, 0x00, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x33, 0xFE, 0x8C, 0xC8, 0x41, 0x50, 0x81, 0x99, 0x63, 0x88, 0x7E, 0xCA, 0xEF, 0xFD, 0xBA, 0x19, 0x46, 0xCC, 0x1C, 0x52, 0x0C, 0x85, 0xCC, 0x62, 0x00, 0x98, 0x13, 0xEF, 0xF4, 0xCA, 0x5F, 0x27, 0x3E, 0x50, 0x71, 0x84, 0xD4, 0x30, 0x8C, 0xA6, 0xD4, 0x89, 0xB9, 0x77, 0x26, 0xD9, 0xB6, 0x46, 0x86, 0x2A, 0x9A, 0x74, 0x99, 0x72, 0x8E, 0xA5, 0xD9, 0xFB, 0xFF, 0xE3, 0x18, 0xC0, 0x76, 0x00, 0x00, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x93, 0x36, 0x8A, 0x85, 0xE3, 0x48, 0xC6, 0xEC, 0xC5, 0x88, 0x9E, 0x2C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 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xE3, 0x18, 0xC0, 0xFA, 0x0E, 0x30, 0x02, 0x98, 0xF8, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xE3, 0x18, 0xC0, 0xFC, 0x0F, 0x30, 0xCA, 0x4E, 0x58, 0x49, 0xC4, 0x48, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xE3, 0x18, 0xC0, 0xFA, 0x0D, 0x80, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xE3, 0x18, 0xC0, 0xFF, 0x0E, 0xC0, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 #elif defined(XIAO_SAN_MADA) 0x49, 0x44, 0x33, 0x03, 0x00, 0x00, 0x00, 0x00, 0x07, 0x76, 0x54, 0x43, 0x4F, 0x4E, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x4F, 0x74, 0x68, 0x65, 0x72, 0x47, 0x45, 0x4F, 0x42, 0x00, 0x00, 0x00, 0x19, 0x00, 0x00, 0x00, 0x00, 0x00, 0x53, 0x66, 0x4D, 0x61, 0x72, 0x6B, 0x65, 0x72, 0x73, 0x00, 0x0C, 0x00, 0x00, 0x00, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xE3, 0x10, 0xC0, 0x00, 0x05, 0xC0, 0x06, 0x76, 0x3F, 0x40, 0x00, 0x02, 0x88, 0x94, 0xFA, 0x0B, 0xB7, 0xFF, 0xF0, 0x36, 0xDB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x7F, 0x94, 0xF0, 0xC7, 0xE5, 0xDE, 0x1F, 0x48, 0xA4, 0x9B, 0x8D, 0xB7, 0x1D, 0xB7, 0xED, 0xFF, 0xDF, 0xEF, 0xB7, 0xE0, 0x0D, 0x4F, 0xF6, 0xFF, 0xE3, 0x10, 0xC0, 0x10, 0x09, 0x20, 0x03, 0x2E, 0x5F, 0x80, 0x02, 0x02, 0x3F, 0xA6, 0xA9, 0x67, 0xA3, 0xFC, 0xCD, 0xFA, 0x33, 0xFB, 0xF7, 0x77, 0xE8, 0x4F, 0xFF, 0xFF, 0x8F, 0x6F, 0xCF, 0xFE, 0x90, 0x85, 0x24, 0x9C, 0x52, 0x5D, 0xBE, 0xFF, 0x01, 0x59, 0x4B, 0x91, 0xBD, 0x1B, 0xAD, 0xCB, 0xFA, 0xE8, 0xAA, 0xFF, 0xE3, 0x12, 0xC0, 0x12, 0x09, 0x30,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 0xC0, 0xFF, 0x0E, 0xA8, 0x52, 0xD4, 0x58, 0x48, 0x44, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xE3, 0x18, 0xC0, 0xFF, 0x0E, 0xB8, 0x02, 0xA5, 0x98, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xE3, 0x18, 0xC0, 0xFF, 0x0E, 0xC0, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,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 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, #endif #elif defined(ENGINE_START_VOICE_SHORT) 0xFF, 0xE3, 0x18, 0xC0, 0x00, 0x00, 0x00, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x71, 0xC6, 0x54, 0x65, 0xD5, 0x13, 0x89, 0x45, 0xB3, 0x76, 0xE2, 0x24, 0x6B, 0xD9, 0x7A, 0x77, 0xEE, 0x00, 0x08, 0x04, 0x53, 0xF5, 0x77, 0xF8, 0x26, 0xD5, 0xDE, 0xEF, 0xB5, 0xF3, 0xF9, 0x03, 0xA3, 0xA8, 0xB2, 0x66, 0x3D, 0x1C, 0x2C, 0x2E, 0xFF, 0x93, 0x7B, 0xE7, 0x0A, 0x6A, 0xA1, 0x21, 0xB3, 0x49, 0x90, 0x7D, 0x46, 0x18, 0xF0, 0x7D, 0xFD, 0xA7, 0x11, 0xFF, 0xE3, 0x18, 0xC0, 0x3B, 0x00, 0x00, 0x02, 0x5C, 0x01, 0x40, 0x00, 0x00, 0xE8, 0x77, 0xF4, 0xFE, 0xED, 0x89, 0x11, 0x82, 0x13, 0x09, 0x89, 0x45, 0xCA, 0xE7, 0x7B, 0xEF, 0xAA, 0x21, 0x18, 0xED, 0xEB, 0x81, 0x8B, 0x05, 0xD9, 0x4B, 0xC0, 0x8E, 0x69, 0x01, 0x41, 0x4A, 0xC3, 0xE5, 0x29, 0x43, 0x2B, 0x60, 0x8A, 0xEC, 0x10, 0x4D, 0xB5, 0x32, 0xBD, 0x24, 0x39, 0x2E, 0xD2, 0xDF, 0x24, 0xFD, 0xFB, 0x2A, 0xD5, 0x5B, 0xC4, 0x01, 0xFE, 0xFF, 0xE3, 0x18, 0xC0, 0x76, 0x10, 0x41, 0x36, 0xED, 0x99, 0x82, 0x14, 0x02, 0xE2, 0x85, 0xC9, 0xFE, 0xD7, 0xFA, 0x76, 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0xDC, 0xCA, 0x63, 0x4A, 0xA8, 0xC9, 0xBD, 0x37, 0x97, 0x73, 0x49, 0x8A, 0xFD, 0x3A, 0xAF, 0xFD, 0xC7, 0x53, 0x59, 0x26, 0x94, 0x93, 0x77, 0x82, #endif #else 0xFF, 0xE3, 0x18, 0xC0, 0x00, 0x00, 0x00, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x01, 0xD1, 0x75, 0xC3, 0x74, 0x6F, 0xE1, 0xD3, 0xF8, 0x8F, 0xFA, 0x7D, 0x81, 0x9E, 0xBE, 0xCD, 0x05, 0xF9, 0x4F, 0xF9, 0x04, 0x1F, 0x0C, 0xAC, 0x8D, 0x22, 0x90, 0x2A, 0xCD, 0xC3, 0x22, 0x37, 0x10, 0xE7, 0xCF, 0x9D, 0x2C, 0xCC, 0xB7, 0xA3, 0x77, 0x9F, 0xDF, 0x8E, 0x0E, 0x97, 0x2E, 0xC7, 0xA0, 0x48, 0x6A, 0xB5, 0xB6, 0x57, 0x7B, 0xCF, 0x79, 0x88, 0x43, 0xFF, 0xE3, 0x18, 0xC0, 0x3B, 0x00, 0x00, 0x02, 0x5C, 0x00, 0x00, 0x00, 0x00, 0x5B, 0x57, 0x6F, 0x77, 0xBA, 0xB7, 0x59, 0xCD, 0x56, 0xFF, 0x79, #endif }; const voicetable _code voice_main_table[10] AT(OTP_VOICE) = { /* 0 */ { voicetable_0 , sizeof(voicetable_0)}, };
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/music/voice_table.c
C
mpl11
174,451
#ifndef _UI_COMMON_H_ #define _UI_COMMON_H_ void itoa1(u8 i); void itoa2(u8 i); void itoa3(u16 i); void itoa4(u16 i); extern const u8 asc_number[]; extern _no_init u8 _data bcd_number[5]; #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/UI/UI_common.h
C
mpl11
212
/*************************************************************/ /** @file:main.h @brief: @details: @author:Juntham @date: 2012-06-13,8:43 @note: */ /*************************************************************/ #ifndef _MAIN_ #define _MAIN_ #include "config.h" #ifdef __SMART_CPU__ typedef enum { ///MUSIC_MODE = 0, SYS_USB_MODE, SYS_SD_MODE, SYS_RADIO_MODE, SYS_AUX_MODE, #ifdef RTC_EN SYS_RTC_MODE, #endif SYS_BLUETOOTH_MODE, #ifdef IPOD_MODE_ENABLE SYS_IPOD_MODE, #endif SYS_IDLE_MODE, #ifdef USB_DEVICE_EN SYS_USB_DEVICE_MODE, #endif SYS_PWR_OFF_MODE, MAX_WORK_MODE = SYS_IDLE_MODE, }ENUM_WORK_MODE; extern _no_init bool _bit Sys_Volume; extern _no_init bool _bit Sys_IRInput; extern _no_init bool _bit Sys_HalfSec; extern _no_init bool _bit alm_on_flag; extern _no_init bool _bit set_sd_clk; extern ENUM_WORK_MODE _data work_mode; extern u8 _data main_vol_L, main_vol_R; extern void (_near_func * _pdata int_enter_pro[16])(void); #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/main.h
C
mpl11
1,097
#ifndef _LINE_IN_MODE_H_ #define _LINE_IN_MODE_H_ #include "config.h" #ifdef __IAR_SYSTEMS_ICC__ void Line_in_mode(void); #endif /* __IAR_SYSTEMS_ICC__ */ #endif /* _LINE_IN_MODE_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/Line_in_mode.h
C
mpl11
210
#include "custom_config.h" #ifdef BLUE_TOOTH_UART_FUNC #include "bluetooth_mode.h" #include "uart.h" #include "main.h" #include "config.h" #include "clock.h" #include "msg.h" #include "blue_tooth_msg_if.h" bool bt_frame_rev_finished=0; xd_u8 uart_rev=0; xd_u8 rev_phase=0,rev_length=0; xd_u8 rev_cmd[7]={0}; #define EN_UART_MASK 0x01 #define INT_UART_MASK 0x08 #define UART_AT_P06P07 0x00 #define UART_AT_P24P25 0x40 #define UART_AT_P32P33 0x80 #define UART_AT_DPDM 0xC0 #ifdef BLUE_TOOTH_UART_BAUDRATE_AT_9600 #define BAUDRATE_9600 0x10 #else #define BAUDRATE_9600 0x00 #endif //#define BLUETOOTH_UART_DRV_DEBUG #define UART_REG (INT_UART_MASK|EN_UART_MASK|BAUDRATE_9600) _near_func __root void uart_isr(void) AT(COMMON_CODE) { uart_rev = UART_BUF; UART_STA &= ~(BIT(6)); UART_STA |=BIT(4); if((uart_rev==0xAA)&&(rev_phase==0)){ rev_phase=1; } if(rev_phase>0){ rev_cmd[rev_phase-1]=uart_rev; rev_phase++; if(rev_phase>7){ rev_phase=0; bt_frame_rev_finished=1; } } else{ rev_phase=0; } } void blue_tooth_uart_init(void) { system_clk_div(CLK_24M); int_enter_pro[INT_UART_BRK] = uart_isr; #ifdef BLUE_TOOTH_UART_AT_DPDM USB_CON0 = 0x11; USB_CON2 &= ~(BIT(1)); P3PU &= ~((BIT(6))|(BIT(7))); P3PD &= ~((BIT(6))|(BIT(7))); P3DIR &= ~(BIT(6)); P3DIR |= (BIT(7)); IO_MC0 |= (BIT(7) | BIT(6)); #elif defined(BLUE_TOOTH_UART_AT_P24P25) P2DIR &= ~(BIT(4)); P2DIR |= BIT(5); P2PU &= ~(BIT(3)); P2PD &= ~(BIT(3)); P2DIR |= BIT(3); IO_MC0 |= BIT(6); #elif defined(BLUE_TOOTH_UART_AT_P32P33) P3DIR &= ~BIT(2); P3DIR |= BIT(3); IO_MC0 |= BIT(7); #else P0PU &= ~((BIT(6))|(BIT(7))); P0PD &= ~((BIT(6))|(BIT(7))); P0DIR &= ~(BIT(6)); /* P06 for transmit */ P0DIR |= (BIT(7)); /* P07 for receive */ IO_MC0 &=~(BIT(7) | BIT(6)); #endif #ifdef BLUE_TOOTH_UART_BAUDRATE_AT_9600 UART_BAUD = 0x38 ; #else UART_BAUD = 0x9C; //12MHZ_19200: 0x4E ; #endif UART_CON = UART_REG; /* enable uart */ #ifdef BLUETOOTH_UART_DRV_DEBUG my_puts("blue_tooth_uart_init \r\n"); #endif delay_n10ms(1); } void blue_tooth_uart_release(void) { UART_CON = 0x00; } #define REV_CMD_LEN BT_STATUS_MAX u8 const _code BT_REV_CMD[REV_CMD_LEN][7] = { 0xAA ,0x00 ,0x03 ,0x01 ,0x02 ,0x00 ,0xFA, //Power on 0xAA ,0x00 ,0x03 ,0x01 ,0x01 ,0x00 ,0xFB, // In pairing mode 0xAA ,0x00 ,0x03 ,0x01 ,0x03 ,0x00 ,0xF9, //Pairing completed 0xAA ,0x00 ,0x03 ,0x01 ,0x06 ,0x00 ,0xF6, //|| A connect A2DP 0xAA ,0x00 ,0x03 ,0x01 ,0x0B ,0x00 ,0xF1, //|| A connect AVRCP 0xAA ,0x00 ,0x03 ,0x01 ,0x05 ,0x00 ,0xF7, //|| A connect HF 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x02 ,0xF9, //|| Call incoming.. 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x03 ,0xF8, //|| Outgoing call 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x00 ,0xFB, //|| No Call.. 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x04 ,0xF7, //|| Call active.. 0xAA ,0x00 ,0x03 ,0x01 ,0x08 ,0x00 ,0xF4, // A disconnect A2DP 0xAA ,0x00 ,0x03 ,0x01 ,0x0C ,0x00 ,0xF0, // A disconnect AVRCP 0xAA ,0x00 ,0x02 ,0x00 ,0x02 ,0xFC ,0xAA, //|| ACK 0xAA ,0x00 ,0x03 ,0x0F ,0x0F ,0x00 ,0xDF, // DEVICE START PLAY }; #define AT_CMD_LEN (BT_CMD_SET_MAX) u8 const _code BT_AT_CMD[AT_CMD_LEN][7] = { 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x32 ,0xC9, //PLAY 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x34 ,0xC7, // NEXT 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x35 ,0xC6, //PREV 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x30 ,0xCB, //V + 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x31 ,0xCA, //V - 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x36 ,0xC5, //FF 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x37 ,0xC4, // FR 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x33 ,0xC8, //STOP 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x3B ,0xC0, // DISCONNEXT 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x50 ,0xAB, // entern piaring mode 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x5D ,0x9E, // fast pairing mode 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x04 ,0xF7, // answer call 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x06 ,0xF5, // end call }; void promt_bt_cmd(AT_PROMPT_CMD cmd) { u8 i=0; if(cmd<AT_CMD_LEN){ //UTCON = 0x01; for(i=0;i<7;i++){ putbyte(BT_AT_CMD[cmd][i]); } //UTCON = 0x09; } } #ifdef BLUE_TOOTH_CONFIG_DEV_NAME /* AA 00 06 05 49 50 30 30 32 CA checksum: 0xCA =0 - (00+0x06+0x05+0x49+0x50+0x30+0x30+0x32) */ u8 const _code bt_dev_name[]= { #ifdef JK_IBT40_1094A_V001 0xAA ,0x00 ,0x06 ,0x05 ,0x49 ,0x42 ,0x54 ,0x34 ,0x30 ,0xB2, //IBT40 #endif #ifdef JK_IBT_388_1096A_V001 0xAA ,0x00 ,0x07 ,0x05 ,0x49 ,0x42 ,0x54 ,0x33 ,0x38 ,0x38,0x72, #endif }; void config_dev_name(void) { u8 i=0; for(i=0;i<(sizeof(bt_dev_name));i++){ putbyte(bt_dev_name[i]); } } #endif xd_u8 parse_i=0; u8 bluetooth_cmd_parse(void) { u8 i=0xFF,j=0; u8 rev_reg[5]={0}; //UART_CON = (UART_REG&(~INT_UART_MASK)); /* enable uart */ my_memcpy(rev_reg,rev_cmd+2,5); #ifdef BLUETOOTH_UART_DRV_DEBUG my_puts(" "); for(j=0;j<5;j++) my_printf("--->rev data %x \r\n",(u16)rev_reg[j]); #endif parse_i=rev_reg[0]+1; for(i=0;i<REV_CMD_LEN;i++){ for(j=0;j<parse_i;){ if(rev_reg[j]!=BT_REV_CMD[i][2+j]){ j=0; break; } j++; } if(j==parse_i){ break; } } if(j==0){ i= 0xFF; } //UART_CON = UART_REG; return i; } void bluetooth_rev_msg_hdlr(void) { u8 rev_cmd=0,cmd_idx=0; if(bt_frame_rev_finished){ bt_frame_rev_finished = 0; rev_cmd = bluetooth_cmd_parse(); #ifdef BLUETOOTH_UART_DRV_DEBUG my_printf(" ---------> %x \r\n",(u16)rev_cmd); #endif if(rev_cmd!= 0xFF){ for(cmd_idx = 0;cmd_idx < (sizeof(bt_rev_msg)/2);cmd_idx++){ if(bt_rev_msg[cmd_idx].bt_cmd == rev_cmd){ #ifdef BLUETOOTH_UART_DRV_DEBUG my_printf("rev msg %x \r\n",(u16)cmd_idx); #endif put_msg_fifo(bt_rev_msg[cmd_idx].sys_msg); } } } } } void bluetooth_promt_msg_hdlr(u8 key_msg) { u8 cmd_idx =0; if(key_msg >= MSG_HALF_SECOND)return; if(key_msg!= NO_MSG){ for(cmd_idx = 0;cmd_idx < (sizeof(bt_promt_msg)/2);cmd_idx++){ if(bt_promt_msg[cmd_idx].sys_msg == key_msg){ #ifdef BLUETOOTH_UART_DRV_DEBUG my_printf("bluetooth_promt_msg_hdlr cmd_idx %x \r\n",(u16)cmd_idx); #endif promt_bt_cmd((AT_PROMPT_CMD)(bt_promt_msg[cmd_idx].bt_cmd)); } } } } #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/blue_tooth_uart_drv.c
C
mpl11
6,673
#include "custom_config.h" #ifdef BLUE_TOOTH_UART_FUNC #include "bluetooth_mode.h" #include "uart.h" #include "main.h" #include "config.h" #include "clock.h" #include "msg.h" #include "gpio_if.h" xd_u8 bt_led_status=0; void set_led_status(u8 statu_cmd) { bt_led_status = statu_cmd; } #ifdef BLUE_TOOTH_STATUS_LED_PARTTERN bool bt_led_spark=0; void blue_tooth_status_led_init(void) { BLUE_TOOTH_STATUS_LED_INIT(); BLUE_TOOTH_STATUS_LED_OFF(); BLUE_TOOTH_CALL_STATUS_OFF(); bt_led_status = 0x86; } void blue_tooth_status_led_hdlr(void) { if((bt_led_status&0x80)>0){ bt_led_status--; if((bt_led_status&0x0F)==0){ bt_led_status = BT_STA_LED_SDBY; set_play_status_led(LED_SPARK_STOP); BLUE_TOOTH_STATUS_LED_OFF(); } } else if(bt_led_status==BT_STA_LED_PAIR){ bt_led_spark=1-bt_led_spark; if(bt_led_spark){ BLUE_TOOTH_CALL_STATUS_OFF(); BLUE_TOOTH_STATUS_LED_ON(); } else{ BLUE_TOOTH_CALL_STATUS_ON(); BLUE_TOOTH_STATUS_LED_OFF(); } } else if(bt_led_status==BT_STA_LED_CALL){ bt_led_spark=1-bt_led_spark; if(bt_led_spark){ BLUE_TOOTH_CALL_STATUS_OFF(); } else{ BLUE_TOOTH_CALL_STATUS_ON(); } BLUE_TOOTH_STATUS_LED_OFF(); } else if(bt_led_status==BT_STA_LED_SDBY){ bt_led_spark=1-bt_led_spark; if(bt_led_spark){ BLUE_TOOTH_STATUS_LED_ON(); } else{ BLUE_TOOTH_STATUS_LED_OFF(); } BLUE_TOOTH_CALL_STATUS_OFF(); } else if(bt_led_status==BT_STA_LED_PLAY){ BLUE_TOOTH_STATUS_LED_ON(); BLUE_TOOTH_CALL_STATUS_OFF(); } else if(bt_led_status==BT_STA_LED_INCOMING){ BLUE_TOOTH_STATUS_LED_ON(); BLUE_TOOTH_CALL_STATUS_ON(); } else if(bt_led_status==BT_STA_LED_IDLE){ BLUE_TOOTH_CALL_STATUS_OFF(); BLUE_TOOTH_STATUS_LED_OFF(); } } #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/blue_tooth_msg_if.c
C
mpl11
1,961
#ifndef _BLUETOOTH_MODE_H_ #define _BLUETOOTH_MODE_H_ #include "config.h" enum { BT_STA_STOP, BT_STA_PAUSE, BT_STA_PLAY, BT_STA_MASK=0x80, }; typedef enum { BT_POWER_ON, BT_PAIR_MODE, BT_PAIRED, BT_CONECTED_A2DP, BT_CONECTED_AVRCP, BT_CONECTED_HF, BT_INCOMING_CALL, BT_OUTGOING_CALL, BT_CALL_DROP, BT_CALL_ACTIVE, BT_DISCONECT_A2DP, BT_DISCONECT_AVRCP, BT_ACK, BT_DEV_ISSUE_PLAY, BT_STATUS_MAX, }AT_REV_CMD; typedef enum { BT_PLAY, BT_NEXT, BT_PREV, BT_VOL_P, BT_VOL_M, BT_FAST_FARWORD, BT_REWIND, BT_STOP, BT_DISPAIR, BT_ENTER_PAIRING_MODE, BT_FAST_PAIRING_MODE, BT_ANSWER_CALL, BT_END_CALL, BT_CMD_SET_MAX, }AT_PROMPT_CMD; enum { CALL_IDLE, INCOMING_CALL, OUTGOING_CALL, CALL_ACTIVE, }; enum{ BT_STA_LED_IDLE, BT_STA_LED_SDBY, BT_STA_LED_PAIR, BT_STA_LED_INCOMING, BT_STA_LED_CALL, BT_STA_LED_PLAY, BT_STA_LED_PAUSE, BT_STA_LED_ON = 0x86, }; typedef struct{ u8 bt_cmd; u8 sys_msg; }BT_MSG; #ifdef __IAR_SYSTEMS_ICC__ void bluetooth_main(void); u8 get_blue_tooth_connect_status(void); #endif /* __IAR_SYSTEMS_ICC__ */ #endif /* _LINE_IN_MODE_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/bluetooth_mode.h
C
mpl11
1,220
#ifndef _IPOD_MODE_H_ #define _IPOD_MODE_H_ #include "config.h" #ifdef __IAR_SYSTEMS_ICC__ void ipod_main(void); #endif /* __IAR_SYSTEMS_ICC__ */ #endif /* _LINE_IN_MODE_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/ipod_mode.h
C
mpl11
201
#include "custom_config.h" #ifndef _BLUE_TOOTH_MSG_IF_H_ #define _BLUE_TOOTH_MSG_IF_H_ #ifdef BLUE_TOOTH_UART_FUNC #include "bluetooth_mode.h" #include "uart.h" #include "main.h" #include "config.h" #include "clock.h" #include "msg.h" BT_MSG const _code bt_rev_msg[]= { //BT_PAIR_MODE, MSG_BT_PAIRING, BT_CONECTED_A2DP, MSG_BT_CONNECTED, BT_CONECTED_AVRCP, MSG_BT_CONNECTED, BT_DISCONECT_A2DP, MSG_BT_REPAIRING, BT_DISCONECT_AVRCP, MSG_BT_REPAIRING, BT_INCOMING_CALL, MSG_BT_INCOMING_CALL, BT_OUTGOING_CALL, MSG_BT_OUTGOING_CALL, BT_CALL_DROP, MSG_BT_DROP_CALL, BT_CALL_ACTIVE, MSG_BT_ACTIVE_CALL, }; BT_MSG const _code bt_promt_msg[]= { BT_PLAY, MSG_MUSIC_PP, BT_NEXT, MSG_MUSIC_NEXT_FILE, BT_PREV, MSG_MUSIC_PREV_FILE, //BT_VOL_P, MSG_VOL_UP, //BT_VOL_M, MSG_VOL_DOWN, //BT_FAST_FARWORD, MSG_MUSIC_FF, //BT_REWIND, MSG_MUSIC_FR, BT_STOP, MSG_MUSIC_STOP, BT_DISPAIR, MSG_BT_PAIRING, BT_FAST_PAIRING_MODE, MSG_BT_REPAIRING, BT_ANSWER_CALL, MSG_BT_ANSWER_CALL, BT_END_CALL, MSG_BT_END_CALL, }; #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/line_in/blue_tooth_msg_if.h
C
mpl11
1,157
/************************************************Copyright(c)*********************************** ** Quintic(Nanjing) Microelectronics Co,Ltd. ** ** http://www.quinticcorp.com ** **--------------------File Info---------------------------------------------------------------- ** File Name: qndriver.h ** subversion number: 160 **---------------------------------------------------------------------------------------- ************************************************************************************************/ #include "config.h" #ifndef _QN_0835_H #define _QN_0835_H //#define PILOT_CCA 0 // 0: disable stereo judgement for the country has many mono FM stations #define CCA_PILOT_SNR_FILTER 35//25 #define FREQ2CHREG(freq) ((freq-6000)/5) /**********************************QN8035's clock source selection************** 1.QN8035's default clock source is 32768HZ. 2.setting QN8035's clock source and clock source type(like sine-wave clock or digital clock). 3.user need to modify clock source according to actual hardware platform. 4.clock formula,the details please refer to the QN8035's datasheet XTAL_DIV = Round(Clock/32768); PLL_DLT = Round((28500000*512*XTAL_DIV)/Clock)-442368 *******************************************************************************/ #define QND_SINE_WAVE_CLOCK 0x00 //inject sine-wave clock #define QND_DIGITAL_CLOCK 0x80 //inject digital clock,default is inject digital clock //crystal clock is 32768HZ #define QND_XTAL_DIV0 0x01 #define QND_XTAL_DIV1 0x08 #define QND_XTAL_DIV2 0x5C //following is definition step #define QND_STEP_CONSTANT 0x40 //(QND_FSTEP_100KHZ << 6) #define CHIPID_QN8035 0x84 #define R_TXRX_MASK 0x30 #define QND_MODE_SLEEP 0 #define QND_MODE_WAKEUP 1 // RX / TX value is using upper 8 bit #define QND_MODE_RX 0x8000 #define QND_MODE_TX 0x4000 #define QND_MODE_FM 0x0000 #define QND_CONFIG_VOLUME 0x07 #define CHIPSUBID_QN8035A0 0x01 #define CHIPSUBID_QN8035A1 0x02 enum { CCA_SENSITIVITY_LEVEL_0 = 0x1E06, CCA_SENSITIVITY_LEVEL_1 = 0x1E07, //if using the pilot as CCA,reference this item. CCA_SENSITIVITY_LEVEL_2 = 0x1E08, CCA_SENSITIVITY_LEVEL_3 = 0x1E09, CCA_SENSITIVITY_LEVEL_4 = 0x1E0A, //if not using the pilot as CCA,reference this item. CCA_SENSITIVITY_LEVEL_5 = 0x1E0B, CCA_SENSITIVITY_LEVEL_6 = 0x1E0C, CCA_SENSITIVITY_LEVEL_7 = 0x1E0D, CCA_SENSITIVITY_LEVEL_8 = 0x1E0E, CCA_SENSITIVITY_LEVEL_9 = 0x1E0F }; /********************************************************************************************** // Performance configuration ***********************************************************************************************/ #define SMSTART_VAL 12//19 #define HCCSTART_VAL 18//33 #define SNCSTART_VAL 51//55 /********************************************************************************************** // limitation configuration ***********************************************************************************************/ //#define CCA_PILOT_SNR_FILTER 20//18 #define CCA_PILOT_READ_DELAY 80//60 #define CCA_PILOT_READ_COUNT 12//10 #define CCA_PILOT_READ_COUNT_DELAY 5// 2 #define CCA_PILOT_TH 3 #define CCA_TIME_OUT 200 /********************************************************************************************** definition register **********************************************************************************************/ #define SYSTEM1 0x00 #define CCA 0x01 #define SNR 0x02 #define RSSISIG 0x03 #define STATUS1 0x04 #define CID1 0x05 #define CID2 0x06 #define CH 0x07 #define CH_START 0x08 #define CH_STOP 0x09 #define CH_STEP 0x0A #define RDSD0 0x0B #define RDSD1 0x0C #define RDSD2 0x0D #define RDSD3 0x0E #define RDSD4 0x0F #define RDSD5 0x10 #define RDSD6 0x11 #define RDSD7 0x12 #define STATUS2 0x13 #define VOL_CTL 0x14 #define XTAL_DIV0 0x15 #define XTAL_DIV1 0x16 #define XTAL_DIV2 0x17 #define INT_CTRL 0x18 #define SMP_HLD_THRD 0x19 #define RXAGC_GAIN 0x1A #define GAIN_SEL 0x1B #define SYSTEM_CTL1 0x1C #define SYSTEM_CTL2 0x1D #define RDSCOSTAS 0x1E #define REG_TEST 0x1F #define STATUS4 0x20 #define RDSAGC2 0x21 #define CCA1 0x27 #define CCA2 0x28 #define CCA3 0x29 #define CCA4 0x2A #define CCA5 0x2B #define PLT1 0X2F #define PLT2 0x30 #define SMSTART 0x34 #define SNCSTART 0x35 #define HCCSTART 0x36 #define CCA_CNT1 0x37 #define CCA_CNT2 0x38 #define CCA_SNR_TH_1 0x39 #define CCA_SNR_TH_2 0x3A #define NCCFIR3 0x40 #define REG_REF 0x49 #define REG_DAC 0x4C /******************************************************************************* definition operation bit of register *******************************************************************************/ #define CCA_CH_DIS 0x01 #define CHSC 0x02 #define RDSEN 0x08 #define CH_CH 0x03 #define CH_CH_START 0x0c #define CH_CH_STOP 0x30 #define STNBY_MODE 0x20 #define RX_MODE 0x10 #define IMR 0x40 #define RDS_RXUPD 0x80 #define ST_MO_RX 0x01 #define STNBY_RX_MASK 0x30 #define RXCCA_MASK 0x03 #define RX_CCA 0x02 #define RXCCA_FAIL 0x08 #define RX_MONO 0x04 #define ICPREF 0x0F #ifdef __SMART_CPU__ #define QND_READ(adr) QND_ReadReg(adr) #define QND_WRITE(adr, value) QND_WriteReg(adr, value) void QNF_SetRegBit(u8 reg,u8 bitMask,u8 data_val); u8 QND_ScanNoiseFloor(u16 start,u16 stop); void QND_RXSetTH(void); void QND_SetVol(u8 vol); bool QND_RXValidCH(u16 freq); void init_QN8035(void); bool set_fre_QN8035(u16 freq); void QN8035_mute(u8 On); bool QN8035_Read_ID(void); void QN8035_powerdown(void); void QN8035_setch(u8 db); extern _no_init bool _bit qn8035_online; #define QN_IIC_read(a) \ QND_ReadReg(a) #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/fm/QN8035.h
C
mpl11
6,949
#ifndef _RADIO_API_H_ #define _RADIO_API_H_ #include "config.h" #ifdef __IAR_SYSTEMS_ICC__ void init_radio_chip(void); void radio_chip_sleep(void); void set_band_fre(u8 mode,u8 disp_cmd); void radio_info_init(void); bool radio_band_scan(u8 mode); void radio_save_station_hdlr(void); void switch_radio_band_func(void); void restore_station_from_ch(void); #endif /* __IAR_SYSTEMS_ICC__ */ #define RADIO_CUR_FRE 0 #define RADIO_FRE_DEC 1 #define RADIO_FRE_INC 2 #define RADIO_SCAN_STOP 0 #define RADIO_SCAN_PREV 1 #define RADIO_SCAN_NEXT 2 #define RADIO_SCAN_ALL 3 #define MAX_FRE 1080 #define MIN_FRE 875 #define MAX_CHANNL (MAX_FRE - MIN_FRE + 1) #define RADIO_MAX_CH 20 #define RADIO_MAX_CH 20 #define PRESET_MASK 0xF0 #define PRESET_OK 0xA0 #define PRESET_ZONE_MASK 0x01 #define PRESET_SAVE_MASK 0x0E #define PRESET_SAVE_OK 0x0A #define SAVE_FREQ_MASK 0x80 enum{ RESET_FM_PRESET, RESET_EUR_AM_PRESET, RESET_USA_AM_PRESET, GET_FM_PRESET_FROM_EPPROM=0xFE, GET_AM_PRESET_FROM_EPPROM, }; enum{ NO_SHOW_FREQ, SHOW_FREQ, }; enum{ RADIO_BAND_FM, RADIO_BAND_AM, }; typedef struct{ u16 MIN_FREQ; u16 MAX_FREQ; u8 FREQ_STEP; }FREQ_RAGE; #endif /* _FM_API_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/fm/RADIO_API.h
C
mpl11
1,331
#ifndef __ext_ins__ #define __ext_ins__ #define wr0 0x0 #define wr2 0x1 #define wr4 0x2 #define wr6 0x3 #define iwr0 0x10 #define iwr2 0x11 #define iwr4 0x12 #define iwr6 0x13 add16 macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x00, (0x20 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x00, (0x10 | (y & 0xf) | x<<2) #else db 0xa5, 0x00, (0x00 | x<<2 | y) #endif endm addc16 macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x00, (0x50 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x00, (0x40 | (y & 0xf) | x<<2) #else db 0xa5, 0x00, (0x30 | x<<2 | y) #endif endm add16s macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x00, (0x80 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x00, (0x70 | (y & 0xf) | x<<2) #else db 0xa5, 0x00, (0x60 | x<<2 | y) #endif endm addc16s macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x00, (0xb0 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x00, (0xa0 | (y & 0xf) | x<<2) #else db 0xa5, 0x00, (0x90 | x<<2 | y) #endif endm sub16 macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x00, (0xe0 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x00, (0xd0 | (y & 0xf) | x<<2) #else db 0xa5, 0x00, (0xc0 | x<<2 | y) #endif endm subc16 macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x01, (0x10 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x01, (0x00 | (y & 0xf) | x<<2) #else db 0xa5, 0x00, (0xf0 | x<<2 | y) #endif endm sub16s macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x01, (0x40 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x01, (0x30 | (y & 0xf) | x<<2) #else db 0xa5, 0x01, (0x20 | x<<2 | y) #endif endm subc16s macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x01, (0x70 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x01, (0x60 | (y & 0xf) | x<<2) #else db 0xa5, 0x01, (0x50 | x<<2 | y) #endif endm anl16 macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x01, (0xa0 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x01, (0x90 | (y & 0xf) | x<<2) #else db 0xa5, 0x01, (0x80 | x<<2 | y) #endif endm orl16 macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x01, (0xd0 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x01, (0xc0 | (y & 0xf) | x<<2) #else db 0xa5, 0x01, (0xb0 | x<<2 | y) #endif endm xrl16 macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x02, (0x00 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x01, (0xf0 | (y & 0xf) | x<<2) #else db 0xa5, 0x01, (0xe0 | x<<2 | y) #endif endm mac16 macro x, y #if (x > 0x3) errors ... #elif (y > 0x3) db 0xa5, 0x02, (0x20 | x<<2 | (y & 0xf)) #else db 0xa5, 0x02, (0x10 | x<<2 | y) #endif endm mac16s macro x, y #if (x > 0x3) errors ... #elif (y > 0x3) db 0xa5, 0x02, (0x40 | x<<2 | (y & 0xf)) #else db 0xa5, 0x02, (0x30 | x<<2 | y) #endif endm mov16b macro x, y #if (((x > 0x3) + (y > 0x3)) > 1) errors ... #elif (x > 0x3) db 0xa5, 0x02, (0x60 | (x & 0xf) | y<<2) #elif (y > 0x3) db 0xa5, 0x02, (0x50 | (y & 0xf) | x<<2) #else errors ... #endif endm lsl16k macro x, y #if (x > 0xf) errors ... #else db 0xa5, 0x03, (0x00 | (y & 0xc) << 2 | (y & 0x3) | x<<2) #endif endm lsr16k macro x, y #if (x > 0xf) errors ... #else db 0xa5, 0x03, (0x40 | (y & 0xc) << 2 | (y & 0x3) | x<<2) #endif endm rotl16k macro x, y #if (x > 0xf) errors ... #else db 0xa5, 0x03, (0x80 | (y & 0xc) << 2 | (y & 0x3) | x<<2) #endif endm asr16k macro x, y #if (x > 0xf) errors ... #else db 0xa5, 0x03, (0xc0 | (y & 0xc) << 2 | (y & 0x3) | x<<2) #endif endm rotl8 macro x, y db 0xa5, 0x04 endm rotr8 macro x, y db 0xa5, 0x05 endm rotl8k macro x,y #if (y > 0x7) errors ... #else db 0xa5, (0x08 | y) #endif endm inc16 macro x db 0xa5, (0x10 | x) endm inc216 macro x db 0xa5, (0x14 | x) endm dec16 macro x db 0xa5, (0x18 | x) endm dec216 macro x db 0xa5, (0x1c | x) endm rotl16 macro x, y #if (x > 0x3) db 0xa5, (0x28 | (x & 0xf)) #else db 0xa5, (0x20 | x) #endif endm rotr16 macro x, y #if (x > 0x3) db 0xa5, (0x2c | (x & 0xf)) #else db 0xa5, (0x24 | x) #endif endm lsr16 macro x,y #if (x > 0x3) db 0xa5, (0x38 | (x & 0xf)) #else db 0xa5, (0x30 | x) #endif endm lsl16 macro x, y #if (x > 0x3) db 0xa5, (0x3c | (x & 0xf)) #else db 0xa5, (0x34 | x) #endif endm asr16 macro x, y #if (x > 0x3) db 0xa5, (0x44 | (x & 0xf)) #else db 0xa5, (0x40 | x) #endif endm movsa macro x, y db 0xa5, (0x48 | x) endm movsb macro x, y db 0xa5, (0x4c | x) endm //mov8bta macro x, y // db 0xa5, (0x50 | (y & 0xf)) // endm // //movat8b macro x, y // db 0xa5, (0x54 | (x & 0xf)) // endm // //mov8bb macro x, y // db 0xa5, (0x70 | (x & 0xf)<<2 | (y & 0xf)) // endm cmp16 macro x, y #if (x > 0x3) errors ... #elif (y > 0x3) errors ... #else db 0xa5, (0x60 | x<<2 | y) #endif endm mov16 macro x, y #if ((x > 0x3) & (y > 0x3)) db 0xa5, (0xb0 | (x & 0xf)<<2 | (y & 0xf)) #elif (x > 0x3) db 0xa5, (0x90 | ((x & 0xf)) | y<<2) #elif (y > 0x3) db 0xa5, (0xa0 | (x<<2) | (y & 0xf)) #else db 0xa5, (0x80 | x<<2 | y) #endif endm mul16 macro x, y #if (x > 0x3) errors ... #elif (y > 0x3) db 0xa5, (0xd0 | x<<2 | (y & 0xf)) #else db 0xa5, (0xc0 | x<<2 | y) #endif endm mul16s macro x, y #if (x > 0x3) errors ... #elif (y > 0x3) db 0xa5, (0xf0 | x<<2 | (y & 0xf)) #else db 0xa5, (0xe0 | x<<2 | y) #endif endm mul16wr macro x, y #if (x != wr4) errors ... #elseif (y != wr2) errors ... #else db 0xa5, 0x06 #endif endm mul16swr macro x, y #if (x != wr4) errors ... #elseif (y != wr2) errors ... #else db 0xa5, 0x07 #endif endm /*----------------------------------------------------------------------------*/ /** @brief: @param: @return: @author:Juntham @note: @date: 2012-05-29,19:30 */ /*----------------------------------------------------------------------------*/ uart_put macro reg LOCAL lab push ACC lab: mov a, UART_STA jnb ACC.7, lab pop ACC mov UART_BUF,reg endm #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/ext_inst.inc
C++
mpl11
7,902
/*--------------------------------------------------------------------------*/ /**@file led_ind_drv.c @brief led_ind_drv @details @author @date 2011-3-7 @note */ /*----------------------------------------------------------------------------*/ #include "Custom_config.h" #include "led_ind_drv.h" #include "main.h" #include "device.h" #if 0 #if defined(PLAY_STATUS_LED_P02) #define LED_MAX_NUM 2 mode_led const _code mode_led_tab[LED_MAX_NUM]= { SYS_USB_MODE, BIT(2),PORT_P0, SYS_SD_MODE, BIT(2),PORT_P0, }; #elif defined(PLAY_STATUS_LED_P25) #define LED_MAX_NUM 4 mode_led const _code mode_led_tab[LED_MAX_NUM]= { SYS_USB_MODE, BIT(5),PORT_P2, SYS_SD_MODE, BIT(5),PORT_P2, SYS_AUX_MODE, BIT(5),PORT_P2, SYS_IDLE_MODE, BIT(5),PORT_P2, }; #elif defined(PLAY_STATUS_LED_P01) #define LED_MAX_NUM 4 mode_led const _code mode_led_tab[LED_MAX_NUM]= { SYS_USB_MODE, BIT(1),PORT_P0, SYS_SD_MODE, BIT(1),PORT_P0, SYS_BLUETOOTH_MODE, BIT(1),PORT_P0, SYS_IDLE_MODE, BIT(1),PORT_P0, }; #elif defined(PLAY_STATUS_LED_P17) #define LED_MAX_NUM 4 mode_led const _code mode_led_tab[LED_MAX_NUM]= { SYS_USB_MODE, BIT(7),PORT_P1, SYS_SD_MODE, BIT(7),PORT_P1, SYS_RADIO_MODE, BIT(7),PORT_P1, SYS_AUX_MODE, BIT(7),PORT_P1, }; #elif defined(PLAY_STATUS_LED_P46) #define LED_MAX_NUM 3 mode_led const _code mode_led_tab[LED_MAX_NUM]= { SYS_USB_MODE, BIT(6),PORT_P4, SYS_SD_MODE, BIT(6),PORT_P4, SYS_AUX_MODE, BIT(6),PORT_P4, }; #else #define LED_MAX_NUM 4 mode_led const _code mode_led_tab[LED_MAX_NUM]= { SYS_USB_MODE, BIT(7),PORT_P0, SYS_SD_MODE, BIT(7),PORT_P0, SYS_RADIO_MODE, BIT(7),PORT_P0, SYS_AUX_MODE, BIT(7),PORT_P0, }; #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/led_ind_drv.c
C
mpl11
1,790
//#ifndef _CUSTOM_CONFIG_ //#define _CUSTOM_CONFIG_ #include "k_custom_config.h" //#define UART_DEBUG_ENABLE #ifdef UART_DEBUG_ENABLE #define MAIN_UART_DEBUG //#define MISC_UART_DEBUG //#define FM_UART_DEBUG #define BAT_UART_DEBUG //#define BLUETOOTH_UART_DEBUG //#define IR_UART_DEBUG //#define ADKEY_UART_DEBUG //#define UART_DEBUG_AT_P06P07 #define UART_DEBUG_AT_P24P25 //#define UART_DEBUG_AT_P36P37 #endif #define USE_AUTO_SELECT_EEPROM_RTC_MEM //#define USE_MANUAL_IDLE_FUNC //#define KEY_TONE_INDICATOR_ENABLE //#define EVENT_50MS_HANDLER_ENABLE //#define BLUE_TOOTH_MODE_ENABLE //#define BLUE_TOOTH_UART_FUNC //#define USE_POWER_KEY //#define MUTE_GPIO_USE_P03 //#define NO_PLAY_STATUS_LED //#define AUX_DETECTION_THREAD_ENABLE //#define AUX_DETECT_USE_P01 //#define PHONE_DETECTION_THREAD_ENABLE //#define PHONE_DETECT_USE_P04 //#define USE_BAT_MANAGEMENT //#define CHARGER_DETECTION_THREAD_ENABLE //#define CHARGER_DETECT_USE_P01 //#define BAT_MEASURE_USE_ADC_PORT //#define BAT_AD_GPIO_USE_P05 //#define ADKEY_GPIO_USE_P02 //#define IIC_GPIO_CLK_DATA_USE_P00_P01 //#define AUX_DETECTION_THREAD_ENABLE //#define PHONE_DETECTION_THREAD_ENABLE //#define AUX_DETECT_USE_P01 //#define JK_TEST_PROJECT #ifdef JK_TEST_PROJECT #define MUTE_GPIO_USE_P02 #define NO_PLAY_STATUS_LED #define IIC_GPIO_CLK_DATA_DUMMY #define ADKEY_GPIO_USE_P06 #define AD_DETECT_FUNC #define USE_ADKEY_DETECT_HP #define USE_ADKEY_DETECT_AUX #endif //#define JK_GHD_803A_1096A_V001 //#define JK_HYH_WM2428B_1096A_V001 //#define JK_HYH_QX3_7C_1082A_V001 //#define JK_IBT40_1094A_V001 //#define JK_NS_14FB_1094A_V001 //#define JK_IBT_388_1096A_V001 //#define JK_SM_001_1096A_V001 #ifdef JK_GHD_803A_1096A_V001 //#define SYS_OSC_USE_ONCHIP_HTC #define MUTE_GPIO_USE_DUMMY #define IIC_GPIO_CLK_DATA_USE_P00_P01 #define ADKEY_GPIO_USE_P07 #define PLAY_STATUS_LED_P26 #define NOT_USE_LINE_IN_FUNC //#define USE_POWER_KEY #define POWER_CTRL_GPIO_USE_P02 #define USE_BAT_MANAGEMENT #define CHARGER_DETECTION_THREAD_ENABLE #define CHARGER_DETECT_USE_P04 #define BAT_MEASURE_USE_ADC_PORT #define BAT_AD_GPIO_USE_P05 #define DISABLE_P05_OSC_OUTPUT #define BAT_CHARGER_IND_HLDR #define BAT_CHARGE_LED_IND #define BAT_CHARGE_LED_IND_AT_P27 #define BAT_LOW_LEVEL_HLDR #define BAT_LOW_BEEP_ALERT #endif #ifdef JK_HYH_WM2428B_1096A_V001 #define IIC_GPIO_CLK_DATA_DUMMY #define ADKEY_GPIO_USE_P07 #define MUTE_GPIO_USE_P27 //#define MUTE_CTRL_LEVEL_LOW_MUTE #define NO_PLAY_STATUS_LED #define DEFAULT_VOL_AT_POWER_ON 30 #define NOT_USE_LINE_IN_FUNC #define NOT_DISPLAY_SCAN #endif #ifdef JK_HYH_QX3_7C_1082A_V001 #define SYS_OSC_USE_ONCHIP_HTC #define IIC_GPIO_CLK_DATA_USE_P00_P01 #define ADKEY_GPIO_USE_P02 #define AC1082_ADKEY_AT_P02 #define NO_DEVICE_DEFAULT_IDLE_MODE #define PLAY_STATUS_LED_P46 #define LED_CTRL_LEVEL_LOW_ON #define MUTE_GPIO_USE_DUMMY #define NOT_USE_LINE_IN_FUNC #define NOT_DISPLAY_SCAN #define NO_FM_CHIP_ON_BOARD #define USE_EEPROM_MEMORY #define DEFAULT_VOL_AT_POWER_ON 30 #endif #ifdef JK_IBT40_1094A_V001 #define SYS_OSC_USE_ONCHIP_HTC #define IIC_GPIO_CLK_DATA_DUMMY #define ADKEY_GPIO_USE_P02 #define MUTE_GPIO_USE_P05 #define PLAY_STATUS_LED_P46 #define LED_CTRL_LEVEL_LOW_ON #define NOT_USE_LINE_IN_FUNC #define NOT_DISPLAY_SCAN #define USB_ERP2_FUNC #define BLUE_TOOTH_ERP2_FUNC #define ERP2_TIMER_UNIT_IN_MIN 3 #define USE_BT_PHONE_KEY_SHORT_WAKEUP_IDLE //#define NOT_MOUNT_USB_FUNC #define BLUE_TOOTH_CELLPHONE_FUNC #define BLUE_TOOTH_UART_BAUDRATE_AT_9600 #define BLUE_TOOTH_CONFIG_DEV_NAME #define BLUE_TOOTH_MODE_ENABLE #define BLUE_TOOTH_UART_FUNC #define BLUE_TOOTH_UART_AT_P24P25 #define BLUE_TOOTH_STATUS_LED_AT_P17 #define BLUE_TOOTH_CALL_STATUS_AT_P16 #define BLUE_TOOTH_STATUS_LED_PARTTERN #define SYS_POWER_ON_FORCE_IN_BT_MODE #define BLUE_TOOTH_GPIO_PWR_AT_P01 #endif #ifdef JK_NS_14FB_1094A_V001 #define SYS_OSC_USE_ONCHIP_HTC #define IIC_GPIO_CLK_DATA_DUMMY #define ADKEY_GPIO_USE_P02 #define MUTE_GPIO_USE_P05 #define PLAY_STATUS_LED_P01 #define LED_CTRL_LEVEL_LOW_ON #define NOT_USE_LINE_IN_FUNC #define NOT_DISPLAY_SCAN #define USE_POWER_IDLE_MODE #define DEFAULT_VOL_AT_POWER_ON 30 #if 1 #define BLUE_TOOTH_MODE_ENABLE #define BLUE_TOOTH_UART_FUNC #define BLUE_TOOTH_UART_AT_P24P25 #define BLUE_TOOTH_GPIO_FUNC #define BLUE_TOOTH_GPIO_PWR_AT_P16 #endif #endif #ifdef JK_IBT_388_1096A_V001 #define SYS_OSC_USE_ONCHIP_HTC //#define IIC_GPIO_CLK_DATA_USE_P00_P01 #define IIC_GPIO_CLK_DATA_USE_P01_P00 #define ADKEY_GPIO_USE_P07 #define MUTE_GPIO_USE_P02 #define PLAY_STATUS_LED_P04 #define LED_CTRL_LEVEL_LOW_ON #define NOT_DISPLAY_SCAN #define FM_AUX_SHARE_SAME_PATH #define CUSTOM_DEFINED_PATH #define AUX_DETECTION_THREAD_ENABLE #define AUX_DETECT_USE_P01 #define AUX_DETECTION_GPIO_SHARE_WITH_IIC_CLK #define USE_POWER_IDLE_MODE #define AMP_GPIO_SEL_AB_D_MODE #define AMP_GPIO_SEL_AB_D_MODE_AT_P46 //#define USE_POWER_KEY //#define POWER_CTRL_GPIO_USE_P05 #define DISABLE_P05_OSC_OUTPUT #define NOT_USE_IR_FUNC #if 1 #define USE_MODE_ANSWER_PHONE #define BLUE_TOOTH_MODE_ENABLE #define BLUE_TOOTH_UART_FUNC #define BLUE_TOOTH_UART_AT_P24P25 #define BLUE_TOOTH_UART_BAUDRATE_AT_9600 #define BLUE_TOOTH_CONFIG_DEV_NAME #define BLUE_TOOTH_CELLPHONE_FUNC #define BLUE_TOOTH_STATUS_LED_AT_P05 #define NOT_MOUNT_USB_FUNC #define BLUE_TOOTH_GPIO_PWR_AT_P36 #define BLUE_TOOTH_AUX_FUNC_ENABLE #define BLUE_TOOTH_AUX_FUNC_GPIO_AT_P37 #endif #endif #ifdef JK_SM_001_1096A_V001 #define SYS_OSC_USE_ONCHIP_HTC #define IIC_GPIO_CLK_DATA_USE_P01_P26 #define ADKEY_GPIO_USE_P07 #define MUTE_GPIO_USE_DUMMY #define PLAY_STATUS_LED_P02 #define MUSIC_PLAY_STOP_MODE_ENABLE #define NOT_DISPLAY_SCAN #define DEV_PLUG_PLAY_DISABLE #define DONT_SPARK_PLAY_LED_WHEN_PLAY #define DISABLE_P05_OSC_OUTPUT #define NOT_USE_LINE_IN_FUNC #define RADIO_NEXT_PREV_STOP_SCAN #define TWO_PLAY_STATUS_LED #define PLAY_STATUS_ID2_LED_P27 #define PLAY_STATUS_LED_OFF_AT_DEV_INIT #endif //#endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/custom_config.h
C
mpl11
6,264
/*;----------------------------------------------------------------------------- ; ; File: iar_common.h ; ; Description: Frequently used macros and symbols for runtime library. ; ; ; REVISON INFORMATION ; ; $Revision: 1.24 $ ; ; Log information is available at the end of this file ; ;-----------------------------------------------------------------------------*/ #include "iar_check_symbols.s" #include "iar_cfi.s" //;=================; //; Common defines ; //;=================; #define XSP_L ?XSP #define XSP_H ?XSP+1 DPTR_MASK_SYMBOLS MACRO EXTERN ?DPMASK ?DPMASK0 EQU ((?DPMASK ^ (?DPMASK - 1)) & ?DPMASK) ?DPTMP1 EQU (?DPMASK ^ ?DPMASK0) ?DPMASK1 EQU ((?DPTMP1 ^ (?DPTMP1 - 1)) & ?DPTMP1) ?DPTMP2 EQU (?DPMASK ^ ?DPMASK0 ^ ?DPMASK1) ?DPMASK2 EQU ((?DPTMP2 ^ (?DPTMP2 - 1)) & ?DPTMP2) ENDM //;=================; //; Common Macros ; //;=================; EXTERNS_FOR_ALL_DPTR_SYMBOLS MACRO #ifdef __EXTENDED_DPTR__ EXTERN ?DPX #endif ; __EXTENDED_DPTR__ #if (__NUMBER_OF_DPTRS__ > 1) EXTERN ?DPS DPTR_MASK_SYMBOLS() #ifdef __DPTR_SEPARATE__ EXTERN ?DPL1 EXTERN ?DPH1 #ifdef __EXTENDED_DPTR__ EXTERN ?DPX1 #endif ; __EXTENDED_DPTR__ #if (__NUMBER_OF_DPTRS__ > 2) EXTERN ?DPL2 EXTERN ?DPH2 #ifdef __EXTENDED_DPTR__ EXTERN ?DPX2 #endif ; __EXTENDED_DPTR__ #endif ; __NUMBER_OF_DPTRS__ > 2 #if (__NUMBER_OF_DPTRS__ > 3) EXTERN ?DPL3 EXTERN ?DPH3 #ifdef __EXTENDED_DPTR__ EXTERN ?DPX3 #endif ; __EXTENDED_DPTR__ #endif ; __NUMBER_OF_DPTRS__ > 3 #if (__NUMBER_OF_DPTRS__ > 4) EXTERN ?DPL4 EXTERN ?DPH4 #ifdef __EXTENDED_DPTR__ EXTERN ?DPX4 #endif ; __EXTENDED_DPTR__ #endif ; __NUMBER_OF_DPTRS__ > 4 #if (__NUMBER_OF_DPTRS__ > 5) EXTERN ?DPL5 EXTERN ?DPH5 #ifdef __EXTENDED_DPTR__ EXTERN ?DPX5 #endif ; __EXTENDED_DPTR__ #endif ; __NUMBER_OF_DPTRS__ > 5 #if (__NUMBER_OF_DPTRS__ > 6) EXTERN ?DPL6 EXTERN ?DPH6 #ifdef __EXTENDED_DPTR__ EXTERN ?DPX6 #endif ; __EXTENDED_DPTR__ #endif ; __NUMBER_OF_DPTRS__ > 6 #if (__NUMBER_OF_DPTRS__ > 7) EXTERN ?DPL7 EXTERN ?DPH7 #ifdef __EXTENDED_DPTR__ EXTERN ?DPX7 #endif ; __EXTENDED_DPTR__ #endif ; __NUMBER_OF_DPTRS__ > 7 #endif ; __DPTR_SEPARATE__ #endif ; __NUMBER_OF_DPTRS__ > 1 ENDM #if (__NUMBER_OF_DPTRS__ > 1) TOGGLE_DPTR MACRO EXTERN ?DPS #if ((defined(__INC_DPSEL_SELECT__)) && (__NUMBER_OF_DPTRS__ == 2)) INC ?DPS #else XRL ?DPS,#(?DPMASK0) #endif ENDM SELECT_DPTR0 MACRO EXTERN ?DPS ANL ?DPS,#LOW(~(?DPMASK2 | ?DPMASK1 | ?DPMASK0)) ENDM /* ; Initial ; value ; for DPS ; 000 ; XOR 001 (0->1) ; 001 ; XOR 011 (1->2) ; 010 ; XOR 001 (2->3) ; 011 ; XOR 111 (3->4) ; 100 ; XOR 001 (4->5) ; 101 ; XOR 011 (5->6) ; 110 ; XOR 001 (6->7) ; 111 */ DPTR0_TO_DPTR1 MACRO EXTERN ?DPS #if (defined(__INC_DPSEL_SELECT__)) INC ?DPS #else XRL ?DPS,#(?DPMASK0) #endif ENDM DPTR0_TO_DPTR2 MACRO EXTERN ?DPS XRL ?DPS,#(?DPMASK1) ENDM DPTR0_TO_DPTR3 MACRO EXTERN ?DPS XRL ?DPS,#(?DPMASK1 | ?DPMASK0) ENDM DPTR0_TO_DPTR4 MACRO EXTERN ?DPS XRL ?DPS,#(?DPMASK2) ENDM DPTR0_TO_DPTR5 MACRO EXTERN ?DPS XRL ?DPS,#(?DPMASK2 | ?DPMASK0) ENDM DPTR0_TO_DPTR6 MACRO EXTERN ?DPS XRL ?DPS,#(?DPMASK2 | ?DPMASK1) ENDM DPTR0_TO_DPTR7 MACRO EXTERN ?DPS XRL ?DPS,#(?DPMASK2 | ?DPMASK1 | ?DPMASK0) ENDM DPTR1_TO_DPTR2 MACRO EXTERN ?DPS #if (defined(__INC_DPSEL_SELECT__)) INC ?DPS #else XRL ?DPS,#(?DPMASK1 | ?DPMASK0) #endif ENDM DPTR2_TO_DPTR3 MACRO EXTERN ?DPS #if (defined(__INC_DPSEL_SELECT__)) INC ?DPS #else XRL ?DPS,#(?DPMASK0) #endif ENDM DPTR3_TO_DPTR4 MACRO EXTERN ?DPS #if (defined(__INC_DPSEL_SELECT__)) INC ?DPS #else XRL ?DPS,#(?DPMASK2 | ?DPMASK1 | ?DPMASK0) #endif ENDM DPTR4_TO_DPTR5 MACRO EXTERN ?DPS #if (defined(__INC_DPSEL_SELECT__)) INC ?DPS #else XRL ?DPS,#(?DPMASK0) #endif ENDM DPTR5_TO_DPTR6 MACRO EXTERN ?DPS #if (defined(__INC_DPSEL_SELECT__)) INC ?DPS #else XRL ?DPS,#(?DPMASK1 | ?DPMASK0) #endif ENDM DPTR6_TO_DPTR7 MACRO EXTERN ?DPS #if (defined(__INC_DPSEL_SELECT__)) INC ?DPS #else XRL ?DPS,#(?DPMASK0) #endif ENDM #endif ; __NUMBER_OF_DPTRS__ > 1 /*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; $Id: iar_common.h 1.24 2005/01/26 10:21:31Z ola ADx_patch $ ; $Log: iar_common.h $ ; Revision 1.24 2005/01/26 10:21:31Z ola ; Revision 1.23 2005/01/25 09:16:45Z ola ; Revision 1.22 2004/11/17 13:00:17Z owi ; Revision 1.21 2004/11/10 08:51:14Z owi ; Revision 1.20 2003/11/26 14:06:11Z ola ; Revision 1.19 2003/11/21 10:27:22Z ola ; Revision 1.18 2003/11/11 13:03:49Z owi ; Revision 1.17 2003/10/08 09:29:57Z owi */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/iar_common.s
Motorola 68K Assembly
mpl11
5,220
/*************************************************************/ /** @file:entry.h @brief: @details: @author:Juntham @date: 2012-06-09,15:27 @note: */ /*************************************************************/ #ifndef _ENTRY_H #define _ENTRY_H #include "typedef.h" #ifdef __SMART_CPU__ _near_func void CHANGE_CODE_BANK(u8); _near_func void bank_switch(u8); _near_func void dec_delay_counter(void); _near_func void my_printf(const u8 __code *format, ...); _near_func void my_memcpy(u8 _xdata *s1, u8 _xdata *s2, u16 len); _near_func void my_memcpy_tail(u8 _xdata *s1, u8 _xdata *s2, u16 len); _near_func void my_memset(u8 _xdata *s1, u8 volume, u16 len); _near_func void delay8(u8); _near_func void delay16(u16); _near_func void delay_n10ms(u8); _near_func _monitor void put_msg_fifo(u8 msg); _near_func _monitor void put_msg_lifo(u8 msg); _near_func _monitor u8 get_msg(void); _near_func _monitor u8 get_msg_v10(void); _near_func _monitor void flush_all_msg(void); _near_func bool check_event(u8 event); _near_func void put_event(u8 event); _near_func void clear_one_event(u8 event); _near_func void clear_all_event(void); _near_func u8 get_event(void); _near_func void printf_buf(u8 _xdata *buf, u16 len); _near_func void set_putchar(void(_near_func *fun)(u8)); _near_func void set_debug_mode(bool flag); _near_func u16 get_win_buffer_address(void); _near_func u8 get_one_count(u8); _near_func u16 get_crc16(u32 num); _near_func void config_wdt(u8 dat); _near_func void SET_DAC_OFFSET(s16); _near_func bool music_detect(u8 energy); _near_func u8 dummy_func8(u8); _near_func void spi_read(void); _near_func void set_Audio_volume_V10(u8 chl, u8 chr); _near_func u16 usb_class_info_ptr(void); #endif #ifdef __IAR_SYSTEMS_ASM__ extern deg #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/common.h
C
mpl11
1,845
/*;----------------------------------------------------------------------------- ; ; File: iar_check_symbols.h ; ; Description: Consistens check for runtime library building symbols. ; ; ; REVISON INFORMATION ; ; $Revision: 1.10 $ ; ; Log information is available at the end of this file ; ;-----------------------------------------------------------------------------*/ #ifndef __CORE__ #error "You must define __CORE__" #endif #define __CORE_TINY__ 0 #define __CORE_PLAIN__ 1 #define __CORE_EXTENDED1__ 2 #ifndef __CODE_MODEL__ #error "You must define 'Code model' with: -D__CODE_MODEL__" #endif #define __CM_TINY__ 0 #define __CM_NEAR__ 1 #define __CM_BANKED__ 2 #define __CM_FAR__ 3 #ifndef __DATA_MODEL__ #error "You muste define 'data model' with: -D__DATA_MODEL__" #endif #define __DM_TINY__ 0 #define __DM_SMALL__ 1 #define __DM_LARGE__ 2 #define __DM_GENERIC__ 3 #define __DM_FAR__ 4 #ifndef __CALLING_CONVENTION__ #error "You muste define 'calling convention' with: -D__CALLING_CONVENTION__" #endif #define __CC_DO__ 0 #define __CC_IO__ 1 #define __CC_IR__ 2 #define __CC_PR__ 3 #define __CC_XR__ 4 #define __CC_ER__ 5 #ifndef __NUMBER_OF_DPTRS__ #error "You must define 'Nr of data pointers' (X) with: -D__NUMBER_OF_DPTRS__" #endif #if (__NUMBER_OF_DPTRS__ > 1) #if !( defined(__XOR_DPSEL_SELECT__) || defined(__INC_DPSEL_SELECT__) ) #error "You must define 'DPTR Select method' with: __XOR_DPSEL_SELECT__ or __INC_DPSEL_SELECT__" #endif #if !( defined(__DPTR_SHADOWED__) || defined(__DPTR_SEPARATE__) ) #error "You must define 'Visibility for DPTR SFRs' with: __DPTR_SHADOWED__ or __DPTR_SEPARATE__" #endif #endif ; __NUMBER_OF_DPTRS__ > 1 #if (__CORE__ == __CORE_EXTENDED1__) #undef __CODE_MODEL__ #undef __EXTENDED_DPTR__ #define __CODE_MODEL__ 3 #define __EXTENDED_DPTR__ 1 #endif /*;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; $Id: iar_check_symbols.h 1.10 2005/02/17 13:29:26Z ola ADx_patch larssu $ ; $Log: iar_check_symbols.h $ ; Revision 1.10 2005/02/17 13:29:26Z ola ; Revision 1.9 2005/01/25 09:16:44Z ola ; Revision 1.8 2005/01/17 08:07:59Z ola ; Revision 1.7 2003/09/24 08:46:05Z ola ; Revision 1.6 2003/09/23 15:20:16Z ola ; Revision 1.4 2003/06/26 11:23:53Z owi ; Revision 1.3 2003/06/13 07:53:42Z owi ; Revision 1.2 2003/06/03 16:29:21Z owi ; Revision 1.1 2003/05/26 14:03:48Z owi ; Initial revision */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/iar_check_symbols.s
Unix Assembly
mpl11
2,705
#define K1161_YJH_1161_1090B_V001 #ifdef K1161_YJH_1161_1090B_V001 //#define SYS_OSC_USE_ONCHIP_HTC #define MUTE_GPIO_USE_P03 #define IIC_GPIO_CLK_DATA_USE_P00_P01 #define ADKEY_GPIO_USE_P06 #define CUSTOMER_DEFINED_ADKEY_RESISTOR #define PLAY_STATUS_LED_P07 #define CUSTOM_DEFINED_PATH_AUX_AT_P24P25_RADIO_AT_P26P27 #define USE_POWER_KEY #define POWER_CTRL_GPIO_USE_P02 #define USE_BAT_MANAGEMENT #define CHARGER_DETECTION_THREAD_ENABLE #define CHARGER_DETECT_USE_P17 #define BAT_LEVEL_LED_ICON_IND #define OTP_MUSIC_FUNC_ENABLE #define Lamborghini_voice #define LED_GPIO_PORT_CUSTOMERIZED #define RADIO_PLAY_KEY_MUTE_VOL #define AUX_PLAY_KEY_MUTE_VOL #define AUX_NEXT_PREV_ADJ_VOL #define MUSIC_DISP_PAUSE_STR #define RADIO_DISP_PAUSE_STR #define AUX_DISP_PAUSE_STR #define NO_DEVICE_DEFAULT_IDLE_MODE #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/k_custom_config.h
C
mpl11
871
/*************************************************************************** * - CD002.h - * * Special header for the XX Microcontroller. * ***************************************************************************/ #ifndef _CD002_H #define _CD002_H /*************************************************************************** * - KEIL - C51 - A51 ***************************************************************************/ #ifdef __KEIL__ #ifdef __CX51__ #ifndef __C51__ #define __C51__ #endif /* __C51__ */ #endif /* __CX51__ */ #ifdef __AX51__ #ifndef __A51__ #define __A51__ #endif /* __A51__ */ #endif /* __AX51__ */ /**********Standard SFR*************/ #define SFR(reg, addr) sfr reg = addr #define SFRC(reg, addr) SFR(reg, addr) #define SFR_BIT(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) \ sfr reg = addr; \ sbit bit0 = reg^0; \ sbit bit1 = reg^1; \ sbit bit2 = reg^2; \ sbit bit3 = reg^3; \ sbit bit4 = reg^4; \ sbit bit5 = reg^5; \ sbit bit6 = reg^6; \ sbit bit7 = reg^7 #define SFR_BITC(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) \ SFR_BIT(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) #ifdef __C51__ /**********X SFR*************/ #define XSFR_ADDR(addr) (*(volatile unsigned char xdata *)(addr)) #else /**********X SFR*************/ #define XSFR_ADDR(addr) (addr) #endif /* __C51__ */ #endif /* __KEIL__ */ /*************************************************************************** * - IAR - ICC ***************************************************************************/ #ifdef __IAR_SYSTEMS_ICC__ /**********Standard SFR*************/ #define SFR(reg,addr) \ __sfr __no_init volatile unsigned char (reg) @ (addr) #define SFRC(reg,addr) SFR(reg,addr) #define SFR_BIT(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) \ __sfr __no_init volatile union \ { \ unsigned char reg; \ struct \ { \ unsigned char bit0: 1; \ unsigned char bit1: 1; \ unsigned char bit2: 1; \ unsigned char bit3: 1; \ unsigned char bit4: 1; \ unsigned char bit5: 1; \ unsigned char bit6: 1; \ unsigned char bit7: 1; \ }; \ } @ addr #define SFR_BITC(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) \ SFR_BIT(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) /**********X SFR*************/ #define XSFR_ADDR(addr) (*((volatile unsigned char __xdata *)(addr))) #ifndef _SYSTEM_BUILD #pragma system_include #endif #pragma language=extended #endif /* __IAR_SYSTEMS_ICC__ */ /*************************************************************************** * - IAR - ASM ***************************************************************************/ /*************************************************************************** * Assembler definitions * * The following SFRs are built in in the a8051.exe and can not be * defined explicitly in this file: * ACC,B,PSW,SP,DPL,DPH * The PSW-bits are built-in in the a8051.exe * OV,AC,F0,RS0,RS1,P * ***************************************************************************/ #ifdef __IAR_SYSTEMS_ASM__ #pragma language = default /**********Standard SFR*************/ #define SFR(reg,addr) reg DEFINE addr #define SFRC(reg,addr) SBIT_DEFM MACRO reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7 reg DEFINE addr bit0 DEFINE addr.0 bit1 DEFINE addr.1 bit2 DEFINE addr.2 bit3 DEFINE addr.3 bit4 DEFINE addr.4 bit5 DEFINE addr.5 bit6 DEFINE addr.6 bit7 DEFINE addr.7 ENDM #define SFR_BIT(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) \ SBIT_DEFM reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7 #define SFR_BITC(reg, addr, bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7) /**********X SFR*************/ #define XSFR_ADDR(addr) (addr) #endif /* __IAR_SYSTEMS_ASM__*/ /*************************************************************************** * SFR ***************************************************************************/ SFR_BIT(P0, 0x80, P00, P01, P02, P03, P04, P05, P06, P07); SFRC(SP , 0x81); SFR(DP0L , 0x82); SFR(DP0H , 0x83); SFR(DP1L , 0x84); SFR(DP1H , 0x85); SFR(DPCON , 0x86); SFR(SPH , 0x87); SFR(P0HD , 0x88); SFRC(SINT , 0x89); SFR(IP0L , 0x8A); SFR(IP0H , 0x8B); SFR(IP1L , 0x8C); SFR(IP1H , 0x8d); SFR(WKUPPND, 0x8e); SFR(WKUPCON, 0x8f); SFR_BIT(P1, 0x90, P10, P11, P12, P13, P14, P15, P16, P17); SFR(PWR_CON , 0x91); SFR(WDT_CON , 0x92); SFR(BANK_SEL , 0x93); SFR(PBANK , 0x94); SFR(IE1 , 0x95); SFR(IO_MC0 , 0x96); SFR(IO_MC1 , 0x97); SFR(P1HD , 0x98); SFR(SPI_BUF, 0x99); //R only SFR(P2PD, 0x9A); SFR(P3PD , 0x9B); SFR(P2PU , 0x9C); SFR(P3PU, 0x9D); SFR(SD_CON0 , 0x9E); SFR(SD_CON1 , 0x9F); SFR_BIT(P2, 0xA0, P20, P21, P22, P23, P24, P25, P26, P27); SFR(IRFLT_CON , 0xA1); SFR(P0DIR , 0xA2); SFR(P1DIR , 0xA3); SFR(P2DIR , 0xA4); SFR(P3DIR , 0xA5); SFR(LCD_CON0 , 0xA6); SFR(LCD_CON1 , 0xA7); SFR_BIT(IE0, 0xA8, ET0, ET1, ET2, ET3, ERTC, ESOF, EUSB, EA); SFR(SD_CON2 , 0xA9); SFR(DAC_CON0 , 0xAA); SFR(DAC_CON1 , 0xAB); SFR(DAC_VLML , 0xAC); //W only SFR(DAC_RDLL , 0xAC); //R only SFR(DAC_VLMR , 0xAD); //W only SFR(DAC_RDLH , 0xAD); //R only SFR(SD_CPTR , 0xAE); //W only SFR(DAC_RDRL , 0xAE); //R only SFR(SD_DPTR , 0xAF); //W only SFR(DAC_RDRH , 0xAF); //R only SFR_BIT(P3, 0xB0, P30, P31, P32, P33, P34, P35, P36, P37); SFR(P4 , 0xB1); SFR(P4DIR , 0xB2); SFR(P4PU , 0xB3); SFR(P4PD , 0xB4); SFR(P4HD , 0xB5); SFR(P2HD , 0xB6); SFR(P3HD , 0xB7); SFR(P0DIE , 0xB8); SFR(P2DIE , 0xB9); SFR(P3DIE , 0xBA); SFR(P4DIE , 0xBB); SFR(CLK_CON0 , 0xBC); SFR(CLK_CON1 , 0xBD); SFR(CLK_CON2 , 0xBE); SFR(CLK_CON3 , 0xBF); SFR(P0PU , 0xC0); SFR(UART_CON , 0xC1); SFR(UART_STA , 0xC2); SFR(UART_BUF , 0xC3); SFR(MRES0 , 0xC4); SFR(MRES1 , 0xC5); SFR(MRES2 , 0xC6); SFR(MRES3 , 0xC7); SFR(P0PD , 0xC8); SFR(RTC_BUF , 0xC9); SFR(RTC_CON0, 0xCA); SFR(RTC_CON1 , 0xCB); //W only SFR(CHIP_VERSION, 0xCB); //R only SFR(ADC_CON0 , 0xCC); SFR(ADC_CON1 , 0xCD); //W only SFR(SPI_CON, 0xCE); SFR(SPI_STA, 0xCF); SFR_BITC(PSW, 0xD0, P, Z, OV, RS0, RS1, F1, AC, CY); SFR_BIT(PSW0, 0xD0, PP, ZZ, OV1, RS00, RS11, SS, AC0, CY0); SFR(USB_CON2 , 0xD1); SFR(TMR0_CON0 , 0xD2); SFR(TMR0_CON1 , 0xD3); SFR(TMR0_CNT , 0xD4); SFR(TMR0_PRD , 0xD5); SFR(TMR0_PWM0 , 0xD6); SFR(TMR0_PWM1 , 0xD7); SFR(P1DIE , 0xD8); SFR(CRC_FIFO , 0xD9); //W only SFR(TMR1_CON0 , 0xDA); SFR(TMR1_CON1 , 0xDB); SFR(TMR1_CNT , 0xDC); SFR(TMR1_PRD , 0xDD); SFR(TMR1_PWM0 , 0xDE); SFR(TMR1_PWM1 , 0xDF); SFRC(ACC , 0xE0); SFR(CLK_GAT , 0xE1); SFR(TMR2_CON , 0xE2); SFR(TMR2_CNTL , 0xE3); SFR(TMR2_CNTH , 0xE4); SFR(TMR2_PRDL , 0xE5); SFR(TMR2_PRDH , 0xE6); SFR(USB_DAT , 0xE7); SFR(P1PU , 0xE8); SFR(USB_CON1 , 0xE9); //W only SFR(TMR3_CON , 0xEA); SFR(TMR3_CNTL , 0xEB); SFR(TMR3_CNTH , 0xEC); SFR(TMR3_PRDL , 0xED); SFR(TMR3_PRDH , 0xEE); SFR(DAA_CON1 , 0xEF); SFRC(BREG , 0xF0); SFR(HBITS , 0xF1); //W only SFR(ADC_DATL , 0xF1); //R only SFR(MP_CON0 , 0xF2); //W only SFR(ADC_DATH , 0xF2); //R only SFR(MP_CON1 , 0xF3); SFR(MP_CON2 , 0xF4); SFR(MP_CON3 , 0xF5); SFR(WPTRL , 0xF6); SFR(WPTRH , 0xF7); SFR(P1PD, 0xF8); SFR(DAA_CON2 , 0xF9); SFR(HUFF_CON0 , 0xFA); SFR(HUFF_CON1 , 0xFB); SFR(VLENL , 0xFC); SFR(VLENH , 0xFD); SFR(SFTOUTH , 0xFE); //R only SFR(SFTOUTL , 0xFF); //R only /*************************************************************************** * XSFR ***************************************************************************/ #define OTP_CMD1 XSFR_ADDR(0xFF00 + 0x00) //W only #define OTP_CMD0 XSFR_ADDR(0xFF00 + 0x01) #define OSC_DET_CON XSFR_ADDR(0xFF00 + 0x03) #define UART_BAUD XSFR_ADDR(0xFF00 + 0x04) //W only #define SD_CON3 XSFR_ADDR(0xFF00 + 0x05) //W only #define LVD_CON XSFR_ADDR(0xFF00 + 0x06) #define STACK_LMT XSFR_ADDR(0xFF00 + 0x07) //FPGA only/W only #define ISD_CON XSFR_ADDR(0xFF00 + 0x08) #define ISD_BUF XSFR_ADDR(0xFF00 + 0x09) #define ISD_ADR XSFR_ADDR(0xFF00 + 0x0a) //W only #define ISD_CNT XSFR_ADDR(0xFF00 + 0x0b) //W only #define MODE_CON XSFR_ADDR(0xFF00 + 0x0c) #define PWM4_CON XSFR_ADDR(0xFF00 + 0x0d) //W only #define CRC_REGL XSFR_ADDR(0xFF00 + 0x0e) #define CRC_REGH XSFR_ADDR(0xFF00 + 0x0f) #define USB_CON0 XSFR_ADDR(0xFF00 + 0x10) #define USB_EP0_ADR XSFR_ADDR(0xFF00 + 0x14) //W only #define USB_EP0_CNT XSFR_ADDR(0xFF00 + 0x15) //W only #define USB_EPX_CNT XSFR_ADDR(0xFF00 + 0x16) //W only #define USB_EP1TX_ADR XSFR_ADDR(0xFF00 + 0x17) //W only #define USB_EP1RX_ADR XSFR_ADDR(0xFF00 + 0x18) //W only #define EP1_RX_ADDRL XSFR_ADDR(0xFF00 + 0x17) //R only #define EP1_RX_ADDRH XSFR_ADDR(0xFF00 + 0x18) //R only #define USB_EP2TX_ADR XSFR_ADDR(0xFF00 + 0x19) //W only #define USB_EP2RX_ADR XSFR_ADDR(0xFF00 + 0x1a) //W only #define LOFC_CON XSFR_ADDR(0xFF00 + 0x20) #define LOFC_PR XSFR_ADDR(0xFF00 + 0x21) //W only #define LOFC_CNTH XSFR_ADDR(0xFF00 + 0x22) //R only #define LOFC_CNTM XSFR_ADDR(0xFF00 + 0x23) //R only #define LOFC_CNTL XSFR_ADDR(0xFF00 + 0x24) //R only #define BP_ADRL XSFR_ADDR(0xFF00 + 0x26) //W only #define BP_ADRH XSFR_ADDR(0xFF00 + 0x27) //W only #define PLL_CON0 XSFR_ADDR(0xFF00 + 0x28) //W only #define PLL_CON1 XSFR_ADDR(0xFF00 + 0x29) //W only #define PLL_CON2 XSFR_ADDR(0xFF00 + 0x2a) //W only #define SEG_EN0 XSFR_ADDR(0xFF00 + 0x2b) //W only #define SEG_EN1 XSFR_ADDR(0xFF00 + 0x2c) //W only #define DAA_CON0 XSFR_ADDR(0xFF00 + 0x30) #define DAA_CON3 XSFR_ADDR(0xFF00 + 0x33) #define DAA_CON4 XSFR_ADDR(0xFF00 + 0x34) #define DAC_TRML XSFR_ADDR(0xFF00 + 0x36) //W only #define DAC_TRMR XSFR_ADDR(0xFF00 + 0x37) //W only #define OBUF_NUM XSFR_ADDR(0xFF00 + 0x40) //R only #define OBUF_CON XSFR_ADDR(0xFF00 + 0x41) #define OBUF_DATL XSFR_ADDR(0xFF00 + 0x42) //W only, 16bit XSFR, accessable by ext instructions only #define OBUF_DATR XSFR_ADDR(0xFF00 + 0x44) //W only, 16bit XSFR, accessable by ext instructions only #define KV_DAT XSFR_ADDR(0xFF00 + 0x46) //W only, 16bit XSFR, accessable by ext instructions only #define KV_START XSFR_ADDR(0xFF00 + 0x48) //W only #define KV_END XSFR_ADDR(0xFF00 + 0x49) //W only #define KV_CNT XSFR_ADDR(0xFF00 + 0x4a) //W only #define KV_VLM XSFR_ADDR(0xFF00 + 0x4b) //W only #define IIC_CON XSFR_ADDR(0xFF00 + 0x4c) #define IIC_STA XSFR_ADDR(0xFF00 + 0x4d) #define IIC_BAUD XSFR_ADDR(0xFF00 + 0x4e) //W only #define IIC_BUF XSFR_ADDR(0xFF00 + 0x4f) #define SPI_BAUD XSFR_ADDR(0xFF00 + 0x52) //W only #define SPI_CNT XSFR_ADDR(0xFF00 + 0x54) //W only #define SPI_ADR XSFR_ADDR(0xFF00 + 0x55) //W only #define LDO_CON XSFR_ADDR(0xFF00 + 0x56) #define HTC_CON XSFR_ADDR(0xFF00 + 0x57) #endif /* _CD002_H */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/cd02.h
C
mpl11
11,568
/*;----------------------------------------------------------------------------- ; ; File: iar_cfi.h ; ; Description: Call Frame Information (CFI) macros for runtime library. ; ; REVISON INFORMATION ; ; $Revision: 1.23 $ ; ; Log information is available at the end of this file ;-----------------------------------------------------------------------------*/ #if (defined(__EXTENDED_DPTR__)) #define CFA_SPP CFA_PSP24 #define SPP PSP24 #define CFA_SPX CFA_XSP24 #define SPX XSP24 #else #define CFA_SPP CFA_PSP16 #define SPP PSP16 #define CFA_SPX CFA_XSP16 #define SPX XSP16 #endif #if (defined(__EXTENDED_STACK__)) #if (defined(__EXTENDED_DPTR__)) #define CFA_MACHINE CFA_ESP24 #define MACHINE_SP ESP24 #define MACHINE_MEM XDATA #else #define CFA_MACHINE CFA_ESP16 #define MACHINE_SP ESP16 #define MACHINE_MEM XDATA #endif ; defined(__EXTENDED_DPTR__) #else #define CFA_MACHINE CFA_SP #define MACHINE_SP SP #define MACHINE_MEM DATA #endif ; defined(__EXTENDED_STACK__) #if (__CODE_MODEL__ == __CM_FAR__) #define __SIZE_OF_RETADDR__ 3 #else #define __SIZE_OF_RETADDR__ 2 #endif /*;-------------------------------------------------------------- ; ; CFI Names macros ; ;-------------------------------------------------------------- ; register resources ;--------------------------------------------------------------*/ CFI_NAMES_DECLARE_REGISTER_RESOURCES MACRO cfi Resource A:8, B:8, PSW:8 #if (__NUMBER_OF_DPTRS__ > 1) cfi Resource DPSEL:8 #endif cfi Resource DPTR0:16 #if (__NUMBER_OF_DPTRS__ > 1) cfi Resource DPTR1:16 #endif #if (__NUMBER_OF_DPTRS__ > 2) cfi Resource DPTR2:16 #endif #if (__NUMBER_OF_DPTRS__ > 3) cfi Resource DPTR3:16 #endif #if (__NUMBER_OF_DPTRS__ > 4) cfi Resource DPTR4:16 #endif #if (__NUMBER_OF_DPTRS__ > 5) cfi Resource DPTR5:16 #endif #if (__NUMBER_OF_DPTRS__ > 6) cfi Resource DPTR6:16 #endif #if (__NUMBER_OF_DPTRS__ > 7) cfi Resource DPTR7:16 #endif cfi Resource DPL0:8 cfi Resource DPH0:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX0:8 #endif #if (__NUMBER_OF_DPTRS__ > 1) cfi Resource DPL1:8, DPH1:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX1:8 #endif #endif #if (__NUMBER_OF_DPTRS__ > 2) cfi Resource DPL2:8, DPH2:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX2:8 #endif #endif #if (__NUMBER_OF_DPTRS__ > 3) cfi Resource DPL3:8, DPH3:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX3:8 #endif #endif #if (__NUMBER_OF_DPTRS__ > 4) cfi Resource DPL4:8, DPH4:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX4:8 #endif #endif #if (__NUMBER_OF_DPTRS__ > 5) cfi Resource DPL5:8, DPH5:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX5:8 #endif #endif #if (__NUMBER_OF_DPTRS__ > 6) cfi Resource DPL6:8, DPH6:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX6:8 #endif #endif #if (__NUMBER_OF_DPTRS__ > 7) cfi Resource DPL7:8, DPH7:8 #ifdef __EXTENDED_DPTR__ cfi Resource DPX7:8 #endif #endif cfi Resource R0:8, R1:8, R2:8, R3:8, R4:8, R5:8, R6:8, R7:8 cfi Resource VB:8 cfi Resource V0:8, V1:8, V2:8, V3:8, V4:8, V5:8, V6:8, V7:8 cfi Resource V8:8, V9:8, V10:8, V11:8, V12:8, V13:8, V14:8, V15:8 cfi Resource V16:8, V17:8, V18:8, V19:8, V20:8, V21:8, V22:8, V23:8 cfi Resource V24:8, V25:8, V26:8, V27:8, V28:8, V29:8, V30:8, V31:8 cfi Resource ?V_START:8 ENDM //; return resources //;-------------------------------------------------------------- CFI_NAMES_DECLARE_RETURN_RESOURCE MACRO #if (__CODE_MODEL__ == __CM_FAR__) cfi VirtualResource ?RET:24, ?RET_LOW:8, ?RET_HIGH:8, ?RET_EXT:8 cfi ResourceParts ?RET ?RET_EXT, ?RET_HIGH, ?RET_LOW #else cfi VirtualResource ?RET:16, ?RET_LOW:8, ?RET_HIGH:8 cfi ResourceParts ?RET ?RET_HIGH, ?RET_LOW #endif ENDM //; stack resources //;-------------------------------------------------------------- CFI_NAMES_DECLARE_STACKS MACRO cfi StackFrame CFA_MACHINE MACHINE_SP MACHINE_MEM #if (defined(__EXTENDED_DPTR__)) cfi StackFrame CFA_PSP24 PSP24 XDATA cfi StackFrame CFA_XSP24 XSP24 XDATA cfi Resource PSP24:24, PSPX:8, PSPH:8, PSPL:8 cfi Resource XSP24:24, XSPX:8, XSPH:8, XSPL:8 cfi ResourceParts PSP24 PSPX, PSPH, PSPL cfi ResourceParts XSP24 XSPX, XSPH, XSPL #if (defined(__EXTENDED_STACK__)) cfi Resource MACHINE_SP:24 cfi Resource ESPX:8, ESPH:8, ESPL:8 cfi ResourceParts MACHINE_SP ESPX, ESPH, ESPL #else cfi Resource MACHINE_SP:8 #endif #else cfi StackFrame CFA_PSP16 PSP16 XDATA cfi StackFrame CFA_XSP16 XSP16 XDATA cfi Resource PSP16:16, PSPH:8, PSPL:8 cfi Resource XSP16:16, XSPH:8, XSPL:8 cfi ResourceParts PSP16 PSPH, PSPL cfi ResourceParts XSP16 XSPH, XSPL #if (defined(__EXTENDED_STACK__)) cfi Resource MACHINE_SP:16 cfi Resource ESPH:8, ESPL:8 cfi ResourceParts MACHINE_SP ESPH, ESPL #else cfi Resource MACHINE_SP:8 #endif #endif ; defined(__EXTENDED_DPTR__) ENDM //; This names block is used by all runtime library routines. //;-------------------------------------------------------------- CFI_nam: MACRO cfi NAMES cfi_names CFI_NAMES_DECLARE_REGISTER_RESOURCES() CFI_NAMES_DECLARE_STACKS() CFI_NAMES_DECLARE_RETURN_RESOURCE() cfi ENDNAMES cfi_names ENDM CFI_banked_nam: MACRO CFI NAMES cfi_banked_names CFI_NAMES_DECLARE_REGISTER_RESOURCES() CFI_NAMES_DECLARE_STACKS() cfi VirtualResource ?RET:24, ?RET_LOW:8, ?RET_HIGH:8, ?RET_EXT:8 cfi ResourceParts ?RET ?RET_EXT, ?RET_HIGH, ?RET_LOW cfi ENDNAMES cfi_banked_names ENDM CFI_pdata_enter_nam: MACRO CFI NAMES cfi_pdata_enter_names EXTENDS cfi_names CFI BASEADDRESS Base XDATA CFI FRAMECELL RETH_CELL Base(1):8 CFI FRAMECELL RETL_CELL Base(2):8 CFI ENDNAMES cfi_pdata_enter_names ENDM /*;-------------------------------------------------------------- ; ; CFI Common Macros ; ;--------------------------------------------------------------*/ CFI_COMMON_DECLARE_CORE_COMMON MACRO cfi CODEALIGN 1 cfi DATAALIGN -1 cfi ?V_START SameValue #if (defined(__EXTENDED_DPTR__)) cfi CFA_PSP24 PSP24 cfi CFA_XSP24 XSP24 cfi PSPX Undefined cfi PSPL Undefined cfi PSPH Undefined cfi XSPL Undefined cfi XSPH Undefined cfi XSPX Undefined #else cfi CFA_PSP16 PSP16 cfi CFA_XSP16 XSP16 cfi PSPL Undefined cfi PSPH Undefined cfi XSPL Undefined cfi XSPH Undefined #endif ; defined(__EXTENDED_DPTR__) #if (defined(__EXTENDED_STACK__)) cfi ESPL Undefined cfi ESPH Undefined #if (defined(__EXTENDED_DPTR__)) cfi ESPX Undefined #endif #endif cfi ?RET CONCAT ENDM CFI_COMMON_DECLARE_SAME_VALUE_FOR_ALL_REGISTERS MACRO cfi A undefined cfi B SameValue cfi PSW samevalue #if (__NUMBER_OF_DPTRS__ > 1) cfi DPSEL SameValue #endif cfi DPTR0 SameValue #if (__NUMBER_OF_DPTRS__ > 1) cfi DPTR1 SameValue #endif #if (__NUMBER_OF_DPTRS__ > 2) cfi DPTR2 SameValue #endif #if (__NUMBER_OF_DPTRS__ > 3) cfi DPTR3 SameValue #endif #if (__NUMBER_OF_DPTRS__ > 4) cfi DPTR4 SameValue #endif #if (__NUMBER_OF_DPTRS__ > 5) cfi DPTR5 SameValue #endif #if (__NUMBER_OF_DPTRS__ > 6) cfi DPTR6 SameValue #endif #if (__NUMBER_OF_DPTRS__ > 7) cfi DPTR7 SameValue #endif cfi DPL0 SameValue cfi DPH0 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX0 SameValue #endif #if (__NUMBER_OF_DPTRS__ > 1) cfi DPL1 SameValue cfi DPH1 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX1 SameValue #endif #endif #if (__NUMBER_OF_DPTRS__ > 2) cfi DPL2 SameValue cfi DPH2 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX2 SameValue #endif #endif #if (__NUMBER_OF_DPTRS__ > 3) cfi DPL3 SameValue cfi DPH3 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX3 SameValue #endif #endif #if (__NUMBER_OF_DPTRS__ > 4) cfi DPL4 SameValue cfi DPH4 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX4 SameValue #endif #endif #if (__NUMBER_OF_DPTRS__ > 5) cfi DPL5 SameValue cfi DPH5 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX5 SameValue #endif #endif #if (__NUMBER_OF_DPTRS__ > 6) cfi DPL6 SameValue cfi DPH6 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX6 SameValue #endif #endif #if (__NUMBER_OF_DPTRS__ > 7) cfi DPL7 SameValue cfi DPH7 SameValue #ifdef __EXTENDED_DPTR__ cfi DPX7 SameValue #endif #endif cfi R0 SameValue cfi R1 SameValue cfi R2 SameValue cfi R3 SameValue cfi R4 SameValue cfi R5 SameValue cfi R6 SameValue cfi R7 SameValue cfi VB SameValue cfi V0 SameValue cfi V1 SameValue cfi V2 SameValue cfi V3 SameValue cfi V4 SameValue cfi V5 SameValue cfi V6 SameValue cfi V7 SameValue cfi V8 SameValue cfi V9 SameValue cfi V10 SameValue cfi V11 SameValue cfi V12 SameValue cfi V13 SameValue cfi V14 SameValue cfi V15 SameValue cfi V16 SameValue cfi V17 SameValue cfi V18 SameValue cfi V19 SameValue cfi V20 SameValue cfi V21 SameValue cfi V22 SameValue cfi V23 SameValue cfi V24 SameValue cfi V25 SameValue cfi V26 SameValue cfi V27 SameValue cfi V28 SameValue cfi V29 SameValue cfi V30 SameValue cfi V31 SameValue ENDM CFI_COMMON_DECLARE_UNDEFINED_FOR_ALL_DPTR_REGISTERS MACRO cfi DPTR0 Undefined #if (__NUMBER_OF_DPTRS__ > 1) cfi DPTR1 Undefined #endif #if (__NUMBER_OF_DPTRS__ > 2) cfi DPTR2 Undefined #endif #if (__NUMBER_OF_DPTRS__ > 3) cfi DPTR3 Undefined #endif #if (__NUMBER_OF_DPTRS__ > 4) cfi DPTR4 Undefined #endif #if (__NUMBER_OF_DPTRS__ > 5) cfi DPTR5 Undefined #endif #if (__NUMBER_OF_DPTRS__ > 6) cfi DPTR6 Undefined #endif #if (__NUMBER_OF_DPTRS__ > 7) cfi DPTR7 Undefined #endif cfi DPL0 Undefined cfi DPH0 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX0 Undefined #endif #if (__NUMBER_OF_DPTRS__ > 1) cfi DPL1 Undefined cfi DPH1 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX1 Undefined #endif #endif #if (__NUMBER_OF_DPTRS__ > 2) cfi DPL2 Undefined cfi DPH2 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX2 Undefined #endif #endif #if (__NUMBER_OF_DPTRS__ > 3) cfi DPL3 Undefined cfi DPH3 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX3 Undefined #endif #endif #if (__NUMBER_OF_DPTRS__ > 4) cfi DPL4 Undefined cfi DPH4 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX4 Undefined #endif #endif #if (__NUMBER_OF_DPTRS__ > 5) cfi DPL5 Undefined cfi DPH5 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX5 Undefined #endif #endif #if (__NUMBER_OF_DPTRS__ > 6) cfi DPL6 Undefined cfi DPH6 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX6 Undefined #endif #endif #if (__NUMBER_OF_DPTRS__ > 7) cfi DPL7 Undefined cfi DPH7 Undefined #ifdef __EXTENDED_DPTR__ cfi DPX7 Undefined #endif #endif ENDM /*;-------------------------------------------------------------- ; ; CFI macro: COMMON block ; ; This common block is used by all runtime library routines. ; ;--------------------------------------------------------------*/ CFI_com: MACRO cfi COMMON cfi_common USING cfi_names CFI_COMMON_DECLARE_CORE_COMMON() cfi ?RET_LOW Frame(CFA_MACHINE, 1) cfi ?RET_HIGH Frame(CFA_MACHINE, 2) #if (__CODE_MODEL__ == __CM_FAR__) cfi ?RET_EXT Frame(CFA_MACHINE, 3) #endif cfi CFA_MACHINE MACHINE_SP - __SIZE_OF_RETADDR__ cfi RETURNADDRESS ?RET CODE CFI_COMMON_DECLARE_SAME_VALUE_FOR_ALL_REGISTERS() cfi ENDCOMMON cfi_common ENDM CFI_banked_com: MACRO cfi COMMON cfi_banked_common USING cfi_banked_names CFI_COMMON_DECLARE_CORE_COMMON() cfi ?RET_LOW Frame(CFA_MACHINE, 1) cfi ?RET_HIGH Frame(CFA_MACHINE, 2) cfi ?RET_EXT Frame(CFA_MACHINE, 3) // cfi ?RET_EXT load(1, SFR, 0x90) cfi CFA_MACHINE MACHINE_SP - 3 cfi RETURNADDRESS ?RET CODE CFI_COMMON_DECLARE_SAME_VALUE_FOR_ALL_REGISTERS() cfi ENDCOMMON cfi_banked_common ENDM CFI_pdata_enter_com: MACRO cfi COMMON cfi_pdata_enter_common USING cfi_pdata_enter_names CFI_COMMON_DECLARE_CORE_COMMON() cfi CFA_MACHINE sub(sub(MACHINE_SP,__SIZE_OF_RETADDR__),__SIZE_OF_RETADDR__) cfi Base SPP cfi RETL_CELL Frame(CFA_MACHINE, 1, 1) cfi RETH_CELL Frame(CFA_MACHINE, 2, 1) #if (__CORE__ == __CORE_EXTENDED1__) CFI ?RET_LOW Frame(CFA_MACHINE, 3, 1) CFI ?RET_HIGH Frame(CFA_MACHINE, 4, 1) CFI ?RET_EXT Frame(CFA_MACHINE, 5, 1) #else CFI ?RET_LOW Frame(CFA_MACHINE, 3, 1) CFI ?RET_HIGH Frame(CFA_MACHINE, 4, 1) #endif cfi RETURNADDRESS ?RET CODE CFI_COMMON_DECLARE_SAME_VALUE_FOR_ALL_REGISTERS() cfi ENDCOMMON cfi_pdata_enter_common ENDM //////////////////////////////////////////////////////////////////////////////////////// // EXPORT above macros //////////////////////////////////////////////////////////////////////////////////////// CFI_nam CFI_banked_nam CFI_pdata_enter_nam CFI_com CFI_banked_com CFI_pdata_enter_com //////////////////////////////////////////////////////////////////////////////////////// /* * CFI Macro: cfi_DATA_BLOCK_start name * cfi_DATA_BLOCK_end name * * Parameter: name Name of data block * * Description: Call Frame Information Data Block */ cfi_DATA_BLOCK_start MACRO name cfi block \1 using cfi_common cfi nofunction cfi_OFFSET SET 0 ENDM cfi_DATA_BLOCK_end MACRO name IF cfi_OFFSET #error "Non-zero offset on cfi data block end" ELSE cfi endblock \1 ENDIF ENDM /* * CFI Macro: cfi_STACK_ALLOC bytes * * Parameter: bytes Number of bytes to allocate * * Description: Allocate word on stack */ cfi_STACK_ALLOC: MACRO bytes cfi_OFFSET SET cfi_OFFSET + bytes cfi CFA_MACHINE MACHINE_SP - (__SIZE_OF_RETADDR__ + cfi_OFFSET) ENDM /* * CFI Macro: cfi_STACK_DEALL bytes * * Parameter: bytes Number of bytes to deallocate * * Description: Deallocate word from stack */ cfi_STACK_DEALL: MACRO bytes cfi_OFFSET SET cfi_OFFSET - bytes IF (cfi_OFFSET + __SIZE_OF_RETADDR__) < 0 #ifndef __IAR_SYSTEMS_ICC__ /* Let it accept preprocessing by compiler */ #error "Negative size on cfi deallocate" #endif ELSEIF cfi_OFFSET cfi CFA_MACHINE MACHINE_SP - (__SIZE_OF_RETADDR__ + cfi_OFFSET) ELSE cfi CFA_MACHINE MACHINE_SP - __SIZE_OF_RETADDR__ ENDIF ENDM /* * CFI Macro: cfi_PUSH_REG reg offset * * Parameter: reg Register to push * offset Stack offset of pushed register * * Description: Move reg to stack */ cfi_PUSH_REG: MACRO reg cfi_STACK_ALLOC 1 cfi reg frame(CFA_MACHINE, __SIZE_OF_RETADDR__ + cfi_OFFSET) ENDM /* * CFI Macro: cfi_SET_REG reg_from, reg_to * * Parameter: reg_from Register to move from * reg_to Register to move to or 'samevalue' * * Description: Move from REG to REG (samevalue) */ cfi_SET_REG: MACRO reg_from, reg_to cfi reg_from reg_to ENDM /* * CFI Macro: cfi_REMEMBER_STATE * * Parameter: no State number to remember * * Description: Remember state */ cfi_REMEMBER_STATE: MACRO no cfi rememberstate cfi_OFFSET_\1 SET cfi_OFFSET ENDM /* * CFI Macro: cfi_RESTORE_STATE * * Parameter: no State number to restore * * Description: Restore state */ cfi_RESTORE_STATE: MACRO no cfi restorestate cfi_OFFSET SET cfi_OFFSET_\1 ENDM cfi_PUSH_ISTACK_RET_DEFS_CONST_DEPEND: MACRO constant #if (defined(__EXTENDED_STACK__)) cfi ?RET_LOW load(1, XDATA, sub(CFA_MACHINE, sub(constant,1))) cfi ?RET_HIGH load(1, XDATA, sub(CFA_MACHINE, sub(constant,2))) #else cfi ?RET_LOW load(1, IDATA, sub(CFA_MACHINE, sub(constant,1))) cfi ?RET_HIGH load(1, IDATA, sub(CFA_MACHINE, sub(constant,2))) #endif #if (__CORE__ == __CORE_EXTENDED1__) #if (defined(__EXTENDED_STACK__)) cfi ?RET_EXT load(1, XDATA, sub(CFA_MACHINE, sub(constant,3))) #else cfi ?RET_EXT load(1, IDATA, sub(CFA_MACHINE, sub(constant,3))) #endif #endif ENDM cfi_PUSH_ISTACK_RET_DEFS_REG_DEPEND: MACRO reg #if (defined(__EXTENDED_STACK__)) cfi ?RET_LOW load(1, XDATA, sub(CFA_MACHINE, sub(reg,1))) cfi ?RET_HIGH load(1, XDATA, sub(CFA_MACHINE, sub(reg,2))) #else cfi ?RET_LOW load(1, IDATA, sub(CFA_MACHINE, sub(reg,1))) cfi ?RET_HIGH load(1, IDATA, sub(CFA_MACHINE, sub(reg,2))) #endif #if (__CORE__ == __CORE_EXTENDED1__) #if (defined(__EXTENDED_STACK__)) cfi ?RET_EXT load(1, XDATA, sub(CFA_MACHINE, sub(reg,3))) #else cfi ?RET_EXT load(1, IDATA, sub(CFA_MACHINE, sub(reg,3))) #endif #endif ENDM /*; ; Revision control system ; $Id: iar_cfi.h 1.23 2005/03/04 10:29:57Z owi ADx_patch $ ; $Log: iar_cfi.h $ ; Revision 1.23 2005/03/04 10:29:57Z owi ; Revision 1.22 2004/11/22 15:15:12Z owi ; Revision 1.21 2004/11/18 13:55:17Z owi ; Revision 1.20 2004/11/16 16:41:06Z owi ; Revision 1.19 2004/11/10 16:31:02Z owi ; Revision 1.18 2004/11/10 08:51:14Z owi ; Revision 1.17 2004/09/16 08:02:35Z owi ; Revision 1.16 2004/03/15 16:45:32Z owi ; Revision 1.15 2004/03/15 13:15:28Z owi ; Revision 1.14 2004/03/12 15:46:22Z owi ; Revision 1.13 2004/01/27 15:19:11Z owi ; Revision 1.12 2004/01/27 13:57:41Z owi ; Revision 1.11 2003/10/23 11:17:37Z owi ; Revision 1.10 2003/10/08 08:51:25Z owi */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/common/iar_cfi.s
Unix Assembly
mpl11
20,081
#ifndef _RTC_MODE_H_ #define _RTC_MODE_H_ #include "config.h" #ifdef __IAR_SYSTEMS_ICC__ void RTC_mode(void); void IRTC_init(void); #endif /* __IAR_SYSTEMS_ICC__ */ #endif /* _RTC_MODE_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/RTC/RTC_Mode.h
C
mpl11
219
/*************************************************************/ /** @file:hot_msg.h @brief: @details: @author:Juntham @date: 2012-06-13,8:53 @note: */ /*************************************************************/ #ifndef _HOT_MSG_ #define _HOT_MSG_ #include "config.h" #ifdef __SMART_CPU__ void ap_handle_hotkey(u8 key); extern u16 _data input_number; #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/key_msg/hot_msg.h
C
mpl11
415
#include "custom_config.h" #ifdef USE_BAT_MANAGEMENT #ifdef BAT_MEASURE_USE_ADC_PORT #else #define _5V 0xC000 #define _4V2 0xA100 #define _3V7 0x8E00 #define _3V3 0x8200 #endif u8 const _code adc_bat_volt[]={ 0x82, /// below 3V3 0x83, /// 3V3 0x8E, /// 3V7 0xA1, //// 4V2 0xA6, //CHARGE_FULL 4V3 }; enum { BAT_LEVEL_DEAD, BAT_LEVEL_ALERT, BAT_LEVEL_LOW, BAT_LEVEL_FULL, BAT_LEVEL_CHRG_OVER, }; #define LOW_BAT_POWER_VALID_CNT 20 #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/key_msg/adc_bat_level.h
C
mpl11
505
/*************************************************************/ /** @file:misc_hdlr_if.h @brief: @details: @author: @date: 2012-06-13,8:53 @note: */ /*************************************************************/ #include "custom_config.h" #ifndef _MISC_HDLR_IF_ #define _MISC_HDLR_IF_ #include "config.h" #include "main.h" #define POWER_KEY_HOLD_VALID_TIME_SEC 2 typedef enum { #ifdef AUX_DETECTION_THREAD_ENABLE AUX_PLUG_THREAD, #endif #ifdef PHONE_DETECTION_THREAD_ENABLE PHONE_PLUG_THREAD, #endif #ifdef CHARGER_DETECTION_THREAD_ENABLE CHARGER_PLUG_THREAD, #endif OTHER_THREAD, }EVENT_ID; #ifdef AUX_DETECTION_THREAD_ENABLE #define AUX_THREAD 1 #else #define AUX_THREAD 0 #endif #ifdef PHONE_DETECTION_THREAD_ENABLE #define PHONE_THREAD 1 #else #define PHONE_THREAD 0 #endif #ifdef CHARGER_DETECTION_THREAD_ENABLE #define CHARGER_THREAD 1 #else #define CHARGER_THREAD 0 #endif #define MAX_EVENT_LIST (AUX_THREAD+PHONE_THREAD+CHARGER_THREAD) #if MAX_EVENT_LIST #define EVENT_DETECTION_THREAD_HDLR #endif typedef enum { SYS_PWR_ON, SYS_PWR_OFF, SYS_PWR_IDLE, }SYS_PWR_HDLR; typedef enum { LED_SPARK_ON, LED_SPARK_VERY_FAST, LED_SPARK_FAST, LED_SPARK_NOR, LED_SPARK_SLOW, LED_SPARK_STOP, }LED_SPARK_TYPE; typedef enum { PA_UNMUTE, PA_MUTE, PA_SUPERMUTE, }MUTE_TYPE; typedef enum { I_FUNC, O_FUNC, S_FUNC, F_FUNC, }FUNC_CMD; #ifdef __SMART_CPU__ void ext_pa_mute(MUTE_TYPE M_Type); void init_func_list(void); u8 func_msg_hdlr(FUNC_CMD Func_CMD,u8 func_msg); void adc_channel_init(u8 adc_port); void detect_event_func_init(); void detect_event_func_register( EVENT_ID thread_id, bool event_trig_levl, //bool *event_protect, u8 msg_in,u8 msg_out, void (*init)(),bool (*gpio_level)(),void (*release)(),bool (*gpio_protect)() ); void detect_event_func_hdlr(void); bool get_event_detect_status(EVENT_ID thread_id); void event_50ms_hdlr(void); #if defined(USE_POWER_KEY) || defined(USE_POWER_IDLE_MODE) void power_key_hdlr(SYS_PWR_HDLR pwr_cmd); #endif #endif u8 get_ir_key_index(u8 ir_code); #ifdef IR_UART_DEBUG void debug_ir_func(void); #endif #ifdef ADKEY_UART_DEBUG void debug_adkey_func(void); #endif #ifdef AD_DETECT_FUNC bool ad_detect_hdlr(u16 adc_value); #endif #ifndef NO_PLAY_STATUS_LED void play_status_led_hdlr(void); #endif void set_play_status_led(LED_SPARK_TYPE led_status); void activate_pop_noise_hdlr(void); void pop_noise_handler(void); void event_halfsecond_hdlr(u8 msg); #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/key_msg/misc_hdlr_if.h
C
mpl11
2,670
#ifndef _CLOCK_H #define _CLOCK_H #include "config.h" ///*----------------------------------------------------------- //////osc_out_sel #define RTC_OSC 0 #define P00P01_OSC 1 /////pll_in_sel #define PLLIN_32K 0 #define PLLIN_HTC (1 << 4) #define PLLIN_RTC_12M (2 << 4) #define PLLIN_P00P01_12M (3 << 4) /////system_clk_prein #define PRE_SYSCLK_RTC_CLK 0 #define PRE_SYSCLK_RC256K 1 #define PRE_SYSCLK_HTC_CLK 2 #define PRE_SYSCLK_PLL_CLK 3 /////system_clk_sel #define SYSCLK_RC256K 0 #define SYSCLK_MAIN_CLK 1 /////P05 config #define P05_OSC_CLK (0 << 2) #define P05_SYS_CLK (1 << 2) #define P05_HTC_CLK (2 << 2) #define P05_PLL_CLK (3 << 2) #define P05_NORMAL_IO (4 << 2) #define SYSTEM_MAIN_CLK 0x0 #define SYSTEM_CLK_DECELERATE 0x1 #define SYS_IDLE(X) PWR_CON &= ~BIT(0);PWR_CON |= ((X & 0X1)<<0) #define SYS_STANDBY(X) PWR_CON &= ~BIT(1);PWR_CON |= ((X & 0X1)<<1) #define SYS_SLEEP(X) PWR_CON &= ~BIT(2);PWR_CON |= ((X & 0X1)<<2) #ifdef __ICC8051__ _monitor void pll_init(void); _near_func void pll_nrnf_cfg(u16 nr, u16 nf); _near_func void system_clk_div(u8 div); _near_func void otp_clk_div2(bool en); _near_func void P05_config(u8 cfg); _near_func void Timer0_init(u8 sys_clk); void check_htc_otp(void); void check_htc_32k(void); void check_htc_12M(void); bool check_htc_sof(u8 timeout); #endif #ifdef __IAR_SYSTEMS_ASM__ //extern pll_init #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/src/clock.h
C
mpl11
1,587
cd ..\link_hex del myoutotp.bin.fw maker -c image.cfg download.bat
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex6L/make.bat
Batchfile
mpl11
69
isd_download.exe -f %1myoutotp.bin.fw -toram -osc 32K -w 200 -dev jieliide -chiptype cd002 -isdtype 9line
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex6L/download.bat
Batchfile
mpl11
111
%~d0 cd %~p0 Hex -tohex -s 0x0000 -l 0x4000 -b 8 -f 0xff -e release\exe\app.hex link_hex6L\app.hex del release\exe\app.hex cd link_hex6L make.bat cd..
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_release.bat
Batchfile
mpl11
156
copy ..\link_hex6L\info.txt .\ /y cd ..\link_hex del myoutotp.bin.fw maker -c image.cfg download.bat
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex2L/make.bat
Batchfile
mpl11
104
isd_download.exe -f %1myoutotp.bin.fw -toram -osc 32K -w 2000 -dev jieliide -chiptype cd002 -isdtype 2line -fpga
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/link_hex2L/download.bat
Batchfile
mpl11
121
%~d0 cd %~p0 Hex -tohex -s 0x0000 -l 0x8000 -b 8 -f 0xff -e .\debug\exe\app.hex .\link_hex2L\app.hex del .\debug\exe\app.hex cd link_hex2L make.bat cd..
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_debug.bat
Batchfile
mpl11
158
%~d0 cd %~p0 @rem del .\src\AC109N_lib.r51 copy .\src\AC109N_releaseB.r51 .\src\AC109N_lib.r51 /y cd..
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_lib_release.bat
Batchfile
mpl11
109
%~d0 cd %~p0 @rem del .\src\AC109N_lib.r51 copy .\src\AC109N_debugB.r51 .\src\AC109N_lib.r51 /y cd..
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_B_SDK/make_lib_debug.bat
Batchfile
mpl11
110
%~d0 cd %~p0 @rem del .\src\AC109N_lib.r51 copy .\src\AC109N_releaseB.r51 .\src\AC109N_lib.r51 /y cd..
109a-cd-pros
trunk/109a-cd-pros/main_root/doc/AC109N 版本升级/make_lib_release.bat
Batchfile
mpl11
109
%~d0 cd %~p0 @rem del .\src\AC109N_lib.r51 copy .\src\AC109N_debugB.r51 .\src\AC109N_lib.r51 /y cd..
109a-cd-pros
trunk/109a-cd-pros/main_root/doc/AC109N 版本升级/make_lib_debug.bat
Batchfile
mpl11
110
/*************************************************************/ /** @file:voice_play.h @brief: @details: @author:Juntham @date: 2012-08-02,13:46 @note: */ /*************************************************************/ #ifndef __VOICE_PLAY_H__ #define __VOICE_PLAY_H__ #include "config.h" #ifdef __SMART_CPU__ bool voice_play_by_index(u16 index); #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/doc/APP_AC109N_005/music/play_voice.h
C
mpl11
405
/*************************************************************/ /** @file:voice_table.h @brief: @details: @author:Juntham @date: 2012-08-02,14:26 @note: */ /*************************************************************/ #ifndef __VOICE_TABLE_H__ #define __VOICE_TABLE_H__ #include "config.h" #ifdef __SMART_CPU__ typedef struct _voicetable { u8 const _code * table_addr; u16 table_len; }voicetable; #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/doc/APP_AC109N_005/music/voice_table.h
C
mpl11
473
/*************************************************************/ /** @file:voice_talbe.c @brief: @details: @author:Juntham @date: 2012-08-02,14:28 @note: */ /*************************************************************/ #include "voice_table.h" u8 const voicetable_0[] AT(OTP_VOICE) = { /* 0xBD, 0xDC, 0xC0, 0xED, 0x01, 0x86, 0x00, 0x00, 0x1B, 0x04, 0x48, 0x4E, 0xB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xBD, 0x91, 0xC2, 0x98, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xC6, 0x20, 0xE8, 0x25, 0x14, 0xF1, 0xF6, 0x42, 0xD6, 0xE4, 0x53, 0xE6, 0xC9, 0x42, 0xB1, 0x92, 0xFC, 0x12, 0x7D, 0xED, 0xC8, 0x5F, 0xF9, 0xE5, 0x7A, 0x2B, 0x22, 0x6F, 0xDF, 0xDE, 0x78, 0x13, 0x5F, 0x72, 0xBB, 0xFD, 0xA7, 0xFF, 0xEE, 0xFD, 0x3C, 0x97, 0x20, 0x1E, 0xFF, 0xCB, 0x88, 0x09, 0xFF, 0xF2, 0xC0, 0xF8, 0xFF, 0xE3, 0x18, 0xC0, 0x9A, 0x0C, 0xDB, 0x36, 0xB1, 0x90, 0x68, 0x05, 0x84, 0x85, 0xE1, 0x25, 0x2F, 0xAA, 0x5A, 0xD6, 0xDD, 0x5B, 0xE8, 0x70, }; const voicetable _code voice_main_table[11] AT(OTP_VOICE) = { /* 0 */ { voicetable_0 , sizeof(voicetable_0 )}, };
109a-cd-pros
trunk/109a-cd-pros/main_root/doc/APP_AC109N_005/music/voice_table.c
C
mpl11
16,606
/*************************************************************/ /** @file:break_point.h @brief: @details: @author:Juntham @date: 2012-07-25,15:24 @note: */ /*************************************************************/ #ifndef __BREAK_POINT_H__ #define __BREAK_POINT_H__ #include "config.h" #ifdef __SMART_CPU__ void clear_music_break_point(u8 dev); void save_music_break_point(u8 dev); void save_music_break_point_rtc_ram(u8 dev); _bool load_music_break_point(u8 dev); void load_music_last_file(u8 dev); void save_music_break_point_halfsec_refresh(u8 dev); #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/music/break_point.h
C
mpl11
620
#ifndef _UI_COMMON_H_ #define _UI_COMMON_H_ void itoa1(u8 i); void itoa2(u8 i); void itoa3(u16 i); void itoa4(u16 i); extern const u8 asc_number[]; extern _no_init u8 _data bcd_number[5]; #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/UI/UI_common.h
C
mpl11
212
/*************************************************************/ /** @file:main.h @brief: @details: @author:Juntham @date: 2012-06-13,8:43 @note: */ /*************************************************************/ #ifndef _MAIN_ #define _MAIN_ #include "config.h" #ifdef __SMART_CPU__ typedef enum { ///MUSIC_MODE = 0, SYS_USB_MODE, SYS_SD_MODE, SYS_RADIO_MODE, SYS_AUX_MODE, #ifdef RTC_EN SYS_RTC_MODE, #endif SYS_BLUETOOTH_MODE, #ifdef IPOD_MODE_ENABLE SYS_IPOD_MODE, #endif SYS_IDLE_MODE, #ifdef USB_DEVICE_EN SYS_USB_DEVICE_MODE, #endif SYS_PWR_OFF_MODE, MAX_WORK_MODE = SYS_IDLE_MODE, }ENUM_WORK_MODE; extern _no_init bool _bit Sys_Volume; extern _no_init bool _bit Sys_IRInput; extern _no_init bool _bit Sys_HalfSec; extern _no_init bool _bit alm_on_flag; extern _no_init bool _bit set_sd_clk; extern ENUM_WORK_MODE _data work_mode; extern u8 _data main_vol_L, main_vol_R; extern void (_near_func * _pdata int_enter_pro[16])(void); #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/main.h
C
mpl11
1,097
#ifndef _LINE_IN_MODE_H_ #define _LINE_IN_MODE_H_ #include "config.h" #ifdef __IAR_SYSTEMS_ICC__ void Line_in_mode(void); #endif /* __IAR_SYSTEMS_ICC__ */ #endif /* _LINE_IN_MODE_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/Line_in_mode.h
C
mpl11
210
#include "custom_config.h" #ifdef BLUE_TOOTH_UART_FUNC #include "bluetooth_mode.h" #include "uart.h" #include "main.h" #include "config.h" #include "clock.h" #include "msg.h" #include "blue_tooth_msg_if.h" bool bt_frame_rev_finished=0; xd_u8 uart_rev=0; xd_u8 rev_phase=0,rev_length=0; xd_u8 rev_cmd[7]={0}; #define EN_UART_MASK 0x01 #define INT_UART_MASK 0x08 #define UART_AT_P06P07 0x00 #define UART_AT_P24P25 0x40 #define UART_AT_P32P33 0x80 #define UART_AT_DPDM 0xC0 #ifdef BLUE_TOOTH_UART_BAUDRATE_AT_9600 #define BAUDRATE_9600 0x10 #else #define BAUDRATE_9600 0x00 #endif //#define BLUETOOTH_UART_DRV_DEBUG #define UART_REG (INT_UART_MASK|EN_UART_MASK|BAUDRATE_9600) _near_func __root void uart_isr(void) AT(COMMON_CODE) { uart_rev = UART_BUF; UART_STA &= ~(BIT(6)); UART_STA |=BIT(4); if((uart_rev==0xAA)&&(rev_phase==0)){ rev_phase=1; } if(rev_phase>0){ rev_cmd[rev_phase-1]=uart_rev; rev_phase++; if(rev_phase>7){ rev_phase=0; bt_frame_rev_finished=1; } } else{ rev_phase=0; } } void blue_tooth_uart_init(void) { system_clk_div(CLK_24M); int_enter_pro[INT_UART_BRK] = uart_isr; #ifdef BLUE_TOOTH_UART_AT_DPDM USB_CON0 = 0x11; USB_CON2 &= ~(BIT(1)); P3PU &= ~((BIT(6))|(BIT(7))); P3PD &= ~((BIT(6))|(BIT(7))); P3DIR &= ~(BIT(6)); P3DIR |= (BIT(7)); IO_MC0 |= (BIT(7) | BIT(6)); #elif defined(BLUE_TOOTH_UART_AT_P24P25) P2DIR &= ~(BIT(4)); P2DIR |= BIT(5); P2PU &= ~(BIT(3)); P2PD &= ~(BIT(3)); P2DIR |= BIT(3); IO_MC0 |= BIT(6); #elif defined(BLUE_TOOTH_UART_AT_P32P33) P3DIR &= ~BIT(2); P3DIR |= BIT(3); IO_MC0 |= BIT(7); #else P0PU &= ~((BIT(6))|(BIT(7))); P0PD &= ~((BIT(6))|(BIT(7))); P0DIR &= ~(BIT(6)); /* P06 for transmit */ P0DIR |= (BIT(7)); /* P07 for receive */ IO_MC0 &=~(BIT(7) | BIT(6)); #endif #ifdef BLUE_TOOTH_UART_BAUDRATE_AT_9600 UART_BAUD = 0x38 ; #else UART_BAUD = 0x9C; //12MHZ_19200: 0x4E ; #endif UART_CON = UART_REG; /* enable uart */ #ifdef BLUETOOTH_UART_DRV_DEBUG my_puts("blue_tooth_uart_init \r\n"); #endif delay_n10ms(1); } void blue_tooth_uart_release(void) { UART_CON = 0x00; } #define REV_CMD_LEN BT_STATUS_MAX u8 const _code BT_REV_CMD[REV_CMD_LEN][7] = { 0xAA ,0x00 ,0x03 ,0x01 ,0x02 ,0x00 ,0xFA, //Power on 0xAA ,0x00 ,0x03 ,0x01 ,0x01 ,0x00 ,0xFB, // In pairing mode 0xAA ,0x00 ,0x03 ,0x01 ,0x03 ,0x00 ,0xF9, //Pairing completed 0xAA ,0x00 ,0x03 ,0x01 ,0x06 ,0x00 ,0xF6, //|| A connect A2DP 0xAA ,0x00 ,0x03 ,0x01 ,0x0B ,0x00 ,0xF1, //|| A connect AVRCP 0xAA ,0x00 ,0x03 ,0x01 ,0x05 ,0x00 ,0xF7, //|| A connect HF 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x02 ,0xF9, //|| Call incoming.. 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x03 ,0xF8, //|| Outgoing call 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x00 ,0xFB, //|| No Call.. 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x04 ,0xF7, //|| Call active.. 0xAA ,0x00 ,0x03 ,0x01 ,0x08 ,0x00 ,0xF4, // A disconnect A2DP 0xAA ,0x00 ,0x03 ,0x01 ,0x0C ,0x00 ,0xF0, // A disconnect AVRCP 0xAA ,0x00 ,0x02 ,0x00 ,0x02 ,0xFC ,0xAA, //|| ACK 0xAA ,0x00 ,0x03 ,0x0F ,0x0F ,0x00 ,0xDF, // DEVICE START PLAY }; #define AT_CMD_LEN (BT_CMD_SET_MAX) u8 const _code BT_AT_CMD[AT_CMD_LEN][7] = { 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x32 ,0xC9, //PLAY 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x34 ,0xC7, // NEXT 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x35 ,0xC6, //PREV 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x30 ,0xCB, //V + 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x31 ,0xCA, //V - 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x36 ,0xC5, //FF 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x37 ,0xC4, // FR 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x33 ,0xC8, //STOP 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x3B ,0xC0, // DISCONNEXT 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x50 ,0xAB, // entern piaring mode 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x5D ,0x9E, // fast pairing mode 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x04 ,0xF7, // answer call 0xAA ,0x00 ,0x03 ,0x02 ,0x00 ,0x06 ,0xF5, // end call }; void promt_bt_cmd(AT_PROMPT_CMD cmd) { u8 i=0; if(cmd<AT_CMD_LEN){ //UTCON = 0x01; for(i=0;i<7;i++){ putbyte(BT_AT_CMD[cmd][i]); } //UTCON = 0x09; } } #ifdef BLUE_TOOTH_CONFIG_DEV_NAME /* AA 00 06 05 49 50 30 30 32 CA checksum: 0xCA =0 - (00+0x06+0x05+0x49+0x50+0x30+0x30+0x32) */ u8 const _code bt_dev_name[]= { #ifdef JK_IBT40_1094A_V001 0xAA ,0x00 ,0x06 ,0x05 ,0x49 ,0x42 ,0x54 ,0x34 ,0x30 ,0xB2, //IBT40 #endif #ifdef JK_IBT_388_1096A_V001 0xAA ,0x00 ,0x07 ,0x05 ,0x49 ,0x42 ,0x54 ,0x33 ,0x38 ,0x38,0x72, #endif }; void config_dev_name(void) { u8 i=0; for(i=0;i<(sizeof(bt_dev_name));i++){ putbyte(bt_dev_name[i]); } } #endif xd_u8 parse_i=0; u8 bluetooth_cmd_parse(void) { u8 i=0xFF,j=0; u8 rev_reg[5]={0}; //UART_CON = (UART_REG&(~INT_UART_MASK)); /* enable uart */ my_memcpy(rev_reg,rev_cmd+2,5); #ifdef BLUETOOTH_UART_DRV_DEBUG my_puts(" "); for(j=0;j<5;j++) my_printf("--->rev data %x \r\n",(u16)rev_reg[j]); #endif parse_i=rev_reg[0]+1; for(i=0;i<REV_CMD_LEN;i++){ for(j=0;j<parse_i;){ if(rev_reg[j]!=BT_REV_CMD[i][2+j]){ j=0; break; } j++; } if(j==parse_i){ break; } } if(j==0){ i= 0xFF; } //UART_CON = UART_REG; return i; } void bluetooth_rev_msg_hdlr(void) { u8 rev_cmd=0,cmd_idx=0; if(bt_frame_rev_finished){ bt_frame_rev_finished = 0; rev_cmd = bluetooth_cmd_parse(); #ifdef BLUETOOTH_UART_DRV_DEBUG my_printf(" ---------> %x \r\n",(u16)rev_cmd); #endif if(rev_cmd!= 0xFF){ for(cmd_idx = 0;cmd_idx < (sizeof(bt_rev_msg)/2);cmd_idx++){ if(bt_rev_msg[cmd_idx].bt_cmd == rev_cmd){ #ifdef BLUETOOTH_UART_DRV_DEBUG my_printf("rev msg %x \r\n",(u16)cmd_idx); #endif put_msg_fifo(bt_rev_msg[cmd_idx].sys_msg); } } } } } void bluetooth_promt_msg_hdlr(u8 key_msg) { u8 cmd_idx =0; if(key_msg >= MSG_HALF_SECOND)return; if(key_msg!= NO_MSG){ for(cmd_idx = 0;cmd_idx < (sizeof(bt_promt_msg)/2);cmd_idx++){ if(bt_promt_msg[cmd_idx].sys_msg == key_msg){ #ifdef BLUETOOTH_UART_DRV_DEBUG my_printf("bluetooth_promt_msg_hdlr cmd_idx %x \r\n",(u16)cmd_idx); #endif promt_bt_cmd((AT_PROMPT_CMD)(bt_promt_msg[cmd_idx].bt_cmd)); } } } } #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/blue_tooth_uart_drv.c
C
mpl11
6,673
#include "custom_config.h" #ifdef BLUE_TOOTH_UART_FUNC #include "bluetooth_mode.h" #include "uart.h" #include "main.h" #include "config.h" #include "clock.h" #include "msg.h" #include "gpio_if.h" xd_u8 bt_led_status=0; void set_led_status(u8 statu_cmd) { bt_led_status = statu_cmd; } #ifdef BLUE_TOOTH_STATUS_LED_PARTTERN bool bt_led_spark=0; void blue_tooth_status_led_init(void) { BLUE_TOOTH_STATUS_LED_INIT(); BLUE_TOOTH_STATUS_LED_OFF(); BLUE_TOOTH_CALL_STATUS_OFF(); bt_led_status = 0x86; } void blue_tooth_status_led_hdlr(void) { if((bt_led_status&0x80)>0){ bt_led_status--; if((bt_led_status&0x0F)==0){ bt_led_status = BT_STA_LED_SDBY; set_play_status_led(LED_SPARK_STOP); BLUE_TOOTH_STATUS_LED_OFF(); } } else if(bt_led_status==BT_STA_LED_PAIR){ bt_led_spark=1-bt_led_spark; if(bt_led_spark){ BLUE_TOOTH_CALL_STATUS_OFF(); BLUE_TOOTH_STATUS_LED_ON(); } else{ BLUE_TOOTH_CALL_STATUS_ON(); BLUE_TOOTH_STATUS_LED_OFF(); } } else if(bt_led_status==BT_STA_LED_CALL){ bt_led_spark=1-bt_led_spark; if(bt_led_spark){ BLUE_TOOTH_CALL_STATUS_OFF(); } else{ BLUE_TOOTH_CALL_STATUS_ON(); } BLUE_TOOTH_STATUS_LED_OFF(); } else if(bt_led_status==BT_STA_LED_SDBY){ bt_led_spark=1-bt_led_spark; if(bt_led_spark){ BLUE_TOOTH_STATUS_LED_ON(); } else{ BLUE_TOOTH_STATUS_LED_OFF(); } BLUE_TOOTH_CALL_STATUS_OFF(); } else if(bt_led_status==BT_STA_LED_PLAY){ BLUE_TOOTH_STATUS_LED_ON(); BLUE_TOOTH_CALL_STATUS_OFF(); } else if(bt_led_status==BT_STA_LED_INCOMING){ BLUE_TOOTH_STATUS_LED_ON(); BLUE_TOOTH_CALL_STATUS_ON(); } else if(bt_led_status==BT_STA_LED_IDLE){ BLUE_TOOTH_CALL_STATUS_OFF(); BLUE_TOOTH_STATUS_LED_OFF(); } } #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/blue_tooth_msg_if.c
C
mpl11
1,961
#ifndef _BLUETOOTH_MODE_H_ #define _BLUETOOTH_MODE_H_ #include "config.h" enum { BT_STA_STOP, BT_STA_PAUSE, BT_STA_PLAY, BT_STA_MASK=0x80, }; typedef enum { BT_POWER_ON, BT_PAIR_MODE, BT_PAIRED, BT_CONECTED_A2DP, BT_CONECTED_AVRCP, BT_CONECTED_HF, BT_INCOMING_CALL, BT_OUTGOING_CALL, BT_CALL_DROP, BT_CALL_ACTIVE, BT_DISCONECT_A2DP, BT_DISCONECT_AVRCP, BT_ACK, BT_DEV_ISSUE_PLAY, BT_STATUS_MAX, }AT_REV_CMD; typedef enum { BT_PLAY, BT_NEXT, BT_PREV, BT_VOL_P, BT_VOL_M, BT_FAST_FARWORD, BT_REWIND, BT_STOP, BT_DISPAIR, BT_ENTER_PAIRING_MODE, BT_FAST_PAIRING_MODE, BT_ANSWER_CALL, BT_END_CALL, BT_CMD_SET_MAX, }AT_PROMPT_CMD; enum { CALL_IDLE, INCOMING_CALL, OUTGOING_CALL, CALL_ACTIVE, }; enum{ BT_STA_LED_IDLE, BT_STA_LED_SDBY, BT_STA_LED_PAIR, BT_STA_LED_INCOMING, BT_STA_LED_CALL, BT_STA_LED_PLAY, BT_STA_LED_PAUSE, BT_STA_LED_ON = 0x86, }; typedef struct{ u8 bt_cmd; u8 sys_msg; }BT_MSG; #ifdef __IAR_SYSTEMS_ICC__ void bluetooth_main(void); u8 get_blue_tooth_connect_status(void); #endif /* __IAR_SYSTEMS_ICC__ */ #endif /* _LINE_IN_MODE_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/bluetooth_mode.h
C
mpl11
1,220
#ifndef _IPOD_MODE_H_ #define _IPOD_MODE_H_ #include "config.h" #ifdef __IAR_SYSTEMS_ICC__ void ipod_main(void); #endif /* __IAR_SYSTEMS_ICC__ */ #endif /* _LINE_IN_MODE_H_ */
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/ipod_mode.h
C
mpl11
201
#include "custom_config.h" #ifndef _BLUE_TOOTH_MSG_IF_H_ #define _BLUE_TOOTH_MSG_IF_H_ #ifdef BLUE_TOOTH_UART_FUNC #include "bluetooth_mode.h" #include "uart.h" #include "main.h" #include "config.h" #include "clock.h" #include "msg.h" BT_MSG const _code bt_rev_msg[]= { //BT_PAIR_MODE, MSG_BT_PAIRING, BT_CONECTED_A2DP, MSG_BT_CONNECTED, BT_CONECTED_AVRCP, MSG_BT_CONNECTED, BT_DISCONECT_A2DP, MSG_BT_REPAIRING, BT_DISCONECT_AVRCP, MSG_BT_REPAIRING, BT_INCOMING_CALL, MSG_BT_INCOMING_CALL, BT_OUTGOING_CALL, MSG_BT_OUTGOING_CALL, BT_CALL_DROP, MSG_BT_DROP_CALL, BT_CALL_ACTIVE, MSG_BT_ACTIVE_CALL, }; BT_MSG const _code bt_promt_msg[]= { BT_PLAY, MSG_MUSIC_PP, BT_NEXT, MSG_MUSIC_NEXT_FILE, BT_PREV, MSG_MUSIC_PREV_FILE, //BT_VOL_P, MSG_VOL_UP, //BT_VOL_M, MSG_VOL_DOWN, //BT_FAST_FARWORD, MSG_MUSIC_FF, //BT_REWIND, MSG_MUSIC_FR, BT_STOP, MSG_MUSIC_STOP, BT_DISPAIR, MSG_BT_PAIRING, BT_FAST_PAIRING_MODE, MSG_BT_REPAIRING, BT_ANSWER_CALL, MSG_BT_ANSWER_CALL, BT_END_CALL, MSG_BT_END_CALL, }; #endif #endif
109a-cd-pros
trunk/109a-cd-pros/main_root/AC109N_SDK/src/line_in/blue_tooth_msg_if.h
C
mpl11
1,157