use of com.android.internal.os.HandlerCaller in project platform_frameworks_base by android.
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 platform_frameworks_base by android.
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 AOSPA.
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 AOSPA.
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 DirtyUnicorns.
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