FileDocCategorySizeDatePackage
FallbackCheckinService.javaAPI DocAndroid 1.5 API2373Wed May 06 22:42:00 BST 2009com.android.server

FallbackCheckinService

public final class FallbackCheckinService extends ICheckinService.Stub
hide

Fields Summary
static final String
TAG
final android.content.Context
mContext
Constructors Summary
public FallbackCheckinService(android.content.Context context)

    
       
        mContext = context;
    
Methods Summary
public booleancheckin()

        return false;  // failure, because not implemented
    
public voidgetParentalControlState(android.os.IParentalControlCallback p, java.lang.String requestingApp)

        ParentalControlState state = new ParentalControlState();
        state.isEnabled = false;
        p.onResult(state);
    
public voidmasterClear()

        if (mContext.checkCallingOrSelfPermission("android.permission.MASTER_CLEAR") !=
                PackageManager.PERMISSION_GRANTED) {
            Log.e(TAG, "Permission Denial: can't invoke masterClear from "
                    + "pid=" + Binder.getCallingPid() + ", "
                    + "uid=" + Binder.getCallingUid());
            return;
        }

        // Save the android ID so the new system can get it erased.
        try {
            RecoverySystem.rebootAndWipe();
        } catch (IOException e) {
            Log.e(TAG, "Reboot for masterClear() failed", e);
        }
    
public voidreportCrashAsync(byte[] crashData)

    
public voidreportCrashSync(byte[] crashData)