Home
last modified time | relevance | path

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

/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DDeviceEvent.java49 public final class DeviceEvent { class
53 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 …]
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/receiver/
DEventReceiver.java25 import android.inputmethodservice.cts.DeviceEvent;
49 final DeviceEvent event = DeviceEvent.newEvent(intent); in onReceive()
53 final ContentValues values = DeviceEvent.buildContentValues(event); in onReceive()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestHelper.java19 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()
DInputMethodServiceDeviceTest.java19 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()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCtsBaseInputMethod.java30 import android.inputmethodservice.cts.DeviceEvent;
196 final Intent intent = DeviceEvent.newDeviceEventIntent(sender, type); in sendEvent()
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/
DEventProvider.java25 import android.inputmethodservice.cts.DeviceEvent;
63 return Collections.singletonList(DeviceEvent.TABLE); in onCreate()