Searched refs:getUidForName (Results 1 – 6 of 6) sorted by relevance
38 assertEquals(android.os.Process.SYSTEM_UID, Process.getUidForName("system")); in testProcessGetUidFromName()39 assertEquals(Process.BLUETOOTH_UID, Process.getUidForName("bluetooth")); in testProcessGetUidFromName()40 assertEquals(Process.FIRST_APPLICATION_UID, Process.getUidForName("u0_a0")); in testProcessGetUidFromName()41 assertEquals(UserHandle.getUid(1, Process.SYSTEM_UID), Process.getUidForName("u1_system")); in testProcessGetUidFromName()43 Process.getUidForName("u2_i0")); in testProcessGetUidFromName()45 Process.getUidForName("u2_i9000")); in testProcessGetUidFromName()47 Process.getUidForName("u3_a100")); in testProcessGetUidFromName()53 assertEquals(-1, Process.getUidForName("u2a_foo")); in testProcessGetUidFromNameFailure()54 assertEquals(-1, Process.getUidForName("u1_abcdef")); in testProcessGetUidFromNameFailure()55 assertEquals(-1, Process.getUidForName("u23")); in testProcessGetUidFromNameFailure()[all …]
1061 public static final native int getUidForName(String name); in getUidForName() method in Process
894 int uid = Process.getUidForName(uidStr); in readPermissionsFromXml()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
22187 method public static final int getUidForName(java.lang.String);
33731 method public static final int getUidForName(String);