Search in sources :

Example 6 with HandlerCaller

use of com.android.internal.os.HandlerCaller in project android_frameworks_base by DirtyUnicorns.

the class VoiceInteractionSessionService method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    mSystemService = IVoiceInteractionManagerService.Stub.asInterface(ServiceManager.getService(Context.VOICE_INTERACTION_MANAGER_SERVICE));
    mHandlerCaller = new HandlerCaller(this, Looper.myLooper(), mHandlerCallerCallback, true);
}
Also used : HandlerCaller(com.android.internal.os.HandlerCaller)

Example 7 with HandlerCaller

use of com.android.internal.os.HandlerCaller in project android_frameworks_base by ResurrectionRemix.

the class PrintSpoolerService method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    mHandlerCaller = new HandlerCaller(this, getMainLooper(), new HandlerCallerCallback(), false);
    mPersistanceManager = new PersistenceManager();
    mNotificationController = new NotificationController(PrintSpoolerService.this);
    mCustomIconCache = new CustomPrinterIconCache(getCacheDir());
    synchronized (mLock) {
        mPersistanceManager.readStateLocked();
        handleReadPrintJobsLocked();
    }
    synchronized (sLock) {
        sInstance = this;
    }
}
Also used : HandlerCaller(com.android.internal.os.HandlerCaller)

Example 8 with HandlerCaller

use of com.android.internal.os.HandlerCaller in project android_frameworks_base by ResurrectionRemix.

the class VoiceInteractionSessionService method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    mSystemService = IVoiceInteractionManagerService.Stub.asInterface(ServiceManager.getService(Context.VOICE_INTERACTION_MANAGER_SERVICE));
    mHandlerCaller = new HandlerCaller(this, Looper.myLooper(), mHandlerCallerCallback, true);
}
Also used : HandlerCaller(com.android.internal.os.HandlerCaller)

Example 9 with HandlerCaller

use of com.android.internal.os.HandlerCaller in project android_frameworks_base by crdroidandroid.

the class VoiceInteractionSessionService method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    mSystemService = IVoiceInteractionManagerService.Stub.asInterface(ServiceManager.getService(Context.VOICE_INTERACTION_MANAGER_SERVICE));
    mHandlerCaller = new HandlerCaller(this, Looper.myLooper(), mHandlerCallerCallback, true);
}
Also used : HandlerCaller(com.android.internal.os.HandlerCaller)

Example 10 with HandlerCaller

use of com.android.internal.os.HandlerCaller in project android_frameworks_base by crdroidandroid.

the class PrintSpoolerService method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    mHandlerCaller = new HandlerCaller(this, getMainLooper(), new HandlerCallerCallback(), false);
    mPersistanceManager = new PersistenceManager();
    mNotificationController = new NotificationController(PrintSpoolerService.this);
    mCustomIconCache = new CustomPrinterIconCache(getCacheDir());
    synchronized (mLock) {
        mPersistanceManager.readStateLocked();
        handleReadPrintJobsLocked();
    }
    synchronized (sLock) {
        sInstance = this;
    }
}
Also used : HandlerCaller(com.android.internal.os.HandlerCaller)

Aggregations

HandlerCaller (com.android.internal.os.HandlerCaller)10