Home
last modified time | relevance | path

Searched refs:message (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/frameworks/base/location/tests/locationtests/src/android/location/
DLocationTest.java32 String message; in testConvert_DegreesToDouble() local
36 message = "degreesToDoubleTest: Double should be -80.075, actual value is " + in testConvert_DegreesToDouble()
38 assertEquals(message, -80.075, result); in testConvert_DegreesToDouble()
43 String message; in testConvert_MinutesToDouble() local
47 message = "minutesToDoubleTest: Double should be -80.085, actual value is " + in testConvert_MinutesToDouble()
49 assertEquals(message, -80.085, result); in testConvert_MinutesToDouble()
54 String message; in testConvert_SecondsToDouble() local
58 message = "secondsToDoubleTest: Double should be -80.0675, actual value is " + in testConvert_SecondsToDouble()
60 assertEquals(message, -80.0675, result); in testConvert_SecondsToDouble()
65 String message; in testConvert_SecondsToDouble2() local
[all …]
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java65 String message, Object unexpected, Object actual) { in assertNotEqual() argument
67 failEqual(message, unexpected); in assertNotEqual()
85 String message, byte[] expected, byte[] actual) { in assertEquals() argument
87 failWrongLength(message, expected.length, actual.length); in assertEquals()
91 failWrongElement(message, i, expected[i], actual[i]); in assertEquals()
111 String message, int[] expected, int[] actual) { in assertEquals() argument
113 failWrongLength(message, expected.length, actual.length); in assertEquals()
117 failWrongElement(message, i, expected[i], actual[i]); in assertEquals()
137 String message, double[] expected, double[] actual) { in assertEquals() argument
139 failWrongLength(message, expected.length, actual.length); in assertEquals()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pService.java485 public boolean processMessage(Message message) { in processMessage() argument
486 if (DBG) logd(getName() + message.toString()); in processMessage()
487 switch (message.what) { in processMessage()
489 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage()
491 mWifiChannel = (AsyncChannel) message.obj; in processMessage()
493 loge("Full connection failure, error = " + message.arg1); in processMessage()
499 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in processMessage()
502 loge("Client connection lost with reason: " + message.arg1); in processMessage()
509 ac.connect(mContext, getHandler(), message.replyTo); in processMessage()
512 mDiscoveryBlocked = (message.arg1 == ENABLED ? true : false); in processMessage()
[all …]
/frameworks/base/core/jni/
Dandroid_database_SQLiteCommon.cpp29 void throw_sqlite3_exception(JNIEnv* env, const char* message) { in throw_sqlite3_exception() argument
30 throw_sqlite3_exception(env, NULL, message); in throw_sqlite3_exception()
36 void throw_sqlite3_exception(JNIEnv* env, sqlite3* handle, const char* message) { in throw_sqlite3_exception() argument
43 sqlite3_errmsg(handle), message); in throw_sqlite3_exception()
47 throw_sqlite3_exception(env, SQLITE_OK, "unknown error", message); in throw_sqlite3_exception()
54 void throw_sqlite3_exception_errcode(JNIEnv* env, int errcode, const char* message) { in throw_sqlite3_exception_errcode() argument
55 throw_sqlite3_exception(env, errcode, "unknown error", message); in throw_sqlite3_exception_errcode()
62 const char* sqlite3Message, const char* message) { in throw_sqlite3_exception() argument
127 if (message) { in throw_sqlite3_exception()
129 fullMessage.append(message); in throw_sqlite3_exception()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java607 Message message = mCaller.obtainMessageIO(DO_SET_SET_CONNECTION, connectionId,
609 mCaller.sendMessage(message);
613 Message message = mCaller.obtainMessage(DO_ON_INTERRUPT);
614 mCaller.sendMessage(message);
618 Message message = mCaller.obtainMessageO(DO_ON_ACCESSIBILITY_EVENT, event);
619 mCaller.sendMessage(message);
623 Message message = mCaller.obtainMessageI(DO_ON_GESTURE, gestureId);
624 mCaller.sendMessage(message);
628 Message message = mCaller.obtainMessage(DO_CLEAR_ACCESSIBILITY_NODE_INFO_CACHE);
629 mCaller.sendMessage(message);
[all …]
/frameworks/base/core/java/android/view/
DAccessibilityInteractionController.java96 Message message = mHandler.obtainMessage(); in findAccessibilityNodeInfoByAccessibilityIdClientThread() local
97 message.what = PrivateHandler.MSG_FIND_ACCESSIBLITY_NODE_INFO_BY_ACCESSIBILITY_ID; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
98 message.arg1 = flags; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
106 message.obj = args; in findAccessibilityNodeInfoByAccessibilityIdClientThread()
114 interrogatingTid).setSameThreadMessage(message); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
116 mHandler.sendMessage(message); in findAccessibilityNodeInfoByAccessibilityIdClientThread()
120 private void findAccessibilityNodeInfoByAccessibilityIdUiThread(Message message) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() argument
121 final int flags = message.arg1; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
123 SomeArgs args = (SomeArgs) message.obj; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
167 Message message = mHandler.obtainMessage(); in findAccessibilityNodeInfosByViewIdClientThread() local
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateMachine.java2238 private SupplicantState handleSupplicantStateChange(Message message) { in handleSupplicantStateChange() argument
2239 StateChangeResult stateChangeResult = (StateChangeResult) message.obj; in handleSupplicantStateChange()
2256 mSupplicantStateTracker.sendMessage(Message.obtain(message)); in handleSupplicantStateChange()
2464 public boolean processMessage(Message message) { in processMessage() argument
2465 switch (message.what) { in processMessage()
2467 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage()
2470 loge("WifiP2pService connection failure, error=" + message.arg1); in processMessage()
2474 loge("WifiP2pService channel lost, message.arg1 =" + message.arg1); in processMessage()
2479 mBluetoothConnectionActive = (message.arg1 != in processMessage()
2488 replyToMessage(message, message.what, FAILURE); in processMessage()
[all …]
DWifiApConfigStore.java81 public boolean processMessage(Message message) { in processMessage() argument
82 switch (message.what) { in processMessage()
85 Log.e(TAG, "Unexpected message: " + message); in processMessage()
88 mReplyChannel.replyToMessage(message, in processMessage()
92 Log.e(TAG, "Failed to handle " + message); in processMessage()
100 public boolean processMessage(Message message) { in processMessage() argument
101 switch (message.what) { in processMessage()
103 mWifiApConfig = (WifiConfiguration) message.obj; in processMessage()
123 public boolean processMessage(Message message) { in processMessage() argument
124 switch (message.what) { in processMessage()
[all …]
DSupplicantStateTracker.java170 public boolean processMessage(Message message) { in processMessage() argument
171 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
172 switch (message.what) { in processMessage()
178 StateChangeResult stateChangeResult = (StateChangeResult) message.obj; in processMessage()
195 Log.e(TAG, "Ignoring " + message); in processMessage()
231 Message message = getCurrentMessage(); in enter() local
232 StateChangeResult stateChangeResult = (StateChangeResult) message.obj; in enter()
274 public boolean processMessage(Message message) { in processMessage() argument
275 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
276 switch (message.what) { in processMessage()
[all …]
/frameworks/av/libvideoeditor/osal/src/
DM4PSW_Trace.c55 M4OSA_Char message[MAX_STRING_SIZE]; in M4OSA_Trace() local
61 …vsprintf((char *)message, (const char *)format,marker ); /* formats and writes the data into mess… in M4OSA_Trace()
66 __android_log_print(ANDROID_LOG_INFO, "M4OSA_Trace", "%s", (char*)message); in M4OSA_Trace()
69 (char *)message, line, file); in M4OSA_Trace()
80 M4OSA_Char message[MAX_STRING_SIZE]; in M4OSA_TRACE_traceFunction() local
86 …vsprintf((char *)message, (const char *)stringMsg,marker ); /* formats and writes the data into m… in M4OSA_TRACE_traceFunction()
91 __android_log_print(ANDROID_LOG_INFO, "M4OSA_TRACE_traceFunction", "%s", (char*)message); in M4OSA_TRACE_traceFunction()
94 (char *)message, line, (char*)file); in M4OSA_TRACE_traceFunction()
/frameworks/base/core/java/android/os/
DUEventObserver.java130 public UEvent(String message) { in UEvent() argument
132 int length = message.length(); in UEvent()
135 int equals = message.indexOf('=', offset); in UEvent()
136 int at = message.indexOf('\0', offset); in UEvent()
141 mMap.put(message.substring(offset, equals), in UEvent()
142 message.substring(equals + 1, at)); in UEvent()
182 String message = nativeWaitForNextEvent(); in run() local
183 if (message != null) { in run()
185 Log.d(TAG, message); in run()
187 sendEvent(message); in run()
[all …]
/frameworks/base/core/java/android/content/
DOperationApplicationException.java30 public OperationApplicationException(String message) { in OperationApplicationException() argument
31 super(message); in OperationApplicationException()
34 public OperationApplicationException(String message, Throwable cause) { in OperationApplicationException() argument
35 super(message, cause); in OperationApplicationException()
46 public OperationApplicationException(String message, int numSuccessfulYieldPoints) { in OperationApplicationException() argument
47 super(message); in OperationApplicationException()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadTest.java111 SmsMessage message = SmsMessage.createFromPdu(SMS_PP_MESSAGE_3_1_1); in testDataDownloadMessage1() local
112 assertTrue("message is SMS-PP data download", message.isUsimDataDownload()); in testDataDownloadMessage1()
116 mHandler.startDataDownload(message); in testDataDownloadMessage1()
121 mHandler.startDataDownload(message); in testDataDownloadMessage1()
126 mHandler.startDataDownload(message); in testDataDownloadMessage1()
131 SmsMessage message = SmsMessage.createFromPdu(SMS_PP_MESSAGE_3_1_5); in testDataDownloadMessage5() local
132 assertTrue("message is SMS-PP data download", message.isUsimDataDownload()); in testDataDownloadMessage5()
136 mHandler.startDataDownload(message); in testDataDownloadMessage5()
141 mHandler.startDataDownload(message); in testDataDownloadMessage5()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java303 public void handleMessage(Message message) { in handleMessage() argument
304 switch (message.what) { in handleMessage()
317 Object listener = getListener(message.arg2); in handleMessage()
319 Log.d(TAG, "Stale key " + message.arg2); in handleMessage()
323 NsdServiceInfo ns = getNsdService(message.arg2); in handleMessage()
324 switch (message.what) { in handleMessage()
326 String s = getNsdServiceInfoType((NsdServiceInfo) message.obj); in handleMessage()
333 message.arg1); in handleMessage()
336 ((DiscoveryListener) listener).onServiceFound((NsdServiceInfo) message.obj); in handleMessage()
341 ((DiscoveryListener) listener).onServiceLost((NsdServiceInfo) message.obj); in handleMessage()
[all …]
/frameworks/base/drm/java/android/drm/
DDrmEvent.java62 protected DrmEvent(int uniqueId, int type, String message, in DrmEvent() argument
67 if (null != message) { in DrmEvent()
68 mMessage = message; in DrmEvent()
83 protected DrmEvent(int uniqueId, int type, String message) { in DrmEvent() argument
87 if (null != message) { in DrmEvent()
88 mMessage = message; in DrmEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastHandler.java61 protected boolean handleSmsMessage(Message message) { in handleSmsMessage() argument
62 if (message.obj instanceof SmsCbMessage) { in handleSmsMessage()
63 handleBroadcastSms((SmsCbMessage) message.obj); in handleSmsMessage()
66 loge("handleMessage got object of type: " + message.obj.getClass().getName()); in handleSmsMessage()
75 protected void handleBroadcastSms(SmsCbMessage message) { in handleBroadcastSms() argument
79 if (message.isEmergencyMessage()) { in handleBroadcastSms()
90 intent.putExtra("message", message); in handleBroadcastSms()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraRuntimeException.java23 public CameraRuntimeException(int problem, String message) { in CameraRuntimeException() argument
24 super(message); in CameraRuntimeException()
26 mMessage = message; in CameraRuntimeException()
29 public CameraRuntimeException(int problem, String message, Throwable cause) { in CameraRuntimeException() argument
30 super(message, cause); in CameraRuntimeException()
32 mMessage = message; in CameraRuntimeException()
/frameworks/base/core/java/android/net/
DDhcpStateMachine.java187 public boolean processMessage(Message message) { in processMessage() argument
188 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
189 switch (message.what) { in processMessage()
195 Log.e(TAG, "Error! unhandled message " + message); in processMessage()
210 public boolean processMessage(Message message) { in processMessage() argument
212 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
213 switch (message.what) { in processMessage()
243 public boolean processMessage(Message message) { in processMessage() argument
245 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage()
246 switch (message.what) { in processMessage()
[all …]
/frameworks/base/core/java/android/nfc/
DFormatException.java24 public FormatException(String message) { in FormatException() argument
25 super(message); in FormatException()
28 public FormatException(String message, Throwable e) { in FormatException() argument
29 super(message, e); in FormatException()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/exceptions/
DTimeoutRuntimeException.java26 public TimeoutRuntimeException(String message) { in TimeoutRuntimeException() argument
27 super(message); in TimeoutRuntimeException()
30 public TimeoutRuntimeException(String message, Throwable cause) { in TimeoutRuntimeException() argument
31 super(message, cause); in TimeoutRuntimeException()
/frameworks/base/core/java/android/accounts/
DOperationCanceledException.java22 public OperationCanceledException(String message) { in OperationCanceledException() argument
23 super(message); in OperationCanceledException()
25 public OperationCanceledException(String message, Throwable cause) { in OperationCanceledException() argument
26 super(message, cause); in OperationCanceledException()
DAuthenticatorException.java23 public AuthenticatorException(String message) { in AuthenticatorException() argument
24 super(message); in AuthenticatorException()
26 public AuthenticatorException(String message, Throwable cause) { in AuthenticatorException() argument
27 super(message, cause); in AuthenticatorException()
DNetworkErrorException.java22 public NetworkErrorException(String message) { in NetworkErrorException() argument
23 super(message); in NetworkErrorException()
25 public NetworkErrorException(String message, Throwable cause) { in NetworkErrorException() argument
26 super(message, cause); in NetworkErrorException()
DAccountsException.java23 public AccountsException(String message) { in AccountsException() argument
24 super(message); in AccountsException()
26 public AccountsException(String message, Throwable cause) { in AccountsException() argument
27 super(message, cause); in AccountsException()
/frameworks/opt/mms/src/java/com/google/android/mms/
DMmsException.java38 public MmsException(String message) { in MmsException() argument
39 super(message); in MmsException()
57 public MmsException(String message, Throwable cause) { in MmsException() argument
58 super(message, cause); in MmsException()

12345678910>>...18