Searched refs:sid (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | ZygotePreload.java | 30 static private boolean testSetResUidGidBlocked(int rid, int eid, int sid, in testSetResUidGidBlocked() argument 32 boolean blocked = SeccompDeviceTest.testSetresuidBlocked(rid, eid, sid); in testSetResUidGidBlocked() 36 + Integer.toString(eid) + "," + Integer.toString(sid) + ")" in testSetResUidGidBlocked() 42 blocked = SeccompDeviceTest.testSetresgidBlocked(rid, eid, sid); in testSetResUidGidBlocked() 46 + Integer.toString(eid) + "," + Integer.toString(sid) + ")" in testSetResUidGidBlocked() 55 static private boolean testSetResUidGidBlocked(int rid, int eid, int sid) { in testSetResUidGidBlocked() argument 56 return testSetResUidGidBlocked(rid, eid, sid, true /*expectBlocked */, true /* log */); in testSetResUidGidBlocked() 59 static private boolean testSetResUidGidAllowed(int rid, int eid, int sid) { in testSetResUidGidAllowed() argument 60 return testSetResUidGidBlocked(rid, eid, sid, false /*expectBlocked */, true /* log */); in testSetResUidGidAllowed() 63 static private boolean testSetResUidGidAllowedNoLog(int rid, int eid, int sid) { in testSetResUidGidAllowedNoLog() argument [all …]
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmTest.java | 78 byte[] sid = drm.openSession(); in testGetLogMessages() 79 drm.closeSession(sid); in testGetLogMessages() 130 byte[] sid = null; in testPlaybackComponent() 133 sid = drm.openSession(); in testPlaybackComponent() 134 Assert.assertNotNull("null session id", sid); in testPlaybackComponent() 135 MediaDrm.PlaybackComponent component = drm.getPlaybackComponent(sid); in testPlaybackComponent() 172 byte[] sid = drm.openSession(level); in testRequiresSecureDecoder() 173 MediaCrypto crypto = new MediaCrypto(scheme, sid); in testRequiresSecureDecoder()
|
D | MediaDrmMetricsTest.java | 146 byte[] sid = drm.openSession(); in testGetMetricsGetKeyRequest() 147 assertNotNull(sid); in testGetMetricsGetKeyRequest() 150 drm.getKeyRequest(sid, null, "", 2, null); in testGetMetricsGetKeyRequest() 155 drm.closeSession(sid); in testGetMetricsGetKeyRequest() 177 String hexSid = BaseEncoding.base16().encode(sid).toLowerCase(); in testGetMetricsGetKeyRequest()
|
D | MediaDrmClearkeyTest.java | 312 public void onEvent(MediaDrm md, byte[] sid, int event, in startDrm() 317 } else if (!Arrays.equals(mSessionId, sid)) { in startDrm() 319 … Arrays.toString(mSessionId) + "| vs |" + Arrays.toString(sid) + "|"); in startDrm() 345 … public void onExpirationUpdate(MediaDrm md, byte[] sid, long expirationTime) { in startDrm() 348 } else if (!Arrays.equals(mSessionId, sid)) { in startDrm() 350 … Arrays.toString(mSessionId) + "| vs |" + Arrays.toString(sid) + "|"); in startDrm() 358 public void onSessionLostState(MediaDrm md, byte[] sid) { in startDrm() 361 } else if (!Arrays.equals(mSessionId, sid)) { in startDrm() 363 … Arrays.toString(mSessionId) + "| vs |" + Arrays.toString(sid) + "|"); in startDrm()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CellIdentityTest.java | 43 int sid = 34; in testCellIdentityCdma_asCellLocation() local 47 CellIdentity cellIdentity = new CellIdentityCdma(nid, sid, bid, lon, lat, null, null); in testCellIdentityCdma_asCellLocation() 53 assertEquals(sid, cdmaCellLocation.getSystemId()); in testCellIdentityCdma_asCellLocation()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 1128 byte[] sid = null; in testMediaDrmAtoms() 1140 sid = drm.openSession(); in testMediaDrmAtoms() 1141 Assert.assertNotNull("null session id", sid); in testMediaDrmAtoms() 1143 drm.closeSession(sid); in testMediaDrmAtoms()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 1070 u32 sid = r32(security + 4); in get_sid() local 1071 dbg("sid=%u", sid); in get_sid() 1072 return sid; in get_sid()
|