package com.android.internal.policy;
public interface IKeyguardService extends android.os.IInterface
{
public static abstract class Stub extends android.os.Binder implements com.android.internal.policy.IKeyguardService
{
private static final java.lang.String DESCRIPTOR = "com.android.internal.policy.IKeyguardService";
public Stub()
{
this.attachInterface(this, DESCRIPTOR);
}
public static com.android.internal.policy.IKeyguardService asInterface(android.os.IBinder obj)
{
if ((obj==null)) {
return null;
}
android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR);
if (((iin!=null)&&(iin instanceof com.android.internal.policy.IKeyguardService))) {
return ((com.android.internal.policy.IKeyguardService)iin);
}
return new com.android.internal.policy.IKeyguardService.Stub.Proxy(obj);
}
@Override public android.os.IBinder asBinder()
{
return this;
}
@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags) throws android.os.RemoteException
{
java.lang.String descriptor = DESCRIPTOR;
switch (code)
{
case INTERFACE_TRANSACTION:
{
reply.writeString(descriptor);
return true;
}
case TRANSACTION_setOccluded:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
boolean _arg1;
_arg1 = (0!=data.readInt());
this.setOccluded(_arg0, _arg1);
return true;
}
case TRANSACTION_addStateMonitorCallback:
{
data.enforceInterface(descriptor);
com.android.internal.policy.IKeyguardStateCallback _arg0;
_arg0 = com.android.internal.policy.IKeyguardStateCallback.Stub.asInterface(data.readStrongBinder());
this.addStateMonitorCallback(_arg0);
return true;
}
case TRANSACTION_verifyUnlock:
{
data.enforceInterface(descriptor);
com.android.internal.policy.IKeyguardExitCallback _arg0;
_arg0 = com.android.internal.policy.IKeyguardExitCallback.Stub.asInterface(data.readStrongBinder());
this.verifyUnlock(_arg0);
return true;
}
case TRANSACTION_dismiss:
{
data.enforceInterface(descriptor);
com.android.internal.policy.IKeyguardDismissCallback _arg0;
_arg0 = com.android.internal.policy.IKeyguardDismissCallback.Stub.asInterface(data.readStrongBinder());
java.lang.CharSequence _arg1;
if ((0!=data.readInt())) {
_arg1 = android.text.TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(data);
}
else {
_arg1 = null;
}
this.dismiss(_arg0, _arg1);
return true;
}
case TRANSACTION_onDreamingStarted:
{
data.enforceInterface(descriptor);
this.onDreamingStarted();
return true;
}
case TRANSACTION_onDreamingStopped:
{
data.enforceInterface(descriptor);
this.onDreamingStopped();
return true;
}
case TRANSACTION_onStartedGoingToSleep:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
this.onStartedGoingToSleep(_arg0);
return true;
}
case TRANSACTION_onFinishedGoingToSleep:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
boolean _arg1;
_arg1 = (0!=data.readInt());
this.onFinishedGoingToSleep(_arg0, _arg1);
return true;
}
case TRANSACTION_onStartedWakingUp:
{
data.enforceInterface(descriptor);
this.onStartedWakingUp();
return true;
}
case TRANSACTION_onFinishedWakingUp:
{
data.enforceInterface(descriptor);
this.onFinishedWakingUp();
return true;
}
case TRANSACTION_onScreenTurningOn:
{
data.enforceInterface(descriptor);
com.android.internal.policy.IKeyguardDrawnCallback _arg0;
_arg0 = com.android.internal.policy.IKeyguardDrawnCallback.Stub.asInterface(data.readStrongBinder());
this.onScreenTurningOn(_arg0);
return true;
}
case TRANSACTION_onScreenTurnedOn:
{
data.enforceInterface(descriptor);
this.onScreenTurnedOn();
return true;
}
case TRANSACTION_onScreenTurningOff:
{
data.enforceInterface(descriptor);
this.onScreenTurningOff();
return true;
}
case TRANSACTION_onScreenTurnedOff:
{
data.enforceInterface(descriptor);
this.onScreenTurnedOff();
return true;
}
case TRANSACTION_setKeyguardEnabled:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.setKeyguardEnabled(_arg0);
return true;
}
case TRANSACTION_onSystemReady:
{
data.enforceInterface(descriptor);
this.onSystemReady();
return true;
}
case TRANSACTION_doKeyguardTimeout:
{
data.enforceInterface(descriptor);
android.os.Bundle _arg0;
if ((0!=data.readInt())) {
_arg0 = android.os.Bundle.CREATOR.createFromParcel(data);
}
else {
_arg0 = null;
}
this.doKeyguardTimeout(_arg0);
return true;
}
case TRANSACTION_setSwitchingUser:
{
data.enforceInterface(descriptor);
boolean _arg0;
_arg0 = (0!=data.readInt());
this.setSwitchingUser(_arg0);
return true;
}
case TRANSACTION_setCurrentUser:
{
data.enforceInterface(descriptor);
int _arg0;
_arg0 = data.readInt();
this.setCurrentUser(_arg0);
return true;
}
case TRANSACTION_onBootCompleted:
{
data.enforceInterface(descriptor);
this.onBootCompleted();
return true;
}
case TRANSACTION_startKeyguardExitAnimation:
{
data.enforceInterface(descriptor);
long _arg0;
_arg0 = data.readLong();
long _arg1;
_arg1 = data.readLong();
this.startKeyguardExitAnimation(_arg0, _arg1);
return true;
}
case TRANSACTION_onShortPowerPressedGoHome:
{
data.enforceInterface(descriptor);
this.onShortPowerPressedGoHome();
return true;
}
default:
{
return super.onTransact(code, data, reply, flags);
}
}
}
private static class Proxy implements com.android.internal.policy.IKeyguardService
{
private android.os.IBinder mRemote;
Proxy(android.os.IBinder remote)
{
mRemote = remote;
}
@Override public android.os.IBinder asBinder()
{
return mRemote;
}
public java.lang.String getInterfaceDescriptor()
{
return DESCRIPTOR;
}
@Override public void setOccluded(boolean isOccluded, boolean animate) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((isOccluded)?(1):(0)));
_data.writeInt(((animate)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setOccluded, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void addStateMonitorCallback(com.android.internal.policy.IKeyguardStateCallback callback) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeStrongBinder((((callback!=null))?(callback.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_addStateMonitorCallback, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void verifyUnlock(com.android.internal.policy.IKeyguardExitCallback callback) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeStrongBinder((((callback!=null))?(callback.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_verifyUnlock, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void dismiss(com.android.internal.policy.IKeyguardDismissCallback callback, java.lang.CharSequence message) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeStrongBinder((((callback!=null))?(callback.asBinder()):(null)));
if ((message!=null)) {
_data.writeInt(1);
android.text.TextUtils.writeToParcel(message, _data, 0);
}
else {
_data.writeInt(0);
}
mRemote.transact(Stub.TRANSACTION_dismiss, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onDreamingStarted() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onDreamingStarted, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onDreamingStopped() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onDreamingStopped, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onStartedGoingToSleep(int reason) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(reason);
mRemote.transact(Stub.TRANSACTION_onStartedGoingToSleep, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onFinishedGoingToSleep(int reason, boolean cameraGestureTriggered) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(reason);
_data.writeInt(((cameraGestureTriggered)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_onFinishedGoingToSleep, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onStartedWakingUp() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onStartedWakingUp, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onFinishedWakingUp() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onFinishedWakingUp, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onScreenTurningOn(com.android.internal.policy.IKeyguardDrawnCallback callback) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeStrongBinder((((callback!=null))?(callback.asBinder()):(null)));
mRemote.transact(Stub.TRANSACTION_onScreenTurningOn, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onScreenTurnedOn() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onScreenTurnedOn, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onScreenTurningOff() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onScreenTurningOff, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onScreenTurnedOff() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onScreenTurnedOff, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void setKeyguardEnabled(boolean enabled) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((enabled)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setKeyguardEnabled, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onSystemReady() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onSystemReady, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void doKeyguardTimeout(android.os.Bundle options) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
if ((options!=null)) {
_data.writeInt(1);
options.writeToParcel(_data, 0);
}
else {
_data.writeInt(0);
}
mRemote.transact(Stub.TRANSACTION_doKeyguardTimeout, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void setSwitchingUser(boolean switching) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(((switching)?(1):(0)));
mRemote.transact(Stub.TRANSACTION_setSwitchingUser, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void setCurrentUser(int userId) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(userId);
mRemote.transact(Stub.TRANSACTION_setCurrentUser, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onBootCompleted() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onBootCompleted, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void startKeyguardExitAnimation(long startTime, long fadeoutDuration) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeLong(startTime);
_data.writeLong(fadeoutDuration);
mRemote.transact(Stub.TRANSACTION_startKeyguardExitAnimation, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
@Override public void onShortPowerPressedGoHome() throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
try {
_data.writeInterfaceToken(DESCRIPTOR);
mRemote.transact(Stub.TRANSACTION_onShortPowerPressedGoHome, _data, null, android.os.IBinder.FLAG_ONEWAY);
}
finally {
_data.recycle();
}
}
}
static final int TRANSACTION_setOccluded = (android.os.IBinder.FIRST_CALL_TRANSACTION + 0);
static final int TRANSACTION_addStateMonitorCallback = (android.os.IBinder.FIRST_CALL_TRANSACTION + 1);
static final int TRANSACTION_verifyUnlock = (android.os.IBinder.FIRST_CALL_TRANSACTION + 2);
static final int TRANSACTION_dismiss = (android.os.IBinder.FIRST_CALL_TRANSACTION + 3);
static final int TRANSACTION_onDreamingStarted = (android.os.IBinder.FIRST_CALL_TRANSACTION + 4);
static final int TRANSACTION_onDreamingStopped = (android.os.IBinder.FIRST_CALL_TRANSACTION + 5);
static final int TRANSACTION_onStartedGoingToSleep = (android.os.IBinder.FIRST_CALL_TRANSACTION + 6);
static final int TRANSACTION_onFinishedGoingToSleep = (android.os.IBinder.FIRST_CALL_TRANSACTION + 7);
static final int TRANSACTION_onStartedWakingUp = (android.os.IBinder.FIRST_CALL_TRANSACTION + 8);
static final int TRANSACTION_onFinishedWakingUp = (android.os.IBinder.FIRST_CALL_TRANSACTION + 9);
static final int TRANSACTION_onScreenTurningOn = (android.os.IBinder.FIRST_CALL_TRANSACTION + 10);
static final int TRANSACTION_onScreenTurnedOn = (android.os.IBinder.FIRST_CALL_TRANSACTION + 11);
static final int TRANSACTION_onScreenTurningOff = (android.os.IBinder.FIRST_CALL_TRANSACTION + 12);
static final int TRANSACTION_onScreenTurnedOff = (android.os.IBinder.FIRST_CALL_TRANSACTION + 13);
static final int TRANSACTION_setKeyguardEnabled = (android.os.IBinder.FIRST_CALL_TRANSACTION + 14);
static final int TRANSACTION_onSystemReady = (android.os.IBinder.FIRST_CALL_TRANSACTION + 15);
static final int TRANSACTION_doKeyguardTimeout = (android.os.IBinder.FIRST_CALL_TRANSACTION + 16);
static final int TRANSACTION_setSwitchingUser = (android.os.IBinder.FIRST_CALL_TRANSACTION + 17);
static final int TRANSACTION_setCurrentUser = (android.os.IBinder.FIRST_CALL_TRANSACTION + 18);
static final int TRANSACTION_onBootCompleted = (android.os.IBinder.FIRST_CALL_TRANSACTION + 19);
static final int TRANSACTION_startKeyguardExitAnimation = (android.os.IBinder.FIRST_CALL_TRANSACTION + 20);
static final int TRANSACTION_onShortPowerPressedGoHome = (android.os.IBinder.FIRST_CALL_TRANSACTION + 21);
}
public void setOccluded(boolean isOccluded, boolean animate) throws android.os.RemoteException;
public void addStateMonitorCallback(com.android.internal.policy.IKeyguardStateCallback callback) throws android.os.RemoteException;
public void verifyUnlock(com.android.internal.policy.IKeyguardExitCallback callback) throws android.os.RemoteException;
public void dismiss(com.android.internal.policy.IKeyguardDismissCallback callback, java.lang.CharSequence message) throws android.os.RemoteException;
public void onDreamingStarted() throws android.os.RemoteException;
public void onDreamingStopped() throws android.os.RemoteException;
public void onStartedGoingToSleep(int reason) throws android.os.RemoteException;
public void onFinishedGoingToSleep(int reason, boolean cameraGestureTriggered) throws android.os.RemoteException;
public void onStartedWakingUp() throws android.os.RemoteException;
public void onFinishedWakingUp() throws android.os.RemoteException;
public void onScreenTurningOn(com.android.internal.policy.IKeyguardDrawnCallback callback) throws android.os.RemoteException;
public void onScreenTurnedOn() throws android.os.RemoteException;
public void onScreenTurningOff() throws android.os.RemoteException;
public void onScreenTurnedOff() throws android.os.RemoteException;
public void setKeyguardEnabled(boolean enabled) throws android.os.RemoteException;
public void onSystemReady() throws android.os.RemoteException;
public void doKeyguardTimeout(android.os.Bundle options) throws android.os.RemoteException;
public void setSwitchingUser(boolean switching) throws android.os.RemoteException;
public void setCurrentUser(int userId) throws android.os.RemoteException;
public void onBootCompleted() throws android.os.RemoteException;
public void startKeyguardExitAnimation(long startTime, long fadeoutDuration) throws android.os.RemoteException;
public void onShortPowerPressedGoHome() throws android.os.RemoteException;
}