• Home
  • Raw
  • Download

Lines Matching refs:Status

57 using android::hardware::cas::V1_0::Status;
196 EXPECT_EQ(Status::OK, returnStatus); in testEventEcho()
255 Status* descrambleStatus,
259 Status* descrambleStatus,
292 Status sessionStatus; in openCasSession()
293 auto returnVoid = mMediaCas->openSession([&](Status status, const hidl_vec<uint8_t>& id) { in openCasSession()
297 return ::testing::AssertionResult(returnVoid.isOk() && (Status::OK == sessionStatus)); in openCasSession()
301 const sp<IDescrambler>& descrambler, Status* descrambleStatus, sp<IMemory>* inMemory) { in descrambleTestInputBuffer()
348 [&](Status status, uint32_t bytesWritten, const hidl_string& detailedErr) { in descrambleTestInputBuffer()
353 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestInputBuffer()
362 Status* descrambleStatus, in descrambleTestOobInput()
410 [&](Status status, uint32_t bytesWritten, const hidl_string& detailedErr) { in descrambleTestOobInput()
415 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestOobInput()
490 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
496 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
502 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
508 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
512 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
516 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
522 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
529 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
547 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
553 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
556 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
564 Status descrambleStatus = Status::OK; in TEST_F()
568 EXPECT_EQ(Status::OK, descrambleStatus); in TEST_F()
580 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
584 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
594 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
603 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
607 EXPECT_EQ(Status::ERROR_CAS_SESSION_NOT_OPENED, returnStatus); in TEST_F()
611 EXPECT_EQ(Status::ERROR_CAS_SESSION_NOT_OPENED, returnStatus); in TEST_F()
625 EXPECT_EQ(Status::ERROR_CAS_NO_LICENSE, returnStatus); in TEST_F()
632 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
639 EXPECT_EQ(Status::ERROR_CAS_SESSION_NOT_OPENED, returnStatus); in TEST_F()
648 EXPECT_EQ(Status::ERROR_CAS_NOT_PROVISIONED, returnStatus); in TEST_F()
652 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
658 EXPECT_EQ(Status::BAD_VALUE, returnStatus); in TEST_F()
667 EXPECT_EQ(Status::ERROR_CAS_UNKNOWN, returnStatus); in TEST_F()
675 EXPECT_EQ(Status::ERROR_CAS_SESSION_NOT_OPENED, returnStatus); in TEST_F()
682 Status descrambleStatus = Status::OK; in TEST_F()
686 EXPECT_EQ(Status::ERROR_CAS_DECRYPT_UNIT_NOT_INITIALIZED, descrambleStatus); in TEST_F()
691 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
694 EXPECT_EQ(Status::ERROR_CAS_DECRYPT, descrambleStatus); in TEST_F()
710 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
717 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
723 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
728 Status descrambleStatus = Status::OK; in TEST_F()
743 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
758 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
773 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
788 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
803 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
821 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
839 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
843 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()
847 EXPECT_EQ(Status::OK, returnStatus); in TEST_F()