Searched refs:DeviceEvent (Results 1 – 6 of 6) sorted by relevance
49 public final class DeviceEvent { class53 public static final Table<DeviceEvent> TABLE = new DeviceEventTable(EventTableConstants.NAME);78 public static DeviceEvent newEvent(Intent intent) { in newEvent()97 return new DeviceEvent(sender, type, intent.getLongExtra(EXTRA_EVENT_TIME, 0L)); in newEvent()105 public static ContentValues buildContentValues(DeviceEvent event) { in buildContentValues()114 public static Stream<DeviceEvent> buildStream(Cursor cursor) { in buildStream()124 public static Predicate<DeviceEvent> isFrom(String sender) { in isFrom()134 public static Predicate<DeviceEvent> isType(DeviceEventType type) { in isType()145 public static Predicate<DeviceEvent> isNewerThan(long time) { in isNewerThan()166 private DeviceEvent(String sender, DeviceEventType type, long time) { in DeviceEvent() method in DeviceEvent[all …]
25 import android.inputmethodservice.cts.DeviceEvent;49 final DeviceEvent event = DeviceEvent.newEvent(intent); in onReceive()53 final ContentValues values = DeviceEvent.buildContentValues(event); in onReceive()
19 import static android.inputmethodservice.cts.DeviceEvent.isFrom;20 import static android.inputmethodservice.cts.DeviceEvent.isType;27 import android.inputmethodservice.cts.DeviceEvent;139 Stream<DeviceEvent> queryAllEvents() { in queryAllEvents()146 return DeviceEvent.buildStream(cursor); in queryAllEvents()156 Predicate<DeviceEvent> isStartOfTest() { in isStartOfTest()
19 import static android.inputmethodservice.cts.DeviceEvent.isFrom;20 import static android.inputmethodservice.cts.DeviceEvent.isNewerThan;21 import static android.inputmethodservice.cts.DeviceEvent.isType;37 import android.inputmethodservice.cts.DeviceEvent;285 private static Collector<DeviceEvent, ?, MatchResult<DeviceEvent>> sequenceOfTypes( in sequenceOfTypes()287 final IntFunction<Predicate<DeviceEvent>[]> arraySupplier = Predicate[]::new; in sequenceOfTypes()289 .map(DeviceEvent::isType) in sequenceOfTypes()
30 import android.inputmethodservice.cts.DeviceEvent;196 final Intent intent = DeviceEvent.newDeviceEventIntent(sender, type); in sendEvent()
25 import android.inputmethodservice.cts.DeviceEvent;63 return Collections.singletonList(DeviceEvent.TABLE); in onCreate()