public class UidDetailProvider extends Object
TrafficStats.UID_TETHERING
and UserInfo
.Modifier and Type | Field and Description |
---|---|
static int |
OTHER_USER_RANGE_START |
Constructor and Description |
---|
UidDetailProvider(Context context) |
Modifier and Type | Method and Description |
---|---|
static int |
buildKeyForUser(int userHandle) |
void |
clearCache() |
UidDetail |
getUidDetail(int uid,
boolean blocking)
Resolve best descriptive label for the given UID.
|
static int |
getUserIdForKey(int key) |
static boolean |
isKeyForUser(int key) |
public static final int OTHER_USER_RANGE_START
public UidDetailProvider(Context context)
public static int buildKeyForUser(int userHandle)
public static boolean isKeyForUser(int key)
public static int getUserIdForKey(int key)
public void clearCache()
public UidDetail getUidDetail(int uid, boolean blocking)