Home
last modified time | relevance | path

Searched refs:errorMsg (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DJsonParser.java43 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/
DLocationAccessPolicy.java217 private static void logError(Context context, LocationPermissionQuery query, String errorMsg) { in logError() argument
219 Log.i(TAG, errorMsg); in logError()
222 Log.e(TAG, errorMsg); in logError()
225 Toast.makeText(context, errorMsg, Toast.LENGTH_SHORT).show(); in logError()
287 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper() local
291 logError(context, query, errorMsg); in checkAppLocationPermissionHelper()
294 String errorMsg = "Allowing " + query.callingPackage + " " + locationTypeForLog in checkAppLocationPermissionHelper() local
297 logError(context, query, errorMsg); in checkAppLocationPermissionHelper()
/frameworks/base/services/core/java/com/android/server/pm/
DMultiPackageVerifyingSession.java83 String errorMsg = null; in trySendVerificationCompleteNotification() local
88 errorMsg = childVerifyingSession.getErrorMessage(); in trySendVerificationCompleteNotification()
94 errorMsg, new Bundle()); in trySendVerificationCompleteNotification()
DVerificationUtils.java144 String errorMsg = failureReason + " for " + originUri; in processVerificationResponse() local
145 Slog.i(TAG, errorMsg); in processVerificationResponse()
148 PackageManager.INSTALL_FAILED_VERIFICATION_FAILURE, errorMsg); in processVerificationResponse()
DStagingManager.java277 String errorMsg = mApexManager.getApkInApexInstallError(packageName); in checkInstallationOfApkInApexSuccessful() local
278 if (errorMsg != null) { in checkInstallationOfApkInApexSuccessful()
280 "Failed to install apk-in-apex of " + packageName + " : " + errorMsg); in checkInstallationOfApkInApexSuccessful()
697 String errorMsg = "APEX activation failed."; in restoreSessions() local
700 errorMsg += " Reason: " + reasonForRevert; in restoreSessions()
702 errorMsg += " Error: " + apexSession.errorMessage; in restoreSessions()
704 Slog.d(TAG, errorMsg); in restoreSessions()
705 session.setSessionFailed(PackageManager.INSTALL_ACTIVATION_FAILED, errorMsg); in restoreSessions()
DPackageHandler.java160 String errorMsg = "Integrity verification timed out for " + originUri; in doHandleMessage() local
161 Slog.i(TAG, errorMsg); in doHandleMessage()
172 errorMsg); in doHandleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotNotificationsController.kt56 val errorMsg = res.getString(msgResId) + displayErrorString in notifyScreenshotError() constant
65 .setContentText(errorMsg) in notifyScreenshotError()
89 val notification = Notification.BigTextStyle(builder).bigText(errorMsg).build() in notifyScreenshotError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarLogger.kt50 fun logSwipeGestureError(id: String?, errorMsg: String) { in logSwipeGestureError()
56 str2 = errorMsg in logSwipeGestureError()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DRemoteCredentialService.java175 String errorMsg = message == null ? "" : String.valueOf( in onBeginGetCredential()
178 new GetCredentialException(errorType, errorMsg)); in onBeginGetCredential()
238 String errorMsg = message == null ? "" : String.valueOf( in onBeginCreateCredential()
241 new CreateCredentialException(errorType, errorMsg)); in onBeginCreateCredential()
300 String errorMsg = message == null ? "" : in onClearCredentialState()
304 errorMsg)); in onClearCredentialState()
DClearRequestSession.java127 protected void invokeClientCallbackError(String errorType, String errorMsg) in invokeClientCallbackError() argument
129 mClientCallback.onError(errorType, errorMsg); in invokeClientCallbackError()
DCreateRequestSession.java133 protected void invokeClientCallbackError(String errorType, String errorMsg) in invokeClientCallbackError() argument
135 mClientCallback.onError(errorType, errorMsg); in invokeClientCallbackError()
DRequestSession.java213 protected abstract void invokeClientCallbackError(String errorType, String errorMsg) throws in invokeClientCallbackError() argument
376 protected void respondToClientWithErrorAndFinish(String errorType, String errorMsg) { in respondToClientWithErrorAndFinish() argument
390 invokeClientCallbackError(errorType, errorMsg); in respondToClientWithErrorAndFinish()
DGetRequestSession.java134 protected void invokeClientCallbackError(String errorType, String errorMsg) in invokeClientCallbackError() argument
136 mClientCallback.onError(errorType, errorMsg); in invokeClientCallbackError()
/frameworks/base/libs/androidfw/
DPng.cpp957 const char* errorMsg = nullptr; in do9Patch() local
966 errorMsg = "Image must be at least 3x3 (1x1 without frame) pixels"; in do9Patch()
972 errorMsg = "Must have one-pixel frame that is either transparent or white"; in do9Patch()
977 if (!getHorizontalTicks(p, W, transparent, true, &xDivs[0], &xDivs[1], &errorMsg, &numXDivs, in do9Patch()
986 &errorMsg, &numYDivs, true)) { in do9Patch()
998 &image->info9Patch.paddingRight, &errorMsg, nullptr, false)) { in do9Patch()
1006 &image->info9Patch.paddingTop, &image->info9Patch.paddingBottom, &errorMsg, in do9Patch()
1015 &image->layoutBoundsLeft, &image->layoutBoundsRight, &errorMsg); in do9Patch()
1018 &image->layoutBoundsTop, &image->layoutBoundsBottom, &errorMsg); in do9Patch()
1091 errorMsg = "Too many rows and columns in 9-patch perimeter"; in do9Patch()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp675 std::string *errorMsg) { in VerifyPlane() argument
676 *errorMsg = ""; in VerifyPlane()
683 *errorMsg = AStringPrintf("row=%u col=%u expected=%02x actual=%02x", in VerifyPlane()
777 const sp<MediaCodecBuffer> &buffer, std::string *errorMsg) { in VerifyClientBuffer() argument
778 *errorMsg = ""; in VerifyClientBuffer()
781 *errorMsg = "Missing image data"; in VerifyClientBuffer()
786 *errorMsg = AStringPrintf("Unexpected type: %d", mediaImage->mType).c_str(); in VerifyClientBuffer()
791 *errorMsg = "Y plane does not match: " + planeErrorMsg; in VerifyClientBuffer()
795 *errorMsg = "U plane does not match: " + planeErrorMsg; in VerifyClientBuffer()
799 *errorMsg = "V plane does not match: " + planeErrorMsg; in VerifyClientBuffer()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java499 String errorMsg = "Invalid response: payload=" in handleMessage() local
502 updateState(STATE_ERROR, errorMsg); in handleMessage()
506 String errorMsg = "Error reading value from SIM via " in handleMessage() local
511 errorMsg += "error code : " + errorCode; in handleMessage()
513 errorMsg += "unknown exception : " + ar.exception.getMessage(); in handleMessage()
516 updateStatusMessage(errorMsg); in handleMessage()
518 updateState(STATE_ERROR, errorMsg); in handleMessage()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/data/repository/
DSimBouncerRepositoryTest.kt172 val errorMsg = "error" in setSimPinVerificationErrorMessage() constant
173 underTest.setSimVerificationErrorMessage(errorMsg) in setSimPinVerificationErrorMessage()
175 assertThat(msg).isEqualTo(errorMsg) in setSimPinVerificationErrorMessage()
/frameworks/native/libs/binder/
DRpcState.cpp528 std::string errorMsg; in transact() local
529 if (status_t status = validateParcel(session, data, &errorMsg); status != OK) { in transact()
531 binder.get(), code, &data, errorMsg.c_str()); in transact()
1106 std::string errorMsg; in processTransactInternal() local
1107 if (status_t status = validateParcel(session, reply, &errorMsg); status != OK) { in processTransactInternal()
1108 ALOGE("Reply Parcel failed validation: %s", errorMsg.c_str()); in processTransactInternal()
1206 std::string* errorMsg) { in validateParcel() argument
1209 *errorMsg = "Parcel not crafted for RPC call"; in validateParcel()
1214 *errorMsg = "Parcel's session doesn't match"; in validateParcel()
1225 *errorMsg = ss.str(); in validateParcel()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothEventManager.java445 int errorMsg; in showUnbondMessage() local
449 errorMsg = R.string.bluetooth_pairing_pin_error_message; in showUnbondMessage()
452 errorMsg = R.string.bluetooth_pairing_rejected_error_message; in showUnbondMessage()
455 errorMsg = R.string.bluetooth_pairing_device_down_error_message; in showUnbondMessage()
461 errorMsg = R.string.bluetooth_pairing_error_message; in showUnbondMessage()
468 BluetoothUtils.showError(context, name, errorMsg); in showUnbondMessage()
/frameworks/base/tools/aapt/
DImages.cpp576 const char* errorMsg = NULL; in do_9patch() local
584 errorMsg = "Image must be at least 3x3 (1x1 without frame) pixels"; in do_9patch()
591 errorMsg = "Must have one-pixel frame that is either transparent or white"; in do_9patch()
597 &xDivs[1], &errorMsg, &numXDivs, true) != NO_ERROR) { in do_9patch()
605 &yDivs[1], &errorMsg, &numYDivs, true) != NO_ERROR) { in do_9patch()
617 &image->info9Patch.paddingRight, &errorMsg, NULL, false) != NO_ERROR) { in do_9patch()
625 &image->info9Patch.paddingBottom, &errorMsg, NULL, false) != NO_ERROR) { in do_9patch()
634 &image->layoutBoundsRight, &errorMsg); in do_9patch()
638 &image->layoutBoundsBottom, &errorMsg); in do_9patch()
710 errorMsg = "Too many rows and columns in 9-patch perimeter"; in do_9patch()
[all …]
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java187 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/
DTestAccountType1Authenticator.java463 String errorMsg = "Default Error Message"; in fillResultWithError() local
466 errorMsg = options.getString(AccountManager.KEY_ERROR_MESSAGE); in fillResultWithError()
468 fillResultWithError(result, errorCode, errorMsg); in fillResultWithError()
471 private void fillResultWithError(Bundle result, int errorCode, String errorMsg) { in fillResultWithError() argument
473 result.putString(AccountManager.KEY_ERROR_MESSAGE, errorMsg); in fillResultWithError()
/frameworks/base/tools/traceinjection/test/com/android/traceinjection/
DInjectionTests.java240 final String errorMsg = "Tag " + count.getKey() + " is not fully closed (count=" in assertAllTracesClosed() local
242 assertEquals(errorMsg, 0, (int) count.getValue()); in assertAllTracesClosed()
/frameworks/base/core/java/android/os/
DPersistableBundle.java156 final String errorMsg = "Bad value in PersistableBundle key=" in PersistableBundle() local
159 throw new IllegalArgumentException(errorMsg); in PersistableBundle()
161 Slog.wtfStack(TAG, errorMsg); in PersistableBundle()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCryptoAsync.h43 virtual void onDecryptError(const std::list<sp<AMessage>>& errorMsg) = 0;

123