/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | BaseCommands.java | 197 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument 199 mRadioStateChangedRegistrants.addUnique(h, what, obj); in registerForRadioStateChanged() 200 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForRadioStateChanged() 211 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument 212 mImsNetworkStateChangedRegistrants.addUnique(h, what, obj); in registerForImsNetworkStateChanged() 220 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument 222 mOnRegistrants.addUnique(h, what, obj); in registerForOn() 225 Message.obtain(h, what, new AsyncResult(obj, null, null)).sendToTarget(); in registerForOn() 238 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument 240 mAvailRegistrants.addUnique(h, what, obj); in registerForAvailable() [all …]
|
D | CommandsInterface.java | 172 void registerForRadioStateChanged(Handler h, int what, Object obj); in registerForRadioStateChanged() argument 175 void registerForVoiceRadioTechChanged(Handler h, int what, Object obj); in registerForVoiceRadioTechChanged() argument 179 void registerForImsNetworkStateChanged(Handler h, int what, Object obj); in registerForImsNetworkStateChanged() argument 189 void registerForOn(Handler h, int what, Object obj); in registerForOn() argument 200 void registerForAvailable(Handler h, int what, Object obj); in registerForAvailable() argument 211 void registerForNotAvailable(Handler h, int what, Object obj); in registerForNotAvailable() argument 221 void registerForOffOrNotAvailable(Handler h, int what, Object obj); in registerForOffOrNotAvailable() argument 228 void registerForIccStatusChanged(Handler h, int what, Object obj); in registerForIccStatusChanged() argument 231 void registerForIccSlotStatusChanged(Handler h, int what, Object obj); in registerForIccSlotStatusChanged() argument 235 void registerForCallStateChanged(Handler h, int what, Object obj); in registerForCallStateChanged() argument [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 80 public boolean hasMessages(int what) { in hasMessages() argument 81 return mH.hasMessages(what); in hasMessages() 84 public void removeMessages(int what) { in removeMessages() argument 85 mH.removeMessages(what); in removeMessages() 88 public void removeMessages(int what, Object obj) { in removeMessages() argument 89 mH.removeMessages(what, obj); in removeMessages() 118 public Message obtainMessage(int what) { in obtainMessage() argument 119 return mH.obtainMessage(what); in obtainMessage() 122 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO() argument 123 return mH.obtainMessage(what, arg1 ? 1 : 0, 0, arg2); in obtainMessageBO() [all …]
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 35 if ((OTHER.what & CHANGE_FLAG) && (FIELD != OTHER.FIELD)) { \ 61 what(0), in layer_state_t() 105 SAFE_PARCEL(output.writeUint64, what); in write() 203 SAFE_PARCEL(input.readUint64, &what); in read() 356 SAFE_PARCEL(output.writeUint32, what); in write() 373 SAFE_PARCEL(input.readUint32, &what); in read() 388 if (other.what & eSurfaceChanged) { in merge() 389 what |= eSurfaceChanged; in merge() 392 if (other.what & eLayerStackChanged) { in merge() 393 what |= eLayerStackChanged; in merge() [all …]
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.cpp | 99 proto.set_what(layer.what); in toProto() 101 if (layer.what & layer_state_t::ePositionChanged) { in toProto() 105 if (layer.what & layer_state_t::eLayerChanged) { in toProto() 109 if (layer.what & layer_state_t::eLayerStackChanged) { in toProto() 112 if (layer.what & layer_state_t::eFlagsChanged) { in toProto() 116 if (layer.what & layer_state_t::eMatrixChanged) { in toProto() 123 if (layer.what & layer_state_t::eCornerRadiusChanged) { in toProto() 126 if (layer.what & layer_state_t::eBackgroundBlurRadiusChanged) { in toProto() 130 if (layer.what & layer_state_t::eAlphaChanged) { in toProto() 134 if (layer.what & layer_state_t::eColorChanged) { in toProto() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 469 msg.what = CMD_CHANNEL_DISCONNECTED; in disconnect() 505 public void sendMessage(int what) { in sendMessage() argument 507 msg.what = what; in sendMessage() 518 public void sendMessage(int what, int arg1) { in sendMessage() argument 520 msg.what = what; in sendMessage() 533 public void sendMessage(int what, int arg1, int arg2) { in sendMessage() argument 535 msg.what = what; in sendMessage() 550 public void sendMessage(int what, int arg1, int arg2, Object obj) { in sendMessage() argument 552 msg.what = what; in sendMessage() 565 public void sendMessage(int what, Object obj) { in sendMessage() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessageQueueTest.java | 55 "msg.isInuse is false, should always be true, #" + msg.what)); in handleMessage() 58 if (msg.what != mCount) { in handleMessage() 61 + ", received #" + msg.what)); in handleMessage() 68 "Message received after done, #" + msg.what)); in handleMessage() 109 if (msg.what == 0) { in testAtFrontOfQueue() 137 "msg.isInuse is false, should always be true, #" + msg.what)); in handleMessage() 140 if (msg.what != mCount) { in handleMessage() 143 + ", received #" + msg.what)); in handleMessage() 150 "Message received after done, #" + msg.what)); in handleMessage() 172 if (msg.what == 0) { in testFieldIntegrity() [all …]
|
D | IdleHandlerTest.java | 78 if (msg.what == 0) { in testOneShotFirst() 80 } else if (msg.what == 1) { in testOneShotFirst() 112 if (msg.what == 0) { in testOneShotLater() 115 } else if (msg.what == 1) { in testOneShotLater() 117 } else if (msg.what == 2) { in testOneShotLater() 151 if (msg.what == 0) { in testRepeatedFirst() 153 } else if (msg.what == 1) { in testRepeatedFirst() 185 if (msg.what == 0) { in testRepeatedLater() 188 } else if (msg.what == 1) { in testRepeatedLater() 190 } else if (msg.what == 2) { in testRepeatedLater()
|
D | BroadcasterTest.java | 54 msg.what = MESSAGE_A; in test1() 60 if (msg.what == MESSAGE_B) { in test1() 90 msg.what = MESSAGE_A; in go() 96 int index = msg.what - MESSAGE_B; in handleMessage() 156 msg.what = MESSAGE_A; in test4() 162 if (msg.what == MESSAGE_C && msg.getTarget() == h1) { in test4() 192 msg.what = MESSAGE_B; in test5() 198 if (msg.what == MESSAGE_D && msg.getTarget() == h2) { in test5() 229 msg.what = MESSAGE_A; in test6() 235 if (msg.what == MESSAGE_C && msg.getTarget() == h1) { in test6()
|
/frameworks/av/media/module/foundation/ |
D | AHandler.cpp | 27 setDeliveryStatus(true, msg->what(), ALooper::GetNowUs()); in deliverMessage() 33 uint32_t what = msg->what(); in deliverMessage() local 34 ssize_t idx = mMessages.indexOfKey(what); in deliverMessage() 36 mMessages.add(what, 1); in deliverMessage() 43 void AHandler::setDeliveryStatus(bool delivering, uint32_t what, int64_t startUs) { in setDeliveryStatus() argument 46 mCurrentMessageWhat = what; in setDeliveryStatus() 50 void AHandler::getDeliveryStatus(bool& delivering, uint32_t& what, int64_t& durationUs) { in getDeliveryStatus() argument 53 what = mCurrentMessageWhat; in getDeliveryStatus()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedCommandsVerifier.java | 69 public void registerForRadioStateChanged(Handler h, int what, Object obj) { in registerForRadioStateChanged() argument 79 public void registerForVoiceRadioTechChanged(Handler h, int what, Object obj) { in registerForVoiceRadioTechChanged() argument 89 public void registerForImsNetworkStateChanged(Handler h, int what, Object obj) { in registerForImsNetworkStateChanged() argument 99 public void registerForOn(Handler h, int what, Object obj) { in registerForOn() argument 109 public void registerForAvailable(Handler h, int what, Object obj) { in registerForAvailable() argument 119 public void registerForNotAvailable(Handler h, int what, Object obj) { in registerForNotAvailable() argument 129 public void registerForOffOrNotAvailable(Handler h, int what, Object obj) { in registerForOffOrNotAvailable() argument 139 public void registerForIccStatusChanged(Handler h, int what, Object obj) { in registerForIccStatusChanged() argument 149 public void registerForIccSlotStatusChanged(Handler h, int what, Object obj) { in registerForIccSlotStatusChanged() argument 159 public void registerForCallStateChanged(Handler h, int what, Object obj) { in registerForCallStateChanged() argument [all …]
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | StateMachine.java | 486 mWhat = (msg != null) ? msg.what : 0; in update() 549 String what = mSm != null ? mSm.getWhatToString(mWhat) : ""; in toString() local 550 if (TextUtils.isEmpty(what)) { in toString() 556 sb.append(what); in toString() 806 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage() 810 if (mDbg) mSm.log("handleMessage: E msg.what=" + msg.what); in handleMessage() 817 if (mIsConstructionCompleted || (mMsg.what == SM_QUIT_CMD)) { in handleMessage() 820 } else if (mMsg.what == SM_INIT_CMD && mMsg.obj == mSmHandlerObj) { in handleMessage() 833 if (mSm != null && msg.what != SM_INIT_CMD && msg.what != SM_QUIT_CMD) { in handleMessage() 1060 if (mDbg) mSm.log("moveDeferredMessageAtFrontOfQueue; what=" + curMsg.what); in moveDeferredMessageAtFrontOfQueue() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Handler.java | 336 sb.append("#").append(message.what); in getTraceName() 354 return "0x" + Integer.toHexString(message.what); in getMessageName() 375 public final Message obtainMessage(int what) in obtainMessage() argument 377 return Message.obtain(this, what); in obtainMessage() 390 public final Message obtainMessage(int what, @Nullable Object obj) { in obtainMessage() argument 391 return Message.obtain(this, what, obj); in obtainMessage() 404 public final Message obtainMessage(int what, int arg1, int arg2) in obtainMessage() argument 406 return Message.obtain(this, what, arg1, arg2); in obtainMessage() 420 public final Message obtainMessage(int what, int arg1, int arg2, @Nullable Object obj) { in obtainMessage() argument 421 return Message.obtain(this, what, arg1, arg2, obj); in obtainMessage() [all …]
|
D | Message.java | 45 public int what; field in Message 177 m.what = orig.what; in obtain() 227 public static Message obtain(Handler h, int what) { in obtain() argument 230 m.what = what; in obtain() 243 public static Message obtain(Handler h, int what, Object obj) { in obtain() argument 246 m.what = what; in obtain() 262 public static Message obtain(Handler h, int what, int arg1, int arg2) { in obtain() argument 265 m.what = what; in obtain() 283 public static Message obtain(Handler h, int what, in obtain() argument 287 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() 83 msg.what = what; in internalNotifyRegistrant() 106 msg.what = what; in messageForRegistrant() 124 int what; field in Registrant
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 283 public static boolean isMetaTracker(CharSequence text, Object what) { in isMetaTracker() argument 284 return what == CAP || what == ALT || what == SYM || in isMetaTracker() 285 what == SELECTING; in isMetaTracker() 292 public static boolean isSelectingMetaTracker(CharSequence text, Object what) { in isSelectingMetaTracker() argument 293 return what == SELECTING; in isSelectingMetaTracker() 296 private static void adjust(Spannable content, Object what) { in adjust() argument 297 int current = content.getSpanFlags(what); in adjust() 300 content.setSpan(what, 0, 0, USED); in adjust() 302 content.removeSpan(what); in adjust() 316 private static void resetLock(Spannable content, Object what) { in resetLock() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardLifecyclesDispatcher.java | 64 private static String getNameOfMessage(@KeyguardLifecycleMessageType int what) { in getNameOfMessage() argument 65 return switch (what) { in getNameOfMessage() 88 protected void dispatch(@KeyguardLifecycleMessageType int what) { in dispatch() argument 89 mHandler.obtainMessage(what).sendToTarget(); in dispatch() 97 protected void dispatch(@KeyguardLifecycleMessageType int what, int pmReason) { in dispatch() argument 98 final Message message = mHandler.obtainMessage(what); in dispatch() 107 protected void dispatch(@KeyguardLifecycleMessageType int what, Object object) { in dispatch() argument 108 mHandler.obtainMessage(what, object).sendToTarget(); in dispatch() 130 return TAG + "#" + getNameOfMessage(msg.what); in getTraceName() 135 switch (msg.what) { in handleMessage()
|
/frameworks/base/media/java/android/media/ |
D | AudioPortEventHandler.java | 76 if (msg.what == AUDIOPORT_EVENT_NEW_LISTENER) { in init() 88 if (msg.what == AUDIOPORT_EVENT_PORT_LIST_UPDATED || in init() 89 msg.what == AUDIOPORT_EVENT_PATCH_LIST_UPDATED || in init() 90 msg.what == AUDIOPORT_EVENT_SERVICE_DIED) { in init() 100 if (msg.what != AUDIOPORT_EVENT_SERVICE_DIED) { in init() 107 sendMessageDelayed(obtainMessage(msg.what, msg.obj), in init() 113 switch (msg.what) { in init() 120 if (msg.what == AUDIOPORT_EVENT_PORT_LIST_UPDATED) { in init() 184 int what, int arg1, int arg2, Object obj) { in postEventFromNative() argument 194 Message m = handler.obtainMessage(what, arg1, arg2, obj); in postEventFromNative() [all …]
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshot.cpp | 356 clientChanges = requested.what; in merge() 358 contentDirty = requested.what & layer_state_t::CONTENT_DIRTY; in merge() 363 if (forceUpdate || requested.what & layer_state_t::eTransparentRegionChanged) { in merge() 366 if (forceUpdate || requested.what & layer_state_t::eFlagsChanged) { in merge() 370 if (forceUpdate || requested.what & layer_state_t::eBufferTransformChanged) { in merge() 373 if (forceUpdate || requested.what & layer_state_t::eTransformToDisplayInverseChanged) { in merge() 376 if (forceUpdate || requested.what & layer_state_t::eDataspaceChanged) { in merge() 379 if (forceUpdate || requested.what & layer_state_t::eExtendedRangeBrightnessChanged) { in merge() 383 if (forceUpdate || requested.what & layer_state_t::eDesiredHdrHeadroomChanged) { in merge() 386 if (forceUpdate || requested.what & layer_state_t::eCachingHintChanged) { in merge() [all …]
|
D | RequestedLayerState.cpp | 160 uint64_t clientChanges = what | layer_state_t::diff(clientState); in merge() 162 what = clientChanges; in merge() 163 LLOGV(layerId, "requested=%" PRIu64 "flags=%" PRIu64, clientState.what, clientChanges); in merge() 165 if (clientState.what & layer_state_t::eFlagsChanged) { in merge() 180 if (clientState.what & layer_state_t::eBufferChanged) { in merge() 234 if (clientState.what & layer_state_t::eSidebandStreamChanged) { in merge() 243 if (what & (layer_state_t::eAlphaChanged)) { in merge() 265 if (clientState.what & layer_state_t::eColorTransformChanged) { in merge() 269 if (clientState.what & in merge() 274 if (clientState.what & layer_state_t::eReparent) { in merge() [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/tests/utils/testutils/tests/src/android/os/test/ |
D | TestLooperTest.java | 90 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 92 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 94 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 96 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement() 148 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove() 150 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove() 177 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce() 179 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce() 181 collector.checkThat("3: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce() 211 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeTwice() [all …]
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/log/ |
D | LogWtfHandlerRule.kt | 81 what: Log.TerribleFailure, in <lambda>() 84 failures.add(what) in <lambda>() 85 throw what in <lambda>() 99 val JustThrow = TerribleFailureTestHandler { _, what, _ -> throw what } in <lambda>() method 108 what: Log.TerribleFailure, in <lambda>() 111 failures.add(what) in <lambda>()
|
/frameworks/base/core/java/android/text/ |
D | Spannable.java | 39 public void setSpan(Object what, int start, int end, int flags); in setSpan() argument 46 public void removeSpan(Object what); in removeSpan() argument 57 default void removeSpan(Object what, int flags) { in removeSpan() argument 58 removeSpan(what); in removeSpan()
|
D | SpannableStringInternal.java | 185 /* package */ void setSpan(Object what, int start, int end, int flags) { in setSpan() argument 186 setSpan(what, start, end, flags, true/*enforceParagraph*/); in setSpan() 195 private void setSpan(Object what, int start, int end, int flags, boolean enforceParagraph) { in setSpan() argument 226 if (spans[i] == what) { in setSpan() 234 sendSpanChanged(what, ostart, oend, nstart, nend); in setSpan() 251 mSpans[mSpanCount] = what; in setSpan() 258 sendSpanAdded(what, nstart, nend); in setSpan() 262 /* package */ void removeSpan(Object what) { in removeSpan() argument 263 removeSpan(what, 0 /* flags */); in removeSpan() 269 public void removeSpan(Object what, int flags) { in removeSpan() argument [all …]
|