Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java379 final List<Class> payloadTypes = PAYLOAD_TYPES_MAP.get(event.getTag()); in verifyPayloadTypes() local
380 assertNotNull("event type unknown: " + event.getTag(), payloadTypes); in verifyPayloadTypes()
382 if (payloadTypes.size() == 0) { in verifyPayloadTypes()
385 } else if (payloadTypes.size() == 1) { in verifyPayloadTypes()
387 assertTrue(payloadTypes.get(0).isInstance(event.getData())); in verifyPayloadTypes()
392 assertEquals(payloadTypes.size(), dataArray.length); in verifyPayloadTypes()
393 for (int i = 0; i < payloadTypes.size(); i++) { in verifyPayloadTypes()
394 assertTrue(payloadTypes.get(i).isInstance(dataArray[i])); in verifyPayloadTypes()