HomeSort by relevance Sort by last modified time
    Searched refs:event (Results 1 - 25 of 6544) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/sl4a/Common/src/com/googlecode/android_scripting/event/
EventObserver.java 17 package com.googlecode.android_scripting.event;
21 public void onEventReceived(Event event);
  /external/webrtc/webrtc/base/
event_unittest.cc 11 #include "webrtc/base/event.h"
17 Event event(false, true);
18 ASSERT_TRUE(event.Wait(0));
22 Event event(true, false);
23 ASSERT_FALSE(event.Wait(0));
25 event.Set();
26 ASSERT_TRUE(event.Wait(0));
27 ASSERT_TRUE(event.Wait(0))
    [all...]
  /libcore/luni/src/main/java/libcore/net/event/
NetworkEventListener.java 17 package libcore.net.event;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
EventDecoder.java 17 package com.android.inputmethod.event;
20 * A generic interface for event decoders.
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
event.hpp 2 // detail/event.hpp
27 typedef posix_event event; typedef in namespace:asio::detail
29 typedef std_event event;
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
event_attributes_test.c 13 * Test various attributes of the EBB event are enforced.
17 struct event event, leader; local
21 event_init(&event, 0x1001e);
22 event_leader_ebb_init(&event);
24 FAIL_IF(event_open(&event));
25 event_close(&event);
28 event_init(&event, 0x001e); /* CYCLES - no PMC specified */
29 event_leader_ebb_init(&event);
31 FAIL_IF(event_open(&event) == 0)
    [all...]
cpu_event_pinned_vs_ebb_test.c 18 * Tests a pinned cpu event vs an EBB - in that order. The pinned cpu event
19 * should remain and the EBB event should fail to enable.
22 static int setup_cpu_event(struct event *event, int cpu)
24 event_init_named(event, 0x400FA, "PM_RUN_INST_CMPL");
26 event->attr.pinned = 1;
28 event->attr.exclude_kernel = 1;
29 event->attr.exclude_hv = 1;
30 event->attr.exclude_idle = 1
42 struct event event; local
    [all...]
task_event_pinned_vs_ebb_test.c 18 * Tests a pinned per-task event vs an EBB - in that order. The pinned per-task
19 * event should prevent the EBB event from being enabled.
22 static int setup_child_event(struct event *event, pid_t child_pid)
24 event_init_named(event, 0x400FA, "PM_RUN_INST_CMPL");
26 event->attr.pinned = 1;
28 event->attr.exclude_kernel = 1;
29 event->attr.exclude_hv = 1;
30 event->attr.exclude_idle = 1
41 struct event event; local
    [all...]
