Home
last modified time | relevance | path

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

/frameworks/base/core/tests/utiltests/src/android/util/
DEventLogTest.java60 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()
/frameworks/base/core/java/android/app/admin/
DSecurityLog.java806 return new SecurityEvent(getId(), mEvent.withNewData("").getBytes()); in redact()
817 mEvent.withNewData(new Object[] {mountPoint, ""}).getBytes()); in redact()
/frameworks/base/core/java/android/util/
DEventLog.java167 public Event withNewData(@Nullable Object object) { in withNewData() method in EventLog.Event