/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyExceptionUtils.java | 89 String errorMsg; in throwOnServiceError() local 95 errorMsg = "Lacking privileges to access camera service"; in throwOnServiceError() 102 errorMsg = "Bad argument passed to camera service"; in throwOnServiceError() 105 errorMsg = "Camera service not available"; in throwOnServiceError() 108 errorMsg = "Operation timed out in camera service"; in throwOnServiceError() 111 errorMsg = "Camera disabled by policy"; in throwOnServiceError() 114 errorMsg = "Camera already in use"; in throwOnServiceError() 117 errorMsg = "Maximum number of cameras in use"; in throwOnServiceError() 120 errorMsg = "Camera device not available"; in throwOnServiceError() 123 errorMsg = "Deprecated camera HAL does not support this"; in throwOnServiceError() [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | JsonParser.java | 43 String errorMsg = null; in parse() local 50 errorMsg = "Duplicate field name."; in parse() 64 errorMsg = e.getMessage(); in parse() 68 errorMsg = "Unsupported value type."; in parse() 73 if (errorMsg != null) { in parse() 74 throw new JSONException(errorMsg); in parse()
|
/frameworks/base/services/net/java/android/net/netlink/ |
D | NetlinkErrorMessage.java | 33 final NetlinkErrorMessage errorMsg = new NetlinkErrorMessage(header); in parse() local 35 errorMsg.mNlMsgErr = StructNlMsgErr.parse(byteBuffer); in parse() 36 if (errorMsg.mNlMsgErr == null) { in parse() 40 return errorMsg; in parse()
|
/frameworks/base/telephony/java/android/telephony/ |
D | LocationAccessPolicy.java | 158 private static void logError(Context context, LocationPermissionQuery query, String errorMsg) { in logError() argument 160 Log.i(TAG, errorMsg); in logError() 163 Log.e(TAG, errorMsg); in logError() 166 Toast.makeText(context, errorMsg, Toast.LENGTH_SHORT).show(); in logError() 217 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper() local 221 logError(context, query, errorMsg); in checkAppLocationPermissionHelper() 224 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper() local 227 logError(context, query, errorMsg); in checkAppLocationPermissionHelper()
|
/frameworks/base/tests/net/java/android/net/netlink/ |
D | NetlinkErrorMessageTest.java | 74 final NetlinkErrorMessage errorMsg = (NetlinkErrorMessage) msg; in testParseNlmErrorOk() local 76 final StructNlMsgHdr hdr = errorMsg.getHeader(); in testParseNlmErrorOk() 84 final StructNlMsgErr err = errorMsg.getNlMsgError(); in testParseNlmErrorOk()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | BroadcastRecordTest.java | 105 final StringBuilder errorMsg = new StringBuilder(); in verifyRemaining() local 123 errorMsg.append(appInfo.packageName).append("@") in verifyRemaining() 128 return errorMsg.length() == 0 ? null in verifyRemaining() 129 : errorMsg.insert(0, "Contains unexpected receiver: ").toString(); in verifyRemaining()
|
D | ActivityManagerServiceTest.java | 416 Function<Integer, String> errorMsg = (blockState) -> { in testBlockStateForUid() local 428 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 435 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 442 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 449 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 456 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 463 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 1009 const char* errorMsg = nullptr; in do9Patch() local 1018 errorMsg = "Image must be at least 3x3 (1x1 without frame) pixels"; in do9Patch() 1025 errorMsg = "Must have one-pixel frame that is either transparent or white"; in do9Patch() 1031 &errorMsg, &numXDivs, true)) { in do9Patch() 1039 &yDivs[1], &errorMsg, &numYDivs, true)) { in do9Patch() 1052 &image->info9Patch.paddingRight, &errorMsg, nullptr, in do9Patch() 1062 &image->info9Patch.paddingBottom, &errorMsg, nullptr, in do9Patch() 1072 &image->layoutBoundsRight, &errorMsg); in do9Patch() 1076 &image->layoutBoundsBottom, &errorMsg); in do9Patch() 1151 errorMsg = "Too many rows and columns in 9-patch perimeter"; in do9Patch() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 394 int errorMsg; in showUnbondMessage() local 398 errorMsg = R.string.bluetooth_pairing_pin_error_message; in showUnbondMessage() 401 errorMsg = R.string.bluetooth_pairing_rejected_error_message; in showUnbondMessage() 404 errorMsg = R.string.bluetooth_pairing_device_down_error_message; in showUnbondMessage() 410 errorMsg = R.string.bluetooth_pairing_error_message; in showUnbondMessage() 416 BluetoothUtils.showError(context, name, errorMsg); in showUnbondMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 512 String errorMsg = "Invalid response: payload=" + response.payload in handleMessage() local 514 updateState(STATE_ERROR, errorMsg); in handleMessage() 518 String errorMsg = "Error reading value from SIM via " in handleMessage() local 523 errorMsg += "error code : " + errorCode; in handleMessage() 525 errorMsg += "unknown exception : " + ar.exception.getMessage(); in handleMessage() 528 updateStatusMessage(errorMsg); in handleMessage() 530 updateState(STATE_ERROR, errorMsg); in handleMessage()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 575 const char* errorMsg = NULL; in do_9patch() local 583 errorMsg = "Image must be at least 3x3 (1x1 without frame) pixels"; in do_9patch() 590 errorMsg = "Must have one-pixel frame that is either transparent or white"; in do_9patch() 596 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) { in do_9patch() 604 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch() 616 &image->info9Patch.paddingRight, &errorMsg, NULL, false) != NO_ERROR) { in do_9patch() 624 &image->info9Patch.paddingBottom, &errorMsg, NULL, false) != NO_ERROR) { in do_9patch() 633 &image->layoutBoundsRight, &errorMsg); in do_9patch() 637 &image->layoutBoundsBottom, &errorMsg); in do_9patch() 709 errorMsg = "Too many rows and columns in 9-patch perimeter"; in do_9patch() [all …]
|
D | XMLNode.cpp | 214 const char* errorMsg; in parseStyledString() local 280 curString.size(), false, &errorMsg, true)) { in parseStyledString() 282 errorMsg, String8(curString).string()); in parseStyledString() 315 curString.size(), false, &errorMsg, true)) { in parseStyledString() 317 errorMsg, String8(curString).string()); in parseStyledString() 384 curString.size(), false, &errorMsg, true)) { in parseStyledString() 387 errorMsg, String8(curString).string()); in parseStyledString() 1017 const char* errorMsg; in assignResourceIds() local 1035 ? table->getResId(e.name, &attr, &pkg, &errorMsg, nsIsPublic) in assignResourceIds()
|
D | ResourceTable.cpp | 3663 const char* errorMsg; in assignResourceIds() local 3669 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg); in assignResourceIds() 3672 errorMsg, String8(mParent).string()); in assignResourceIds() 3681 it.isId ? &id16 : &attr16, NULL, &errorMsg); in assignResourceIds() 3684 it.sourcePos.error("Error: %s: %s '%s'.\n", errorMsg, in assignResourceIds() 5140 const char* errorMsg = NULL; in processBundleFormatImpl() local 5146 &errorMsg, NULL); in processBundleFormatImpl() 5148 source.error("invalid attribute name for 'name': %s", errorMsg); in processBundleFormatImpl()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 128 BiFunction<Integer, Integer, String> errorMsg = (chain, state) -> { in testIsNetworkRestrictedForUid() local 138 assertEquals(errorMsg.apply(chain, state), in testIsNetworkRestrictedForUid()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerSession.java | 187 String errorMsg = null; in onStateChanged() local 209 errorMsg = "unknown state"; in onStateChanged() 214 bob.setErrorMessage(errorMsg); in onStateChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | TestAccountType1Authenticator.java | 462 String errorMsg = "Default Error Message"; in fillResultWithError() local 465 errorMsg = options.getString(AccountManager.KEY_ERROR_MESSAGE); in fillResultWithError() 467 fillResultWithError(result, errorCode, errorMsg); in fillResultWithError() 470 private void fillResultWithError(Bundle result, int errorCode, String errorMsg) { in fillResultWithError() argument 472 result.putString(AccountManager.KEY_ERROR_MESSAGE, errorMsg); in fillResultWithError()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
D | WifiStressTest.java | 131 private void sleep(long sometime, String errorMsg) { in sleep() argument 135 fail(errorMsg); in sleep()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMenuActivity.java | 629 private void sendEmptyMessage(int what, String errorMsg) { in sendEmptyMessage() argument 632 sendMessage(m, errorMsg); in sendEmptyMessage() 635 private void sendMessage(Message m, String errorMsg) { in sendMessage() argument 642 Log.e(TAG, errorMsg, e); in sendMessage()
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGenerator.cpp | 330 std::stringstream errorMsg; in expectBooleanNearlyEqual() local 334 errorMsg << " Expected: " << expected[i] << ", actual: " << actual[i] in expectBooleanNearlyEqual() 342 EXPECT_LE(numErrors, allowedErrorCount) << errorMsg.str(); in expectBooleanNearlyEqual()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 514 String errorMsg = "Unhandled msg in delivering state, msg.what = " + msg.what; in processMessage() local 515 loge(errorMsg); in processMessage() 516 mLocalLog.log(errorMsg); in processMessage() 929 String errorMsg = "processMessagePart: returning false due to " in processMessagePart() local 931 loge(errorMsg); in processMessagePart() 932 mLocalLog.log(errorMsg); in processMessagePart()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 646 final String errorMsg = String.format(errorPrefix + "; actual=%s; min=%s; max=%s", in assertValueRange() local 648 assertTrue(errorMsg, actualvalue < maxValue); in assertValueRange() 649 assertTrue(errorMsg, actualvalue > minValue); in assertValueRange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 875 String errorMsg = r.getString(msgResId); in notifyScreenshotError() local 881 .setContentText(errorMsg) in notifyScreenshotError() 902 .bigText(errorMsg) in notifyScreenshotError()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 2381 String errorMsg = null; in dump() local 2434 errorMsg = "Bluetooth Service not connected"; in dump() 2439 errorMsg = "RemoteException while dumping Bluetooth Service"; in dump() 2442 if (errorMsg != null) { in dump() 2447 writer.println(errorMsg); in dump()
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 561 AString errorMsg; in AMediaCodec_queueInputBuffer() local 562 status_t ret = mData->mCodec->queueInputBuffer(idx, offset, size, time, flags, &errorMsg); in AMediaCodec_queueInputBuffer()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 1238 String errorMsg = asc.readFromParcel(this, in, version); in readFromParcel() local 1239 if (errorMsg != null) { in readFromParcel() 1240 mReadError = errorMsg; in readFromParcel()
|