Home
last modified time | relevance | path

Searched refs:errMsg (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DCpmsFrameworkLayerStateInfo.java258 String errMsg = "miss headers. got: " + headerCounter + " expected: " in parse() local
260 throw new IllegalArgumentException(errMsg); in parse()
333 String errMsg = String.format("expected start header %s at line %d : %s", in getStringArray() local
335 throw new IllegalArgumentException(errMsg); in getStringArray()
358 String errMsg = String.format("wrong format at %d in: %s ", mIdx, stateStr); in parseComponentStates() local
359 CLog.e(errMsg); in parseComponentStates()
360 throw new IllegalArgumentException(errMsg); in parseComponentStates()
368 String errMsg = String.format("invalid component at %d with %s in: %s", in parseComponentStates() local
370 CLog.e(errMsg); in parseComponentStates()
371 throw new IllegalArgumentException(errMsg); in parseComponentStates()
[all …]
DPowerPolicyGroups.java85 String errMsg = String.format("expected power state: %s but got: %s", in parsePolicyGroupDef() local
87 throw new IllegalArgumentException(errMsg); in parsePolicyGroupDef()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java388 final String errMsg = "App is " + (shouldBeBg ? "not " : "") + "a background process!"; in checkAppState() local
395 Log.w(TAG, errMsg + " Trying again in 1s."); in checkAppState()
398 Log.e(TAG, errMsg + " Quiting app."); in checkAppState()
400 Assert.fail(errMsg + " Test requires app to be in the correct state."); in checkAppState()
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/
DMediaBitstreamsTest.java406 String errMsg; in parse() local
411 errMsg = failedEarly ? lines[i++] : ""; in parse()
414 errMsg = MediaBitstreams.K_NATIVE_CRASH; in parse()
420 addConformanceEntry(mMethodName, path, null, errMsg); in parse()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiPresenceCheckerTest.java119 public void notifyFailure(FailureType type, String name, String errMsg) { in notifyFailure() argument
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java877 Class<T> clazz, String errMsg, Operation<Exception> r) throws Exception { in assertThrows() argument
882 if (!clazz.isAssignableFrom(e.getClass()) || !e.getMessage().contains(errMsg)) { in assertThrows()
883 Log.e(TAG, "Expected " + clazz + " exception with error message: " + errMsg, e); in assertThrows()