/frameworks/native/libs/vr/libpdx/fuzz/ |
D | message_fuzzer.cpp | 60 Message message = Message(info); in LLVMFuzzerTestOneInput() local 64 message.GetProcessId(); in LLVMFuzzerTestOneInput() 65 message.GetThreadId(); in LLVMFuzzerTestOneInput() 66 message.GetEffectiveUserId(); in LLVMFuzzerTestOneInput() 67 message.GetEffectiveGroupId(); in LLVMFuzzerTestOneInput() 68 message.GetChannelId(); in LLVMFuzzerTestOneInput() 69 message.GetMessageId(); in LLVMFuzzerTestOneInput() 70 message.GetOp(); in LLVMFuzzerTestOneInput() 71 message.GetFlags(); in LLVMFuzzerTestOneInput() 72 message.GetSendLength(); in LLVMFuzzerTestOneInput() [all …]
|
D | helpers.h | 85 Status<void> MessageReceive(Message* message) { in MessageReceive() argument 107 *message = Message(info); in MessageReceive() 142 Status<RemoteChannelHandle> PushChannel(Message* message, int flags, in PushChannel() argument 144 UNUSED(message); in PushChannel() 155 Status<int> CheckChannel(const Message* message, ChannelReference ref, in CheckChannel() argument 157 UNUSED(message); in CheckChannel() 164 Status<void> MessageReply(Message* message, int return_code) { in MessageReply() argument 165 UNUSED(message); in MessageReply() 171 Status<void> MessageReplyFd(Message* message, unsigned int push_fd) { in MessageReplyFd() argument 172 UNUSED(message); in MessageReplyFd() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | CecMessageBuffer.java | 39 public boolean bufferMessage(HdmiCecMessage message) { in bufferMessage() argument 40 switch (message.getOpcode()) { in bufferMessage() 42 bufferActiveSource(message); in bufferMessage() 46 bufferImageOrTextViewOn(message); in bufferMessage() 49 bufferSystemAudioModeRequest(message); in bufferMessage() 52 bufferRoutingChange(message); in bufferMessage() 55 bufferSetStreamPath(message); in bufferMessage() 68 for (final HdmiCecMessage message : mBuffer) { in processMessages() 72 mHdmiControlService.handleCecCommand(message); in processMessages() 79 private void bufferActiveSource(HdmiCecMessage message) { in bufferActiveSource() argument [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 | HdmiCecLocalDevice.java | 257 protected int dispatchMessage(HdmiCecMessage message) { in dispatchMessage() argument 259 int dest = message.getDestination(); in dispatchMessage() 265 && mStandbyHandler.handleCommand(message)) { in dispatchMessage() 269 mCecMessageCache.cacheMessage(message); in dispatchMessage() 270 return onMessage(message); in dispatchMessage() 296 protected final int onMessage(HdmiCecMessage message) { in onMessage() argument 298 if (dispatchMessageToAction(message)) { in onMessage() 304 if (message instanceof SetAudioVolumeLevelMessage) { in onMessage() 305 return handleSetAudioVolumeLevel((SetAudioVolumeLevelMessage) message); in onMessage() 308 switch (message.getOpcode()) { in onMessage() [all …]
|
D | HdmiCecAtomWriter.java | 45 HdmiCecMessage message, int direction, int callingUid, int errorCode) { in messageReported() argument 47 message, direction, errorCode, callingUid); in messageReported() 48 MessageReportedSpecialArgs specialArgs = createMessageReportedSpecialArgs(message); in messageReported() 59 public void messageReported(HdmiCecMessage message, int direction, int callingUid) { in messageReported() argument 60 messageReported(message, direction, callingUid, ERROR_CODE_UNKNOWN); in messageReported() 72 HdmiCecMessage message, int direction, int errorCode, int callingUid) { in createMessageReportedGenericArgs() argument 76 return new MessageReportedGenericArgs(callingUid, direction, message.getSource(), in createMessageReportedGenericArgs() 77 message.getDestination(), message.getOpcode(), sendMessageResult); in createMessageReportedGenericArgs() 86 private MessageReportedSpecialArgs createMessageReportedSpecialArgs(HdmiCecMessage message) { in createMessageReportedSpecialArgs() argument 88 switch (message.getOpcode()) { in createMessageReportedSpecialArgs() [all …]
|
/frameworks/base/test-base/src/junit/framework/ |
D | Assert.java | 18 static public void assertTrue(String message, boolean condition) { in assertTrue() argument 20 fail(message); in assertTrue() 33 static public void assertFalse(String message, boolean condition) { in assertFalse() argument 34 assertTrue(message, !condition); in assertFalse() 46 static public void fail(String message) { in fail() argument 47 if (message == null) { in fail() 50 throw new AssertionFailedError(message); in fail() 62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument 67 failNotEquals(message, expected, actual); in assertEquals() 79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument [all …]
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/ |
D | EapAkaResponse.java | 162 byte[] message = createEapAkaChallengeResponse(res, identifier); in generateEapAkaChallengeResponse() 165 byte[] mac = calculateMac(aut, message); in generateEapAkaChallengeResponse() 173 System.arraycopy(mac, 0, message, index, mac.length); in generateEapAkaChallengeResponse() 175 return message; in generateEapAkaChallengeResponse() 187 byte[] message = new byte[10 + auts.length]; in generateEapAkaSynchronizationFailureResponse() 190 message[0] = CODE_RESPONSE; in generateEapAkaSynchronizationFailureResponse() 192 message[1] = identifier; in generateEapAkaSynchronizationFailureResponse() 194 byte[] lengthBytes = BytesConverter.convertIntegerTo4Bytes(message.length); in generateEapAkaSynchronizationFailureResponse() 195 message[2] = lengthBytes[2]; in generateEapAkaSynchronizationFailureResponse() 196 message[3] = lengthBytes[3]; in generateEapAkaSynchronizationFailureResponse() [all …]
|
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/ |
D | LogBuffer.kt | 146 val message = obtain(tag, level, messagePrinter, exception) in log() constant 147 messageInitializer(message) in log() 148 commit(message) in log() 168 @CompileTimeConstant message: String, in log() 170 ) = log(tag, level, { str1 = message }, { str1!! }, exception) in log() 191 val message = buffer.advance() in obtain() constant 192 message.reset(tag, level, System.currentTimeMillis(), messagePrinter, exception) in obtain() 193 return message in obtain() 203 override fun commit(message: LogMessage) { in commit() 211 echoMessageQueue.put(message) in commit() [all …]
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | exceptions.kt | 21 open class CodeProcessingException(message: String, context: ParsingContext) 23 " $message") 25 class HashCollisionException(message: String, context: ParsingContext) : 26 CodeProcessingException(message, context) 28 class IllegalImportException(message: String, context: ParsingContext) : 29 CodeProcessingException("Illegal import: $message", context) 31 class InvalidProtoLogCallException(message: String, context: ParsingContext) 32 : CodeProcessingException("InvalidProtoLogCall: $message", context) 34 class ParsingException(message: String, context: ParsingContext) 35 : CodeProcessingException(message, context) [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/table/ |
D | LogProxy.kt | 25 fun v(tag: String, message: String) in v() 28 fun d(tag: String, message: String) in v() 31 fun i(tag: String, message: String) in v() 34 fun w(tag: String, message: String) in v() 37 fun e(tag: String, message: String) in v() 40 fun wtf(tag: String, message: String) in v() 44 override fun v(tag: String, message: String) { in v() 45 Log.v(tag, message) in v() 48 override fun d(tag: String, message: String) { in v() 49 Log.d(tag, message) in v() [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/av/media/module/bufferpool/2.0/tests/ |
D | multi.cpp | 127 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage() argument 128 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage() 132 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage() argument 133 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage() 139 PipeMessage message; in doReceiver() local 142 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 143 sendMessage(mResultPipeFds, message); in doReceiver() 148 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 149 sendMessage(mResultPipeFds, message); in doReceiver() 152 message.data.command = PipeCommand::INIT_OK; in doReceiver() [all …]
|
D | BufferpoolUnitTest.cpp | 149 bool sendMessage(int* pipes, const PipeMessage& message) { in sendMessage() argument 150 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage() 154 bool receiveMessage(int* pipes, PipeMessage* message) { in receiveMessage() argument 155 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage() 167 PipeMessage message; in doReceiver() local 168 receiveMessage(mCommandPipeFds, &message); in doReceiver() 170 switch (message.data.command) { in doReceiver() 175 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 176 sendMessage(mResultPipeFds, message); in doReceiver() 182 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() [all …]
|
D | cond.cpp | 130 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage() argument 131 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage() 135 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage() argument 136 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage() 142 PipeMessage message; in doReceiver() local 145 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 146 sendMessage(mResultPipeFds, message); in doReceiver() 151 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 152 sendMessage(mResultPipeFds, message); in doReceiver() 155 message.data.command = PipeCommand::INIT_OK; in doReceiver() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | SMSDispatcherUtil.java | 49 String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader) { in getSubmitPdu() argument 51 return getSubmitPduCdma(scAddr, destAddr, message, statusReportRequested, smsHeader); in getSubmitPdu() 53 return getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested); in getSubmitPdu() 85 String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader, in getSubmitPdu() argument 88 return getSubmitPduCdma(scAddr, destAddr, message, statusReportRequested, smsHeader, in getSubmitPdu() 91 return getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested, in getSubmitPdu() 125 String destAddr, String message, boolean statusReportRequested, SmsHeader smsHeader, in getSubmitPdu() argument 128 return getSubmitPduCdma(scAddr, destAddr, message, statusReportRequested, smsHeader, in getSubmitPdu() 131 return getSubmitPduGsm(scAddr, destAddr, message, statusReportRequested, in getSubmitPdu() 147 String message, boolean statusReportRequested) { in getSubmitPduGsm() argument [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/transport/ |
D | Transport.java | 74 private static boolean isRequest(int message) { in isRequest() argument 75 return (message & 0xFF000000) == 0x63000000; in isRequest() 78 private static boolean isResponse(int message) { in isResponse() argument 79 return (message & 0xFF000000) == 0x33000000; in isResponse() 101 public void addListener(int message, IOnMessageReceivedListener listener) { in addListener() argument 102 mListeners.put(message, listener); in addListener() 133 protected abstract void sendMessage(int message, int sequence, @NonNull byte[] data) in sendMessage() argument 136 public Future<byte[]> requestForResponse(int message, byte[] data) { in requestForResponse() argument 145 sendMessage(message, sequence, data); in requestForResponse() 156 protected final void handleMessage(int message, int sequence, @NonNull byte[] data) in handleMessage() argument [all …]
|
/frameworks/av/media/module/bufferpool/1.0/vts/ |
D | multi.cpp | 127 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage() argument 128 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage() 132 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage() argument 133 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage() 139 PipeMessage message; in doReceiver() local 142 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 143 sendMessage(mResultPipeFds, message); in doReceiver() 148 message.data.command = PipeCommand::INIT_ERROR; in doReceiver() 149 sendMessage(mResultPipeFds, message); in doReceiver() 152 message.data.command = PipeCommand::INIT_OK; in doReceiver() [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 95 String message) { in checkCallingOrSelfReadPhoneState() argument 97 callingPackage, callingFeatureId, message); in checkCallingOrSelfReadPhoneState() 103 String message) { in checkCallingOrSelfReadPhoneStateNoThrow() argument 106 callingFeatureId, message); in checkCallingOrSelfReadPhoneStateNoThrow() 118 public static boolean checkInternetPermissionNoThrow(Context context, String message) { in checkInternetPermissionNoThrow() argument 121 Binder.getCallingPid(), Binder.getCallingUid(), message); in checkInternetPermissionNoThrow() 136 Context context, String message) { in checkCallingOrSelfReadNonDangerousPhoneStateNoThrow() argument 140 Binder.getCallingPid(), Binder.getCallingUid(), message); in checkCallingOrSelfReadNonDangerousPhoneStateNoThrow() 171 @Nullable String callingFeatureId, String message) { in checkReadPhoneState() argument 174 android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE, pid, uid, message); in checkReadPhoneState() [all …]
|
/frameworks/base/tests/utils/testutils/java/com/android/server/accessibility/test/ |
D | MessageCapturingHandler.java | 52 public boolean sendMessageAtTime(Message message, long uptimeMillis) { in sendMessageAtTime() argument 53 timedMessages.add(new Pair<>(Message.obtain(message), uptimeMillis)); in sendMessageAtTime() 54 return super.sendMessageAtTime(message, Long.MAX_VALUE); in sendMessageAtTime() 62 Message message = timedMessages.remove(0).first; in sendOneMessage() local 63 removeMessages(message.what, message.obj); in sendOneMessage() 64 dispatchMessage(message); in sendOneMessage() 75 Message message = timedMessages.remove(timedMessages.size() - 1).first; in sendLastMessage() local 76 removeMessages(message.what, message.obj); in sendLastMessage() 77 dispatchMessage(message); in sendLastMessage() 91 Message message = timedMessages.get(i).first; in removeAllMessages() local [all …]
|
/frameworks/rs/script_api/include/ |
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/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | FakeLogProxy.kt | 33 override fun v(tag: String, message: String) { in v() 34 logs.add("V $tag: $message") in v() 37 override fun d(tag: String, message: String) { in d() 38 logs.add("D $tag: $message") in d() 41 override fun i(tag: String, message: String) { in i() 42 logs.add("I $tag: $message") in i() 45 override fun w(tag: String, message: String) { in w() 46 logs.add("W $tag: $message") in w() 49 override fun e(tag: String, message: String) { in e() 50 logs.add("E $tag: $message") in e() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | mock_service_endpoint.h | 19 Status<RemoteChannelHandle>(Message* message, int flags, 22 Status<int>(const Message* message, ChannelReference ref, 24 MOCK_METHOD1(MessageReceive, Status<void>(Message* message)); 25 MOCK_METHOD2(MessageReply, Status<void>(Message* message, int return_code)); 27 Status<void>(Message* message, unsigned int push_fd)); 29 Status<void>(Message* message, 32 Status<void>(Message* message, 35 Status<void>(Message* message, 38 Status<size_t>(Message* message, const iovec* vector, 41 Status<size_t>(Message* message, const iovec* vector, [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRulesTest.java | 77 Message message = (Message) invocation.getArguments()[2]; in testHelper() 79 message.obj = ar; in testHelper() 80 message.sendToTarget(); in testHelper() 88 Message message = (Message) invocation.getArguments()[8]; in testHelper() 91 message.obj = ar; in testHelper() 92 message.sendToTarget(); in testHelper() 101 Message message = (Message) invocation.getArguments()[2]; in testHelper() 102 message.sendToTarget(); in testHelper() 312 Message message = (Message) invocation.getArguments()[2]; in testAID_OnlyARAM() 315 message.obj = ar; in testAID_OnlyARAM() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/ |
D | SatelliteModemInterface.java | 452 @Nullable Message message) { in requestSatelliteListeningEnabled() argument 462 if (message != null) { in requestSatelliteListeningEnabled() 463 sendMessageWithResult(message, null, error); in requestSatelliteListeningEnabled() 470 if (message != null) { in requestSatelliteListeningEnabled() 472 message, null, SatelliteManager.SATELLITE_SERVICE_ERROR); in requestSatelliteListeningEnabled() 477 if (message != null) { in requestSatelliteListeningEnabled() 478 sendMessageWithResult(message, null, in requestSatelliteListeningEnabled() 491 @Nullable Message message) { in enableCellularModemWhileSatelliteModeIsOn() argument 501 if (message != null) { in enableCellularModemWhileSatelliteModeIsOn() 502 sendMessageWithResult(message, null, error); in enableCellularModemWhileSatelliteModeIsOn() [all …]
|