Searched defs:setUid (Results 1 - 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DBinderUtil.java29 public static void setUid(int uid) { method in class:BinderUtil
H A DBinderUtilTest.java55 * Test using {@link BinderUtil.setUid} to set and restore the Binder uid.
58 public void setUid() { method in class:BinderUtilTest
63 // Verify that setUid() can be used to fake the Binder uid without affecting the pid.
64 BinderUtil.setUid(FAKE_UID);
68 // Verify that setUid() can be used to restore the original Binder uid without affecting the
70 BinderUtil.setUid(uid);
76 * Test using {@link BinderUtil.setUid} to set the Binder uid and
85 // Verify that setUid() can be used to fake the Binder uid without affecting the pid.
86 BinderUtil.setUid(FAKE_UID);
90 // Verify that the setUid() call
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyGenParameterSpec.java690 public Builder setUid(int uid) { method in class:KeyGenParameterSpec.Builder
/frameworks/base/core/java/android/os/
H A DProcess.java1169 public static final native int setUid(int uid); method in class:Process

Completed in 133 milliseconds