Home
last modified time | relevance | path

Searched refs:shouldSucceed (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/module/service.mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h370 constexpr bool shouldSucceed = (expectation == success); member
393 EXPECT_EQ(result, shouldSucceed);
394 if (shouldSucceed) {
398 return status.isOk() && (result == shouldSucceed) &&
399 (!shouldSucceed || session.sessionId == sessionId);
404 constexpr bool shouldSucceed = (expectation == success); in cancel() local
409 EXPECT_EQ(result, shouldSucceed); in cancel()
411 return status.isOk() && (result == shouldSucceed); in cancel()
417 constexpr bool shouldSucceed = (expectation == success); in getSession() local
423 EXPECT_EQ(result, shouldSucceed); in getSession()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java253 boolean shouldSucceed) { in invokeInstallPackage() argument
270 if (shouldSucceed) { in invokeInstallPackage()