Searched refs:getUidForName (Results 1 – 5 of 5) sorted by relevance
28 assertEquals(Process.BLUETOOTH_UID, Process.getUidForName("bluetooth")); in testProcessGetUidFromName()29 assertEquals(Process.FIRST_APPLICATION_UID, Process.getUidForName("u0_a0")); in testProcessGetUidFromName()32 Process.getUidForName("u2_i0")); in testProcessGetUidFromName()34 Process.getUidForName("u2_i9000")); in testProcessGetUidFromName()36 Process.getUidForName("u3_a100")); in testProcessGetUidFromName()41 assertEquals(-1, Process.getUidForName("u2a_foo")); in testProcessGetUidFromNameFailure()42 assertEquals(-1, Process.getUidForName("u1_abcdef")); in testProcessGetUidFromNameFailure()43 assertEquals(-1, Process.getUidForName("u23")); in testProcessGetUidFromNameFailure()44 assertEquals(-1, Process.getUidForName("u2_i34a")); in testProcessGetUidFromNameFailure()45 assertEquals(-1, Process.getUidForName("akjhwiuefhiuhsf")); in testProcessGetUidFromNameFailure()[all …]
971 public static final native int getUidForName(String name); in getUidForName() method in Process
827 int uid = Process.getUidForName(uidStr); in readPermissionsFromXml()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
33613 method public static final int getUidForName(String);