Home
last modified time | relevance | path

Searched refs:mMessage (Results 1 – 25 of 51) sorted by relevance

123

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapMessageTest.java62 private SapMessage mMessage; field in SapMessageTest
66 mMessage = new SapMessage(ID_CONNECT_REQ); in setUp()
87 mMessage.setMsgType(msgType); in settersAndGetters()
88 mMessage.setMaxMsgSize(maxMsgSize); in settersAndGetters()
89 mMessage.setConnectionStatus(connectionStatus); in settersAndGetters()
90 mMessage.setResultCode(resultCode); in settersAndGetters()
91 mMessage.setDisconnectionType(disconnectionType); in settersAndGetters()
92 mMessage.setCardReaderStatus(cardReaderStatus); in settersAndGetters()
93 mMessage.setStatusChange(statusChange); in settersAndGetters()
94 mMessage.setTransportProtocol(transportProtocol); in settersAndGetters()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DHeaderMessageDocumentHolder.java47 private Message mMessage; field in HeaderMessageDocumentHolder
63 mMessage = message; in bind()
81 mMessage.runCallback(); in onButtonClick()
86 if (mMessage.getTitleString() != null) { in bind()
90 mTitle.setText(mMessage.getTitleString()); in bind()
91 mSubtitle.setText(mMessage.getMessageString()); in bind()
96 mTextView.setText(mMessage.getMessageString()); in bind()
99 mIcon.setImageDrawable(mMessage.getIcon()); in bind()
101 if (mMessage.shouldKeep()) { in bind()
104 if (mMessage.getButtonString() != null) { in bind()
[all …]
DInflateMessageDocumentHolder.java40 private Message mMessage; field in InflateMessageDocumentHolder
73 mMessage = message; in bind()
79 if (mMessage.getLayout() == LAYOUT_CROSS_PROFILE_ERROR) { in bind()
89 mMessage.runCallback(); in onCrossProfileButtonClick()
96 mContentMessage.setText(mMessage.getMessageString()); in bindContentMessageView()
97 mContentImage.setImageDrawable(mMessage.getIcon()); in bindContentMessageView()
106 mCrossProfileTitle.setText(mMessage.getTitleString()); in bindCrossProfileMessageView()
107 if (!TextUtils.isEmpty(mMessage.getMessageString())) { in bindCrossProfileMessageView()
109 mCrossProfileMessage.setText(mMessage.getMessageString()); in bindCrossProfileMessageView()
116 mCrossProfileImage.setImageDrawable(mMessage.getIcon()); in bindCrossProfileMessageView()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/voip/
DVoipCallTransactionResult.java31 private final String mMessage; field in VoipCallTransactionResult
36 mMessage = message; in VoipCallTransactionResult()
43 mMessage = message; in VoipCallTransactionResult()
51 return mMessage; in getMessage()
63 return mResult == that.mResult && Objects.equals(mMessage, that.mMessage); in equals()
68 return Objects.hash(mResult, mMessage); in hashCode()
79 append(mMessage).append("] }").toString(); in toString()
/packages/apps/Protips/src/com/android/protips/
DProtipWidget.java59 private int mMessage = 0; field in ProtipWidget
74 mMessage = pref.getInt(PREFS_TIP_NUMBER, 0); in setup()
80 if (mMessage >= mTips.length) mMessage = 0; in setup()
82 mMessage = -1; in setup()
87 mMessage = -1; in goodmorning()
99 mMessage = 0; in goodmorning()
124 mMessage = getNextMessageIndex(); in onReceiveAsync()
126 pref.putInt(PREFS_TIP_NUMBER, mMessage); in onReceiveAsync()
136 mMessage = 0; in onReceiveAsync()
139 pref.putInt(PREFS_TIP_NUMBER, mMessage); in onReceiveAsync()
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java90 protected ByteArrayOutputStream mMessage = null; field in PduComposer
142 mMessage = new ByteArrayOutputStream(); in PduComposer()
188 return mMessage.toByteArray(); in make()
195 mMessage.write(buf, pos, length); in arraycopy()
203 mMessage.write(value); in append()
661 if (mMessage == null) { in makeReadRecInd()
662 mMessage = new ByteArrayOutputStream(); in makeReadRecInd()
709 if (mMessage == null) { in makeNotifyResp()
710 mMessage = new ByteArrayOutputStream(); in makeNotifyResp()
741 if (mMessage == null) { in makeAckInd()
[all …]
/packages/services/Car/packages/ScriptExecutor/tests/functional/src/com/android/car/scriptexecutortest/functional/
DScriptExecutorFunctionalTest.java56 private String mMessage; field in ScriptExecutorFunctionalTest.ScriptExecutorListener
75 mMessage = message; in onError()
382 assertThat(mListener.mMessage) in invokeScript_arraysWithLengthAboveLimitCauseError()
411 assertThat(mListener.mMessage) in invokeScript_arrayContainingVaryingTypesCausesError()
486 assertThat(mListener.mMessage).isEqualTo("one is not equal to two"); in invokeScript_scriptCallsOnError()
504 assertThat(mListener.mMessage) in invokeScript_tooManyParametersInOnError()
523 assertThat(mListener.mMessage) in invokeScript_onErrorOnlyAcceptsString()
633 assertThat(mListener.mMessage) in invokeScript_wrongNumberOfCallbackInputsInOnScriptFinished()
658 assertThat(mListener.mMessage) in invokeScript_wrongNumberOfCallbackInputsInOnSuccess()
677 assertThat(mListener.mMessage) in invokeScript_wrongTypeInOnSuccess()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DExternalApproverManager.java148 Message mMessage; field in ExternalApproverManager.ApproverEntry
156 mMessage = message; in ApproverEntry()
168 return Message.obtain(mMessage); in getMessage()
179 && Objects.equals(this.mMessage, that.mMessage); in equals()
187 _hash = 31 * _hash + Objects.hashCode(mMessage); in hashCode()
196 .append(", Message=").append(mMessage).append("}"); in toString()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestHandler.java76 private Message mMessage; field in TestHandler.MessageTimerTask
79 mMessage = message; in MessageTimerTask()
84 mMessage.getTarget().dispatchMessage(mMessage); in run()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDataModelException.java58 private final String mMessage; field in DataModelException
72 mMessage = innerException.getMessage() + " -- " + in DataModelException()
75 mMessage = (mIsInjection ? "[INJECTED] -- " : "") + message; in DataModelException()
95 return mMessage; in getMessage()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/wfc/
DWfcActivationHelperTest.java83 private Message mMessage; field in WfcActivationHelperTest
106 mMessage = Message.obtain(mHandler, RANDOM_MESSAGE_ID, RANDOM_INT, 0); in setUp()
133 mTestHelper.checkWiFi(mMessage); in checkWiFi_networkInfoTypeWiFi_wiFiConnectionSuccess()
146 mTestHelper.checkWiFi(mMessage); in checkWiFi_networkInfoTypeMobile_wiFiConnectionError()
165 mTestHelper.tryEpdgConnectionOverWiFi(mMessage, TIMEOUT_MS); in tryEpdgConnectionOverWiFi_imsMmTelManagerNull_wiFiConnectionError()
176 mTestHelper.tryEpdgConnectionOverWiFi(mMessage, TIMEOUT_MS); in tryEpdgConnectionOverWiFi_showVowifiPortalFalse_resultSuccess()
192 mTestHelper.tryEpdgConnectionOverWiFi(mMessage, TIMEOUT_MS); in tryEpdgConnectionOverWiFi_showVowifiPortalTrue_resultError()
206 mTestHelper.tryEpdgConnectionOverWiFi(mMessage, TIMEOUT_MS); in tryEpdgConnectionOverWiFi_success()
239 mTestHelper.tryEpdgConnectionOverWiFi(mMessage, TIMEOUT_MS); in tryEpdgConnectionOverWiFi_failure()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DConfirmationDialogFragment.java45 private String mMessage; field in ConfirmationDialogFragment.Builder
72 mMessage = message; in setMessage()
78 mMessage = mContext.getString(message); in setMessage()
179 private String mMessage; field in ConfirmationDialogFragment
194 args.putString(MESSAGE_KEY, builder.mMessage); in init()
276 mMessage = getArguments().getString(MESSAGE_KEY); in onCreate()
296 if (!TextUtils.isEmpty(mMessage)) { in onCreateDialog()
297 builder.setMessage(mMessage); in onCreateDialog()
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/
DFakeLooperWrapper.h45 {.mHandler = handler, .mMessage = message}); in sendMessageDelayed()
52 if (eit->mMessage.what == what) { in removeMessages()
78 entry.mHandler->handleMessage(entry.mMessage); in poll()
90 Message mMessage; member
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DBmessage.java43 String mMessage; field in Bmessage
135 return mMessage; in getBodyContent()
139 mMessage = body; in setBodyContent()
152 json.put("message", mMessage); in toString()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpNakPacket.java37 return s + " NAK, reason " + (mMessage == null ? "(none)" : mMessage); in toString()
60 addTlv(buffer, DHCP_MESSAGE, mMessage); in finishPacket()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSimpleDialog.java94 private LazyStringResource mMessage; field in SimpleDialog.Builder
124 this.mMessage = message; in setMessage()
211 if (mMessage != null) { in build()
212 args.putBundle(MESSAGE, mMessage.toBundle()); in build()
/packages/apps/Settings/src/com/android/settings/security/
DMemtagRebootDialog.java37 private int mMessage; field in MemtagRebootDialog
40 mMessage = msg; in MemtagRebootDialog()
60 .setMessage(mMessage) in onCreateDialog()
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DAcceptDenyDialog.java47 protected TextView mMessage; field in AcceptDenyDialog
87 mMessage = (TextView) findViewById(android.R.id.message); in AcceptDenyDialog()
123 mMessage.setText(message); in setMessage()
124 mMessage.setVisibility(message == null ? View.GONE : View.VISIBLE); in setMessage()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/iso7816/
DStatusWord.java162 private final String mMessage; field in StatusWord
181 this.mMessage = message; in StatusWord()
213 return mMessage; in getMessage()
237 return String.format("'%04X': %s", mStatusWord, mMessage); in toString()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DDialogSmsDisplay.java43 String mMessage; field in DialogSmsDisplay
61 mMessage = extras.getString(SMS_MESSAGE_EXTRA); in parseIntent()
88 .setMessage(mMessage) in onCreateDialog()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DDefaultAppConfirmationDialogFragment.java35 private CharSequence mMessage; field in DefaultAppConfirmationDialogFragment
78 mMessage = arguments.getCharSequence(Intent.EXTRA_TEXT); in onCreate()
85 .setMessage(mMessage) in onCreateDialog()
/packages/apps/Contacts/src/com/android/contacts/dialog/
DIndeterminateProgressDialog.java48 private CharSequence mMessage; field in IndeterminateProgressDialog
72 dialogFragment.mMessage = message; in show()
94 dialog.setMessage(mMessage); in onCreateDialog()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsTimerTest.java67 @Mock Message mMessage; field in QnsTimerTest
94 mTimerId = mQnsTimer.registerTimer(mMessage, 30000); in testRegisterTimerForScreenOff()
108 mTimerId = mQnsTimer.registerTimer(mMessage, 80000); in testRegisterTimerForScreenOn()
162 mTimerId = mQnsTimer.registerTimer(mMessage, 50); in testTimerExpired()
174 verify(mMessage).sendToTarget(); in testTimerExpired()
291 mQnsTimer.registerTimer(mMessage, setDelay); in setupAlarmForDelay()
324 mQnsTimer.registerTimer(mMessage, setDelay); in testDeviceMovesToActiveState()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDialogFragment.java113 setDialogMessage(viewGroup, dialogContent.mMessage); in onCreateDialog()
224 dialogContent.mMessage = mContext.getString( in getDialogContent()
233 dialogContent.mMessage = mContext.getString(R.string.desc_unavailable_locale); in getDialogContent()
240 dialogContent.mMessage = mContext.getString( in getDialogContent()
254 String mMessage = ""; field in LocaleDialogFragment.LocaleDialogController.DialogContent
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListItemTest.java68 private SmsCbMessage mMessage; field in CellBroadcastListItemTest
80 mMessage = new SmsCbMessage(1, 2, 1, new SmsCbLocation(), in setUp()
101 mItem.bind(mMessage); in testCellBroadcastListItemBindOnRoaming()

123