/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/ |
D | CallQuality.cpp | 163 status_t err; in writeToParcel() local 164 err = out->writeInt32(mDownlinkCallQualityLevel); in writeToParcel() 165 if (err != NO_ERROR) in writeToParcel() 167 return err; in writeToParcel() 170 err = out->writeInt32(mUplinkCallQualityLevel); in writeToParcel() 171 if (err != NO_ERROR) in writeToParcel() 173 return err; in writeToParcel() 176 err = out->writeInt32(mCallDuration); in writeToParcel() 177 if (err != NO_ERROR) in writeToParcel() 179 return err; in writeToParcel() [all …]
|
D | VideoConfig.cpp | 160 status_t err; in writeToParcel() local 166 err = RtpConfig::writeToParcel(out); in writeToParcel() 167 if (err != NO_ERROR) in writeToParcel() 169 return err; in writeToParcel() 172 err = out->writeInt32(videoMode); in writeToParcel() 173 if (err != NO_ERROR) in writeToParcel() 175 return err; in writeToParcel() 178 err = out->writeInt32(codecType); in writeToParcel() 179 if (err != NO_ERROR) in writeToParcel() 181 return err; in writeToParcel() [all …]
|
D | RtpConfig.cpp | 130 status_t err; in writeToParcel() local 136 err = out->writeInt32(type); in writeToParcel() 137 if (err != NO_ERROR) in writeToParcel() 139 return err; in writeToParcel() 142 err = out->writeInt32(direction); in writeToParcel() 143 if (err != NO_ERROR) in writeToParcel() 145 return err; in writeToParcel() 148 err = out->writeInt32(accessNetwork); in writeToParcel() 149 if (err != NO_ERROR) in writeToParcel() 151 return err; in writeToParcel() [all …]
|
D | AudioConfig.cpp | 118 status_t err; in writeToParcel() local 124 err = RtpConfig::writeToParcel(out); in writeToParcel() 125 if (err != NO_ERROR) in writeToParcel() 127 return err; in writeToParcel() 130 err = out->writeByte(pTimeMillis); in writeToParcel() 131 if (err != NO_ERROR) in writeToParcel() 133 return err; in writeToParcel() 136 err = out->writeInt32(maxPtimeMillis); in writeToParcel() 137 if (err != NO_ERROR) in writeToParcel() 139 return err; in writeToParcel() [all …]
|
D | TextConfig.cpp | 95 status_t err; in writeToParcel() local 101 err = RtpConfig::writeToParcel(out); in writeToParcel() 102 if (err != NO_ERROR) in writeToParcel() 104 return err; in writeToParcel() 107 err = out->writeInt32(mCodecType); in writeToParcel() 108 if (err != NO_ERROR) in writeToParcel() 110 return err; in writeToParcel() 113 err = out->writeInt32(mBitrate); in writeToParcel() 114 if (err != NO_ERROR) in writeToParcel() 116 return err; in writeToParcel() [all …]
|
D | EvsParams.cpp | 80 status_t err; in writeToParcel() local 86 err = out->writeInt32(evsBandwidth); in writeToParcel() 87 if (err != NO_ERROR) in writeToParcel() 89 return err; in writeToParcel() 92 err = out->writeInt32(evsMode); in writeToParcel() 93 if (err != NO_ERROR) in writeToParcel() 95 return err; in writeToParcel() 98 err = out->writeByte(channelAwareMode); in writeToParcel() 99 if (err != NO_ERROR) in writeToParcel() 101 return err; in writeToParcel() [all …]
|
D | RtcpConfig.cpp | 59 status_t err; in writeToParcel() local 66 err = out->writeString16(name); in writeToParcel() 67 if (err != NO_ERROR) in writeToParcel() 69 return err; in writeToParcel() 72 err = out->writeInt32(transmitPort); in writeToParcel() 73 if (err != NO_ERROR) in writeToParcel() 75 return err; in writeToParcel() 78 err = out->writeInt32(intervalSec); in writeToParcel() 79 if (err != NO_ERROR) in writeToParcel() 81 return err; in writeToParcel() [all …]
|
D | AmrParams.cpp | 70 status_t err; in writeToParcel() local 76 err = out->writeInt32(amrMode); in writeToParcel() 77 if (err != NO_ERROR) in writeToParcel() 79 return err; in writeToParcel() 84 err = out->writeInt32(value); in writeToParcel() 85 if (err != NO_ERROR) in writeToParcel() 87 return err; in writeToParcel() 90 err = out->writeInt32(maxRedundancyMillis); in writeToParcel() 91 if (err != NO_ERROR) in writeToParcel() 93 return err; in writeToParcel() [all …]
|
D | RtpContextParams.cpp | 77 status_t err; in writeToParcel() local 84 err = out->writeInt64(ssrc); in writeToParcel() 86 if (err != NO_ERROR) in writeToParcel() 88 return err; in writeToParcel() 91 err = out->writeInt64(timestamp); in writeToParcel() 93 if (err != NO_ERROR) in writeToParcel() 95 return err; in writeToParcel() 98 err = out->writeInt32(sequenceNumber); in writeToParcel() 100 if (err != NO_ERROR) in writeToParcel() 102 return err; in writeToParcel() [all …]
|
D | AnbrMode.cpp | 67 status_t err; in writeToParcel() local 73 err = out->writeInt32(anbrUplinkMode); in writeToParcel() 74 if (err != NO_ERROR) in writeToParcel() 76 return err; in writeToParcel() 79 err = out->writeInt32(anbrDownlinkMode); in writeToParcel() 80 if (err != NO_ERROR) in writeToParcel() 82 return err; in writeToParcel() 89 status_t err; in readFromParcel() local 95 err = in->readInt32(&anbrUplinkMode); in readFromParcel() 96 if (err != NO_ERROR) in readFromParcel() [all …]
|
D | RtpHeaderExtension.cpp | 81 status_t err; in writeToParcel() local 88 err = parcel->writeInt32(mLocalIdentifier); in writeToParcel() 90 if (err != NO_ERROR) in writeToParcel() 92 return err; in writeToParcel() 95 err = parcel->writeInt32(mExtensionDataSize); in writeToParcel() 97 if (err != NO_ERROR) in writeToParcel() 99 return err; in writeToParcel() 115 status_t err; in readFromParcel() local 122 err = parcel->readInt32(&mLocalIdentifier); in readFromParcel() 124 if (err != NO_ERROR) in readFromParcel() [all …]
|
/packages/modules/Connectivity/tests/native/connectivity_native_test/ |
D | connectivity_native_test.cpp | 75 int err = getPortsBlockedForBind(mActualBlockedPorts, &mActualBlockedPortsCount); in SetUp() local 76 EXPECT_EQ(err, 0); in SetUp() 81 int err; in TearDown() local 84 err = blockPortForBind(mActualBlockedPorts[i]); in TearDown() 85 EXPECT_EQ(err, 0); in TearDown() 92 int err; in runSocketTest() local 102 err = blockPortForBind(blockedPort); in runSocketTest() 103 EXPECT_EQ(err, 0); in runSocketTest() 110 err = unblockPortForBind(blockedPort); in runSocketTest() 111 EXPECT_EQ(err, 0); in runSocketTest() [all …]
|
/packages/modules/Connectivity/service/native/libs/libclat/ |
D | clatutils.cpp | 124 const int err = errno; in generateIpv6Address() local 125 ALOGE("setsockopt(SOL_SOCKET, SO_MARK) failed: %s", strerror(err)); in generateIpv6Address() 127 return -err; in generateIpv6Address() 131 const int err = errno; in generateIpv6Address() local 132 ALOGE("setsockopt(SOL_SOCKET, SO_BINDTODEVICE, '%s') failed: %s", iface, strerror(err)); in generateIpv6Address() 134 return -err; in generateIpv6Address() 168 const int err = errno; in detect_mtu() local 169 ALOGE("socket(AF_INET6, SOCK_DGRAM, 0) failed: %s", strerror(err)); in detect_mtu() 170 return -err; in detect_mtu() 175 const int err = errno; in detect_mtu() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | LogcatLogTest.java | 52 WifiLog.LogMessage logMessage = mLogger.err("hello world"); in logMessageWorksWithParameterlessFormat() 60 WifiLog.LogMessage logMessage = mLogger.err(""); in logMessageWorksWithEmptyFormat() 68 WifiLog.LogMessage logMessage = mLogger.err("%"); in logMessageWorksWithValueOnly() 79 WifiLog.LogMessage logMessage = mLogger.err("%"); in logMessageIsNotConfusedByPlaceholderInValue() 87 WifiLog.LogMessage logMessage = mLogger.err("%stuff"); in logMessageWorksWithValueAtBegin() 95 WifiLog.LogMessage logMessage = mLogger.err("s%uff"); in logMessageWorksWithValueInMiddle() 103 WifiLog.LogMessage logMessage = mLogger.err("stuff%"); in logMessageWorksWithValueAtEnd() 111 WifiLog.LogMessage logMessage = mLogger.err("% %"); in logMessageWorksWithMultipleValues() 119 WifiLog.LogMessage logMessage = mLogger.err("first:% second:%"); in logMessageWorksWithMultipleValuesAndLiterals() 127 WifiLog.LogMessage logMessage = mLogger.err("%%"); in logMessageWorksWithAdjacentValues() [all …]
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | PrebuiltLogicGenerator.java | 136 String err = String.format(UNKNOWN_PREBUILT_IDENTIFIER, prebuiltUri); in jsScriptFromPrebuiltUri() local 137 sLogger.e(err); in jsScriptFromPrebuiltUri() 138 throw new IllegalArgumentException(err); in jsScriptFromPrebuiltUri() 159 String err = String.format(MISSING_PREBUILT_PARAMS, param); in jsScriptFromPrebuiltUri() local 160 sLogger.e(err); in jsScriptFromPrebuiltUri() 161 throw new IllegalArgumentException(err); in jsScriptFromPrebuiltUri() 193 String err = String.format(UNKNOWN_PREBUILT_IDENTIFIER, prebuiltUseCase); in getPrebuiltJsScriptTemplate() local 194 sLogger.e(err); in getPrebuiltJsScriptTemplate() 195 throw new IllegalArgumentException(err); in getPrebuiltJsScriptTemplate() 205 String err = String.format(UNKNOWN_PREBUILT_IDENTIFIER, prebuiltName); in getPrebuiltJsScriptTemplateForAdSelection() local [all …]
|
/packages/modules/StatsD/statsd/tests/utils/ |
D | DbUtils_test.cpp | 79 string err; in TEST_F() local 80 EXPECT_TRUE(insert(key, metricId, events, err)); in TEST_F() 86 EXPECT_TRUE(query(key, zSql, rows, columnTypes, columnNames, err)); in TEST_F() 105 string err; in TEST_F() local 106 EXPECT_TRUE(insert(key, metricId, events, err)); in TEST_F() 112 EXPECT_TRUE(query(key, zSql, rows, columnTypes, columnNames, err)); in TEST_F() 133 string err; in TEST_F() local 134 EXPECT_TRUE(insert(key, metricId2, events, err)); in TEST_F() 140 EXPECT_TRUE(query(key, zSql, rows, columnTypes, columnNames, err)); in TEST_F() 160 string err; in TEST_F() local [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/gatt/ |
D | gatt_connect_test.py | 104 except GattTestUtilsError as err: 105 logging.error(err) 177 except GattTestUtilsError as err: 178 logging.error(err) 179 asserts.fail("Failed to connect to GATT, error: {}".format(err)) 218 except GattTestUtilsError as err: 219 logging.error(err) 220 asserts.fail("Failed to connect to GATT, error: {}".format(err)) 233 except Exception as err: 234 logging.info("Failed to orchestrate disconnect: {}".format(err)) [all …]
|
/packages/modules/Bluetooth/system/stack/avdt/ |
D | avdt_msg.cc | 532 uint8_t err = 0; in avdt_msg_prs_cfg() local 546 while ((p < p_end) && (err == 0)) { in avdt_msg_prs_cfg() 549 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg() 567 err = AVDT_ERR_CATEGORY; in avdt_msg_prs_cfg() 581 err = avdt_msg_ie_err[elem]; in avdt_msg_prs_cfg() 594 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg() 601 err = AVDT_ERR_RECOV_TYPE; in avdt_msg_prs_cfg() 606 err = AVDT_ERR_RECOV_FMT; in avdt_msg_prs_cfg() 613 err = AVDT_ERR_LENGTH; in avdt_msg_prs_cfg() 628 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg() [all …]
|
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/ |
D | BpfUtils.h | 47 const int err = errno; in getSocketCookie() local 48 ALOGE("Failed to get socket cookie: %s\n", strerror(err)); in getSocketCookie() 49 errno = err; in getSocketCookie() 72 const int err = errno; in synchronizeKernelRCU() local 73 ALOGE("create PF_KEY socket failed: %s", strerror(err)); in synchronizeKernelRCU() 74 return -err; in synchronizeKernelRCU() 79 const int err = errno; in synchronizeKernelRCU() local 80 ALOGE("failed to close the PF_KEY socket: %s", strerror(err)); in synchronizeKernelRCU() 81 return -err; in synchronizeKernelRCU()
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/gatt/ |
D | gatt_connect_low_layer_test.py | 60 except Exception as err: 61 logging.error("Failed to close GATT client, error: {}".format(err)) 64 except RpcError as err: 65 logging.error("Failed to close CERT acl manager, error: {}".format(err)) 131 except GattTestUtilsError as err: 132 logging.error(err) 133 asserts.fail("Cannot disconnect GATT , error={}".format(err)) 142 except GattTestUtilsError as err: 143 logging.error(err) 144 asserts.fail("Cannot observe GATT connection , error={}".format(err)) [all …]
|
/packages/services/Car/car-lib/src/android/car/util/concurrent/ |
D | AndroidFuture.java | 152 protected void onCompleted(@Nullable T res, @Nullable Throwable err) { in onCompleted() argument 156 Slog.i(LOG_TAG, this + " completed with result " + (err == null ? res : err), in onCompleted() 167 callListenerAsync(listener, res, err); in onCompleted() 204 : (res, err) -> { in whenCompleteAsync() 205 callListener(oldListener, res, err); in whenCompleteAsync() 206 callListener(action, res, err); in whenCompleteAsync() 214 Throwable err = null; in whenCompleteAsync() local 218 err = e.getCause(); in whenCompleteAsync() 220 err = e; in whenCompleteAsync() 222 callListenerAsync(action, res, err); in whenCompleteAsync() [all …]
|
/packages/modules/Uwb/indev_uwb_adaptation/jni/src/ |
D | callback.rs | 48 Err(err) => { in build() 49 error!("Failed to attached callback thread to JVM: {:?}", err); in build() 171 Err(err) => { in on_range_data_received() 172 error!("UWB Callback Service: Failed to load uwb ranging jclass: {:?}", err); in on_range_data_received() 180 Err(err) => { in on_range_data_received() 181 error!("UWB Callback Service: Failed to load uwb measurement jclass: {:?}", err); in on_range_data_received() 196 Err(err) => { in on_range_data_received() 197 error!("UWB Service Callback: Failed to convert UwbRangingDataJni: {:?}", err); in on_range_data_received() 219 Err(err) => { in on_vendor_notification_received() 220 error!("Uwb Service Callback: Failed to create jbyteArray: {:?}", err); in on_vendor_notification_received() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 77 const int err = errno; in tcpConnect() local 78 PLOG(ERROR) << "Failed to create socket, errno=" << err; in tcpConnect() 79 return Status(err); in tcpConnect() 86 const int err = errno; in tcpConnect() local 87 PLOG(ERROR) << "Failed to set socket mark, errno=" << err; in tcpConnect() 89 return Status(err); in tcpConnect() 95 const int err = errno; in tcpConnect() local 96 LOG(WARNING) << "Failed to set TCP_MAXSEG, errno=" << err; in tcpConnect() 110 const int err = errno; in tcpConnect() local 111 PLOG(WARNING) << "Socket failed to connect, errno=" << err; in tcpConnect() [all …]
|
/packages/modules/adb/ |
D | sysdeps_win32.cpp | 380 const DWORD err = GetLastError(); in adb_open() local 383 switch (err) { in adb_open() 395 D("unknown error: %s", android::base::SystemErrorCodeToString(err).c_str()); in adb_open() 423 const DWORD err = GetLastError(); in adb_creat() local 426 switch (err) { in adb_creat() 438 D("unknown error: %s", android::base::SystemErrorCodeToString(err).c_str()); in adb_creat() 566 static void _socket_set_errno( const DWORD err ) { in _socket_set_errno() argument 570 switch ( err ) { in _socket_set_errno() 602 err, errno ); in _socket_set_errno() 668 const DWORD err = WSAGetLastError(); in _fh_socket_close() local [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/ |
D | NetlinkErrorMessageTest.java | 81 final StructNlMsgErr err = errorMsg.getNlMsgError(); in testParseNlmErrorOk() local 82 assertNotNull(err); in testParseNlmErrorOk() 83 assertEquals(0, err.error); in testParseNlmErrorOk() 84 assertNotNull(err.msg); in testParseNlmErrorOk() 85 assertEquals(48, err.msg.nlmsg_len); in testParseNlmErrorOk() 86 assertEquals(NetlinkConstants.RTM_NEWNEIGH, err.msg.nlmsg_type); in testParseNlmErrorOk() 87 assertEquals((NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE), err.msg.nlmsg_flags); in testParseNlmErrorOk() 88 assertEquals(13606, err.msg.nlmsg_seq); in testParseNlmErrorOk() 89 assertEquals(0, err.msg.nlmsg_pid); in testParseNlmErrorOk()
|