/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/support/room/compiler/src/main/kotlin/android/arch/persistence/room/preconditions/ |
D | Checks.kt | 36 fun check(predicate: Boolean, element: Element, errorMsg: String, vararg args: Any): Boolean { in check() 38 logger.e(element, errorMsg, args) in check() 43 fun hasAnnotation(element: Element, annotation: KClass<out Annotation>, errorMsg: String, in hasAnnotation() 46 logger.e(element, errorMsg, args) in hasAnnotation() 53 fun notUnbound(typeName: TypeName, element: Element, errorMsg: String, in notUnbound() 56 val failed = check(typeName !is TypeVariableName, element, errorMsg, args) in notUnbound() 59 .map { notUnbound(it, element, errorMsg, args) } in notUnbound()
|
/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/tests/net/java/android/net/netlink/ |
D | NetlinkErrorMessageTest.java | 64 final NetlinkErrorMessage errorMsg = (NetlinkErrorMessage) msg; in testParseNlmErrorOk() local 66 final StructNlMsgHdr hdr = errorMsg.getHeader(); in testParseNlmErrorOk() 74 final StructNlMsgErr err = errorMsg.getNlMsgError(); in testParseNlmErrorOk()
|
/frameworks/support/lifecycle/compiler/src/tests/kotlin/android/arch/lifecycle/ |
D | InvalidCasesTest.kt | 25 class InvalidCasesTest(val name: String, val errorMsg: String) { constant in android.arch.lifecycle.InvalidCasesTest 47 processClass(name).failsToCompile().withErrorContaining(errorMsg) in data()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 306 int errorMsg; in showUnbondMessage() local 310 errorMsg = R.string.bluetooth_pairing_pin_error_message; in showUnbondMessage() 313 errorMsg = R.string.bluetooth_pairing_rejected_error_message; in showUnbondMessage() 316 errorMsg = R.string.bluetooth_pairing_device_down_error_message; in showUnbondMessage() 322 errorMsg = R.string.bluetooth_pairing_error_message; in showUnbondMessage() 328 Utils.showError(context, name, errorMsg); in showUnbondMessage()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 1008 const char* errorMsg = nullptr; in do9Patch() local 1017 errorMsg = "Image must be at least 3x3 (1x1 without frame) pixels"; in do9Patch() 1024 errorMsg = "Must have one-pixel frame that is either transparent or white"; in do9Patch() 1030 &errorMsg, &numXDivs, true)) { in do9Patch() 1038 &yDivs[1], &errorMsg, &numYDivs, true)) { in do9Patch() 1051 &image->info9Patch.paddingRight, &errorMsg, nullptr, in do9Patch() 1061 &image->info9Patch.paddingBottom, &errorMsg, nullptr, in do9Patch() 1071 &image->layoutBoundsRight, &errorMsg); in do9Patch() 1075 &image->layoutBoundsBottom, &errorMsg); in do9Patch() 1150 errorMsg = "Too many rows and columns in 9-patch perimeter"; in do9Patch() [all …]
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/processor/ |
D | ShortcutMethodProcessor.kt | 39 errorMsg : String) : AnnotationMirror? { in extractAnnotation() 42 context.checker.check(annotation != null, executableElement, errorMsg) in extractAnnotation()
|
/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 | 217 const char* errorMsg; in parseStyledString() local 283 curString.size(), false, &errorMsg, true)) { in parseStyledString() 285 errorMsg, String8(curString).string()); in parseStyledString() 318 curString.size(), false, &errorMsg, true)) { in parseStyledString() 320 errorMsg, String8(curString).string()); in parseStyledString() 387 curString.size(), false, &errorMsg, true)) { in parseStyledString() 390 errorMsg, String8(curString).string()); in parseStyledString() 1020 const char* errorMsg; in assignResourceIds() local 1038 ? table->getResId(e.name, &attr, &pkg, &errorMsg, nsIsPublic) in assignResourceIds()
|
D | ResourceTable.cpp | 3666 const char* errorMsg; in assignResourceIds() local 3672 mParentId = table->getResId(mParent, &style16, NULL, &errorMsg); in assignResourceIds() 3675 errorMsg, String8(mParent).string()); in assignResourceIds() 3684 it.isId ? &id16 : &attr16, NULL, &errorMsg); in assignResourceIds() 3687 it.sourcePos.error("Error: %s: %s '%s'.\n", errorMsg, in assignResourceIds() 5141 const char* errorMsg = NULL; in processBundleFormatImpl() local 5147 &errorMsg, NULL); in processBundleFormatImpl() 5149 source.error("invalid attribute name for 'name': %s", errorMsg); in processBundleFormatImpl()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkManagementInternalTest.java | 127 BiFunction<Integer, Integer, String> errorMsg = (chain, state) -> { in testIsNetworkRestrictedForUid() local 137 assertEquals(errorMsg.apply(chain, state), in testIsNetworkRestrictedForUid()
|
/frameworks/support/lifecycle/compiler/src/main/kotlin/android/arch/lifecycle/ |
D | input_collector.kt | 66 expectedType: Class<*>, errorMsg: String): Boolean { in validateParam() 68 printErrorMessage(errorMsg, param) in validateParam()
|
/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/am/ |
D | ActivityManagerServiceTest.java | 307 Function<Integer, String> errorMsg = (blockState) -> { in testBlockStateForUid() local 318 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 325 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 332 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 339 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 346 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid() 353 assertEquals(errorMsg.apply(expectedBlockState), in testBlockStateForUid()
|
/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/pip/phone/ |
D | PipMenuActivity.java | 598 private void sendEmptyMessage(int what, String errorMsg) { in sendEmptyMessage() argument 601 sendMessage(m, errorMsg); in sendEmptyMessage() 604 private void sendMessage(Message m, String errorMsg) { in sendMessage() argument 611 Log.e(TAG, errorMsg, e); in sendMessage()
|
/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/support/compat/tests/java/android/support/v4/app/ |
D | JobIntentServiceTest.java | 206 static void finishServiceExecution(ArrayList<Intent> work, String errorMsg) { in finishServiceExecution() argument 210 sFinishedErrorMsg = errorMsg; in finishServiceExecution()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 448 String errorMsg = "Invalid response: payload=" + response.payload in handleMessage() local 450 updateState(STATE_ERROR, errorMsg); in handleMessage()
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 327 AString errorMsg; in AMediaCodec_queueInputBuffer() local 328 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 | 2134 String errorMsg = null; in dump() 2190 errorMsg = "Bluetooth Service not connected"; in dump() 2195 errorMsg = "RemoteException while dumping Bluetooth Service"; in dump() 2198 if (errorMsg != null) { in dump() 2201 writer.println(errorMsg); in dump()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | GlobalScreenshot.java | 873 String errorMsg = r.getString(msgResId); in notifyScreenshotError() local 879 .setContentText(errorMsg) in notifyScreenshotError() 900 .bigText(errorMsg) in notifyScreenshotError()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 5190 const char* errorMsg = NULL; in stringToValue() local 5298 defType, defPackage, &errorMsg)) { in stringToValue() 5300 accessor->reportError(accessorCookie, errorMsg); in stringToValue() 5467 &attr16, defPackage, &errorMsg)) { in stringToValue() 5469 accessor->reportError(accessorCookie, errorMsg); in stringToValue() 5737 bool failed = collectString(outString, s, len, preserveSpaces, &errorMsg); in stringToValue() 5739 accessor->reportError(accessorCookie, errorMsg); in stringToValue()
|