Home
last modified time | relevance | path

Searched refs:what (Results 1 – 25 of 629) sorted by relevance

12345678910>>...26

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DBaseCommands.java108 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument
109 Registrant r = new Registrant (h, what, obj); in registerForRadioStateChanged()
125 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument
126 Registrant r = new Registrant (h, what, obj); in registerForOn()
145 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument
146 Registrant r = new Registrant (h, what, obj); in registerForAvailable()
165 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() argument
166 Registrant r = new Registrant (h, what, obj); in registerForNotAvailable()
185 public void registerForOffOrNotAvailable(Handler h, int what, Object obj) { in registerForOffOrNotAvailable() argument
186 Registrant r = new Registrant (h, what, obj); in registerForOffOrNotAvailable()
[all …]
DCommandsInterface.java120 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument
123 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument
132 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument
141 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument
150 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() argument
159 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() argument
165 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged() argument
168 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged() argument
170 void registerForVoiceNetworkStateChanged(Handler h, int what, Object obj); in registerForVoiceNetworkStateChanged() argument
172 void registerForDataNetworkStateChanged(Handler h, int what, Object obj); in registerForDataNetworkStateChanged() argument
[all …]
DPhoneProxy.java93 switch(msg.what) { in handleMessage()
117 loge("Voice Radio Technology event " + msg.what + " has no tech!"); in handleMessage()
120 loge("Voice Radio Technology event " + msg.what + " exception!" + ar.exception); in handleMessage()
126 + msg.what); in handleMessage()
354 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() argument
355 mActivePhone.registerForUnknownConnection(h, what, obj); in registerForUnknownConnection()
364 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() argument
365 mActivePhone.registerForPreciseCallStateChanged(h, what, obj); in registerForPreciseCallStateChanged()
374 public void registerForNewRingingConnection(Handler h, int what, Object obj) { in registerForNewRingingConnection() argument
375 mActivePhone.registerForNewRingingConnection(h, what, obj); in registerForNewRingingConnection()
[all …]
DPhone.java305 void registerForUnknownConnection(Handler h, int what, Object obj); in registerForUnknownConnection() argument
321 void registerForPreciseCallStateChanged(Handler h, int what, Object obj); in registerForPreciseCallStateChanged() argument
342 void registerForNewRingingConnection(Handler h, int what, Object obj); in registerForNewRingingConnection() argument
359 void registerForIncomingRing(Handler h, int what, Object obj); in registerForIncomingRing() argument
377 void registerForRingbackTone(Handler h, int what, Object obj); in registerForRingbackTone() argument
389 void registerForResendIncallMute(Handler h, int what, Object obj); in registerForResendIncallMute() argument
406 void registerForDisconnect(Handler h, int what, Object obj); in registerForDisconnect() argument
426 void registerForMmiInitiate(Handler h, int what, Object obj); in registerForMmiInitiate() argument
442 void registerForMmiComplete(Handler h, int what, Object obj); in registerForMmiComplete() argument
456 public void registerForEcmTimerReset(Handler h, int what, Object obj); in registerForEcmTimerReset() argument
[all …]
DPhoneBase.java344 switch(msg.what) { in handleMessage()
410 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() argument
413 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
433 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() argument
436 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
448 Handler h, int what, Object obj) { in registerForNewRingingConnection() argument
451 mNewRingingConnectionRegistrants.addUnique(h, what, obj); in registerForNewRingingConnection()
462 public void registerForInCallVoicePrivacyOn(Handler h, int what, Object obj){ in registerForInCallVoicePrivacyOn() argument
463 mCi.registerForInCallVoicePrivacyOn(h,what,obj); in registerForInCallVoicePrivacyOn()
474 public void registerForInCallVoicePrivacyOff(Handler h, int what, Object obj){ in registerForInCallVoicePrivacyOff() argument
[all …]
DCallManager.java1089 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument
1090 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect()
1110 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument
1111 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged()
1126 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument
1127 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection()
1150 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection() argument
1151 mNewRingingConnectionRegistrants.addUnique(h, what, obj); in registerForNewRingingConnection()
1171 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing() argument
1172 mIncomingRingRegistrants.addUnique(h, what, obj); in registerForIncomingRing()
[all …]
DServiceStateTracker.java260 public void registerForRoamingOn(Handler h, int what, Object obj) { in registerForRoamingOn() argument
261 Registrant r = new Registrant(h, what, obj); in registerForRoamingOn()
281 public void registerForRoamingOff(Handler h, int what, Object obj) { in registerForRoamingOff() argument
282 Registrant r = new Registrant(h, what, obj); in registerForRoamingOff()
356 switch (msg.what) { in handleMessage()
414 log("Unhandled message with number: " + msg.what); in handleMessage()
420 protected abstract void handlePollStateResult(int what, AsyncResult ar); in handlePollStateResult() argument
436 public void registerForDataConnectionAttached(Handler h, int what, Object obj) { in registerForDataConnectionAttached() argument
437 Registrant r = new Registrant(h, what, obj); in registerForDataConnectionAttached()
454 public void registerForDataConnectionDetached(Handler h, int what, Object obj) { in registerForDataConnectionDetached() argument
[all …]
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java69 public boolean hasMessages(int what) { in hasMessages() argument
70 return mH.hasMessages(what); in hasMessages()
73 public void removeMessages(int what) { in removeMessages() argument
74 mH.removeMessages(what); in removeMessages()
77 public void removeMessages(int what, Object obj) { in removeMessages() argument
78 mH.removeMessages(what, obj); in removeMessages()
85 public Message obtainMessage(int what) { in obtainMessage() argument
86 return mH.obtainMessage(what); in obtainMessage()
89 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO() argument
90 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2); in obtainMessageBO()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java458 msg.what = CMD_CHANNEL_DISCONNECTED; in disconnect()
492 public void sendMessage(int what) { in sendMessage() argument
494 msg.what = what; in sendMessage()
504 public void sendMessage(int what, int arg1) { in sendMessage() argument
506 msg.what = what; in sendMessage()
518 public void sendMessage(int what, int arg1, int arg2) { in sendMessage() argument
520 msg.what = what; in sendMessage()
534 public void sendMessage(int what, int arg1, int arg2, Object obj) { in sendMessage() argument
536 msg.what = what; in sendMessage()
549 public void sendMessage(int what, Object obj) { in sendMessage() argument
[all …]
DStateMachine.java481 mWhat = (msg != null) ? msg.what : 0; in update()
544 String what = mSm != null ? mSm.getWhatToString(mWhat) : ""; in toString() local
545 if (TextUtils.isEmpty(what)) { in toString()
551 sb.append(what); in toString()
780 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); in handleMessage()
790 } else if (!mIsConstructionCompleted && (mMsg.what == SM_INIT_CMD) in handleMessage()
1024 if (mDbg) mSm.log("moveDeferredMessageAtFrontOfQueue; what=" + curMsg.what); in moveDeferredMessageAtFrontOfQueue()
1191 if (mDbg) mSm.log("deferMessage: msg=" + msg.what); in deferMessage()
1214 return (msg.what == SM_QUIT_CMD) && (msg.obj == mSmHandlerObj); in isQuit()
1369 if (mSmHandler.mDbg) loge(" - unhandledMessage: msg.what=" + msg.what); in unhandledMessage()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DMessageQueueTest.java46 "msg.isInuse is false, should always be true, #" + msg.what)); in handleMessage()
49 if (msg.what != mCount) { in handleMessage()
52 + ", received #" + msg.what)); in handleMessage()
59 "Message received after done, #" + msg.what)); in handleMessage()
98 if (msg.what == 0) { in testAtFrontOfQueue()
126 "msg.isInuse is false, should always be true, #" + msg.what)); in handleMessage()
129 if (msg.what != mCount) { in handleMessage()
132 + ", received #" + msg.what)); in handleMessage()
139 "Message received after done, #" + msg.what)); in handleMessage()
159 if (msg.what == 0) { in testFieldIntegrity()
[all …]
DIdleHandlerTest.java71 if (msg.what == 0) { in testOneShotFirst()
73 } else if (msg.what == 1) { in testOneShotFirst()
104 if (msg.what == 0) { in testOneShotLater()
107 } else if (msg.what == 1) { in testOneShotLater()
109 } else if (msg.what == 2) { in testOneShotLater()
142 if (msg.what == 0) { in testRepeatedFirst()
144 } else if (msg.what == 1) { in testRepeatedFirst()
175 if (msg.what == 0) { in testRepeatedLater()
178 } else if (msg.what == 1) { in testRepeatedLater()
180 } else if (msg.what == 2) { in testRepeatedLater()
DBroadcasterTest.java47 msg.what = MESSAGE_A; in test1()
53 if (msg.what == MESSAGE_B) { in test1()
83 msg.what = MESSAGE_A; in go()
89 int index = msg.what - MESSAGE_B; in handleMessage()
146 msg.what = MESSAGE_A; in test4()
152 if (msg.what == MESSAGE_C && msg.getTarget() == h1) { in test4()
181 msg.what = MESSAGE_B; in test5()
187 if (msg.what == MESSAGE_D && msg.getTarget() == h2) { in test5()
217 msg.what = MESSAGE_A; in test6()
223 if (msg.what == MESSAGE_C && msg.getTarget() == h1) { in test6()
/frameworks/base/core/java/android/os/
DHandler.java243 return "0x" + Integer.toHexString(message.what); in getMessageName()
262 public final Message obtainMessage(int what) in obtainMessage() argument
264 return Message.obtain(this, what); in obtainMessage()
276 public final Message obtainMessage(int what, Object obj) in obtainMessage() argument
278 return Message.obtain(this, what, obj); in obtainMessage()
290 public final Message obtainMessage(int what, int arg1, int arg2) in obtainMessage() argument
292 return Message.obtain(this, what, arg1, arg2); in obtainMessage()
305 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) in obtainMessage() argument
307 return Message.obtain(this, what, arg1, arg2, obj); in obtainMessage()
510 public final boolean sendEmptyMessage(int what) in sendEmptyMessage() argument
[all …]
DMessage.java39 public int what; field in Message
127 m.what = orig.what; in obtain()
175 public static Message obtain(Handler h, int what) { in obtain() argument
178 m.what = what; in obtain()
191 public static Message obtain(Handler h, int what, Object obj) { in obtain() argument
194 m.what = what; in obtain()
210 public static Message obtain(Handler h, int what, int arg1, int arg2) { in obtain() argument
213 m.what = what; in obtain()
231 public static Message obtain(Handler h, int what, in obtain() argument
235 m.what = what; in obtain()
[all …]
DRegistrant.java29 Registrant(Handler h, int what, Object obj) in Registrant() argument
32 this.what = what; in Registrant()
80 msg.what = what; in internalNotifyRegistrant()
104 msg.what = what; in messageForRegistrant()
121 int what; field in Registrant
/frameworks/base/core/java/android/text/method/
DMetaKeyKeyListener.java223 public static boolean isMetaTracker(CharSequence text, Object what) { in isMetaTracker() argument
224 return what == CAP || what == ALT || what == SYM || in isMetaTracker()
225 what == SELECTING; in isMetaTracker()
232 public static boolean isSelectingMetaTracker(CharSequence text, Object what) { in isSelectingMetaTracker() argument
233 return what == SELECTING; in isSelectingMetaTracker()
236 private static void adjust(Spannable content, Object what) { in adjust() argument
237 int current = content.getSpanFlags(what); in adjust()
240 content.setSpan(what, 0, 0, USED); in adjust()
242 content.removeSpan(what); in adjust()
256 private static void resetLock(Spannable content, Object what) { in resetLock() argument
[all …]
/frameworks/base/core/java/android/text/
DSpannableStringInternal.java73 /* package */ void setSpan(Object what, int start, int end, int flags) { in setSpan() argument
104 if (spans[i] == what) { in setSpan()
112 sendSpanChanged(what, ostart, oend, nstart, nend); in setSpan()
129 mSpans[mSpanCount] = what; in setSpan()
136 sendSpanAdded(what, nstart, nend); in setSpan()
139 /* package */ void removeSpan(Object what) { in removeSpan() argument
145 if (spans[i] == what) { in removeSpan()
157 sendSpanRemoved(what, ostart, oend); in removeSpan()
163 public int getSpanStart(Object what) { in getSpanStart() argument
169 if (spans[i] == what) { in getSpanStart()
[all …]
DSpannableString.java45 public void setSpan(Object what, int start, int end, int flags) { in setSpan() argument
46 super.setSpan(what, start, end, flags); in setSpan()
49 public void removeSpan(Object what) { in removeSpan() argument
50 super.removeSpan(what); in removeSpan()
DSpanWatcher.java29 public void onSpanAdded(Spannable text, Object what, int start, int end); in onSpanAdded() argument
34 public void onSpanRemoved(Spannable text, Object what, int start, int end); in onSpanRemoved() argument
40 public void onSpanChanged(Spannable text, Object what, int ostart, int oend, in onSpanChanged() argument
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java192 switch (msg.what) { in executeMessage()
424 Log.w(TAG, "Unhandled message code: " + msg.what); in executeMessage()
427 Message obtainMessage(int what) { in obtainMessage() argument
428 return mH.obtainMessage(what); in obtainMessage()
431 Message obtainMessageII(int what, int arg1, int arg2) { in obtainMessageII() argument
432 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII()
435 Message obtainMessageO(int what, Object arg1) { in obtainMessageO() argument
436 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO()
439 Message obtainMessageISC(int what, int arg1, int seq, IInputContextCallback callback) { in obtainMessageISC() argument
443 return mH.obtainMessage(what, arg1, 0, args); in obtainMessageISC()
[all …]
/frameworks/native/opengl/libagl/
Dlight.cpp523 GLfixed* what; in lightxv() local
527 what = light.ambient.v; in lightxv()
530 what = light.diffuse.v; in lightxv()
533 what = light.specular.v; in lightxv()
558 what[0] = params[0]; in lightxv()
559 what[1] = params[1]; in lightxv()
560 what[2] = params[2]; in lightxv()
561 what[3] = params[3]; in lightxv()
766 GLfixed* what=0; in glMaterialfv() local
769 case GL_AMBIENT: what = c->lighting.front.ambient.v; break; in glMaterialfv()
[all …]
/frameworks/native/libs/binder/
DMemoryDealer.cpp135 void dump(const char* what) const;
136 void dump(String8& res, const char* what) const;
153 void dump_l(const char* what) const;
154 void dump_l(String8& res, const char* what) const;
254 void MemoryDealer::dump(const char* what) const in dump()
256 allocator()->dump(what); in dump()
408 void SimpleBestFitAllocator::dump(const char* what) const in dump()
411 dump_l(what); in dump()
414 void SimpleBestFitAllocator::dump_l(const char* what) const in dump_l()
417 dump_l(result, what); in dump_l()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp283 switch (msg->what()) { in onMessageReceived()
462 bool audio = msg->what() == kWhatAudioNotify; in onMessageReceived()
467 int32_t what; in onMessageReceived() local
468 CHECK(codecRequest->findInt32("what", &what)); in onMessageReceived()
470 if (what == ACodec::kWhatFillThisBuffer) { in onMessageReceived()
479 } else if (what == ACodec::kWhatEOS) { in onMessageReceived()
492 } else if (what == ACodec::kWhatFlushCompleted) { in onMessageReceived()
521 } else if (what == ACodec::kWhatOutputFormatChanged) { in onMessageReceived()
611 } else if (what == ACodec::kWhatShutdownCompleted) { in onMessageReceived()
626 } else if (what == ACodec::kWhatError) { in onMessageReceived()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSubscriptionSourceManager.java73 CommandsInterface ci, Handler h, int what, Object obj) { in getInstance() argument
80 sInstance.registerForCdmaSubscriptionSourceChanged(h, what, obj); in getInstance()
106 switch (msg.what) { in handleMessage()
110 log("CDMA_SUBSCRIPTION_SOURCE event = " + msg.what); in handleMessage()
148 private void registerForCdmaSubscriptionSourceChanged(Handler h, int what, Object obj) { in registerForCdmaSubscriptionSourceChanged() argument
149 Registrant r = new Registrant (h, what, obj); in registerForCdmaSubscriptionSourceChanged()

12345678910>>...26