Home
last modified time | relevance | path

Searched refs:otherUid (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java392 final int otherUid = android.os.Process.myUid() + 1; in testSetCallingWorkSourceUid() local
393 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()
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettingsTest.java357 final int otherUid = myUid + 1; in testCheckWriteSettingsOperation() local
359 Settings.checkAndNoteWriteSettingsOperation(getContext(), otherUid, callingPackage, in testCheckWriteSettingsOperation() local
361 fail("Expect SecurityException because uid " + otherUid + " do not belong to " in testCheckWriteSettingsOperation()