Home
last modified time | relevance | path

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

/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpEventCollectionTest.kt61 private val otherUid: Int constant in android.app.appops.cts.AppOpEventCollectionTest
75 otherUid = otherAppInfo.uid
293 .noteProxyOp(OPSTR_RESERVED_FOR_TESTING, otherPkg, otherUid, null, null) in noteFromTwoProxiesAndVerifyProxyInfo()
302 .noteProxyOp(OPSTR_RESERVED_FOR_TESTING, otherPkg, otherUid, null, null) in noteFromTwoProxiesAndVerifyProxyInfo()
304 val opEntry = getOpEntry(otherUid, otherPkg, OPSTR_RESERVED_FOR_TESTING)!! in noteFromTwoProxiesAndVerifyProxyInfo()
347 … val start = firstAttrManager.startProxyOpNoThrow(OPSTR_RESERVED_FOR_TESTING, otherUid, otherPkg, in startStopTrustedProxyVerifyRunningAndTime()
353 with(getOpEntry(otherUid, otherPkg, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopTrustedProxyVerifyRunningAndTime()
371 firstAttrManager.finishProxyOp(OPSTR_RESERVED_FOR_TESTING, otherUid, otherPkg, null) in startStopTrustedProxyVerifyRunningAndTime()
376 val opEntry = getOpEntry(otherUid, otherPkg, OPSTR_RESERVED_FOR_TESTING)!! in startStopTrustedProxyVerifyRunningAndTime()
405 … secondAttrManager.startProxyOpNoThrow(OPSTR_RESERVED_FOR_TESTING, otherUid, otherPkg, null, null) in startStopUntrustedProxyVerifyRunningAndTime()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java251 final int otherUid = android.os.Process.myUid() + 1; in testSetCallingWorkSourceUid() local
252 assertFalse(Binder.getCallingWorkSourceUid() == otherUid); in testSetCallingWorkSourceUid()
254 final long token = Binder.setCallingWorkSourceUid(otherUid); in testSetCallingWorkSourceUid()
255 assertTrue(Binder.getCallingWorkSourceUid() == otherUid); in testSetCallingWorkSourceUid()
258 assertFalse(Binder.getCallingWorkSourceUid() == otherUid); in testSetCallingWorkSourceUid()
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettingsTest.java365 final int otherUid = myUid + 1; in testCheckWriteSettingsOperation() local
367 Settings.checkAndNoteWriteSettingsOperation(getContext(), otherUid, sPackageName, in testCheckWriteSettingsOperation() local
369 fail("Expect SecurityException because uid " + otherUid + " do not belong to " in testCheckWriteSettingsOperation()