/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationTest.java | 33 String message; in testConvert_DegreesToDouble() local 37 message = "degreesToDoubleTest: Double should be -80.075, actual value is " + in testConvert_DegreesToDouble() 39 assertEquals(message, -80.075, result); in testConvert_DegreesToDouble() 44 String message; in testConvert_MinutesToDouble() local 48 message = "minutesToDoubleTest: Double should be -80.085, actual value is " + in testConvert_MinutesToDouble() 50 assertEquals(message, -80.085, result); in testConvert_MinutesToDouble() 55 String message; in testConvert_SecondsToDouble() local 59 message = "secondsToDoubleTest: Double should be -80.0675, actual value is " + in testConvert_SecondsToDouble() 61 assertEquals(message, -80.0675, result); in testConvert_SecondsToDouble() 66 String message; in testConvert_SecondsToDouble2() local [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevice.java | 223 boolean dispatchMessage(HdmiCecMessage message) { in dispatchMessage() argument 225 int dest = message.getDestination(); in dispatchMessage() 230 mCecMessageCache.cacheMessage(message); in dispatchMessage() 231 return onMessage(message); in dispatchMessage() 235 protected final boolean onMessage(HdmiCecMessage message) { in onMessage() argument 237 if (dispatchMessageToAction(message)) { in onMessage() 240 switch (message.getOpcode()) { in onMessage() 242 return handleActiveSource(message); in onMessage() 244 return handleInactiveSource(message); in onMessage() 246 return handleRequestActiveSource(message); in onMessage() [all …]
|
D | DelayedMessageBuffer.java | 42 void add(HdmiCecMessage message) { in add() argument 49 switch (message.getOpcode()) { in add() 52 mBuffer.add(message); in add() 56 mBuffer.add(message); in add() 63 HdmiLogger.debug("Buffering message:" + message); in add() 70 HdmiCecMessage message = iter.next(); in removeActiveSource() local 71 if (message.getOpcode() == Constants.MESSAGE_ACTIVE_SOURCE) { in removeActiveSource() 78 for (HdmiCecMessage message : mBuffer) { in isBuffered() 79 if (message.getOpcode() == opcode) { in isBuffered() 90 for (HdmiCecMessage message : copiedBuffer) { in processAllMessages() [all …]
|
D | HdmiCecStandbyModeHandler.java | 27 boolean handle(HdmiCecMessage message); in handle() argument 32 public boolean handle(HdmiCecMessage message) { in handle() argument 39 public boolean handle(HdmiCecMessage message) { in handle() argument 50 public boolean handle(HdmiCecMessage message) { in handle() argument 51 mService.maySendFeatureAbortCommand(message, mReason); in handle() 58 public boolean handle(HdmiCecMessage message) { in handle() argument 60 mAborterRefused.handle(message); in handle() 69 public boolean handle(HdmiCecMessage message) { in handle() argument 71 if (HdmiCecLocalDevice.isPowerOnOrToggleCommand(message)) { in handle() 73 } else if (HdmiCecLocalDevice.isPowerOffOrToggleCommand(message)) { in handle() [all …]
|
D | HdmiCecLocalDeviceTv.java | 251 boolean dispatchMessage(HdmiCecMessage message) { in dispatchMessage() argument 253 if (mService.isPowerStandby() && mStandbyHandler.handleCommand(message)) { in dispatchMessage() 256 return super.onMessage(message); in dispatchMessage() 492 protected boolean handleActiveSource(HdmiCecMessage message) { in handleActiveSource() argument 494 int logicalAddress = message.getSource(); in handleActiveSource() 495 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleActiveSource() 500 mDelayedMessageBuffer.add(message); in handleActiveSource() 509 mDelayedMessageBuffer.add(message); in handleActiveSource() 516 protected boolean handleInactiveSource(HdmiCecMessage message) { in handleInactiveSource() argument 521 if (getActiveSource().logicalAddress != message.getSource()) { in handleInactiveSource() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | MoreAsserts.java | 67 String message, Object unexpected, Object actual) { in assertNotEqual() argument 69 failEqual(message, unexpected); in assertNotEqual() 87 String message, byte[] expected, byte[] actual) { in assertEquals() argument 89 failWrongLength(message, expected.length, actual.length); in assertEquals() 93 failWrongElement(message, i, expected[i], actual[i]); in assertEquals() 113 String message, int[] expected, int[] actual) { in assertEquals() argument 115 failWrongLength(message, expected.length, actual.length); in assertEquals() 119 failWrongElement(message, i, expected[i], actual[i]); in assertEquals() 139 String message, long[] expected, long[] actual) { in assertEquals() argument 141 failWrongLength(message, expected.length, actual.length); in assertEquals() [all …]
|
/frameworks/rs/scriptc/ |
D | rs_debug.rsh | 33 * rsDebug: Log a message and values 35 * This function prints a message to the standard log, followed by the provided values. 41 rsDebug(const char* message, double a); 44 rsDebug(const char* message, int a); 47 rsDebug(const char* message, uint a); 50 rsDebug(const char* message, long a); 53 rsDebug(const char* message, ulong a); 57 rsDebug(const char* message, int2 a); 62 rsDebug(const char* message, int3 a); 67 rsDebug(const char* message, int4 a); [all …]
|
/frameworks/base/tools/aapt2/ |
D | Format.proto | 23 message ConfigDescription { 28 message StringPool { 32 message CompiledFile { 33 message Symbol { 44 message ResourceTable { 51 message Package { 57 message Type { 63 message SymbolStatus { 74 message Entry { 81 message ConfigValue { [all …]
|
/frameworks/rs/api/ |
D | rs_debug.spec | 30 arg: const char* message 32 summary: Log a message and values 34 This function prints a message to the standard log, followed by the provided values. 46 arg: const char* message 56 arg: const char* message 64 arg: const char* message 73 arg: const char* message 83 arg: const char* message 90 arg: const char* message 98 arg: const char* message [all …]
|
D | rs_io.spec | 59 summary: Send a message to the client, non-blocking 61 Sends a message back to the client. This call does not block. 62 It returns true if the message was sent and false if the 63 message queue is full. 65 A message ID is required. The data payload is optional. 82 summary: Send a message to the client, blocking 84 Sends a message back to the client. This function will block 85 until there is room on the message queue for this message. 86 This function may return before the message was delivered and 89 A message ID is required. The data payload is optional.
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
D | ResourceException.java | 22 public ResourceException(String message, Exception e) { in ResourceException() argument 23 super(message, e); in ResourceException() 26 public ResourceException(String message, Uri uri1, Exception e) { in ResourceException() argument 27 super(String.format(message, uri1.toString()), e); in ResourceException() 30 public ResourceException(String message, Uri uri1, Uri uri2, Exception e) { in ResourceException() argument 31 super(String.format(message, uri1.toString(), uri2.toString()), e); in ResourceException() 34 public ResourceException(String message) { in ResourceException() argument 35 super(message); in ResourceException() 38 public ResourceException(String message, Uri uri1) { in ResourceException() argument 39 super(String.format(message, uri1.toString())); in ResourceException() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 673 public boolean processMessage(Message message) { in processMessage() argument 674 if (DBG) logd(getName() + message.toString()); in processMessage() 675 switch (message.what) { in processMessage() 677 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 679 mWifiChannel = (AsyncChannel) message.obj; in processMessage() 681 loge("Full connection failure, error = " + message.arg1); in processMessage() 687 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in processMessage() 690 loge("Client connection lost with reason: " + message.arg1); in processMessage() 697 ac.connect(mContext, getHandler(), message.replyTo); in processMessage() 700 mDiscoveryBlocked = (message.arg1 == ENABLED ? true : false); in processMessage() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | AssertHelpers.java | 44 public static void assertArrayNotAllZeroes(String message, byte[] data) { in assertArrayNotAllZeroes() argument 54 assertTrue(message, i < size); in assertArrayNotAllZeroes() 67 public static void assertArrayNotGreater(String message, float[] left, float[] right) { in assertArrayNotGreater() argument 77 message, left[i], right[i], i, leftString, rightString); in assertArrayNotGreater() 89 public static void assertArrayWithinLowerBound(String message, float[] value, float lowerBound) in assertArrayWithinLowerBound() argument 94 message, value[i], lowerBound, i, Arrays.toString(value)), in assertArrayWithinLowerBound() 105 public static void assertArrayWithinUpperBound(String message, float[] value, float upperBound) in assertArrayWithinUpperBound() argument 110 message, value[i], upperBound, i, Arrays.toString(value)), in assertArrayWithinUpperBound() 137 public static <T> void assertArrayContains(String message, T[] actual, T checkVals) { in assertArrayContains() argument 138 assertCollectionContainsAnyOf(message, buildList(actual), Arrays.asList(checkVals)); in assertArrayContains() [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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiStateMachine.java | 506 boolean deferForUserInput(Message message, int netId, boolean allowOverride){ in deferForUserInput() argument 1595 private void handleScanRequest(Message message) { in handleScanRequest() argument 1600 Bundle bundle = (Bundle) message.obj; in handleScanRequest() 1649 message.arg1, message.arg2, bundle); in handleScanRequest() 1656 Message msg = obtainMessage(CMD_START_SCAN, message.arg1, message.arg2, bundle); in handleScanRequest() 2344 private void logStateAndMessage(Message message, State state) { in logStateAndMessage() argument 2347 logd(" " + state.getClass().getSimpleName() + " " + getLogRecString(message)); in logStateAndMessage() 3444 private SupplicantState handleSupplicantStateChange(Message message) { in handleSupplicantStateChange() argument 3445 StateChangeResult stateChangeResult = (StateChangeResult) message.obj; in handleSupplicantStateChange() 3498 mSupplicantStateTracker.sendMessage(Message.obtain(message)); in handleSupplicantStateChange() [all …]
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 302 public void handleMessage(Message message) { in handleMessage() argument 303 switch (message.what) { in handleMessage() 316 Object listener = getListener(message.arg2); in handleMessage() 318 Log.d(TAG, "Stale key " + message.arg2); in handleMessage() 321 NsdServiceInfo ns = getNsdService(message.arg2); in handleMessage() 322 switch (message.what) { in handleMessage() 324 String s = getNsdServiceInfoType((NsdServiceInfo) message.obj); in handleMessage() 328 removeListener(message.arg2); in handleMessage() 330 message.arg1); in handleMessage() 333 ((DiscoveryListener) listener).onServiceFound((NsdServiceInfo) message.obj); in handleMessage() [all …]
|
/frameworks/base/docs/html/guide/topics/renderscript/reference/ |
D | rs_debug.jd | 18 Log a message and values 27 <span class='normal'>: Log a message and values</span> 32 <td>void rsDebug(const char* message, char a); 38 … <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:char2'>char2</a> a); 44 … <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:char3'>char3</a> a); 50 … <td>void rsDebug(const char* message, <a href='rs_value_types.html#android_rs:char4'>char4</a> a); 56 …<td>void rsDebug(const char* message, const <a href='rs_value_types.html#android_rs:rs_matrix2x2'>… 61 …<td>void rsDebug(const char* message, const <a href='rs_value_types.html#android_rs:rs_matrix3x3'>… 66 …<td>void rsDebug(const char* message, const <a href='rs_value_types.html#android_rs:rs_matrix4x4'>… 71 <td>void rsDebug(const char* message, const void* a); [all …]
|
/frameworks/support/documents-archive/src/android/support/provider/ |
D | Preconditions.java | 30 static void checkArgument(boolean expression, String message) { in checkArgument() argument 32 throw new IllegalArgumentException(message); in checkArgument() 36 static void checkArgumentNotNull(Object object, String message) { in checkArgumentNotNull() argument 38 throw new IllegalArgumentException(message); in checkArgumentNotNull() 42 static void checkArgumentEquals(String expected, @Nullable String actual, String message) { in checkArgumentEquals() argument 44 throw new IllegalArgumentException(String.format(message, String.valueOf(expected), in checkArgumentEquals() 49 static void checkState(boolean expression, String message) { in checkState() argument 51 throw new IllegalStateException(message); in checkState()
|
/frameworks/native/libs/binder/ |
D | Status.cpp | 31 const String8& message) { in fromExceptionCode() argument 32 return Status(exceptionCode, OK, message); in fromExceptionCode() 40 const String8& message) { in fromServiceSpecificError() argument 41 return Status(EX_SERVICE_SPECIFIC, serviceSpecificErrorCode, message); in fromServiceSpecificError() 54 Status::Status(int32_t exceptionCode, int32_t errorCode, const String8& message) in Status() argument 57 mMessage(message) {} in Status() 87 String16 message; in readFromParcel() local 88 status = parcel.readString16(&message); in readFromParcel() 93 mMessage = String8(message); in readFromParcel() 128 void Status::setException(int32_t ex, const String8& message) { in setException() argument [all …]
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 103 Message message = mHandler.obtainMessage(); in findAccessibilityNodeInfoByAccessibilityIdClientThread() local 104 message.what = PrivateHandler.MSG_FIND_ACCESSIBILITY_NODE_INFO_BY_ACCESSIBILITY_ID; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 105 message.arg1 = flags; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 114 message.obj = args; in findAccessibilityNodeInfoByAccessibilityIdClientThread() 122 interrogatingTid).setSameThreadMessage(message); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 124 mHandler.sendMessage(message); in findAccessibilityNodeInfoByAccessibilityIdClientThread() 128 private void findAccessibilityNodeInfoByAccessibilityIdUiThread(Message message) { in findAccessibilityNodeInfoByAccessibilityIdUiThread() argument 129 final int flags = message.arg1; in findAccessibilityNodeInfoByAccessibilityIdUiThread() 131 SomeArgs args = (SomeArgs) message.obj; in findAccessibilityNodeInfoByAccessibilityIdUiThread() 186 Message message = mHandler.obtainMessage(); in findAccessibilityNodeInfosByViewIdClientThread() local [all …]
|
/frameworks/base/core/java/android/os/ |
D | UEventObserver.java | 130 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | RttServiceTest.java | 102 Message message = sendRangingRequest(channel, handler, clientKey, params); in sendRangingRequestFailed() local 104 RttManager.CMD_OP_FAILED, message.what); in sendRangingRequestFailed() 111 Message message = new Message(); in sendRangingRequest() local 112 message.what = RttManager.CMD_OP_START_RANGING; in sendRangingRequest() 113 message.arg2 = clientKey; in sendRangingRequest() 114 message.obj = params; in sendRangingRequest() 115 channel.sendMessage(message); in sendRangingRequest() 125 Message message = sendEnableResponder(channel, handler, clientKey, in sendEnableResponderSucceed() local 129 RttManager.CMD_OP_ENALBE_RESPONDER_SUCCEEDED, message.what); in sendEnableResponderSucceed() 130 String actualMac = ((ResponderConfig) message.obj).macAddress; in sendEnableResponderSucceed() [all …]
|
D | MockWifiMonitor.java | 74 public void sendMessage(String iface, Message message) { in sendMessage() argument 77 assertTrue("No handler for iface=" + iface + ",what=" + message.what, in sendMessage() 78 sendMessage(ifaceHandlers, message)); in sendMessage() 82 if (sendMessage(entry.getValue(), Message.obtain(message))) { in sendMessage() 87 + ",what=" + message.what, sent); in sendMessage() 90 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() argument 91 Handler handler = ifaceHandlers.get(message.what); in sendMessage() 93 message.setTarget(handler); in sendMessage() 94 message.sendToTarget(); in sendMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellBroadcastHandler.java | 63 protected boolean handleSmsMessage(Message message) { in handleSmsMessage() argument 64 if (message.obj instanceof SmsCbMessage) { in handleSmsMessage() 65 handleBroadcastSms((SmsCbMessage) message.obj); in handleSmsMessage() 68 loge("handleMessage got object of type: " + message.obj.getClass().getName()); in handleSmsMessage() 77 protected void handleBroadcastSms(SmsCbMessage message) { in handleBroadcastSms() argument 82 if (message.isEmergencyMessage()) { in handleBroadcastSms() 83 log("Dispatching emergency SMS CB, SmsCbMessage is: " + message); in handleBroadcastSms() 88 log("Dispatching SMS CB, SmsCbMessage is: " + message); in handleBroadcastSms() 93 intent.putExtra("message", message); in handleBroadcastSms()
|
/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()
|