/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 21 import android.os.Message; 46 public void getIccCardStatus(Message result) { in getIccCardStatus() 50 public void supplyIccPin(String pin, Message result) { in supplyIccPin() 54 public void supplyIccPuk(String puk, String newPin, Message result) { in supplyIccPuk() 58 public void supplyIccPin2(String pin, Message result) { in supplyIccPin2() 62 public void supplyIccPuk2(String puk, String newPin2, Message result) { in supplyIccPuk2() 66 public void changeIccPin(String oldPin, String newPin, Message result) { in changeIccPin() 70 public void changeIccPin2(String oldPin2, String newPin2, Message result) { in changeIccPin2() 75 String newPwd, Message result) { in changeBarringPassword() 79 public void supplyNetworkDepersonalization(String netpin, Message result) { in supplyNetworkDepersonalization() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 21 import android.os.Message; 47 public void getIccCardStatus(Message result) { in getIccCardStatus() 51 public void supplyIccPin(String pin, Message result) { in supplyIccPin() 55 public void supplyIccPuk(String puk, String newPin, Message result) { in supplyIccPuk() 59 public void supplyIccPin2(String pin, Message result) { in supplyIccPin2() 63 public void supplyIccPuk2(String puk, String newPin2, Message result) { in supplyIccPuk2() 67 public void changeIccPin(String oldPin, String newPin, Message result) { in changeIccPin() 71 public void changeIccPin2(String oldPin2, String newPin2, Message result) { in changeIccPin2() 76 String newPwd, Message result) { in changeBarringPassword() 80 public void supplyNetworkDepersonalization(String netpin, Message result) { in supplyNetworkDepersonalization() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 25 import android.os.Message; 131 void getImsRegistrationState(Message result); in getImsRegistrationState() 425 void setSuppServiceNotifications(boolean enable, Message result); in setSuppServiceNotifications() 635 void supplyIccPin(String pin, Message result); in supplyIccPin() 654 void supplyIccPinForApp(String pin, String aid, Message result); in supplyIccPinForApp() 671 void supplyIccPuk(String puk, String newPin, Message result); in supplyIccPuk() 689 void supplyIccPukForApp(String puk, String newPin, String aid, Message result); in supplyIccPukForApp() 708 void supplyIccPin2(String pin2, Message result); in supplyIccPin2() 729 void supplyIccPin2ForApp(String pin2, String aid, Message result); in supplyIccPin2ForApp() 748 void supplyIccPuk2(String puk2, String newPin2, Message result); in supplyIccPuk2() [all …]
|
D | IccCard.java | 20 import android.os.Message; 93 public void supplyPin (String pin, Message onComplete); in supplyPin() 98 public void supplyPuk (String puk, String newPin, Message onComplete); in supplyPuk() 103 public void supplyPin2 (String pin2, Message onComplete); in supplyPin2() 108 public void supplyPuk2 (String puk2, String newPin2, Message onComplete); in supplyPuk2() 120 public void supplyNetworkDepersonalization (String pin, Message onComplete); in supplyNetworkDepersonalization() 152 String password, Message onComplete); in setIccLockEnabled() 166 String password, Message onComplete); in setIccFdnEnabled() 180 Message onComplete); in changeIccLockPassword() 194 Message onComplete); in changeIccFdnPassword()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedCommandsVerifier.java | 20 import android.os.Message; 52 public void getImsRegistrationState(Message result) { in getImsRegistrationState() 397 public void setSuppServiceNotifications(boolean enable, Message result) { in setSuppServiceNotifications() 577 public void supplyIccPin(String pin, Message result) { in supplyIccPin() 582 public void supplyIccPinForApp(String pin, String aid, Message result) { in supplyIccPinForApp() 587 public void supplyIccPuk(String puk, String newPin, Message result) { in supplyIccPuk() 592 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { in supplyIccPukForApp() 597 public void supplyIccPin2(String pin2, Message result) { in supplyIccPin2() 602 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { in supplyIccPin2ForApp() 607 public void supplyIccPuk2(String puk2, String newPin2, Message result) { in supplyIccPuk2() [all …]
|
D | SimulatedCommands.java | 23 import android.os.Message; 125 ArrayList<Message> mPausedResponses = new ArrayList<Message>(); 158 public void getIccCardStatus(Message result) { in getIccCardStatus() 167 public void supplyIccPin(String pin, Message result) { in supplyIccPin() 205 public void supplyIccPuk(String puk, String newPin, Message result) { in supplyIccPuk() 242 public void supplyIccPin2(String pin2, Message result) { in supplyIccPin2() 278 public void supplyIccPuk2(String puk2, String newPin2, Message result) { in supplyIccPuk2() 314 public void changeIccPin(String oldPin, String newPin, Message result) { in changeIccPin() 330 public void changeIccPin2(String oldPin2, String newPin2, Message result) { in changeIccPin2() 347 changeBarringPassword(String facility, String oldPwd, String newPwd, Message result) { in changeBarringPassword() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java.broken | 21 import android.os.Message; 108 Message response) { 123 Message response) { 138 public synchronized void sendEnvelopeWithStatus(String contents, Message response) { 161 public void setSuppServiceNotifications(boolean enable, Message result) { 165 public void supplyIccPin(String pin, Message result) { 169 public void supplyIccPinForApp(String pin, String aid, Message result) { 173 public void supplyIccPuk(String puk, String newPin, Message result) { 177 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { 181 public void supplyIccPin2(String pin2, Message result) { [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 27 import android.os.Message; 295 Message response = sendMessageSynchronously(CMD_CHANNEL_FULL_CONNECTION); in fullyConnectSync() 458 Message msg = Message.obtain(); in disconnect() 479 public void sendMessage(Message msg) { in sendMessage() 494 Message msg = Message.obtain(); in sendMessage() 506 Message msg = Message.obtain(); in sendMessage() 520 Message msg = Message.obtain(); in sendMessage() 536 Message msg = Message.obtain(); in sendMessage() 551 Message msg = Message.obtain(); in sendMessage() 563 public void replyToMessage(Message srcMsg, Message dstMsg) { in replyToMessage() [all …]
|
D | StateMachine.java | 22 import android.os.Message; 468 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState, in LogRec() 479 public void update(StateMachine sm, Message msg, String info, IState state, IState orgState, in update() 663 synchronized void add(StateMachine sm, Message msg, String messageInfo, IState state, in add() 691 private Message mMsg; 754 private ArrayList<Message> mDeferredMessages = new ArrayList<Message>(); 761 public boolean processMessage(Message msg) { in processMessage() 772 public boolean processMessage(Message msg) { in processMessage() 784 public final void handleMessage(Message msg) { in handleMessage() 824 private void performTransitions(State msgProcessedState, Message msg) { in performTransitions() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsUtInterface.java | 19 import android.os.Message; 109 public void queryCallBarring(int cbType, Message result); in queryCallBarring() 115 public void queryCallForward(int condition, String number, Message result); in queryCallForward() 121 public void queryCallWaiting(Message result); in queryCallWaiting() 126 public void queryCLIR(Message result); in queryCLIR() 131 public void queryCLIP(Message result); in queryCLIP() 136 public void queryCOLR(Message result); in queryCOLR() 141 public void queryCOLP(Message result); in queryCOLP() 147 Message result, String[] barrList); in updateCallBarring() 153 int serviceClass, int timeSeconds, Message result); in updateCallForward() [all …]
|
D | ImsUt.java | 24 import android.os.Message; 72 private HashMap<Integer, Message> mPendingCmds = 73 new HashMap<Integer, Message>(); 96 Map.Entry<Integer, Message>[] entries = in close() 99 for (Map.Entry<Integer, Message> entry : entries) { in close() 121 public void queryCallBarring(int cbType, Message result) { in queryCallBarring() 149 public void queryCallForward(int condition, String number, Message result) { in queryCallForward() 178 public void queryCallWaiting(Message result) { in queryCallWaiting() 205 public void queryCLIR(Message result) { in queryCLIR() 231 public void queryCLIP(Message result) { in queryCLIP() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Handler.java | 81 public boolean handleMessage(Message msg); in handleMessage() 87 public void handleMessage(Message msg) { in handleMessage() 93 public void dispatchMessage(Message msg) { in dispatchMessage() 235 public String getTraceName(Message message) { in getTraceName() 254 public String getMessageName(Message message) { in getMessageName() 266 public final Message obtainMessage() in obtainMessage() 268 return Message.obtain(this); in obtainMessage() 277 public final Message obtainMessage(int what) in obtainMessage() 279 return Message.obtain(this, what); in obtainMessage() 291 public final Message obtainMessage(int what, Object obj) in obtainMessage() [all …]
|
D | Message.java | 32 public final class Message implements Parcelable { class 108 /*package*/ Message next; 111 private static Message sPool; 122 public static Message obtain() { in obtain() 125 Message m = sPool; in obtain() 133 return new Message(); in obtain() 142 public static Message obtain(Message orig) { in obtain() 143 Message m = obtain(); in obtain() 164 public static Message obtain(Handler h) { in obtain() 165 Message m = obtain(); in obtain() [all …]
|
D | MessageQueue.java | 48 Message mMessages; 307 Message next() { in next() 328 Message prevMsg = null; in next() 329 Message msg = mMessages; in next() 467 final Message msg = Message.obtain(); in postSyncBarrier() 472 Message prev = null; in postSyncBarrier() 473 Message p = mMessages; in postSyncBarrier() 505 Message prev = null; in removeSyncBarrier() 506 Message p = mMessages; in removeSyncBarrier() 533 boolean enqueueMessage(Message msg, long when) { in enqueueMessage() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 22 import android.os.Message; 36 public void handleMessage(Message msg) { in handleMessage() 42 public void executeMessage(Message msg); in executeMessage() 56 public void executeOrSendMessage(Message msg) { in executeOrSendMessage() 69 public void sendMessageDelayed(Message msg, long delayMillis) { in sendMessageDelayed() 85 public void sendMessage(Message msg) { in sendMessage() 89 public SomeArgs sendMessageAndWait(Message msg) { in sendMessageAndWait() 109 public Message obtainMessage(int what) { in obtainMessage() 113 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO() 117 public Message obtainMessageBOO(int what, boolean arg1, Object arg2, Object arg3) { in obtainMessageBOO() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BroadcasterTest.java | 21 import android.os.Message; 46 Message msg = new Message(); in test1() 52 public void handleMessage(Message msg) { in test1() 82 Message msg = new Message(); in go() 88 public void handleMessage(Message msg) { in handleMessage() 145 Message msg = new Message(); in test4() 151 public void handleMessage(Message msg) { in test4() 180 Message msg = new Message(); in test5() 186 public void handleMessage(Message msg) { in test5() 216 Message msg = new Message(); in test6() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccFileHandler.java | 109 Message mOnLoaded; 113 LoadLinearFixedContext(int efid, int recordNum, Message onLoaded) { in LoadLinearFixedContext() 121 LoadLinearFixedContext(int efid, int recordNum, String path, Message onLoaded) { in LoadLinearFixedContext() 129 LoadLinearFixedContext(int efid, String path, Message onLoaded) { in LoadLinearFixedContext() 137 LoadLinearFixedContext(int efid, Message onLoaded) { in LoadLinearFixedContext() 171 public void loadEFLinearFixed(int fileid, String path, int recordNum, Message onLoaded) { in loadEFLinearFixed() 173 Message response in loadEFLinearFixed() 191 public void loadEFLinearFixed(int fileid, int recordNum, Message onLoaded) { in loadEFLinearFixed() 204 public void loadEFImgLinearFixed(int recordNum, Message onLoaded) { in loadEFImgLinearFixed() 205 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, in loadEFImgLinearFixed() [all …]
|
D | AdnRecordCache.java | 21 import android.os.Message; 43 SparseArray<ArrayList<Message>> mAdnLikeWaiters 44 = new SparseArray<ArrayList<Message>>(); 47 SparseArray<Message> mUserWriteResponse = new SparseArray<Message>(); 80 ArrayList<Message> waiters = mAdnLikeWaiters.valueAt(i); in clearWaiters() 122 private void sendErrorResponse(Message response, String errString) { in sendErrorResponse() 141 Message response) { in updateAdnByIndex() 150 Message pendingResponse = mUserWriteResponse.get(efid); in updateAdnByIndex() 179 String pin2, Message response) { in updateAdnBySearch() 230 Message pendingResponse = mUserWriteResponse.get(efid); in updateAdnBySearch() [all …]
|
/frameworks/base/tests/utils/testutils/java/android/os/test/ |
D | TestLooper.java | 22 import android.os.Message; 58 MESSAGE_NEXT_FIELD = Message.class.getDeclaredField("next"); 60 MESSAGE_WHEN_FIELD = Message.class.getDeclaredField("when"); 62 MESSAGE_MARK_IN_USE_METHOD = Message.class.getDeclaredMethod("markInUse"); 86 private Message getMessageLinkedList() { in getMessageLinkedList() 89 return (Message) MESSAGE_QUEUE_MESSAGES_FIELD.get(queue); in getMessageLinkedList() 98 Message msg = getMessageLinkedList(); in moveTimeForward() 105 msg = (Message) MESSAGE_NEXT_FIELD.get(msg); in moveTimeForward() 112 private Message messageQueueNext() { in messageQueueNext() 116 Message prevMsg = null; in messageQueueNext() [all …]
|
D | TestLooperTest.java | 29 import android.os.Message; 75 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testNoTimeMovement() 92 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testNoTimeMovement() 107 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchNoTimeMove() 120 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testDelayedDispatchNoTimeMove() 135 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchAdvanceTimeOnce() 151 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testDelayedDispatchAdvanceTimeOnce() 167 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchAdvanceTimeTwice() 187 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testDelayedDispatchAdvanceTimeTwice() 203 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchReverseOrder() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MockLooper.java | 22 import android.os.Message; 58 MESSAGE_NEXT_FIELD = Message.class.getDeclaredField("next"); 60 MESSAGE_WHEN_FIELD = Message.class.getDeclaredField("when"); 62 MESSAGE_MARK_IN_USE_METHOD = Message.class.getDeclaredMethod("markInUse"); 86 private Message getMessageLinkedList() { in getMessageLinkedList() 89 return (Message) MESSAGE_QUEUE_MESSAGES_FIELD.get(queue); in getMessageLinkedList() 98 Message msg = getMessageLinkedList(); in moveTimeForward() 105 msg = (Message) MESSAGE_NEXT_FIELD.get(msg); in moveTimeForward() 112 private Message messageQueueNext() { in messageQueueNext() 116 Message prevMsg = null; in messageQueueNext() [all …]
|
D | MockLooperTest.java | 29 import android.os.Message; 75 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testNoTimeMovement() 92 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testNoTimeMovement() 107 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchNoTimeMove() 120 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testDelayedDispatchNoTimeMove() 135 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchAdvanceTimeOnce() 151 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testDelayedDispatchAdvanceTimeOnce() 167 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchAdvanceTimeTwice() 187 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testDelayedDispatchAdvanceTimeTwice() 203 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in testDelayedDispatchReverseOrder() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneMock.java | 23 import android.os.Message; 157 public void handleMessage(Message msg) { in handleMessage() 329 public void setNetworkSelectionModeAutomatic(Message response) { in setNetworkSelectionModeAutomatic() 333 public void getNetworkSelectionMode(Message message) { in getNetworkSelectionMode() 338 Message response) { in selectNetworkManually() 351 public void restoreSavedNetworkSelection(Message response) { in restoreSavedNetworkSelection() 461 public void queryCdmaRoamingPreference(Message response) { in queryCdmaRoamingPreference() 469 public void setCdmaRoamingPreference(int cdmaRoamingType, Message response) { in setCdmaRoamingPreference() 473 public void setCdmaSubscription(int cdmaSubscriptionType, Message response) { in setCdmaSubscription() 477 public void setPreferredNetworkType(int networkType, Message response) { in setPreferredNetworkType() [all …]
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizer.java | 28 import android.os.Message; 128 public void handleMessage(Message msg) { 150 private final Queue<Message> mPendingTasks = new LinkedList<Message>(); 250 putMessage(Message.obtain(mHandler, MSG_CHANGE_LISTENER, listener)); in setRecognitionListener() 295 putMessage(Message.obtain(mHandler, MSG_START, recognizerIntent)); in startListening() 310 putMessage(Message.obtain(mHandler, MSG_STOP)); in stopListening() 320 putMessage(Message.obtain(mHandler, MSG_CANCEL)); in cancel() 330 private void putMessage(Message msg) { in putMessage() 435 public void handleMessage(Message msg) { 472 Message.obtain(mInternalHandler, MSG_BEGINNING_OF_SPEECH).sendToTarget(); in onBeginningOfSpeech() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneTest.java | 28 import android.os.Message; 181 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallWaiting() 208 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallHold() 247 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallEct() 264 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testHandleInCallMmiCommandCallCcbs() 276 verify(mImsCT).sendUSSD(eq("1234"), any(Message.class)); in testDispose() 290 Message msg = mTestHandler.obtainMessage(); in testGettersAndPassThroughs() 370 ArgumentCaptor<Message> messageArgumentCaptor = ArgumentCaptor.forClass(Message.class); in testSuppServiceNotification() 373 Message message = messageArgumentCaptor.getValue(); in testSuppServiceNotification() 383 verify(mTestHandler, times(1)).sendMessageAtTime(any(Message.class), anyLong()); in testSuppServiceNotification() [all …]
|