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);
}
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;
}
}
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);
}
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);
}
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;
}
}
Aggregations