Lines Matching refs:descrambleStatus
255 Status* descrambleStatus,
259 Status* descrambleStatus,
301 const sp<IDescrambler>& descrambler, Status* descrambleStatus, sp<IMemory>* inMemory) { in descrambleTestInputBuffer() argument
349 *descrambleStatus = status; in descrambleTestInputBuffer()
353 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestInputBuffer()
355 returnVoid.description().c_str(), *descrambleStatus, outBytes, detailedError.c_str()); in descrambleTestInputBuffer()
362 Status* descrambleStatus, in descrambleTestOobInput() argument
411 *descrambleStatus = status; in descrambleTestOobInput()
415 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestOobInput()
417 returnVoid.description().c_str(), *descrambleStatus, outBytes, detailedError.c_str()); in descrambleTestOobInput()
564 Status descrambleStatus = Status::OK; in TEST_F() local
567 ASSERT_TRUE(descrambleTestInputBuffer(descrambler, &descrambleStatus, &dataMemory)); in TEST_F()
568 EXPECT_EQ(Status::OK, descrambleStatus); in TEST_F()
682 Status descrambleStatus = Status::OK; in TEST_F() local
685 ASSERT_TRUE(descrambleTestInputBuffer(descrambler, &descrambleStatus, &dataMemory)); in TEST_F()
686 EXPECT_EQ(Status::ERROR_CAS_DECRYPT_UNIT_NOT_INITIALIZED, descrambleStatus); in TEST_F()
693 ASSERT_TRUE(descrambleTestInputBuffer(descrambler, &descrambleStatus, &dataMemory)); in TEST_F()
694 EXPECT_EQ(Status::ERROR_CAS_DECRYPT, descrambleStatus); in TEST_F()
728 Status descrambleStatus = Status::OK; in TEST_F() local
733 &descrambleStatus, in TEST_F()
743 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
748 &descrambleStatus, in TEST_F()
758 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
763 &descrambleStatus, in TEST_F()
773 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
778 &descrambleStatus, in TEST_F()
788 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
793 &descrambleStatus, in TEST_F()
803 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
811 &descrambleStatus, in TEST_F()
821 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()
829 &descrambleStatus, in TEST_F()
839 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_F()