Searched refs:otherUid (Results 1 – 2 of 2) sorted by relevance
392 final int otherUid = android.os.Process.myUid() + 1; in testSetCallingWorkSourceUid() local393 assertFalse(Binder.getCallingWorkSourceUid() == otherUid); in testSetCallingWorkSourceUid()395 final long token = Binder.setCallingWorkSourceUid(otherUid); in testSetCallingWorkSourceUid()396 assertTrue(Binder.getCallingWorkSourceUid() == otherUid); in testSetCallingWorkSourceUid()399 assertFalse(Binder.getCallingWorkSourceUid() == otherUid); in testSetCallingWorkSourceUid()
357 final int otherUid = myUid + 1; in testCheckWriteSettingsOperation() local359 Settings.checkAndNoteWriteSettingsOperation(getContext(), otherUid, callingPackage, in testCheckWriteSettingsOperation() local361 fail("Expect SecurityException because uid " + otherUid + " do not belong to " in testCheckWriteSettingsOperation()