Search in sources :

Example 6 with UserManagerService

use of com.android.server.pm.UserManagerService in project android_frameworks_base by crdroidandroid.

the class UserController method getUserManager.

private UserManagerService getUserManager() {
    UserManagerService userManager = mUserManager;
    if (userManager == null) {
        IBinder b = ServiceManager.getService(Context.USER_SERVICE);
        userManager = mUserManager = (UserManagerService) IUserManager.Stub.asInterface(b);
    }
    return userManager;
}
Also used : IBinder(android.os.IBinder) UserManagerService(com.android.server.pm.UserManagerService)

Aggregations

UserManagerService (com.android.server.pm.UserManagerService)6 IBinder (android.os.IBinder)5 UserInfo (android.content.pm.UserInfo)1 Resources (android.content.res.Resources)1 TypedArray (android.content.res.TypedArray)1 XmlResourceParser (android.content.res.XmlResourceParser)1 StorageVolume (android.os.storage.StorageVolume)1 AttributeSet (android.util.AttributeSet)1 File (java.io.File)1 IOException (java.io.IOException)1 XmlPullParserException (org.xmlpull.v1.XmlPullParserException)1