OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DeviceEvent
(Results
1 - 19
of
19
) sorted by null
/tools/tradefederation/core/remote/src/com/android/tradefed/device/
DeviceEvent.java
21
enum
DeviceEvent
{
DeviceAllocationEventHandler.java
24
DeviceAllocationState handleDeviceEvent(
DeviceEvent
event);
41
public DeviceAllocationState handleDeviceEvent(
DeviceEvent
event) {
77
public DeviceAllocationState handleDeviceEvent(
DeviceEvent
event) {
112
public DeviceAllocationState handleDeviceEvent(
DeviceEvent
event) {
141
public DeviceAllocationState handleDeviceEvent(
DeviceEvent
event) {
169
public DeviceAllocationState handleDeviceEvent(
DeviceEvent
event) {
193
public DeviceAllocationState handleDeviceEvent(
DeviceEvent
event) {
DeviceAllocationState.java
42
public DeviceAllocationState handleDeviceEvent(
DeviceEvent
event) {
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/receiver/
EventReceiver.java
25
import android.inputmethodservice.cts.
DeviceEvent
;
46
final
DeviceEvent
event =
DeviceEvent
.newEvent(intent);
50
final ContentValues values =
DeviceEvent
.buildContentValues(event);
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
CtsBaseInputMethod.java
29
import android.inputmethodservice.cts.
DeviceEvent
;
51
sendEvent(
DeviceEvent
.builder().setType(SHOW_SOFT_INPUT));
60
sendEvent(
DeviceEvent
.builder().setType(HIDE_SOFT_INPUT));
74
sendEvent(
DeviceEvent
.builder().setType(ON_CREATE));
89
sendEvent(
DeviceEvent
.builder()
103
sendEvent(
DeviceEvent
.builder().setType(ON_START_INPUT_VIEW));
113
sendEvent(
DeviceEvent
.builder().setType(ON_FINISH_INPUT_VIEW));
123
sendEvent(
DeviceEvent
.builder().setType(ON_FINISH_INPUT));
133
sendEvent(
DeviceEvent
.builder().setType(ON_DESTROY));
181
private void sendEvent(final
DeviceEvent
.IntentBuilder intentBuilder)
[
all
...]
/development/samples/ControllerSample/src/com/example/inputmanagercompat/
InputManagerV9.java
139
DeviceEvent
odc =
DeviceEvent
.getDeviceEvent(why, deviceId, listener);
145
private static class
DeviceEvent
implements Runnable {
149
private static Queue<
DeviceEvent
> sEventQueue = new ArrayDeque<
DeviceEvent
>();
151
private
DeviceEvent
() {
154
static
DeviceEvent
getDeviceEvent(int messageType, int id,
156
DeviceEvent
curChanged = sEventQueue.poll();
158
curChanged = new
DeviceEvent
();
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/
DeviceEvent.java
59
public final class
DeviceEvent
{
63
public static final Table<
DeviceEvent
> TABLE = new DeviceEventTable(EventTableConstants.NAME);
147
* Create an {@link
DeviceEvent
} object from an intent.
149
* @return {@link
DeviceEvent
} object that has event sender, type, and time form an
152
public static
DeviceEvent
newEvent(final Intent intent) {
176
return new
DeviceEvent
(
184
* Build {@link ContentValues} object from {@link
DeviceEvent
} object.
185
* @param event a {@link
DeviceEvent
} object to be converted.
188
public static ContentValues buildContentValues(final
DeviceEvent
event) {
193
* Build {@link Stream<
DeviceEvent
>} object from {@link Cursor} comes from Content Provider
[
all
...]
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
TestHelper.java
19
import static android.inputmethodservice.cts.
DeviceEvent
.isFrom;
20
import static android.inputmethodservice.cts.
DeviceEvent
.isType;
30
import android.inputmethodservice.cts.
DeviceEvent
;
130
* @return {@link Stream<
DeviceEvent
>} of all device events.
132
Stream<
DeviceEvent
> queryAllEvents() {
139
return
DeviceEvent
.buildStream(cursor);
146
* @return {@llink Predicate<
DeviceEvent
>} that return true after accepting
149
Predicate<
DeviceEvent
> isStartOfTest() {
InputMethodServiceDeviceTest.java
23
import static android.inputmethodservice.cts.
DeviceEvent
.isFrom;
24
import static android.inputmethodservice.cts.
DeviceEvent
.isNewerThan;
25
import static android.inputmethodservice.cts.
DeviceEvent
.isType;
40
import android.inputmethodservice.cts.
DeviceEvent
;
210
List<
DeviceEvent
> startInputEvents = helper.queryAllEvents()
220
final
DeviceEvent
event = startInputEvents.get(0);
221
Boolean isRestarting =
DeviceEvent
.getEventParamBoolean(
228
* Build stream collector of {@link
DeviceEvent
} collecting sequence that elements have
234
private static Collector<
DeviceEvent
, ?, MatchResult<
DeviceEvent
>> sequenceOfTypes
[
all
...]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
ManagedDeviceListTest.java
88
d.handleAllocationEvent(
DeviceEvent
.FORCE_AVAILABLE);
96
* Basic test for {@link ManagedDeviceList#handleDeviceEvent(IManagedTestDevice,
DeviceEvent
)}
102
d.handleAllocationEvent(
DeviceEvent
.FORCE_ALLOCATE_REQUEST);
104
mManagedDeviceList.handleDeviceEvent(d,
DeviceEvent
.DISCONNECTED);
106
d.handleAllocationEvent(
DeviceEvent
.FREE_AVAILABLE);
108
mManagedDeviceList.handleDeviceEvent(d,
DeviceEvent
.DISCONNECTED);
143
EasyMock.expect(mockDevice.handleAllocationEvent(
DeviceEvent
.DISCONNECTED)).andReturn(der);
DeviceManagerTest.java
267
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.ALLOCATE_REQUEST))
284
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.ALLOCATE_REQUEST))
299
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.FORCE_AVAILABLE))
302
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.ALLOCATE_REQUEST))
318
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.FORCE_AVAILABLE))
321
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.ALLOCATE_REQUEST))
327
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.FREE_AVAILABLE))
329
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.ALLOCATE_REQUEST))
354
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.FORCE_AVAILABLE))
356
EasyMock.expect(mMockTestDevice.handleAllocationEvent(
DeviceEvent
.ALLOCATE_REQUEST)
[
all
...]
TestDeviceTest.java
[
all
...]
/tools/tradefederation/core/src/com/android/tradefed/device/
IManagedTestDevice.java
26
* Container for a response to a {@link IManagedTestDevice#handleAllocationEvent(
DeviceEvent
)}
108
* Process the given {@link com.android.tradefed.device.
DeviceEvent
}. May transition device
111
public DeviceEventResponse handleAllocationEvent(
DeviceEvent
event);
DeviceManager.java
354
mManagedDeviceList.handleDeviceEvent(testDevice,
DeviceEvent
.AVAILABLE_CHECK_IGNORED);
366
DeviceEvent
.AVAILABLE_CHECK_PASSED);
376
DeviceEvent
.AVAILABLE_CHECK_FAILED);
429
mManagedDeviceList.handleDeviceEvent(d,
DeviceEvent
.FORCE_AVAILABLE);
486
DeviceEventResponse r = d.handleAllocationEvent(
DeviceEvent
.FORCE_ALLOCATE_REQUEST);
545
* {@link com.android.tradefed.device.
DeviceEvent
}
549
private
DeviceEvent
getEventFromFree(
553
return
DeviceEvent
.FREE_UNRESPONSIVE;
555
return
DeviceEvent
.FREE_AVAILABLE;
566
return
DeviceEvent
.FREE_UNKNOWN
[
all
...]
ManagedDeviceList.java
58
DeviceEventResponse r = element.handleAllocationEvent(
DeviceEvent
.ALLOCATE_REQUEST);
150
handleDeviceEvent(d,
DeviceEvent
.DISCONNECTED);
253
* {@link IManagedTestDevice#handleAllocationEvent(
DeviceEvent
)} directly, to ensure list stays
256
public DeviceEventResponse handleDeviceEvent(IManagedTestDevice d,
DeviceEvent
event) {
NativeDevice.java
[
all
...]
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/
EventProvider.java
28
import android.inputmethodservice.cts.
DeviceEvent
;
62
return Collections.singletonList(
DeviceEvent
.TABLE);
/external/spirv-llvm/lib/SPIRV/
SPIRVInternal.h
286
const static char
DeviceEvent
[] = "
DeviceEvent
";
[
all
...]
SPIRVWriter.cpp
624
else if (TN == kSPIRVTypeName::
DeviceEvent
)
[
all
...]
Completed in 343 milliseconds