/packages/modules/NetworkStack/src/com/android/networkstack/util/ |
D | DnsUtils.java | 66 final StringBuilder errorMsg = new StringBuilder(host); in getAllByName() local 74 errorMsg.append(String.format(" (%s)%s", dnsTypeToStr(TYPE_AAAA), e.getMessage())); in getAllByName() 82 errorMsg.append(String.format(" (%s)%s", dnsTypeToStr(TYPE_A), e.getMessage())); in getAllByName() 86 logger.log("FAIL: " + errorMsg.toString()); in getAllByName() 141 String errorMsg = null; in getAllByName() local 146 errorMsg = e.getMessage(); in getAllByName() 148 errorMsg = "Timeout"; in getAllByName() 150 logDnsResult(result, watch.stop() / 1000 /* latencyMs */, logger, type, errorMsg); in getAllByName() 153 if (null != errorMsg) throw new UnknownHostException(host); in getAllByName() 160 @NonNull final String errorMsg) { in logDnsResult() argument [all …]
|
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/ |
D | NetlinkErrorMessage.java | 30 final NetlinkErrorMessage errorMsg = new NetlinkErrorMessage(header); in parse() local 32 errorMsg.mNlMsgErr = StructNlMsgErr.parse(byteBuffer); in parse() 33 if (errorMsg.mNlMsgErr == null) { in parse() 37 return errorMsg; in parse()
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | WatchdogBinderMediator.cpp | 146 std::string errorMsg = StringPrintf("Failed to %s custom I/O perf collection: %s", in dump() local 149 dumpHelpText(fd, errorMsg); in dump() 151 ALOGW("%s", errorMsg.c_str()); in dump() 189 status_t WatchdogBinderMediator::dumpHelpText(const int fd, const std::string& errorMsg) { in dumpHelpText() argument 190 if (!errorMsg.empty()) { in dumpHelpText() 191 ALOGW("Error: %s", errorMsg.c_str()); in dumpHelpText() 192 if (!WriteStringToFd(StringPrintf("Error: %s\n\n", errorMsg.c_str()), fd)) { in dumpHelpText()
|
D | WatchdogProcessService.cpp | 568 std::string errorMsg = in dumpAndKillAllProcesses() local 571 ALOGW("%s", errorMsg.c_str()); in dumpAndKillAllProcesses() 572 return Error() << errorMsg; in dumpAndKillAllProcesses() 679 std::string errorMsg = "VHAL is not connected: " + connectRet.error().message(); in updateVhal() local 680 ALOGW("%s", errorMsg.c_str()); in updateVhal() 681 return Error() << errorMsg; in updateVhal() 684 std::string errorMsg = StringPrintf("VHAL doesn't support property(id: %d)", value.prop); in updateVhal() local 685 ALOGW("%s", errorMsg.c_str()); in updateVhal() 686 return Error() << errorMsg; in updateVhal()
|
D | WatchdogBinderMediator.h | 116 status_t dumpHelpText(const int fd, const std::string& errorMsg);
|
/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/ |
D | SmartForwardingActivity.java | 152 int errorMsg; in onError() local 154 errorMsg = R.string.smart_forwarding_failed_not_activated_text; in onError() 156 errorMsg = R.string.smart_forwarding_failed_text; in onError() 162 .setMessage(errorMsg) in onError()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneDisplayMessage.java | 54 public static void displayErrorMessage(Context context, String errorMsg) { in displayErrorMessage() argument 55 if (DBG) log("displayErrorMessage: errorMsg=" + errorMsg); in displayErrorMessage() 58 displayMessage(context, title, errorMsg); in displayErrorMessage()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
D | NetlinkErrorMessageTest.java | 75 final NetlinkErrorMessage errorMsg = (NetlinkErrorMessage) msg; in testParseNlmErrorOk() local 77 final StructNlMsgHdr hdr = errorMsg.getHeader(); in testParseNlmErrorOk() 85 final StructNlMsgErr err = errorMsg.getNlMsgError(); in testParseNlmErrorOk()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EvenMoreAsserts.java | 62 private static String appendUserMessage(String errorMsg, String userMsg) { in appendUserMessage() argument 63 return userMsg == null ? errorMsg : errorMsg + userMsg; in appendUserMessage()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnEditorActivity.java | 438 String errorMsg = null; in getErrorMsg() local 445 errorMsg = getString(R.string.error_apn_name_empty); in getErrorMsg() 447 errorMsg = getString(R.string.error_mcc_not3); in getErrorMsg() 449 errorMsg = getString(R.string.error_mnc_not23); in getErrorMsg() 452 return errorMsg; in getErrorMsg()
|
/packages/services/Car/cpp/computepipe/example/ |
D | ClientSvc.cpp | 25 void terminationCallback(bool error, std::string errorMsg) { in terminationCallback() argument 27 LOG(ERROR) << errorMsg; in terminationCallback()
|
/packages/apps/Settings/src/com/android/settings/network/apn/ |
D | ApnEditor.java | 944 final String errorMsg = validateApnData(); in validateAndSaveApnData() local 945 if (errorMsg != null) { in validateAndSaveApnData() 1147 String errorMsg = null; in validateApnData() local 1155 errorMsg = getResources().getString(R.string.error_name_empty); in validateApnData() 1157 errorMsg = getResources().getString(R.string.error_apn_empty); in validateApnData() 1159 errorMsg = getResources().getString(R.string.error_mcc_not3); in validateApnData() 1161 errorMsg = getResources().getString(R.string.error_mnc_not23); in validateApnData() 1164 if (errorMsg == null) { in validateApnData() 1178 errorMsg = String.format(getResources().getString(R.string.error_adding_apn_type), in validateApnData() 1183 return errorMsg; in validateApnData()
|
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
D | MathEval.java | 197 TranslationTooLongException(String errorMsg) { in TranslationTooLongException() argument 198 super(errorMsg); in TranslationTooLongException()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessSentMessageAction.java | 168 String errorMsg = "ProcessSentMessageAction: Platform returned error resultCode: " in executeAction() local 172 errorMsg += (", HTTP status code: " + httpStatusCode); in executeAction() 174 LogUtil.w(TAG, errorMsg); in executeAction()
|
D | SyncMessageBatch.java | 323 String errorMsg = "SQLiteConstraintException while inserting message for " + messageUri in rethrowSQLiteConstraintExceptionWithDetails() local 331 throw new RuntimeException(errorMsg, e); in rethrowSQLiteConstraintExceptionWithDetails()
|
/packages/apps/Settings/src/com/android/settings/biometrics/ |
D | BiometricEnrollIntroduction.java | 223 final int errorMsg = checkMaxEnrolled(); in onResume() local 224 if (errorMsg == 0) { in onResume() 229 mErrorText.setText(errorMsg); in onResume()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | VoicemailChangePinActivity.java | 227 CharSequence errorMsg; in handleNext() local 228 errorMsg = activity.validatePassword(activity.getCurrentPasswordInput()); in handleNext() 229 if (errorMsg != null) { in handleNext() 230 activity.showError(errorMsg); in handleNext()
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | NetworkPolicyTestUtils.java | 315 final String errorMsg = "Timed out waiting for active network metered status " 319 fail(errorMsg); 321 Log.w(TAG, errorMsg);
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImpl.java | 322 final String errorMsg = result.getString(EXTRA_SWITCH_SET_CHECKED_ERROR_MESSAGE); 323 if (!TextUtils.isEmpty(errorMsg)) { 324 Toast.makeText(mContext, errorMsg, Toast.LENGTH_SHORT).show();
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | NetworkManagementServiceTest.java | 301 BiFunction<Integer, Integer, String> errorMsg = (chain, state) -> { in testFirewallChains() local 311 assertEquals(errorMsg.apply(chain, state), in testFirewallChains()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | TaskExecutor.java | 37 public void onError(AbstractProvisioningTask task, int errorMsg) { in onError() argument
|
/packages/services/Car/cpp/powerpolicy/server/src/ |
D | CarPowerPolicyServer.cpp | 241 std::string errorMsg = ret.error().message(); in getPowerComponentState() local 243 errorMsg.c_str()); in getPowerComponentState() 244 return Status::fromExceptionCode(Status::EX_ILLEGAL_ARGUMENT, errorMsg.c_str()); in getPowerComponentState()
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | PMCMainActivity.java | 197 Toast errorMsg = Toast.makeText(getBaseContext(), msg, Toast.LENGTH_LONG); in startDownloadFile() local 198 errorMsg.show(); in startDownloadFile()
|
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/ |
D | TestHarness.cpp | 120 std::stringstream errorMsg; in expectBooleanNearlyEqual() local 124 errorMsg << " Expected: " << expectedBuffer[i] << ", actual: " << actualBuffer[i] in expectBooleanNearlyEqual() 132 EXPECT_LE(numErrors, allowedErrorCount) << errorMsg.str(); in expectBooleanNearlyEqual()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailContentProvider.java | 456 String errorMsg = String.format("Permission denied for URI: %s\n. " + in checkPackagesMatch() local 460 throw new SecurityException(errorMsg); in checkPackagesMatch()
|