Searched defs:what (Results 1 - 25 of 198) sorted by relevance

12345678

/frameworks/av/media/libstagefright/foundation/
H A DAHandler.cpp31 uint32_t what = msg->what(); local
32 ssize_t idx = mMessages.indexOfKey(what);
34 mMessages.add(what, 1);
/frameworks/base/core/java/android/text/
H A DSpanWatcher.java29 public void onSpanAdded(Spannable text, Object what, int start, int end); argument
34 public void onSpanRemoved(Spannable text, Object what, int start, int end); argument
40 public void onSpanChanged(Spannable text, Object what, int ostart, int oend, argument
H A DSpannable.java31 * what the flags mean. The object can be one that has meaning only
39 public void setSpan(Object what, int start, int end, int flags); argument
46 public void removeSpan(Object what); argument
H A DSpannableString.java45 public void setSpan(Object what, int start, int end, int flags) { argument
46 super.setSpan(what, start, end, flags);
49 public void removeSpan(Object what) { argument
50 super.removeSpan(what);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DMockWifiMonitor.java42 public void registerHandler(String iface, int what, Handler handler) { argument
48 ifaceHandlers.put(what, handler);
59 public void sendMessage(String iface, int what) { argument
60 sendMessage(iface, Message.obtain(null, what));
66 assertTrue("No handler for iface=" + iface + ",what=" + message.what,
76 + ",what=" + message.what, sent);
81 Handler handler = ifaceHandlers.get(message.what);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DMessageQueueTest.java48 assertThat(msg.what, is(0));
64 assertThat(msg.what, is(1));
68 assertThat(msg.what, is(3));
72 assertThat(msg.what, is(5));
86 assertThat(msg.what, is(3));
90 assertThat(msg.what, is(1));
94 assertThat(msg.what, is(5));
113 assertThat(msg.what, is(2));
117 assertThat(msg.what, is(2));
121 assertThat(msg.what, i
128 obtainMessage(int what, int arg) argument
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioServiceMessage.h58 code what; member in struct:aaudio::AAudioServiceMessage_s
60 AAudioMessageTimestamp timestamp; // what == TIMESTAMP
61 AAudioMessageEvent event; // what == EVENT
/frameworks/base/core/java/android/os/
H A DRegistrant.java28 Registrant(Handler h, int what, Object obj) argument
31 this.what = what;
79 msg.what = what;
103 msg.what = what;
120 int what; field in class:Registrant
H A DRegistrantList.java29 add(Handler h, int what, Object obj) argument
31 add(new Registrant(h, what, obj));
35 addUnique(Handler h, int what, Object obj) argument
39 add(new Registrant(h, what, obj));
H A DTestLooperManager.java151 * @param what the value of {@link Message#what}
154 public boolean hasMessages(Handler h, Object object, int what) { argument
156 return mQueue.hasMessages(h, what, object);
/frameworks/base/core/java/android/content/
H A DClipboardManager.java65 switch (msg.what) {
147 public void addPrimaryClipChangedListener(OnPrimaryClipChangedListener what) { argument
157 mPrimaryClipChangedListeners.add(what);
161 public void removePrimaryClipChangedListener(OnPrimaryClipChangedListener what) { argument
163 mPrimaryClipChangedListeners.remove(what);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestHandlerThread.java68 public boolean hasAnyMessages(int[] what) { argument
70 for (int i : what) {
80 public void removeMessages(int[] what) { argument
82 for (int i : what) {
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DCloseableLock.java342 private void log(String what) { argument
343 Log.v(TAG + "[" + mName + "]", what);
/frameworks/base/media/java/android/media/
H A DAudioPortEventHandler.java63 if (msg.what == AUDIOPORT_EVENT_NEW_LISTENER) {
74 if (msg.what == AUDIOPORT_EVENT_PORT_LIST_UPDATED ||
75 msg.what == AUDIOPORT_EVENT_PATCH_LIST_UPDATED ||
76 msg.what == AUDIOPORT_EVENT_SERVICE_DIED) {
86 if (msg.what != AUDIOPORT_EVENT_SERVICE_DIED) {
93 switch (msg.what) {
100 if (msg.what == AUDIOPORT_EVENT_PORT_LIST_UPDATED) {
160 int what, int arg1, int arg2, Object obj) {
170 Message m = handler.obtainMessage(what, arg1, arg2, obj);
159 postEventFromNative(Object module_ref, int what, int arg1, int arg2, Object obj) argument
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DService.java69 public void onMessageReceived(int service, int what, ByteBuffer content) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DPhoneSwitcherMock.java57 public void registerForActivePhoneSwitch(int phoneId, Handler h, int what, Object o) { argument
59 Registrant r = new Registrant(h, what, o);
H A DSubscriptionMonitorMock.java44 public void registerForSubscriptionChanged(int phoneId, Handler h, int what, Object o) { argument
46 Registrant r = new Registrant(h, what, o);
58 public void registerForDefaultDataSubscriptionChanged(int phoneId, Handler h, int what, argument
61 Registrant r = new Registrant(h, what, o);
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DMessageThreadUtil.java64 switch (msg.what) {
76 Log.e("ThreadUtil", "Unsupported message, what=" + msg.what);
143 switch (msg.what) {
162 Log.e("ThreadUtil", "Unsupported message, what=" + msg.what);
180 public int what; field in class:MessageThreadUtil.SyncQueueItem
190 what = arg1 = arg2 = arg3 = arg4 = arg5 = 0;
200 static SyncQueueItem obtainMessage(int what, int arg1, int arg2, int arg3, int arg4, argument
211 item.what
222 obtainMessage(int what, int arg1, int arg2) argument
226 obtainMessage(int what, int arg1, Object data) argument
261 removeMessages(int what) argument
[all...]
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java145 switch(msg.what) {
185 int what, int arg1, int arg2, Object obj) {
195 Message m = handler.obtainMessage(what, arg1, arg2, obj);
184 postEventFromNative(Object module_ref, int what, int arg1, int arg2, Object obj) argument
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java96 private boolean action(int what, TextView widget, Spannable buffer) { argument
129 switch (what) {
H A DMultiTapKeyListener.java173 // with the first character for that key, and remember what
238 Object what, int s, int e, int start, int stop) {
239 if (what == Selection.SELECTION_END) {
290 public void onSpanAdded(Spannable s, Object what, int start, int end) { } argument
291 public void onSpanRemoved(Spannable s, Object what, int start, int end) { } argument
237 onSpanChanged(Spannable buf, Object what, int s, int e, int start, int stop) argument
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DDisplaySinkService.java91 public void onMessageReceived(int service, int what, ByteBuffer content) { argument
92 switch (what) {
/frameworks/ex/common/java/com/android/common/
H A DNetworkConnectivityListener.java164 * This methods registers a Handler to be called back onto with the specified what code when
168 * @param what The what code to be used when posting a message to the handler.
170 public void registerHandler(Handler target, int what) { argument
171 mHandlers.put(target, what);
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DTileDrawable.java175 public void scheduleDrawable(Drawable who, Runnable what, long when) { argument
176 scheduleSelf(what, when);
180 public void unscheduleDrawable(Drawable who, Runnable what) { argument
181 unscheduleSelf(what);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionMonitor.java191 public void registerForSubscriptionChanged(int phoneId, Handler h, int what, Object o) { argument
195 Registrant r = new Registrant(h, what, o);
207 public void registerForDefaultDataSubscriptionChanged(int phoneId, Handler h, int what, argument
212 Registrant r = new Registrant(h, what, o);

Completed in 433 milliseconds

12345678