Home | History | Annotate | Download | only in wifi

Lines Matching defs:uid

55      * Test using {@link BinderUtil.setUid} to set and restore the Binder uid.
60 final int uid = Binder.getCallingUid();
61 assertFalse(uid == FAKE_UID);
63 // Verify that setUid() can be used to fake the Binder uid without affecting the pid.
68 // Verify that setUid() can be used to restore the original Binder uid without affecting the
70 BinderUtil.setUid(uid);
72 assertEquals(uid, Binder.getCallingUid());
76 * Test using {@link BinderUtil.setUid} to set the Binder uid and
82 final int uid = Binder.getCallingUid();
83 assertFalse(uid == FAKE_UID);
85 // Verify that setUid() can be used to fake the Binder uid without affecting the pid.
93 assertEquals(uid, Binder.getCallingUid());