/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/telephony/common/android/telephony/ |
D | LocationAccessPolicy.java | 171 private static void logError(Context context, LocationPermissionQuery query, String errorMsg) { in logError() argument 173 Log.i(TAG, errorMsg); in logError() 176 Log.e(TAG, errorMsg); in logError() 179 Toast.makeText(context, errorMsg, Toast.LENGTH_SHORT).show(); in logError() 241 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper() local 245 logError(context, query, errorMsg); in checkAppLocationPermissionHelper() 248 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper() local 251 logError(context, query, errorMsg); in checkAppLocationPermissionHelper()
|
/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 | 451 Function<Integer, String> errorMsg = (blockState) -> { in testBlockStateForUid() local 463 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 470 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 477 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 484 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 491 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 498 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 385 private void abortCheckpoint(int sessionId, String errorMsg) { in abortCheckpoint() argument 386 String failureReason = "Failed to install sessionId: " + sessionId + " Error: " + errorMsg; in abortCheckpoint() 603 String errorMsg = "Reverting back to safe state. Marking " + session.sessionId in resumeSession() local 606 errorMsg = errorMsg + ": " + mFailureReason; in resumeSession() 608 Slog.d(TAG, errorMsg); in resumeSession() 609 session.setStagedSessionFailed(SessionInfo.STAGED_SESSION_UNKNOWN, errorMsg); in resumeSession() 629 final String errorMsg = "apexd did not know anything about a staged session " in resumeSession() local 632 errorMsg); in resumeSession() 633 abortCheckpoint(session.sessionId, errorMsg); in resumeSession() 637 String errorMsg = "APEX activation failed. Check logcat messages from apexd " in resumeSession() local [all …]
|
/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 | 375 int errorMsg; in showUnbondMessage() local 379 errorMsg = R.string.bluetooth_pairing_pin_error_message; in showUnbondMessage() 382 errorMsg = R.string.bluetooth_pairing_rejected_error_message; in showUnbondMessage() 385 errorMsg = R.string.bluetooth_pairing_device_down_error_message; in showUnbondMessage() 391 errorMsg = R.string.bluetooth_pairing_error_message; in showUnbondMessage() 398 BluetoothUtils.showError(context, name, errorMsg); in showUnbondMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 537 String errorMsg = "Invalid response: payload=" + response.payload in handleMessage() local 539 updateState(STATE_ERROR, errorMsg); in handleMessage() 543 String errorMsg = "Error reading value from SIM via " in handleMessage() local 548 errorMsg += "error code : " + errorCode; in handleMessage() 550 errorMsg += "unknown exception : " + ar.exception.getMessage(); in handleMessage() 553 updateStatusMessage(errorMsg); in handleMessage() 555 updateState(STATE_ERROR, errorMsg); in handleMessage()
|
/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/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/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/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotNotificationsController.java | 233 String errorMsg = res.getString(msgResId); in notifyScreenshotError() local 239 .setContentText(errorMsg) in notifyScreenshotError() 260 .bigText(errorMsg) in notifyScreenshotError()
|
/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 | 682 private void sendEmptyMessage(int what, String errorMsg) { in sendEmptyMessage() argument 685 sendMessage(m, errorMsg); in sendEmptyMessage() 688 private void sendMessage(Message m, String errorMsg) { in sendMessage() argument 695 Log.e(TAG, errorMsg, e); in sendMessage()
|
/frameworks/ml/nn/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()
|
/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/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 109 private static int getAttrDimFromContext(Context ctx, @AttrRes int attrId, String errorMsg) { in getAttrDimFromContext() argument 113 throw new IllegalStateException(errorMsg); in getAttrDimFromContext()
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 567 AString errorMsg; in AMediaCodec_queueInputBuffer() local 568 status_t ret = mData->mCodec->queueInputBuffer(idx, offset, size, time, flags, &errorMsg); in AMediaCodec_queueInputBuffer()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BluetoothManagerService.java | 2592 String errorMsg = null; in dump() local 2647 errorMsg = "Bluetooth Service not connected"; in dump() 2652 errorMsg = "RemoteException while dumping Bluetooth Service"; in dump() 2655 if (errorMsg != null) { in dump() 2656 writer.println(errorMsg); in dump()
|
D | TelephonyRegistry.java | 1152 String errorMsg = "Pid " + callingPid + " has exceeded the number of permissible" in add() local 1154 loge(errorMsg); in add() 1157 throw new IllegalStateException(errorMsg); in add()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | InboundSmsHandler.java | 987 String errorMsg = "processMessagePart: returning false due to " in processMessagePart() local 989 logeWithLocalLog(errorMsg, tracker.getMessageId()); in processMessagePart()
|