/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BaseCommands.java | 122 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument 123 Registrant r = new Registrant (h, what, obj); in registerForRadioStateChanged() 138 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument 139 Registrant r = new Registrant (h, what, obj); in registerForImsNetworkStateChanged() 148 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument 149 Registrant r = new Registrant (h, what, obj); in registerForOn() 168 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument 169 Registrant r = new Registrant (h, what, obj); in registerForAvailable() 188 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() argument 189 Registrant r = new Registrant (h, what, obj); in registerForNotAvailable() [all …]
|
D | CommandsInterface.java | 138 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument 141 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument 143 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() argument 152 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument 161 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument 170 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() argument 179 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() argument 185 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged() argument 188 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged() argument 190 void registerForVoiceNetworkStateChanged(Handler h, int what, Object obj); in registerForVoiceNetworkStateChanged() argument [all …]
|
D | PhoneProxy.java | 112 switch(msg.what) { in handleMessage() 130 String what = (msg.what == EVENT_VOICE_RADIO_TECH_CHANGED) ? in handleMessage() local 135 logd(what + ": newVoiceTech=" + newVoiceTech); in handleMessage() 138 loge(what + ": has no tech!"); in handleMessage() 141 loge(what + ": exception=" + ar.exception); in handleMessage() 161 + msg.what); in handleMessage() 443 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() argument 444 mActivePhone.registerForUnknownConnection(h, what, obj); in registerForUnknownConnection() 453 public void registerForHandoverStateChanged(Handler h, int what, Object obj) { in registerForHandoverStateChanged() argument 454 mActivePhone.registerForHandoverStateChanged(h, what, obj); in registerForHandoverStateChanged() [all …]
|
D | Phone.java | 318 void registerForUnknownConnection(Handler h, int what, Object obj); in registerForUnknownConnection() argument 328 void registerForHandoverStateChanged(Handler h, int what, Object obj); in registerForHandoverStateChanged() argument 344 void registerForPreciseCallStateChanged(Handler h, int what, Object obj); in registerForPreciseCallStateChanged() argument 364 void registerForNewRingingConnection(Handler h, int what, Object obj); in registerForNewRingingConnection() argument 381 void registerForIncomingRing(Handler h, int what, Object obj); in registerForIncomingRing() argument 399 void registerForRingbackTone(Handler h, int what, Object obj); in registerForRingbackTone() argument 416 void registerForOnHoldTone(Handler h, int what, Object obj); in registerForOnHoldTone() argument 428 void registerForResendIncallMute(Handler h, int what, Object obj); in registerForResendIncallMute() argument 445 void registerForDisconnect(Handler h, int what, Object obj); in registerForDisconnect() argument 465 void registerForMmiInitiate(Handler h, int what, Object obj); in registerForMmiInitiate() argument [all …]
|
D | PhoneBase.java | 504 switch (msg.what) { in handleMessage() 514 "[" + msg.what + "] while being destroyed. Ignoring."); in handleMessage() 517 switch(msg.what) { in handleMessage() 674 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj) { in registerForPreciseCallStateChanged() argument 677 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged() 698 public void registerForHandoverStateChanged(Handler h, int what, Object obj) { in registerForHandoverStateChanged() argument 700 mHandoverRegistrants.addUnique(h, what, obj); in registerForHandoverStateChanged() 739 public void registerForUnknownConnection(Handler h, int what, Object obj) { in registerForUnknownConnection() argument 742 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection() 754 Handler h, int what, Object obj) { in registerForNewRingingConnection() argument [all …]
|
D | CallManager.java | 1350 public void registerForDisconnect(Handler h, int what, Object obj) { in registerForDisconnect() argument 1351 mDisconnectRegistrants.addUnique(h, what, obj); in registerForDisconnect() 1371 public void registerForPreciseCallStateChanged(Handler h, int what, Object obj){ in registerForPreciseCallStateChanged() argument 1372 mPreciseCallStateRegistrants.addUnique(h, what, obj); in registerForPreciseCallStateChanged() 1387 public void registerForUnknownConnection(Handler h, int what, Object obj){ in registerForUnknownConnection() argument 1388 mUnknownConnectionRegistrants.addUnique(h, what, obj); in registerForUnknownConnection() 1411 public void registerForNewRingingConnection(Handler h, int what, Object obj){ in registerForNewRingingConnection() argument 1412 mNewRingingConnectionRegistrants.addUnique(h, what, obj); in registerForNewRingingConnection() 1432 public void registerForIncomingRing(Handler h, int what, Object obj){ in registerForIncomingRing() argument 1433 mIncomingRingRegistrants.addUnique(h, what, obj); in registerForIncomingRing() [all …]
|
D | ServiceStateTracker.java | 411 public void registerForVoiceRoamingOn(Handler h, int what, Object obj) { in registerForVoiceRoamingOn() argument 412 Registrant r = new Registrant(h, what, obj); in registerForVoiceRoamingOn() 432 public void registerForVoiceRoamingOff(Handler h, int what, Object obj) { in registerForVoiceRoamingOff() argument 433 Registrant r = new Registrant(h, what, obj); in registerForVoiceRoamingOff() 453 public void registerForDataRoamingOn(Handler h, int what, Object obj) { in registerForDataRoamingOn() argument 454 Registrant r = new Registrant(h, what, obj); in registerForDataRoamingOn() 474 public void registerForDataRoamingOff(Handler h, int what, Object obj) { in registerForDataRoamingOff() argument 475 Registrant r = new Registrant(h, what, obj); in registerForDataRoamingOff() 549 switch (msg.what) { in handleMessage() 621 log("Unhandled message with number: " + msg.what); in handleMessage() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 73 public boolean hasMessages(int what) { in hasMessages() argument 74 return mH.hasMessages(what); in hasMessages() 77 public void removeMessages(int what) { in removeMessages() argument 78 mH.removeMessages(what); in removeMessages() 81 public void removeMessages(int what, Object obj) { in removeMessages() argument 82 mH.removeMessages(what, obj); in removeMessages() 109 public Message obtainMessage(int what) { in obtainMessage() argument 110 return mH.obtainMessage(what); in obtainMessage() 113 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO() argument 114 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2); in obtainMessageBO() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 459 msg.what = CMD_CHANNEL_DISCONNECTED; in disconnect() 495 public void sendMessage(int what) { in sendMessage() argument 497 msg.what = what; in sendMessage() 507 public void sendMessage(int what, int arg1) { in sendMessage() argument 509 msg.what = what; in sendMessage() 521 public void sendMessage(int what, int arg1, int arg2) { in sendMessage() argument 523 msg.what = what; in sendMessage() 537 public void sendMessage(int what, int arg1, int arg2, Object obj) { in sendMessage() argument 539 msg.what = what; in sendMessage() 552 public void sendMessage(int what, Object obj) { in sendMessage() argument [all …]
|
D | StateMachine.java | 482 mWhat = (msg != null) ? msg.what : 0; in update() 545 String what = mSm != null ? mSm.getWhatToString(mWhat) : ""; in toString() local 546 if (TextUtils.isEmpty(what)) { in toString() 552 sb.append(what); in toString() 781 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); in handleMessage() 791 } else if (!mIsConstructionCompleted && (mMsg.what == SM_INIT_CMD) in handleMessage() 1025 if (mDbg) mSm.log("moveDeferredMessageAtFrontOfQueue; what=" + curMsg.what); in moveDeferredMessageAtFrontOfQueue() 1192 if (mDbg) mSm.log("deferMessage: msg=" + msg.what); in deferMessage() 1215 return (msg.what == SM_QUIT_CMD) && (msg.obj == mSmHandlerObj); in isQuit() 1370 if (mSmHandler.mDbg) loge(" - unhandledMessage: msg.what=" + msg.what); in unhandledMessage() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessageQueueTest.java | 46 "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 …]
|
D | IdleHandlerTest.java | 71 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()
|
D | BroadcasterTest.java | 47 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/ |
D | Handler.java | 246 return "0x" + Integer.toHexString(message.what); in getMessageName() 265 public final Message obtainMessage(int what) in obtainMessage() argument 267 return Message.obtain(this, what); in obtainMessage() 279 public final Message obtainMessage(int what, Object obj) in obtainMessage() argument 281 return Message.obtain(this, what, obj); in obtainMessage() 293 public final Message obtainMessage(int what, int arg1, int arg2) in obtainMessage() argument 295 return Message.obtain(this, what, arg1, arg2); in obtainMessage() 308 public final Message obtainMessage(int what, int arg1, int arg2, Object obj) in obtainMessage() argument 310 return Message.obtain(this, what, arg1, arg2, obj); in obtainMessage() 517 public final boolean sendEmptyMessage(int what) in sendEmptyMessage() argument [all …]
|
D | Message.java | 39 public int what; field in Message 144 m.what = orig.what; in obtain() 193 public static Message obtain(Handler h, int what) { in obtain() argument 196 m.what = what; in obtain() 209 public static Message obtain(Handler h, int what, Object obj) { in obtain() argument 212 m.what = what; in obtain() 228 public static Message obtain(Handler h, int what, int arg1, int arg2) { in obtain() argument 231 m.what = what; in obtain() 249 public static Message obtain(Handler h, int what, in obtain() argument 253 m.what = what; in obtain() [all …]
|
D | Registrant.java | 28 Registrant(Handler h, int what, Object obj) in Registrant() argument 31 this.what = what; in Registrant() 79 msg.what = what; in internalNotifyRegistrant() 103 msg.what = what; in messageForRegistrant() 120 int what; field in Registrant
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 282 public static boolean isMetaTracker(CharSequence text, Object what) { in isMetaTracker() argument 283 return what == CAP || what == ALT || what == SYM || in isMetaTracker() 284 what == SELECTING; in isMetaTracker() 291 public static boolean isSelectingMetaTracker(CharSequence text, Object what) { in isSelectingMetaTracker() argument 292 return what == SELECTING; in isSelectingMetaTracker() 295 private static void adjust(Spannable content, Object what) { in adjust() argument 296 int current = content.getSpanFlags(what); in adjust() 299 content.setSpan(what, 0, 0, USED); in adjust() 301 content.removeSpan(what); in adjust() 315 private static void resetLock(Spannable content, Object what) { in resetLock() argument [all …]
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | Transport.java | 108 public boolean sendMessage(int service, int what, ByteBuffer content) { in sendMessage() argument 110 checkMessageId(what); in sendMessage() 123 mOutputBuffer.putShort((short)what); in sendMessage() 203 private void dispatchMessageReceived(int service, int what, ByteBuffer content) { in dispatchMessageReceived() argument 209 callback.onMessageReceived(service, what, content); in dispatchMessageReceived() 211 mLogger.log("Discarding message " + what in dispatchMessageReceived() 222 private static void checkMessageId(int what) { in checkMessageId() argument 223 if (what < 0 || what > 0xffff) { in checkMessageId() 224 throw new IllegalArgumentException("message id out of range: " + what); in checkMessageId() 247 public void onMessageReceived(int service, int what, ByteBuffer content); in onMessageReceived() argument [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioPortEventHandler.java | 59 if (msg.what == AUDIOPORT_EVENT_NEW_LISTENER) { in init() 73 if (msg.what == AUDIOPORT_EVENT_PORT_LIST_UPDATED || in init() 74 msg.what == AUDIOPORT_EVENT_PATCH_LIST_UPDATED || in init() 75 msg.what == AUDIOPORT_EVENT_SERVICE_DIED) { in init() 80 if (msg.what != AUDIOPORT_EVENT_SERVICE_DIED) { in init() 87 switch (msg.what) { in init() 94 if (msg.what == AUDIOPORT_EVENT_PORT_LIST_UPDATED) { in init() 154 int what, int arg1, int arg2, Object obj) { in postEventFromNative() argument 164 Message m = handler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 75 /* package */ void setSpan(Object what, int start, int end, int flags) { in setSpan() argument 106 if (spans[i] == what) { in setSpan() 114 sendSpanChanged(what, ostart, oend, nstart, nend); in setSpan() 131 mSpans[mSpanCount] = what; in setSpan() 138 sendSpanAdded(what, nstart, nend); in setSpan() 141 /* package */ void removeSpan(Object what) { in removeSpan() argument 147 if (spans[i] == what) { in removeSpan() 159 sendSpanRemoved(what, ostart, oend); in removeSpan() 165 public int getSpanStart(Object what) { in getSpanStart() argument 171 if (spans[i] == what) { in getSpanStart() [all …]
|
D | SpannableString.java | 45 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()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputConnectionWrapper.java | 199 switch (msg.what) { in executeMessage() 447 Log.w(TAG, "Unhandled message code: " + msg.what); in executeMessage() 450 Message obtainMessage(int what) { in obtainMessage() argument 451 return mH.obtainMessage(what); in obtainMessage() 454 Message obtainMessageII(int what, int arg1, int arg2) { in obtainMessageII() argument 455 return mH.obtainMessage(what, arg1, arg2); in obtainMessageII() 458 Message obtainMessageO(int what, Object arg1) { in obtainMessageO() argument 459 return mH.obtainMessage(what, 0, 0, arg1); in obtainMessageO() 462 Message obtainMessageISC(int what, int arg1, int seq, IInputContextCallback callback) { in obtainMessageISC() argument 466 return mH.obtainMessage(what, arg1, 0, args); in obtainMessageISC() [all …]
|
/frameworks/native/opengl/libagl/ |
D | light.cpp | 523 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/ |
D | MemoryDealer.cpp | 135 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/base/core/java/android/util/ |
D | Log.java | 99 void onTerribleFailure(String tag, TerribleFailure what, boolean system); in onTerribleFailure() argument 103 public void onTerribleFailure(String tag, TerribleFailure what, boolean system) { 104 RuntimeInit.wtf(tag, what, system); 291 TerribleFailure what = new TerribleFailure(msg, tr); in wtf() local 293 + getStackTraceString(localStack ? what : tr)); in wtf() 294 sWtfHandler.onTerribleFailure(tag, what, system); in wtf() 299 TerribleFailure what = new TerribleFailure(msg, null); in wtfQuiet() local 300 sWtfHandler.onTerribleFailure(tag, what, system); in wtfQuiet()
|