Home
last modified time | relevance | path

Searched refs:Message (Results 1 – 25 of 920) sorted by relevance

12345678910>>...37

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java23 import android.os.Message;
56 public void getIccCardStatus(Message result) { in getIccCardStatus()
60 public void getIccSlotsStatus(Message result) { in getIccSlotsStatus()
64 public void setLogicalToPhysicalSlotMapping(int[] physicalSlots, Message result) { in setLogicalToPhysicalSlotMapping()
68 public void supplyIccPin(String pin, Message result) { in supplyIccPin()
72 public void supplyIccPuk(String puk, String newPin, Message result) { in supplyIccPuk()
76 public void supplyIccPin2(String pin, Message result) { in supplyIccPin2()
80 public void supplyIccPuk2(String puk, String newPin2, Message result) { in supplyIccPuk2()
84 public void changeIccPin(String oldPin, String newPin, Message result) { in changeIccPin()
88 public void changeIccPin2(String oldPin2, String newPin2, Message result) { in changeIccPin2()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandsInterface.java26 import android.os.Message;
162 void getImsRegistrationState(Message result); in getImsRegistrationState()
496 void setSuppServiceNotifications(boolean enable, Message result); in setSuppServiceNotifications()
743 void supplyIccPin(String pin, Message result); in supplyIccPin()
762 void supplyIccPinForApp(String pin, String aid, Message result); in supplyIccPinForApp()
779 void supplyIccPuk(String puk, String newPin, Message result); in supplyIccPuk()
797 void supplyIccPukForApp(String puk, String newPin, String aid, Message result); in supplyIccPukForApp()
816 void supplyIccPin2(String pin2, Message result); in supplyIccPin2()
837 void supplyIccPin2ForApp(String pin2, String aid, Message result); in supplyIccPin2ForApp()
856 void supplyIccPuk2(String puk2, String newPin2, Message result); in supplyIccPuk2()
[all …]
DIccCard.java23 import android.os.Message;
108 public void supplyPin(String pin, Message onComplete) { in supplyPin()
116 public void supplyPuk(String puk, String newPin, Message onComplete) { in supplyPuk()
123 public void supplyPin2(String pin2, Message onComplete) { in supplyPin2()
130 public void supplyPuk2(String puk2, String newPin2, Message onComplete) { in supplyPuk2()
138 public void supplyNetworkDepersonalization(String pin, Message onComplete) { in supplyNetworkDepersonalization()
146 String controlKey, Message onComplete) { in supplySimDepersonalization()
193 String password, Message onComplete) { in setIccLockEnabled()
209 String password, Message onComplete) { in setIccFdnEnabled()
225 Message onComplete) { in changeIccLockPassword()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedCommandsVerifier.java23 import android.os.Message;
64 public void getImsRegistrationState(Message result) { in getImsRegistrationState()
429 public void setSuppServiceNotifications(boolean enable, Message result) { in setSuppServiceNotifications()
609 public void supplyIccPin(String pin, Message result) { in supplyIccPin()
614 public void supplyIccPinForApp(String pin, String aid, Message result) { in supplyIccPinForApp()
619 public void supplyIccPuk(String puk, String newPin, Message result) { in supplyIccPuk()
624 public void supplyIccPukForApp(String puk, String newPin, String aid, Message result) { in supplyIccPukForApp()
629 public void supplyIccPin2(String pin2, Message result) { in supplyIccPin2()
634 public void supplyIccPin2ForApp(String pin2, String aid, Message result) { in supplyIccPin2ForApp()
639 public void supplyIccPuk2(String puk2, String newPin2, Message result) { in supplyIccPuk2()
[all …]
DSimulatedCommands.java31 import android.os.Message;
178 ArrayList<Message> mPausedResponses = new ArrayList<Message>();
236 public void getIccCardStatus(Message result) { in getIccCardStatus()
250 public void getIccSlotsStatus(Message result) { in getIccSlotsStatus()
261 public void setLogicalToPhysicalSlotMapping(int[] physicalSlots, Message result) { in setLogicalToPhysicalSlotMapping()
266 public void supplyIccPin(String pin, Message result) { in supplyIccPin()
304 public void supplyIccPuk(String puk, String newPin, Message result) { in supplyIccPuk()
341 public void supplyIccPin2(String pin2, Message result) { in supplyIccPin2()
377 public void supplyIccPuk2(String puk2, String newPin2, Message result) { in supplyIccPuk2()
413 public void changeIccPin(String oldPin, String newPin, Message result) { in changeIccPin()
[all …]
DDeviceStateMonitorTest.java44 import android.os.Message;
208 acIndicationFilter.capture(), nullable(Message.class)); in verifySetUnsolResponseFilter()
216 eq(INDICATION_FILTERS_MINIMUM), nullable(Message.class)); in verifySetUnsolResponseFilter()
224 nullable(Message.class)); in testSetUnsolResponseFilter_noReduandantCall()
229 nullable(Message.class)); in testSetUnsolResponseFilter_noReduandantCall()
233 nullable(Message.class)); in testSetUnsolResponseFilter_noReduandantCall()
242 eq(INDICATION_FILTERS_WHEN_SCREEN_ON), nullable(Message.class)); in testScreenOnOff()
248 eq(INDICATION_FILTERS_MINIMUM), nullable(Message.class)); in testScreenOnOff()
259 .sendDeviceState(eq(LOW_DATA_EXPECTED), eq(true), nullable(Message.class)); in testScreenOnOffwithRadioToggle()
267 .sendDeviceState(anyInt(), anyBoolean(), nullable(Message.class)); in testScreenOnOffwithRadioToggle()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccFileHandlerTest.java35 import android.os.Message;
103 Message response = invocation.getArgument(9); in loadEFLinearFixed_WithNullPath()
110 isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed_WithNullPath()
112 Message message = Message.obtain(mTestHandler); in loadEFLinearFixed_WithNullPath()
115 anyInt(), anyInt(), anyInt(), isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed_WithNullPath()
122 Message response = invocation.getArgument(9); in loadEFLinearFixed()
129 isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed()
131 Message message = Message.obtain(mTestHandler); in loadEFLinearFixed()
134 anyInt(), anyInt(), anyInt(), isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed()
141 Message response = invocation.getArgument(9); in loadEFImgLinearFixed()
[all …]
DAdnRecordCacheTest.java36 import android.os.Message;
64 protected void setAdnLikeWriters(int key, ArrayList<Message> waiters) { in setAdnLikeWriters()
72 protected void setUserWriteResponse(int key, Message message) { in setUserWriteResponse()
108 Message message1 = Message.obtain(mTestHandler); in resetTest()
109 Message message2 = Message.obtain(mTestHandler); in resetTest()
112 ArrayList<Message> waiters = new ArrayList<>(); in resetTest()
134 Message message = Message.obtain(mTestHandler); in updateAdnByIndexEfException()
146 Message message = Message.obtain(mTestHandler); in updateAdnByIndex_WriteResponseException()
147 Message message2 = Message.obtain(mTestHandler); in updateAdnByIndex_WriteResponseException()
162 Message response = invocation.getArgument(2); in updateAdnByIndex()
[all …]
DSIMRecordsTest.java35 import android.os.Message;
136 Message message = Message.obtain(mTestHandler); in testSetForbiddenPlmnsPad()
143 verify(mFhMock).getEFTransparentRecordSize(eq(mSIMRecordsUT.EF_FPLMN), any(Message.class)); in testSetForbiddenPlmnsPad()
145 eq(mSIMRecordsUT.EF_FPLMN), eq(encodedFplmn), any(Message.class)); in testSetForbiddenPlmnsPad()
151 Message message = Message.obtain(mTestHandler); in testSetForbiddenPlmnsTruncate()
158 verify(mFhMock).getEFTransparentRecordSize(eq(mSIMRecordsUT.EF_FPLMN), any(Message.class)); in testSetForbiddenPlmnsTruncate()
160 eq(mSIMRecordsUT.EF_FPLMN), eq(encodedFplmn), any(Message.class)); in testSetForbiddenPlmnsTruncate()
166 Message message = Message.obtain(mTestHandler); in testSetForbiddenPlmnsClear()
173 verify(mFhMock).getEFTransparentRecordSize(eq(mSIMRecordsUT.EF_FPLMN), any(Message.class)); in testSetForbiddenPlmnsClear()
175 eq(mSIMRecordsUT.EF_FPLMN), eq(encodedFplmn), any(Message.class)); in testSetForbiddenPlmnsClear()
[all …]
DUiccCarrierPrivilegeRulesTest.java29 import android.os.Message;
77 Message message = (Message) invocation.getArguments()[2]; in testHelper()
83 }).when(mUiccProfile).iccOpenLogicalChannel(anyString(), anyInt(), any(Message.class)); in testHelper()
88 Message message = (Message) invocation.getArguments()[8]; in testHelper()
96 anyInt(), anyInt(), anyString(), eq(false) /*isEs10Command*/, any(Message.class)); in testHelper()
101 Message message = (Message) invocation.getArguments()[2]; in testHelper()
105 }).when(mUiccProfile).iccCloseLogicalChannel(anyInt(), eq(false), any(Message.class)); in testHelper()
312 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAM()
325 }).when(mUiccProfile).iccOpenLogicalChannel(anyString(), anyInt(), any(Message.class)); in testAID_OnlyARAM()
330 Message message = (Message) invocation.getArguments()[8]; in testAID_OnlyARAM()
[all …]
DIsimUiccRecordsTest.java44 import android.os.Message;
106 Message msg = new Message(); in testBroadcastRefresh()
125 Message message = mIsimUiccRecordsUT.obtainMessage( in testPsiSmscTelValue()
146 Message message = mIsimUiccRecordsUT.obtainMessage( in testGetPsiSmscSipValue()
160 Message message = mIsimUiccRecordsUT.obtainMessage( in testGetPsiSmscValueException()
174 Message message = mIsimUiccRecordsUT.obtainMessage( in testGetPsiSmscValueInvalidObject()
190 Message message = mIsimUiccRecordsUT.obtainMessage( in testGetSmssTpmrValue()
204 Message message = mIsimUiccRecordsUT.obtainMessage( in testGetSmssTpmrValueException()
220 Message message = mIsimUiccRecordsUT.obtainMessage( in testGetSmssTpmrValueExtreme()
233 Message message = mIsimUiccRecordsUT.obtainMessage( in setValidSmssValue()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java29 import android.os.Message;
303 Message response = sendMessageSynchronously(CMD_CHANNEL_FULL_CONNECTION); in fullyConnectSync()
468 Message msg = Message.obtain(); in disconnect()
490 public void sendMessage(Message msg) { in sendMessage()
506 Message msg = Message.obtain(); in sendMessage()
519 Message msg = Message.obtain(); in sendMessage()
534 Message msg = Message.obtain(); in sendMessage()
551 Message msg = Message.obtain(); in sendMessage()
566 Message msg = Message.obtain(); in sendMessage()
579 public void replyToMessage(Message srcMsg, Message dstMsg) { in replyToMessage()
[all …]
/frameworks/base/telephony/java/com/android/ims/
DImsUtInterface.java22 import android.os.Message;
116 public void queryCallBarring(int cbType, Message result); in queryCallBarring()
122 public void queryCallBarring(int cbType, Message result, int serviceClass); in queryCallBarring()
129 public void queryCallForward(int condition, String number, Message result); in queryCallForward()
135 public void queryCallWaiting(Message result); in queryCallWaiting()
140 public void queryCLIR(Message result); in queryCLIR()
145 public void queryCLIP(Message result); in queryCLIP()
150 public void queryCOLR(Message result); in queryCOLR()
155 public void queryCOLP(Message result); in queryCOLP()
161 Message result, String[] barrList); in updateCallBarring()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dmock_service_endpoint.h19 Status<RemoteChannelHandle>(Message* message, int flags,
22 Status<int>(const Message* message, ChannelReference ref,
24 MOCK_METHOD1(MessageReceive, Status<void>(Message* message));
25 MOCK_METHOD2(MessageReply, Status<void>(Message* message, int return_code));
27 Status<void>(Message* message, unsigned int push_fd));
29 Status<void>(Message* message,
32 Status<void>(Message* message,
35 Status<void>(Message* message,
38 Status<size_t>(Message* message, const iovec* vector,
41 Status<size_t>(Message* message, const iovec* vector,
[all …]
Dservice_endpoint.h15 class Message; variable
69 virtual Status<RemoteChannelHandle> PushChannel(Message* message, int flags,
77 virtual Status<int> CheckChannel(const Message* message, ChannelReference ref,
81 virtual Status<void> MessageReceive(Message* message) = 0;
84 virtual Status<void> MessageReply(Message* message, int return_code) = 0;
87 virtual Status<void> MessageReplyFd(Message* message,
92 Message* message, const LocalChannelHandle& handle) = 0;
96 Message* message, const BorrowedChannelHandle& handle) = 0;
100 Message* message, const RemoteChannelHandle& handle) = 0;
103 virtual Status<size_t> ReadMessageData(Message* message, const iovec* vector,
[all …]
/frameworks/native/libs/vr/libpdx/
Dservice.cpp20 Message::Message() : replied_(true) {} in Message() function in android::pdx::Message
22 Message::Message(const MessageInfo& info) in Message() function in android::pdx::Message
34 Message::Message(Message&& other) noexcept { *this = std::move(other); } in Message() function in android::pdx::Message
36 Message& Message::operator=(Message&& other) noexcept { in operator =()
49 Message::~Message() { Destroy(); } in ~Message()
51 void Message::Destroy() { in Destroy()
68 const std::uint8_t* Message::ImpulseBegin() const { in ImpulseBegin()
72 const std::uint8_t* Message::ImpulseEnd() const { in ImpulseEnd()
76 Status<size_t> Message::ReadVector(const struct iovec* vector, in ReadVector()
86 Status<void> Message::ReadVectorAll(const struct iovec* vector, in ReadVectorAll()
[all …]
/frameworks/base/core/java/android/os/
DMessage.java36 public final class Message implements Parcelable { class
137 /*package*/ Message next;
142 private static Message sPool;
153 public static Message obtain() { in obtain()
156 Message m = sPool; in obtain()
164 return new Message(); in obtain()
173 public static Message obtain(Message orig) { in obtain()
174 Message m = obtain(); in obtain()
196 public static Message obtain(Handler h) { in obtain()
197 Message m = obtain(); in obtain()
[all …]
DMessageQueue.java54 Message mMessages;
319 Message next() { in next()
340 Message prevMsg = null; in next()
341 Message msg = mMessages; in next()
481 final Message msg = Message.obtain(); in postSyncBarrier()
486 Message prev = null; in postSyncBarrier()
487 Message p = mMessages; in postSyncBarrier()
521 Message prev = null; in removeSyncBarrier()
522 Message p = mMessages; in removeSyncBarrier()
549 boolean enqueueMessage(Message msg, long when) { in enqueueMessage()
[all …]
DHandler.java85 boolean handleMessage(@NonNull Message msg); in handleMessage()
91 public void handleMessage(@NonNull Message msg) { in handleMessage()
97 public void dispatchMessage(@NonNull Message msg) { in dispatchMessage()
325 public String getTraceName(@NonNull Message message) { in getTraceName()
349 public String getMessageName(@NonNull Message message) { in getMessageName()
362 public final Message obtainMessage() in obtainMessage()
364 return Message.obtain(this); in obtainMessage()
374 public final Message obtainMessage(int what) in obtainMessage()
376 return Message.obtain(this, what); in obtainMessage()
389 public final Message obtainMessage(int what, @Nullable Object obj) { in obtainMessage()
[all …]
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dservice_endpoint.h47 Status<RemoteChannelHandle> PushChannel(Message* message, int flags,
50 Status<int> CheckChannel(const Message* message, ChannelReference ref,
52 Status<void> MessageReceive(Message* message) override;
53 Status<void> MessageReply(Message* message, int return_code) override;
54 Status<void> MessageReplyFd(Message* message, unsigned int push_fd) override;
56 Message* message, const LocalChannelHandle& handle) override;
58 Message* message, const BorrowedChannelHandle& handle) override;
60 Message* message, const RemoteChannelHandle& handle) override;
61 Status<size_t> ReadMessageData(Message* message, const iovec* vector,
63 Status<size_t> WriteMessageData(Message* message, const iovec* vector,
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataServiceManagerTest.java34 import android.os.Message;
140 private void waitAndVerifyResult(Message message, int resultCode) { in waitAndVerifyResult()
144 ArgumentCaptor<Message> messageCaptor = ArgumentCaptor.forClass(Message.class); in waitAndVerifyResult()
152 Message message = Message.obtain(mHandler, 1234); in testSetupDataCall()
159 any(Message.class)); in testSetupDataCall()
165 Message message = Message.obtain(mHandler, 1234); in testSetupDataCallServiceNotBound()
172 any(Message.class)); in testSetupDataCallServiceNotBound()
178 Message message = mHandler.obtainMessage(1234); in testDeactivateDataCall()
182 any(Message.class)); in testDeactivateDataCall()
188 Message message = mHandler.obtainMessage(1234); in testDeactivateDataCallServiceNotBound()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java23 import android.os.Message;
43 public void handleMessage(Message msg) { in handleMessage()
49 public void executeMessage(Message msg); in executeMessage()
63 public void executeOrSendMessage(Message msg) { in executeOrSendMessage()
76 public void sendMessageDelayed(Message msg, long delayMillis) { in sendMessageDelayed()
93 public void sendMessage(Message msg) { in sendMessage()
97 public SomeArgs sendMessageAndWait(Message msg) { in sendMessageAndWait()
118 public Message obtainMessage(int what) { in obtainMessage()
122 public Message obtainMessageBO(int what, boolean arg1, Object arg2) { in obtainMessageBO()
126 public Message obtainMessageBOO(int what, boolean arg1, Object arg2, Object arg3) { in obtainMessageBOO()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java43 Message msg = new Message(); in test1()
49 public void handleMessage(Message msg) { in test1()
79 Message msg = new Message(); in go()
85 public void handleMessage(Message msg) { in handleMessage()
142 Message msg = new Message(); in test4()
148 public void handleMessage(Message msg) { in test4()
177 Message msg = new Message(); in test5()
183 public void handleMessage(Message msg) { in test5()
213 Message msg = new Message(); in test6()
219 public void handleMessage(Message msg) { in test6()
/frameworks/native/libs/vr/libpdx/fuzz/
Dhelpers.h85 Status<void> MessageReceive(Message* message) { in MessageReceive()
107 *message = Message(info); in MessageReceive()
142 Status<RemoteChannelHandle> PushChannel(Message* message, int flags, in PushChannel()
155 Status<int> CheckChannel(const Message* message, ChannelReference ref, in CheckChannel()
164 Status<void> MessageReply(Message* message, int return_code) { in MessageReply()
171 Status<void> MessageReplyFd(Message* message, unsigned int push_fd) { in MessageReplyFd()
178 Status<void> MessageReplyChannelHandle(Message* message, in MessageReplyChannelHandle()
186 Status<void> MessageReplyChannelHandle(Message* message, in MessageReplyChannelHandle()
194 Status<void> MessageReplyChannelHandle(Message* message, in MessageReplyChannelHandle()
202 Status<size_t> ReadMessageData(Message* message, const iovec* vector, in ReadMessageData()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/d2d/
DDtmfTransportConversionTest.java48 public Communicator.Message commMessage;
52 TestParams(Communicator.Message theMessage, Pair<String,String> theDigits, in TestParams()
103 new Communicator.Message(Communicator.MESSAGE_CALL_RADIO_ACCESS_TYPE, in generateTestCases()
109 new Communicator.Message(Communicator.MESSAGE_CALL_RADIO_ACCESS_TYPE, in generateTestCases()
115 new Communicator.Message(Communicator.MESSAGE_CALL_RADIO_ACCESS_TYPE, in generateTestCases()
122 new Communicator.Message(Communicator.MESSAGE_CALL_AUDIO_CODEC, in generateTestCases()
128 new Communicator.Message(Communicator.MESSAGE_CALL_AUDIO_CODEC, in generateTestCases()
134 new Communicator.Message(Communicator.MESSAGE_CALL_AUDIO_CODEC, in generateTestCases()
141 new Communicator.Message(Communicator.MESSAGE_DEVICE_BATTERY_STATE, in generateTestCases()
147 new Communicator.Message(Communicator.MESSAGE_DEVICE_BATTERY_STATE, in generateTestCases()
[all …]

12345678910>>...37