/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
IOErrorTest.java | 36 String errorMsg = "java.io.IOError"; //$NON-NLS-1$ 37 assertTrue(e.toString().contains(errorMsg)); 39 errorMsg = "A dummy error"; //$NON-NLS-1$ 40 e = new IOError(new Throwable(errorMsg)); 41 assertTrue(e.toString().contains(errorMsg)); 58 String errorMsg = "java.io.IOError"; 59 IOError e = new IOError(new Throwable(errorMsg)); 68 String errorMsg = "java.io.IOError"; 69 IOError e = new IOError(new Throwable(errorMsg));
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
ParseStatus.java | 37 String errorMsg; 46 errorMsg = null; 62 return errorMsg;
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
LegacyExceptionUtils.java | 89 String errorMsg; 95 errorMsg = "Lacking privileges to access camera service"; 102 errorMsg = "Bad argument passed to camera service"; 105 errorMsg = "Camera service not available"; 108 errorMsg = "Operation timed out in camera service"; 111 errorMsg = "Camera disabled by policy"; 114 errorMsg = "Camera already in use"; 117 errorMsg = "Maximum number of cameras in use"; 120 errorMsg = "Camera device not available"; 123 errorMsg = "Deprecated camera HAL does not support this" [all...] |
/external/parameter-framework/upstream/skeleton-subsystem/test/ |
main.cpp | 48 std::string errorMsg; 49 if (not instance.start(errorMsg)) { 50 std::cout << "Failed to start: " << errorMsg << std::endl;
|
/frameworks/base/services/net/java/android/net/netlink/ |
NetlinkErrorMessage.java | 33 final NetlinkErrorMessage errorMsg = new NetlinkErrorMessage(header); 35 errorMsg.mNlMsgErr = StructNlMsgErr.parse(byteBuffer); 36 if (errorMsg.mNlMsgErr == null) { 40 return errorMsg;
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
JsonParser.java | 43 String errorMsg = null; 50 errorMsg = "Duplicate field name."; 64 errorMsg = e.getMessage(); 68 errorMsg = "Unsupported value type."; 73 if (errorMsg != null) { 74 throw new JSONException(errorMsg);
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/preconditions/ |
Checks.kt | 36 fun check(predicate: Boolean, element: Element, errorMsg: String, vararg args: Any): Boolean { 38 logger.e(element, errorMsg, args) 43 fun hasAnnotation(element: Element, annotation: KClass<out Annotation>, errorMsg: String, 46 logger.e(element, errorMsg, args) 53 fun notUnbound(typeName: TypeName, element: Element, errorMsg: String, 56 val failed = check(typeName !is TypeVariableName, element, errorMsg, args) 59 .map { notUnbound(it, element, errorMsg, args) }
|
/system/tools/hidl/ |
hidl-gen_y.yy | 60 bool isValidInterfaceField(const std::string& identifier, std::string *errorMsg) { 89 *errorMsg = identifier + " cannot be a name inside an interface"; 95 bool isValidStructField(const std::string& identifier, std::string *errorMsg) { 102 *errorMsg = identifier + " cannot be a name inside an struct or union"; 108 bool isValidIdentifier(const std::string& identifier, std::string *errorMsg) { 144 *errorMsg = identifier + " is a HIDL keyword " 149 *errorMsg = identifier + " is a C++ keyword " 154 *errorMsg = identifier + " is a Java keyword " 159 *errorMsg = identifier + " collides with reserved names in C++ code " 164 *errorMsg = identifier + " starts with _hidl_ [all...] |
Scope.cpp | 31 bool Scope::addType(NamedType *type, std::string *errorMsg) { 37 *errorMsg = "A type named '"; 38 (*errorMsg) += localName; 39 (*errorMsg) += "' is already declared in the current scope.";
|
AST.cpp | 179 std::string* errorMsg, Scope* scope) { 183 return addScopedTypeInternal(new TypeDef(localName, location, scope, type), errorMsg, scope); 186 bool AST::addScopedType(NamedType* type, std::string* errorMsg, Scope* scope) { 187 return addScopedTypeInternal(type, errorMsg, scope); 190 bool AST::addScopedTypeInternal(NamedType* type, std::string* errorMsg, Scope* scope) { 191 bool success = scope->addType(type, errorMsg); 212 EnumValue* AST::lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope) { 221 *errorMsg = "Cannot find type " + enumTypeName.string(); 225 *errorMsg = "Type " + enumTypeName.string() + " is not an enum type"; 232 *errorMsg = "Enum type " + enumTypeName.string() + " does not have " + enumValueName [all...] |
/external/compiler-rt/lib/sanitizer_common/scripts/ |
litlint.py | 53 errorMsg = 'litlint: {}:{}:{}: error: {}.\n{}{}\n' 55 sys.stderr.write(errorMsg.format(p, i, col, msg, s, arrow))
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
VtsFuzzTestResultParser.java | 157 * @param errorMsg The message to output about the nature of the error 159 private void handleTestRunFailed(String errorMsg) { 160 errorMsg = (errorMsg == null ? "Unknown error" : errorMsg); 161 Log.i(LOG_TAG, String.format("Test run failed: %s", errorMsg)); 173 listener.testRunFailed(errorMsg);
|
/frameworks/base/tests/net/java/android/net/netlink/ |
NetlinkErrorMessageTest.java | 64 final NetlinkErrorMessage errorMsg = (NetlinkErrorMessage) msg; 66 final StructNlMsgHdr hdr = errorMsg.getHeader(); 74 final StructNlMsgErr err = errorMsg.getNlMsgError();
|
/packages/services/Telephony/src/com/android/phone/ |
PhoneDisplayMessage.java | 52 * @param errorMsg Error message describing the network triggered error 54 public static void displayErrorMessage(Context context, String errorMsg) { 55 if (DBG) log("displayErrorMessage: errorMsg=" + errorMsg); 58 displayMessage(context, title, errorMsg);
|
/frameworks/support/lifecycle/compiler/src/tests/kotlin/android/arch/lifecycle/ |
InvalidCasesTest.kt | 25 class InvalidCasesTest(val name: String, val errorMsg: String) { 47 processClass(name).failsToCompile().withErrorContaining(errorMsg)
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
TaskExecutor.java | 37 public void onError(AbstractProvisioningTask task, int errorMsg) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewFadingEdgeTest.java | 151 assertEquals(data.errorMsg, 153 assertEquals(data.errorMsg, 194 final String errorMsg; 203 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, 206 this.errorMsg = errorMsg; 216 TestCase(String errorMsg, String text, boolean horizontalFadingEnabled, int gravity, 218 this(errorMsg, text, horizontalFadingEnabled, gravity, textAlignment, false,
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferViewCreateTests.cpp | 164 std::ostringstream errorMsg; 165 errorMsg << "Requied memory size (" << memReqs.size << " bytes) smaller than the buffer's size (" << size << " bytes)!"; 166 return tcu::TestStatus::fail(errorMsg.str()); 255 std::ostringstream errorMsg; 256 errorMsg << "Nonexternal objects cannot require dedicated allocation."; 257 return tcu::TestStatus::fail(errorMsg.str()); 262 std::ostringstream errorMsg; 263 errorMsg << "Requied memory size (" << memReqs.memoryRequirements.size << " bytes) smaller than the buffer's size (" << size << " bytes)!"; 264 return tcu::TestStatus::fail(errorMsg.str()); 278 std::ostringstream errorMsg; [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
EvenMoreAsserts.java | 62 private static String appendUserMessage(String errorMsg, String userMsg) { 63 return userMsg == null ? errorMsg : errorMsg + userMsg;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/ |
FinalPage.java | 74 String errorMsg = mStatus.getErrorMessage(); 75 if (errorMsg != null) { 76 sb.append(errorMsg);
|
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/processor/ |
ShortcutMethodProcessor.kt | 39 errorMsg : String) : AnnotationMirror? { 42 context.checker.check(annotation != null, executableElement, errorMsg)
|
/external/junit/src/main/java/org/junit/rules/ |
TemporaryFolder.java | 116 String errorMsg = "Folder name cannot consist of multiple path components separated by a file separator." 118 throw new IOException(errorMsg);
|
/external/parameter-framework/upstream/test/test-fixed-point-parameter/ |
Main.py | 141 (success, errorMsg) = self._pfwClient.set(self._paramPath, str(valueToSet)) 183 (success, errorMsg) = pfw.set(self._paramPath, valuePreviouslyGotten) 220 (success, _, errorMsg) = self._instance.accessParameterValue(parameter, str(value), True) 221 return success, errorMsg 224 (success, value, errorMsg) = self._instance.accessParameterValue(parameter, "", False) 227 "parameter-framework answered:\n%s" % errorMsg)
|
/external/vulkan-validation-layers/loader/ |
vk_loader_platform.h | 307 static char errorMsg[164]; 308 snprintf(errorMsg, 163, "Failed to open dynamic library \"%s\"", libPath); 309 return errorMsg; 321 static char errorMsg[120]; 322 snprintf(errorMsg, 119, "Failed to find function \"%s\" in dynamic library", 324 return errorMsg;
|
/prebuilts/ndk/r13/sources/third_party/vulkan/src/loader/ |
vk_loader_platform.h | 355 static char errorMsg[120]; 356 snprintf(errorMsg, 119, "Failed to open dynamic library \"%s\"", libPath); 357 return errorMsg; 369 static char errorMsg[120]; 370 snprintf(errorMsg, 119, "Failed to find function \"%s\" in dynamic library", 372 return errorMsg;
|