instruction_count_test.c 25 static int do_count_loop(struct event *event, uint64_t instructions,
45 event->result.value = ebb_state.stats.pmc_count[4-1];
47 difference = event->result.value - expected;
48 percentage = (double)difference / event->result.value * 100;
53 printf("Actual %llu\n", event->result.value);
63 if (difference / event->result.value)
70 static uint64_t determine_overhead(struct event *event)
75 do_count_loop(event, 0, 0, false)
111 struct event event; local
    [all...]
  /packages/services/Car/service/src/com/android/car/
CarSensorEventFactory.java 26 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1); local
27 event.intValues[0] = value ? 1 : 0;
28 return event;
32 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 0, 1); local
33 event.intValues[0] = value;
34 return event;
38 CarSensorEvent event = new CarSensorEvent(sensorType, timestamp, 1, 0); local
39 event.floatValues[0] = value;
40 return event;
43 public static void returnToPool(CarSensorEvent event) {
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
PreferenceChangeEventTest.java 30 PreferenceChangeEvent event; field in class:PreferenceChangeEventTest
34 event = new PreferenceChangeEvent(null, "key", "value");
41 event = new PreferenceChangeEvent(Preferences.userRoot(), "key", null);
42 assertEquals("key", event.getKey());
43 assertNull(event.getNewValue());
44 assertSame(Preferences.userRoot(), event.getNode());
45 assertSame(Preferences.userRoot(), event.getSource());
47 event = new PreferenceChangeEvent(Preferences.userRoot(), "", null);
48 assertEquals("", event.getKey());
49 assertNull(event.getNewValue())
    [all...]
  /system/chre/core/
event_ref_queue.cc 32 bool EventRefQueue::push(Event *event) {
33 CHRE_ASSERT(event != nullptr);
35 bool pushed = mQueue.push(event);
37 event->incrementRefCount();
43 Event *EventRefQueue::pop() {
46 Event *event = mQueue.front(); local
48 event->decrementRefCount();
50 return event;
    [all...]
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
l3_bank_test.c 9 #include "event.h"
19 struct event event; local
26 event_init(&event, 0x84918F);
28 FAIL_IF(event_open(&event));
33 event_read(&event);
34 event_report(&event);
36 FAIL_IF(event.result.running == 0);
37 FAIL_IF(event.result.enabled == 0);
39 event_close(&event);
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/events/
ScalarEventTest.java 23 ScalarEvent event = new ScalarEvent("a2", "str", new ImplicitTuple(true, true), "text", local
27 event.toString());
31 ScalarEvent event = new ScalarEvent("a2", "str", new ImplicitTuple(true, true), "text", local
33 assertFalse(event.equals(event.toString()));
  /external/jmdns/src/javax/jmdns/
ServiceListener.java 17 * <b>Note:</b>This event is only the service added event. The service info associated with this event does not include resolution information.<br/>
21 * ServiceInfo info = event.getDNS().getServiceInfo(event.getType(), event.getName())
27 * @param event
30 void serviceAdded(ServiceEvent event);
35 * @param event
38 void serviceRemoved(ServiceEvent event);
    [all...]
NetworkTopologyListener.java 17 * @param event
20 void inetAddressAdded(NetworkTopologyEvent event);
25 * @param event
28 void inetAddressRemoved(NetworkTopologyEvent event);
ServiceTypeListener.java 18 * @param event
19 * The service event providing the fully qualified type of the service.
21 void serviceTypeAdded(ServiceEvent event);
30 * @param event
31 * The service event providing the fully qualified type of the service with subtype.
34 void subTypeForServiceTypeAdded(ServiceEvent event);
  /libcore/ojluni/src/main/java/javax/sql/
RowSetListener.java 31 * event happens in the life of a <code>RowSet</code> object.
35 * when it is notified of an event.
46 * The source of the event can be retrieved with the method
47 * <code>event.getSource</code>.
49 * @param event a <code>RowSetEvent</code> object that contains
50 * the <code>RowSet</code> object that is the source of the event
52 void rowSetChanged(RowSetEvent event);
58 * The source of the event can be retrieved with the method
59 * <code>event.getSource</code>.
61 * @param event a <code>RowSetEvent</code> object that contain
    [all...]
ConnectionEventListener.java 58 * @param event an event object describing the source of
59 * the event
61 void connectionClosed(ConnectionEvent event);
70 * @param event an event object describing the source of
71 * the event and containing the <code>SQLException</code> that the
74 void connectionErrorOccurred(ConnectionEvent event);
StatementEventListener.java 63 * @param event an event object describing the source of
64 * the event and that the <code>PreparedStatement</code> was closed.
67 void statementClosed(StatementEvent event);
74 * contained in the given event, to the application.
76 * @param event an event object describing the source of the event,
78 * driver is about to throw. The source of the event is
84 void statementErrorOccurred(StatementEvent event);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DropGesture.java 33 * @param event The {@link DropTargetEvent} for this drag and drop event
36 public void dragEnter(DropTargetEvent event) {
42 * @param event The {@link DropTargetEvent} for this drag and drop event
45 public void dragOver(DropTargetEvent event) {
52 * @param event The {@link DropTargetEvent} for this drag and drop event
55 public void dragOperationChanged(DropTargetEvent event) {
62 * @param event The {@link DropTargetEvent} for this drag and drop even
    [all...]
  /frameworks/base/core/java/android/view/
FallbackEventHandler.java 24 public void preDispatchKeyEvent(KeyEvent event);
25 public boolean dispatchKeyEvent(KeyEvent event);
  /frameworks/base/services/core/java/com/android/server/
NativeDaemonTimeoutException.java 24 public NativeDaemonTimeoutException(String command, NativeDaemonEvent event) {
25 super(command, event);
  /libcore/ojluni/src/main/java/javax/net/ssl/
SSLSessionBindingListener.java 33 * they are being bound or unbound from a SSLSession. When either event
35 * or {@link SSLSession#removeValue(String)}, the event is communicated
53 * @param event the event identifying the SSLSession into
56 public void valueBound(SSLSessionBindingEvent event);
62 * @param event the event identifying the SSLSession from
65 public void valueUnbound(SSLSessionBindingEvent event);
  /packages/apps/Calendar/src/com/android/calendar/
EventGeometry.java 22 // This is the space from the grid line to the event rectangle.
46 // Computes the rectangle coordinates of the given event on the screen.
48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) {
49 if (event.drawAsAllday()) {
54 int startDay = event.startDay;
55 int endDay = event.endDay;
61 int startTime = event.startTime;
62 int endTime = event.endTime;
64 // If the event started on a previous day, then show it startin
    [all...]

Completed in 536 milliseconds

1 2 3 4 5 6 7 8 91011>>