Home
last modified time | relevance | path

Searched refs:AssertionError (Results 1 – 25 of 250) sorted by relevance

12345678910

/cts/apps/CameraITS/tests/scene2_a/
Dtest_faces.py42 raise AssertionError(f'Face top > bottom! t: {rect_t}, b: {rect_b}')
44 raise AssertionError(f'Face left > right! l: {rect_l}, r: {rect_r}')
47 raise AssertionError(f'Face l: {rect_l} outside of active W: 0,{aa_w}')
49 raise AssertionError(f'Face r: {rect_r} outside of active W: 0,{aa_w}')
51 raise AssertionError(f'Face t: {rect_t} outside active H: 0,{aa_h}')
53 raise AssertionError(f'Face b: {rect_b} outside active H: 0,{aa_h}')
64 raise AssertionError(f'Face l: {l}, r: {r}, left eye x: {l_eye_x}')
66 raise AssertionError(f'Face t: {t}, b: {b}, left eye y: {l_eye_y}')
68 raise AssertionError(f'Face l: {l}, r: {r}, right eye x: {r_eye_x}')
70 raise AssertionError(f'Face t: {t}, b: {b}, right eye y: {r_eye_y}')
[all …]
/cts/apps/CameraITS/tests/scene1_1/
Dtest_ae_af.py71 raise AssertionError(f'{k} did not converge.')
77 raise AssertionError('No valid exposure time returned for AE.')
79 raise AssertionError('No valid sensitivity returned for AE.')
89 raise AssertionError(f'Problem with AWB gains: {awb_gains}')
92 raise AssertionError('Gain in AWB is NaN.')
94 raise AssertionError(f'Problem with AWB transform: {awb_xform}')
97 raise AssertionError('Value in AWB transform is NaN.')
99 raise AssertionError(
106 raise AssertionError(f'ISO is < minimum! ISO: {s}')
108 raise AssertionError(f'Exposure is < minimum! exp: {e}')
[all …]
Dtest_param_color_correction.py138 raise AssertionError('Image too dark/bright! Check setup.')
143 raise AssertionError('G[0] vs G[1] too different. '
146 raise AssertionError('G[1] vs G[2] too different. '
149 raise AssertionError('R[0] vs R[2] too different. '
152 raise AssertionError('B[0] vs B[1] too different. '
157 raise AssertionError('R[1] not boosted enough or too much. '
160 raise AssertionError('B[2] not boosted enough or too much. '
Dtest_ev_compensation_basic.py121 raise AssertionError(f'AE locked lumas: {luma_locked}, '
126 raise AssertionError(f'No AE lock by {THRESH_CONVERGE_FOR_EV} frame.')
145 raise AssertionError(
153 raise AssertionError('Lumas not increasing with ev comp! '
Dtest_exposure.py127 raise AssertionError(f'max_diff: {max_diff:.4f}, '
130 raise AssertionError(f'b: {b:.2f}, THRESH_MIN: {THRESH_MIN_LEVEL}, '
134 raise AssertionError(f'v: {v:.2f}, THRESH_MIN: {THRESH_MIN_LEVEL}, '
138 raise AssertionError(f'v: {v:.2f}, b: {b:.2f}, '
223 raise AssertionError(f's_req: {s_req}, s_res: {s_res}, '
226 raise AssertionError(f'e_req: {e_req}ns, e_res: {e_res}ns, '
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java65 throw new AssertionError("Failed to get UiAutomation"); in getUiAutomation()
111 throw new AssertionError(e); in waitForSession()
137 throw new AssertionError(e); in waitForSession()
149 throw new AssertionError(info.getStagedSessionErrorMessage()); in waitForSessionReady()
189 throw new AssertionError("PENDING USER ACTION"); in assertStatusSuccess()
192 throw new AssertionError(message == null ? "UNKNOWN FAILURE" : message); in assertStatusSuccess()
206 throw new AssertionError("PENDING " + status); in assertStatusFailure()
208 throw new AssertionError("INCORRECT SUCCESS "); in assertStatusFailure()
219 throw new AssertionError(message == null ? "UNKNOWN STATUS" : message); in assertStatusFailure()
246 throw new AssertionError("Unable to reflect over SessionParams.installFlags", e); in mutateInstallFlags()
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DMeanVerificationTest.java69 } catch (AssertionError e) { in testVerify()
80 } catch (AssertionError e) { in testVerify()
91 } catch (AssertionError e) { in testVerify()
111 } catch (AssertionError e) { in testVerify()
122 } catch (AssertionError e) { in testVerify()
133 } catch (AssertionError e) { in testVerify()
/cts/apps/CameraITS/tests/scene3/
Dtest_3a_consistency.py124 raise AssertionError(f'number of captures: {len(iso_exps)}, '
129 raise AssertionError(f'ISO*exp min: {iso_exp_min}, max: {iso_exp_max}, '
134 raise AssertionError(f'G gain min: {g_gain_min}, max: {g_gain_min}, '
139 raise AssertionError(f'FD min: {fd_min}, max: {fd_min} TOL: {_FD_TOL}')
142 raise AssertionError('AWB gain entry is not a number.')
145 raise AssertionError('AWB transform entry is not a number.')
Dtest_lens_movement_reporting.py145 raise AssertionError(f'Timestamp gradient(ms): {delta_diffs:.1f}, '
166 raise AssertionError(f'af_fd[loc] min: {min_loc:.3f}, max: '
173 raise AssertionError(f'af_fd[sharpness] min: {min_sharp:.3f}, '
181 raise AssertionError(f'af_fd[loc]: {loc:.3f}, af_fd[fd]: {fd:.3f}, '
188 raise AssertionError(f'min_fd[loc] min: {min_loc:.3f}, max: '
195 raise AssertionError(f'min_fd[sharpness] min: {min_sharp:.3f}, '
203 raise AssertionError(f'min_fd[loc]: {loc:.3f}, min_fd[fd]: {fd:.3f}, '
209 raise AssertionError(f'AF focus distance > min focus distance! af: '
/cts/tests/tests/media/src/android/media/cts/
DMediaFormatTest.java49 throw new AssertionError("read " + type + " as ByteBuffer " + value); in assertGetByteBuffersThrowClassCastException()
55 throw new AssertionError("read " + type + " with default as ByteBuffer " + value); in assertGetByteBuffersThrowClassCastException()
64 throw new AssertionError("read " + type + " as float " + value); in assertGetFloatsThrowClassCastException()
70 throw new AssertionError("read " + type + " with default as float " + value); in assertGetFloatsThrowClassCastException()
79 throw new AssertionError("read " + type + " as int " + value); in assertGetIntegersThrowClassCastException()
85 throw new AssertionError("read " + type + " with default as int " + value); in assertGetIntegersThrowClassCastException()
94 throw new AssertionError("read " + type + " as long " + value); in assertGetLongsThrowClassCastException()
100 throw new AssertionError("read " + type + " with default as long " + value); in assertGetLongsThrowClassCastException()
109 throw new AssertionError("read " + type + " as Number " + value); in assertGetNumbersThrowClassCastException()
115 throw new AssertionError("read " + type + " with default as Number " + value); in assertGetNumbersThrowClassCastException()
[all …]
/cts/apps/CameraITS/tests/scene1_2/
Dtest_reprocess_noise_reduction.py185 raise AssertionError(f'FAST: {snrs[j][_NR_MODES["FAST"]]:.2f}, '
191 raise AssertionError(f'HQ: {snrs[j][_NR_MODES["HQ"]]:.2f}, '
197 raise AssertionError(f'HQ: {snrs[j][_NR_MODES["HQ"]]:.2f}, '
204 raise AssertionError(f'MIN: {snrs[j][_NR_MODES["MIN"]]:.2f}, '
210 raise AssertionError(f'MIN: {snrs[j][_NR_MODES["MIN"]]:.2f}, '
218 raise AssertionError(f'ZSL: {snrs[j][_NR_MODES["ZSL"]]:.2f}, '
226 raise AssertionError(f'ZSL: {snrs[j][_NR_MODES["ZSL"]]:.2f}, '
/cts/tests/tests/appop/src/android/app/appops/cts/
DAttributionTest.kt167 @Test(expected = AssertionError::class)
172 @Test(expected = AssertionError::class)
177 @Test(expected = AssertionError::class)
182 @Test(expected = AssertionError::class)
187 @Test(expected = AssertionError::class)
192 @Test(expected = AssertionError::class)
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DInlineUiBot.java79 throw new AssertionError("no dataset " + name + " in " + getChildrenAsText(strip)); in selectSuggestion()
94 throw new AssertionError("no dataset " + name + " in " + getChildrenAsText(strip)); in longPressSuggestion()
110 throw new AssertionError("no dataset " + name + " in " + getChildrenAsText(strip)); in assertSuggestion()
119 throw new AssertionError("has dataset " + name + " in " + getChildrenAsText(strip)); in assertNoSuggestion()
132 throw new AssertionError("not find inline tooltip by text: " + text); in assertTooltipShowing()
DMyDrawable.java56 throw new AssertionError("sLatch should be not null"); in getAutofilledBounds()
70 throw new AssertionError("sLatch should be not null"); in assertDrawableNotDrawn()
74 throw new AssertionError("custom drawable is drawn"); in assertDrawableNotDrawn()
/cts/apps/CameraITS/tests/scene0/
Dtest_jitter.py62 raise AssertionError('Initial frame timestamp delta too great! '
89 raise AssertionError(f'avg: {avg:.4f}ms, TOL: {_MIN_AVG_FRAME_DELTA}ms')
91 raise AssertionError(f'var: {var:.4f}ms, TOL: {_MAX_VAR_FRAME_DELTA}ms')
94 raise AssertionError(f'range0: {range0:.4f}ms, range1: {range1:.4f}ms, '
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DAssertionError.kt26 class AssertionError(msg: String) : java.lang.AssertionError(msg, null) class
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py135 raise AssertionError(f'Unknown lens facing: {facing}.')
259 raise AssertionError(f'Frame drop! Max delta: {max_frame_delta_ms:.3f}ms, '
263 raise AssertionError(f'Exposure times vary in frames! {exptimes}')
266 raise AssertionError(f'Rolling shutter not always equal! {readouts}')
351 raise AssertionError(msg)
366 raise AssertionError(f'Unknown lens facing: {facing}.')
380 raise AssertionError('Neither method found enough features in all frames')
386 raise AssertionError(f'Device not moved enough: {rot_per_frame_max:.3f} '
492 raise AssertionError(
503 raise AssertionError(f'Camera frame range, {cam_frame_range}s, too high!')
[all …]
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DApexSignatureVerificationTest.java184 throw new AssertionError("extractApexFile IOException" + e); in extractApexFiles()
198 throw new AssertionError("getApexPackageList DeviceNotAvailableException" + e); in getApexPackageList()
210 throw new AssertionError("Query Jar file ZipException" + e); in getResourcesFromJarFile()
212 throw new AssertionError("Query Jar file IOException" + e); in getResourcesFromJarFile()
241 throw new AssertionError("pullApexFile DeviceNotAvailableException" + e); in pullApexFiles()
243 throw new AssertionError("pullApexFile IOException" + e); in pullApexFiles()
257 throw new AssertionError("Iterate well-known key name from jar IOException" + e); in pullWellKnownSignatures()
270 throw new AssertionError("Copy well-known keys to tmp IOException" + e); in pullWellKnownSignatures()
/cts/tests/framework/base/windowmanager/overlayappbase/src/android/server/wm/overlay/
DExitAnimationActivity.java72 throw new AssertionError("Unknown action" + intent.getAction());
88 throw new AssertionError("Unknown animation value " + exitAnimation); in getEnterAnimationRes()
104 throw new AssertionError("Unknown animation value " + animation); in getAnimationRes()
/cts/tests/framework/base/windowmanager/app_base/src/android/server/wm/component/
DComponentsBase.java38 throw new AssertionError("Class name should not start with '.'"); in component()
53 throw new AssertionError("The class name must be 'Components'");
/cts/tests/tests/content/src/android/content/res/cts/
DPrivateAttributeTest.java45 throw new AssertionError("Last public resource was not found", e); in testNoAttributesAfterLastPublicAttribute()
53 throw new AssertionError("Found attribute '" + name + "'" in testNoAttributesAfterLastPublicAttribute()
/cts/apps/CameraITS/utils/
Dcapture_request_utils.py45 raise AssertionError('props is None with linear_tonemap.')
59 raise AssertionError('Linear tonemap is not supported')
108 raise AssertionError('props is None.')
122 raise AssertionError('Linear tonemap is not supported')
/cts/tests/location/common/src/android/location/cts/common/
DLocationPendingIntentCapture.java69 throw new AssertionError("getNextLocation() called from main thread"); in getNextLocation()
77 throw new AssertionError("getNextFlush() called from main thread"); in getNextFlush()
85 throw new AssertionError("getNextProviderChange() called from main thread"); in getNextProviderChange()
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsTestAttentionService.java68 … throw new AssertionError("CtsTestAttentionService timed out while expecting a call."); in onReceivedResponse()
75 throw new AssertionError("Got InterruptedException while waiting for response."); in onReceivedResponse()
/cts/tests/tests/permission/src/android/permission/cts/
DOneTimePermissionTest.java190 throw new AssertionError("App was never killed"); in testStickyServiceMaintainsPermissionOnRestart()
197 throw new AssertionError("Foreground service never resumed"); in testStickyServiceMaintainsPermissionOnRestart()
226 throw new AssertionError( in assertExpectedLifespan()
249 throw new AssertionError("Unable to exit application"); in exitApp()
292 throw new AssertionError("Package not found.", e); in registerAppExitListener()

12345678910