Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 125) sorted by relevance

12345

/system/core/libdiskconfig/
Ddiskconfig.c155 goto fail; in load_diskconfig()
163 goto fail; in load_diskconfig()
168 goto fail; in load_diskconfig()
174 goto fail; in load_diskconfig()
181 goto fail; in load_diskconfig()
186 goto fail; in load_diskconfig()
189 goto fail; in load_diskconfig()
197 goto fail; in load_diskconfig()
203 goto fail; in load_diskconfig()
208 goto fail; in load_diskconfig()
[all …]
Ddiskutils.c47 goto fail; in write_raw_image()
53 goto fail; in write_raw_image()
58 goto fail; in write_raw_image()
68 goto fail; in write_raw_image()
89 goto fail; in write_raw_image()
99 goto fail; in write_raw_image()
112 fail: in write_raw_image()
Dwrite_lst.c75 goto fail; in wlist_commit()
82 goto fail; in wlist_commit()
90 fail: in wlist_commit()
Dconfig_mbr.c167 goto fail; in mk_ext_pentry()
204 fail: in mk_ext_pentry()
256 goto fail; in config_mbr()
282 goto fail; in config_mbr()
293 goto fail; in config_mbr()
302 goto fail; in config_mbr()
310 fail: in config_mbr()
/system/bt/gd/cert/
Dmetadata.py29 def fail(*args, **kwargs): function
30 asserts.fail(msg)
32 return fail
59 def fail(*args, **kwargs): function
60 asserts.fail("@metadata must be used in functional form such " "as @metadta(key=value)")
62 return fail
Dcert_self_test.py153 asserts.fail("@metadata() should only raise signals.TestFailure, "
156 asserts.fail("@metadata() should not work")
169 asserts.fail("@metadata should only raise signals.TestFailure, "
172 asserts.fail("@metadata should not work")
185 asserts.fail("should only raise signals.TestFailure, "
188 asserts.fail("missing pts_test_id should not work")
201 asserts.fail("should only raise signals.TestFailure, "
204 asserts.fail("missing pts_test_name should not work")
220 asserts.fail("Must throw an exception using @metadata decorator")
240 asserts.fail("Must throw an exception using @metadata decorator")
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DChreTestUtil.java63 Assert.fail("Could not find asset " + fileName + ": " + e.toString()); in getNanoAppInputStream()
83 Assert.fail("IOException while reading binary for " + fileName + ": " + e.getMessage()); in createNanoAppBinary()
104 Assert.fail(e.getMessage()); in loadNanoApp()
116 Assert.fail("Failed to load nanoapp"); in loadNanoAppAssertSuccess()
135 Assert.fail(e.getMessage()); in unloadNanoApp()
146 Assert.fail("Failed to unload nanoapp"); in unloadNanoAppAssertSuccess()
163 Assert.fail(e.getMessage()); in executeShellCommand()
191 Assert.fail(e.getMessage()); in convertToIntegerOrFail()
212 Assert.fail("InterruptedException while getting query response"); in queryNanoAppsAssertSuccess()
214 Assert.fail("TimeoutException while getting query response"); in queryNanoAppsAssertSuccess()
[all …]
/system/core/debuggerd/tombstoned/
Dintercept_manager.cpp92 goto fail; in intercept_request_cb()
95 goto fail; in intercept_request_cb()
106 goto fail; in intercept_request_cb()
110 goto fail; in intercept_request_cb()
117 goto fail; in intercept_request_cb()
127 goto fail; in intercept_request_cb()
142 goto fail; in intercept_request_cb()
151 goto fail; in intercept_request_cb()
172 fail: in intercept_request_cb()
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubNanoAppInfoEventsTestExecutor.java64 fail("Unexpected message type " + type); in handleMessageFromNanoApp()
71 fail("Failed to load performer nanoapp"); in handleMessageFromNanoApp()
89 fail("Not enough data provided in CONTINUE message"); in handleMessageFromNanoApp()
100 fail("Failed to unload performer nanoapp"); in handleMessageFromNanoApp()
DContextHubGeneralTestExecutor.java167 fail(errorString); in onMessageFromNanoApp()
230 Assert.fail(e.getMessage()); in run()
262 Assert.fail(mErrorString.get()); in deinit()
279 fail("Failed to send message: result = " + result); in sendMessageToNanoAppOrFail()
286 protected void fail(String errorMessage) { in fail() method in ContextHubGeneralTestExecutor
/system/tools/aidl/tests/java/src/android/aidl/tests/
DNullableTests.java21 import static org.junit.Assert.fail;
64 fail("NullPointerException was expected, but wasn't thrown"); in testExpectNpeWithNullString()
77 fail("NullPointerException was expected, but wasn't thrown"); in testExpectNpeWithNullBinder()
93 fail("NullPointerException was expected, but wasn't thrown"); in testExpectNpeWithNullBinderList()
DJavaOnlyImmutableAnnotationTests.java21 import static org.junit.Assert.fail;
77 fail(f.getName() + " should be final."); in testEveryFieldIsFinal()
88 fail("A List in an immutable parcelable isn't modifiable."); in testListIsUnmodifiable()
97 fail("A Map in an immutable parcelable isn't modifiable."); in testMapIsUnmodifiable()
/system/chre/java/test/stress/src/com/google/android/chre/test/stress/
DContextHubStressTestExecutor.java180 Assert.fail(e.getMessage()); in runStressTest()
193 Assert.fail(e.getMessage()); in runStressTest()
234 Assert.fail(e.getMessage()); in runWifiScanMonitorRestartTest()
254 Assert.fail("CHRE reset during the test"); in deinit()
275 Assert.fail("Failed to send message: result = " + result); in sendMessageToNanoApp()
283 Assert.fail(new String(mTestResult.get().getErrorMessage().toByteArray(), in checkTestFailure()
286 Assert.fail("Stress test failed"); in checkTestFailure()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneUsageTest.java27 import static org.junit.Assert.fail;
44 fail(); in testNoEntry()
69 fail(); in testWithEntry()
/system/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubSettingsTestExecutor.java156 Assert.fail("Failed to send message: result = " + result); in setupTestAssertSuccess()
162 Assert.fail(e.getMessage()); in setupTestAssertSuccess()
189 Assert.fail("Failed to send message: result = " + result); in startTestAssertSuccess()
195 Assert.fail(e.getMessage()); in startTestAssertSuccess()
199 Assert.fail("No test result received"); in startTestAssertSuccess()
213 Assert.fail("CHRE reset during the test"); in deinit()
/system/extras/sound/
Dplaywav.c234 goto fail; in wav_rec()
241 goto fail; in wav_rec()
246 goto fail; in wav_rec()
253 goto fail; in wav_rec()
258 goto fail; in wav_rec()
270 goto fail; in wav_rec()
274 goto fail; in wav_rec()
290 fail: in wav_rec()
/system/libufdt/
Dufdt_overlay.c149 goto fail; in ufdt_get_fixup_location()
158 goto fail; in ufdt_get_fixup_location()
167 goto fail; in ufdt_get_fixup_location()
174 goto fail; in ufdt_get_fixup_location()
181 goto fail; in ufdt_get_fixup_location()
188 goto fail; in ufdt_get_fixup_location()
194 fail: in ufdt_get_fixup_location()
662 goto fail; in ufdt_apply_overlay()
668 goto fail; in ufdt_apply_overlay()
677 fail: in ufdt_apply_overlay()
/system/libufdt/tests/libufdt_verify/
Dufdt_test_overlay.cpp160 goto fail; in ufdt_combine_fixup()
169 goto fail; in ufdt_combine_fixup()
192 fail: in ufdt_combine_fixup()
426 goto fail; in ufdt_verify_dtbo()
431 goto fail; in ufdt_verify_dtbo()
437 goto fail; in ufdt_verify_dtbo()
451 goto fail; in ufdt_verify_dtbo()
455 goto fail; in ufdt_verify_dtbo()
460 fail: in ufdt_verify_dtbo()
/system/core/libcutils/
Dfs.cpp137 goto fail; in fs_read_atomic_int()
141 goto fail; in fs_read_atomic_int()
146 fail: in fs_read_atomic_int()
169 goto fail; in fs_write_atomic_int()
173 goto fail; in fs_write_atomic_int()
187 fail: in fs_write_atomic_int()
/system/chre/java/test/permissions/src/com/google/android/chre/test/permissions/
DContextHubFrameworkPermissionsTestExecutor.java122 Assert.fail("Failed to send message: result = " + result); in permissionsDisabledTest()
130 Assert.fail(e.getMessage()); in permissionsDisabledTest()
144 Assert.fail("Sent message to nanoapp even though permissions were denied"); in permissionsDisabledTest()
166 Assert.fail("Failed to send message: result = " + result); in messagePermissionsTest()
174 Assert.fail(e.getMessage()); in messagePermissionsTest()
/system/extras/tests/bootloader/
Dbootloadertest.py50 self.fail("%s (%s) is not an integer" % (varname, varlist[varname]))
76 self.fail("%s (%s) is not an integer" % (varname, val))
86 self.fail("slot-count (%s) is not an integer" % val)
110 self.fail("battery-voltage (%s) is not a number" % (varname, voltage))
119 self.fail("slot-count (%s) is not an integer" % var_all["slot-count"])
154 self.fail("battery-voltage (%s) is not a number" % voltage)
/system/vold/
DMoveStorage.cpp199 if (from->getType() != VolumeBase::Type::kEmulated) goto fail; in moveStorageInternal()
200 if (to->getType() != VolumeBase::Type::kEmulated) goto fail; in moveStorageInternal()
215 goto fail; in moveStorageInternal()
234 goto fail; in moveStorageInternal()
245 fail: in moveStorageInternal()
/system/timezone/input_tools/android/common/src/test/java/com/android/libcore/timezone/util/
DErrorsTest.java23 import static org.junit.Assert.fail;
90 fail(); in scope()
99 fail(); in scope()
/system/chre/java/test/audio_concurrency/src/com/google/android/chre/test/audioconcurrency/
DContextHubAudioConcurrencyTestExecutor.java140 Assert.fail(e.getMessage()); in run()
153 Assert.fail(e.getMessage()); in run()
157 Assert.fail("No test result received"); in run()
210 Assert.fail("Failed to send message: result = " + result); in sendTestCommandMessage()
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorSensor.java184 Assert.fail("Received invalid message type from nanoapp " + message.getMessageType()); in parseDataFromNanoAppMessage()
375 Assert.fail("Collect data from CHRE failed with result " in sendMessageToNanoApp()
392 Assert.fail("await data latch interrupted"); in waitForDataSampling()
395 Assert.fail(mErrorStr.get()); in waitForDataSampling()
504 Assert.fail("await data latch interrupted"); in waitForInfoResponse()
508 Assert.fail("Timed out waiting for sensor info response"); in waitForInfoResponse()
512 Assert.fail(mErrorStr.get()); in waitForInfoResponse()

12345