Search in sources :

Example 1 with IDropBoxManagerService

use of com.android.internal.os.IDropBoxManagerService in project android_frameworks_base by ParanoidAndroid.

the class ContextImpl method createDropBoxManager.

/* package */
static DropBoxManager createDropBoxManager() {
    IBinder b = ServiceManager.getService(DROPBOX_SERVICE);
    IDropBoxManagerService service = IDropBoxManagerService.Stub.asInterface(b);
    if (service == null) {
        // DROPBOX_SERVICE is registered.
        return null;
    }
    return new DropBoxManager(service);
}
Also used : DropBoxManager(android.os.DropBoxManager) IBinder(android.os.IBinder) IDropBoxManagerService(com.android.internal.os.IDropBoxManagerService)

Example 2 with IDropBoxManagerService

use of com.android.internal.os.IDropBoxManagerService in project XobotOS by xamarin.

the class ContextImpl method createDropBoxManager.

/* package */
static DropBoxManager createDropBoxManager() {
    IBinder b = ServiceManager.getService(DROPBOX_SERVICE);
    IDropBoxManagerService service = IDropBoxManagerService.Stub.asInterface(b);
    if (service == null) {
        // DROPBOX_SERVICE is registered.
        return null;
    }
    return new DropBoxManager(service);
}
Also used : DropBoxManager(android.os.DropBoxManager) IBinder(android.os.IBinder) IDropBoxManagerService(com.android.internal.os.IDropBoxManagerService)

Aggregations

DropBoxManager (android.os.DropBoxManager)2 IBinder (android.os.IBinder)2 IDropBoxManagerService (com.android.internal.os.IDropBoxManagerService)2