Searched defs:message (Results 126 - 150 of 193) sorted by relevance

12345678

/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java37 * A Short Message Service message.
61 /** The maximum number of payload bytes per message */
65 * The maximum number of payload bytes per message if a user data header
71 /** The maximum number of payload septets per message */
75 * The maximum number of payload septets per message if a user data header
82 * Indicates a 3GPP format SMS message.
88 * Indicates a 3GPP2 format SMS message.
144 * Create an SmsMessage from a raw PDU with the specified message format. The
145 * message format is passed in the {@code SMS_RECEIVED_ACTION} as the {@code format}
149 * @param pdu the message PD
398 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested) argument
[all...]
/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsMessage.java34 * A Short Message Service message.
72 /** The maximum number of payload bytes per message
78 * The maximum number of payload bytes per message if a user data header
87 /** The maximum number of payload septets per message
93 * The maximum number of payload septets per message if a user data header
185 * Calculates the number of SMS's required to encode the message body and
186 * the number of characters remaining until the next message, given the
189 * @param messageBody the message to encode
196 * units remaining until the next message. int[3] is the encoding
197 * type that should be used for the message
245 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header) argument
273 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java67 * A Short Message Service message.
246 // Second byte is the MSG_LEN, length of the message
250 // Note: Data may include trailing FF's. That's OK; message
254 // the message has to be parsed before it can be displayed
283 * Get an SMS-SUBMIT PDU for a destination address and a message
287 * @param message String representation of the message payload.
288 * @param statusReportRequested Indicates whether a report is requested for this message.
292 * address, if applicable, and the encoded message.
296 public static SubmitPdu getSubmitPdu(String scAddr, String destAddr, String message, argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DModelInterpreter.java375 public void triggerIncomingUssd(String statusCode, String message) {} argument
378 triggerIncomingSMS(String message) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp50 static void process_media_retriever_call(JNIEnv *env, status_t opStatus, const char* exception, const char *message) argument
55 if (strlen(message) > 230) {
56 // If the message is too long, don't bother displaying the status code.
57 jniThrowException( env, exception, message);
60 // Append the status code to the message.
61 sprintf(msg, "%s: status = 0x%X", message, opStatus);
H A Dandroid_media_MediaRecorder.cpp117 static bool process_media_recorder_call(JNIEnv *env, status_t opStatus, const char* exception, const char* message) argument
124 jniThrowException(env, exception, message);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java75 private static void assumeTrue(String message, boolean cond) { argument
76 assertTrue("(assume)"+message, cond);
79 private void log(String testName, String message) { argument
80 Log.v(TAG, "["+testName+"] "+message);
83 private void loge(String testName, String message) { argument
84 Log.e(TAG, "["+testName+"] "+message);
1348 * Initializes the message looper so that the MediaPlayer object can
1388 * Terminates the message looper thread.
1401 * Initializes the message looper fro effect listener
H A DMediaAudioTrackTest.java52 private static void assumeTrue(String message, boolean cond) { argument
53 assertTrue("(assume)"+message, cond);
56 private void log(String testName, String message) { argument
57 Log.v(TAG, "["+testName+"] "+message);
60 private void loge(String testName, String message) { argument
61 Log.e(TAG, "["+testName+"] "+message);
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java380 private void logLine(String message) { argument
381 log(message + '\n');
384 private void log(String message) { argument
386 mLog.write(message);
/frameworks/base/core/java/android/app/
H A DAlertDialog.java185 public void setMessage(CharSequence message) { argument
186 mAlert.setMessage(message);
212 * Set a message to be sent when a button is pressed.
214 * @param whichButton Which button to set the message for, can be one of
429 * Set the message to display using the given resource id.
439 * Set the message to display.
443 public Builder setMessage(CharSequence message) { argument
444 P.mMessage = message;
/frameworks/base/core/java/android/net/nsd/
H A DNsdManager.java303 public void handleMessage(Message message) { argument
304 Object listener = getListener(message.arg2);
306 switch (message.what) {
318 String s = ((NsdServiceInfo) message.obj).getServiceType();
325 getNsdService(message.arg2).getServiceType(), message.arg1);
328 ((DiscoveryListener) listener).onServiceFound((NsdServiceInfo) message.obj);
333 ((DiscoveryListener) listener).onServiceLost((NsdServiceInfo) message.obj);
339 getNsdService(message.arg2).getServiceType(), message
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java767 private void log(String message) { argument
768 Log.v(LOG_TAG, message);
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java90 * conveyed, such as the information type and message.
103 * @param event The {@link DrmErrorEvent} instance that wraps the error type and message.
160 Log.e(TAG, "Unknown message type " + msg.what);
176 Object thisReference, int uniqueId, int infoType, String message) {
181 InfoHandler.INFO_EVENT_TYPE, uniqueId, infoType, message);
201 String message = msg.obj.toString();
206 DrmUtils.removeFile(message);
210 info = new DrmInfoEvent(uniqueId, infoType, message);
218 info = new DrmInfoEvent(uniqueId, infoType, message);
222 error = new DrmErrorEvent(uniqueId, infoType, message);
175 notify( Object thisReference, int uniqueId, int infoType, String message) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DStatusBarManagerService.java100 int uid, int initialPid, String message);
464 int uid, int initialPid, String message) {
468 mNotificationCallbacks.onNotificationError(pkg, tag, id, uid, initialPid, message);
99 onNotificationError(String pkg, String tag, int id, int uid, int initialPid, String message) argument
463 onNotificationError(String pkg, String tag, int id, int uid, int initialPid, String message) argument
/frameworks/base/services/java/com/android/server/pm/
H A DUserManagerService.java351 * @param message used as message if SecurityException is thrown
354 private static final void checkManageUsersPermission(String message) { argument
360 throw new SecurityException("You need MANAGE_USERS permission to: " + message);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestsExecutor.java204 public boolean onJsAlert(WebView view, String url, String message, JsResult result) {
205 getCurrentAdditionalTextOutput().appendJsAlert(message);
211 public boolean onJsConfirm(WebView view, String url, String message, JsResult result) {
212 getCurrentAdditionalTextOutput().appendJsConfirm(message);
218 public boolean onJsPrompt(WebView view, String url, String message, String defaultValue,
220 getCurrentAdditionalTextOutput().appendJsPrompt(message, defaultValue);
270 * However, we send the message to the service to speed up the rebooting
319 // and up and for it to register its message handlers.
396 // We only send the reset message in the former case.
412 Log.e(LOG_TAG, "Error sending message t
701 setMockGeolocationError(int code, String message) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java141 public PostInflateException(String message) { argument
142 super(message);
/frameworks/base/voip/java/android/net/sip/
H A DSipAudioCall.java160 * @param errorMessage error message
500 String message) {
501 Log.d(TAG, "sip call change failed: " + message);
503 mErrorMessage = message;
508 message);
517 String message) {
518 SipAudioCall.this.onError(errorCode, message);
533 String message) {
564 private void onError(int errorCode, String message) { argument
566 + SipErrorCode.toString(errorCode) + ": " + message);
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java45 * A Short Message Service message.
92 * This field is true iff the message is a SMS-STATUS-REPORT message.
182 // Note: Data may include trailing FF's. That's OK; message
206 * Get an SMS-SUBMIT PDU for a destination address and a message
210 * address, if applicable, and the encoded message.
215 String destinationAddress, String message,
217 return getSubmitPdu(scAddress, destinationAddress, message, statusReportRequested, header,
223 * Get an SMS-SUBMIT PDU for a destination address and a message using the
232 * address, if applicable, and the encoded message
214 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header) argument
236 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested, byte[] header, int encoding, int languageTable, int languageShiftTable) argument
350 encodeUCS2(String message, byte[] header) argument
380 getSubmitPdu(String scAddress, String destinationAddress, String message, boolean statusReportRequested) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java144 void flushGPU(String message) { argument
147 timer.start("glFinish " + message);
149 timer.stop("glFinish " + message);
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java1474 public void onError(int code, String message) { argument
1480 setException(convertErrorToException(code, message));
1534 public void onError(int code, String message) { argument
1539 setException(convertErrorToException(code, message));
1617 private Exception convertErrorToException(int code, String message) { argument
1619 return new IOException(message);
1623 return new UnsupportedOperationException(message);
1627 return new AuthenticatorException(message);
1631 return new IllegalArgumentException(message);
1634 return new AuthenticatorException(message);
[all...]
/frameworks/base/core/java/android/content/
H A DContextWrapper.java515 String permission, int pid, int uid, String message) {
516 mBase.enforcePermission(permission, pid, uid, message);
520 public void enforceCallingPermission(String permission, String message) { argument
521 mBase.enforceCallingPermission(permission, message);
526 String permission, String message) {
527 mBase.enforceCallingOrSelfPermission(permission, message);
564 Uri uri, int pid, int uid, int modeFlags, String message) {
565 mBase.enforceUriPermission(uri, pid, uid, modeFlags, message);
570 Uri uri, int modeFlags, String message) {
571 mBase.enforceCallingUriPermission(uri, modeFlags, message);
514 enforcePermission( String permission, int pid, int uid, String message) argument
525 enforceCallingOrSelfPermission( String permission, String message) argument
563 enforceUriPermission( Uri uri, int pid, int uid, int modeFlags, String message) argument
569 enforceCallingUriPermission( Uri uri, int modeFlags, String message) argument
575 enforceCallingOrSelfUriPermission( Uri uri, int modeFlags, String message) argument
581 enforceUriPermission( Uri uri, String readPermission, String writePermission, int pid, int uid, int modeFlags, String message) argument
[all...]
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java1025 public void executeMessage(Message message) { argument
1026 switch (message.what) {
1046 mEngine.doDesiredSizeChanged(message.arg1, message.arg2);
1054 + ": " + message.arg1);
1055 mEngine.doVisibilityChanged(message.arg1 != 0);
1061 WallpaperCommand cmd = (WallpaperCommand)message.obj;
1065 final boolean reportDraw = message.arg1 != 0;
1074 MotionEvent ev = (MotionEvent)message.obj;
1092 Log.w(TAG, "Unknown message typ
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java143 // Post a message so we dismiss after the above handlers are executed
258 public void setMessage(CharSequence message) { argument
259 mMessage = message;
261 mMessageView.setText(message);
287 * Sets a click listener or a message to be sent when the button is clicked.
426 * custom view or a message.
505 mMessageView = (TextView) mWindow.findViewById(R.id.message);
644 /* The contentPanel displays either a custom text message or
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp298 char *message = (char*) malloc(strlen(query) + 50); local
299 if (message) {
300 strcpy(message, ", while compiling: "); // less than 50 chars
301 strcat(message, query);
304 throw_sqlite3_exception(env, connection->db, message);
305 free(message);

Completed in 4334 milliseconds

12345678