Searched refs:withNewData (Results 1 – 3 of 3) sorted by relevance
60 assertTrue(event.withNewData(12345678L).getData().equals(12345678L)); in testWithNewData()61 assertTrue(event.withNewData(2.718f).getData().equals(2.718f)); in testWithNewData()62 assertTrue(event.withNewData("test string").getData().equals("test string")); in testWithNewData()64 Object[] objects = ((Object[]) event.withNewData( in testWithNewData()
806 return new SecurityEvent(getId(), mEvent.withNewData("").getBytes()); in redact()817 mEvent.withNewData(new Object[] {mountPoint, ""}).getBytes()); in redact()
167 public Event withNewData(@Nullable Object object) { in withNewData() method in EventLog.Event