/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationTest.java | 32 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/ |
D | MoreAsserts.java | 65 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/ |
D | WifiP2pService.java | 314 public boolean processMessage(Message message) { in processMessage() argument 315 if (DBG) logd(getName() + message.toString()); in processMessage() 316 switch (message.what) { in processMessage() 318 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 320 mWifiChannel = (AsyncChannel) message.obj; in processMessage() 322 loge("Full connection failure, error = " + message.arg1); in processMessage() 328 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in processMessage() 331 loge("Client connection lost with reason: " + message.arg1); in processMessage() 338 ac.connect(mContext, getHandler(), message.replyTo); in processMessage() 341 replyToMessage(message, WifiP2pManager.DISCOVER_PEERS_FAILED, in processMessage() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiStateMachine.java | 1611 private SupplicantState handleSupplicantStateChange(Message message) { in handleSupplicantStateChange() argument 1612 StateChangeResult stateChangeResult = (StateChangeResult) message.obj; in handleSupplicantStateChange() 1633 mSupplicantStateTracker.sendMessage(Message.obtain(message)); in handleSupplicantStateChange() 1821 public boolean processMessage(Message message) { in processMessage() argument 1822 if (DBG) log(getName() + message.toString() + "\n"); in processMessage() 1823 switch (message.what) { in processMessage() 1825 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 1828 loge("WifiP2pService connection failure, error=" + message.arg1); in processMessage() 1832 loge("WifiP2pService channel lost, message.arg1 =" + message.arg1); in processMessage() 1837 mBluetoothConnectionActive = (message.arg1 != in processMessage() [all …]
|
D | SupplicantStateTracker.java | 161 public boolean processMessage(Message message) { in processMessage() argument 162 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 163 switch (message.what) { in processMessage() 169 StateChangeResult stateChangeResult = (StateChangeResult) message.obj; in processMessage() 182 Log.e(TAG, "Ignoring " + message); in processMessage() 218 Message message = getCurrentMessage(); in enter() local 219 StateChangeResult stateChangeResult = (StateChangeResult) message.obj; in enter() 253 public boolean processMessage(Message message) { in processMessage() argument 254 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 255 switch (message.what) { in processMessage() [all …]
|
D | WifiApConfigStore.java | 81 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 …]
|
/frameworks/base/core/jni/ |
D | android_database_SQLiteCommon.cpp | 29 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/view/ |
D | AccessibilityInteractionController.java | 144 Message message = mHandler.obtainMessage(); in findAccessibilityNodeInfoByAccessibilityIdClientThread() local 145 message.what = PrivateHandler.MSG_FIND_ACCESSIBLITY_NODE_INFO_BY_ACCESSIBILITY_ID; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 146 message.arg1 = flags; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 159 message.obj = args; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 167 interrogatingTid).setSameThreadMessage(message); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 169 mHandler.sendMessage(message); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 173 private void findAccessibilityNodeInfoByAccessibilityIdUiThread(Message message) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() argument 174 final int flags = message.arg1; in findAccessibilityNodeInfoByAccessibilityIdUiThread() 176 SomeArgs args = (SomeArgs) message.obj; in findAccessibilityNodeInfoByAccessibilityIdUiThread() 222 Message message = mHandler.obtainMessage(); in findAccessibilityNodeInfoByViewIdClientThread() local [all …]
|
/frameworks/base/core/java/android/server/ |
D | BluetoothAdapterStateMachine.java | 189 public boolean processMessage(Message message) { in processMessage() argument 190 log("PowerOff process message: " + message.what); in processMessage() 193 switch(message.what) { in processMessage() 200 if ((Boolean) message.obj) { in processMessage() 242 perProcessCallback(false, (IBluetoothStateChangeCallback) message.obj); in processMessage() 245 Log.w(TAG, "PowerOff received: " + message.what); in processMessage() 317 public boolean processMessage(Message message) { in processMessage() argument 318 log("WarmUp process message: " + message.what); in processMessage() 321 switch(message.what) { in processMessage() 343 deferMessage(message); in processMessage() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothDeviceProfileState.java | 316 public boolean processMessage(Message message) { in processMessage() argument 317 log("ACL Connected State -> Processing Message: " + message.what); in processMessage() 318 switch(message.what) { in processMessage() 351 deferMessage(message); in processMessage() 355 deferMessage(message); in processMessage() 360 deferMessage(message); in processMessage() 399 if (message.arg1 == CONNECT_A2DP_OUTGOING) { in processMessage() 405 } else if (message.arg1 == CONNECT_HFP_OUTGOING) { in processMessage() 407 deferMessage(message); in processMessage() 467 public boolean processMessage(Message message) { in processMessage() argument [all …]
|
/frameworks/av/libvideoeditor/osal/src/ |
D | M4PSW_Trace.c | 55 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/net/nsd/ |
D | NsdManager.java | 303 public void handleMessage(Message message) { in handleMessage() argument 304 Object listener = getListener(message.arg2); in handleMessage() 306 switch (message.what) { in handleMessage() 318 String s = ((NsdServiceInfo) message.obj).getServiceType(); in handleMessage() 325 getNsdService(message.arg2).getServiceType(), message.arg1); in handleMessage() 328 ((DiscoveryListener) listener).onServiceFound((NsdServiceInfo) message.obj); in handleMessage() 333 ((DiscoveryListener) listener).onServiceLost((NsdServiceInfo) message.obj); in handleMessage() 339 getNsdService(message.arg2).getServiceType(), message.arg1); in handleMessage() 343 getNsdService(message.arg2).getServiceType()); in handleMessage() 347 getNsdService(message.arg2), message.arg1); in handleMessage() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 558 Message message = mCaller.obtainMessageIO(DO_SET_SET_CONNECTION, connectionId, 560 mCaller.sendMessage(message); 564 Message message = mCaller.obtainMessage(DO_ON_INTERRUPT); 565 mCaller.sendMessage(message); 569 Message message = mCaller.obtainMessageO(DO_ON_ACCESSIBILITY_EVENT, event); 570 mCaller.sendMessage(message); 574 Message message = mCaller.obtainMessageI(DO_ON_GESTURE, gestureId); 575 mCaller.sendMessage(message); 578 public void executeMessage(Message message) { 579 switch (message.what) { [all …]
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadTest.java | 111 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/content/ |
D | OperationApplicationException.java | 30 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/base/drm/java/android/drm/ |
D | DrmEvent.java | 62 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/base/core/java/android/net/ |
D | DhcpStateMachine.java | 168 public boolean processMessage(Message message) { in processMessage() argument 169 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 170 switch (message.what) { in processMessage() 180 Log.e(TAG, "Error! unhandled message " + message); in processMessage() 195 public boolean processMessage(Message message) { in processMessage() argument 197 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 198 switch (message.what) { in processMessage() 228 public boolean processMessage(Message message) { in processMessage() argument 230 if (DBG) Log.d(TAG, getName() + message.toString() + "\n"); in processMessage() 231 switch (message.what) { in processMessage() [all …]
|
/frameworks/native/include/utils/ |
D | Looper.h | 65 virtual void handleMessage(const Message& message) = 0; 78 virtual void handleMessage(const Message& message); 259 void sendMessage(const sp<MessageHandler>& handler, const Message& message); 270 const Message& message); 281 const Message& message); 339 const Message& message) : uptime(uptime), handler(handler), message(message) { in MessageEnvelope() 344 Message message; member
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | StateMachineTest.java | 70 public boolean processMessage(Message message) { in processMessage() argument 71 if (isQuit(message)) { in processMessage() 211 public boolean processMessage(Message message) { in processMessage() argument 339 public boolean processMessage(Message message) { in processMessage() argument 340 if (message.what == TEST_CMD_6) { in processMessage() 432 public boolean processMessage(Message message) { in processMessage() argument 433 if (message.what == TEST_CMD_1) { in processMessage() 437 } else if (message.what == TEST_CMD_2) { in processMessage() 533 public boolean processMessage(Message message) { in processMessage() argument 534 deferMessage(message); in processMessage() [all …]
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
D | AdditionalTextOutput.java | 80 output.append(": " + consoleMessage.message() + "\n"); in appendConsoleMessage() 83 public void appendJsAlert(String message) { in appendJsAlert() argument 87 output.append(message); in appendJsAlert() 91 public void appendJsConfirm(String message) { in appendJsConfirm() argument 95 output.append(message); in appendJsConfirm() 99 public void appendJsPrompt(String message, String defaultValue) { in appendJsPrompt() argument 103 output.append(message); in appendJsPrompt()
|
/frameworks/base/core/java/android/nfc/ |
D | FormatException.java | 24 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/base/core/java/android/accounts/ |
D | AccountsException.java | 23 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()
|
D | AuthenticatorException.java | 23 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()
|
D | OperationCanceledException.java | 22 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()
|
D | NetworkErrorException.java | 22 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()
|