Lines Matching refs:descrambleStatus

249             Status* descrambleStatus,
253 Status* descrambleStatus,
307 const sp<IDescrambler>& descrambler, Status* descrambleStatus, sp<IMemory>* inMemory) { in descrambleTestInputBuffer() argument
355 *descrambleStatus = status; in descrambleTestInputBuffer()
359 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestInputBuffer()
361 returnVoid.description().c_str(), *descrambleStatus, outBytes, detailedError.c_str()); in descrambleTestInputBuffer()
368 Status* descrambleStatus, in descrambleTestOobInput() argument
417 *descrambleStatus = status; in descrambleTestOobInput()
421 if (!returnVoid.isOk() || *descrambleStatus != Status::OK) { in descrambleTestOobInput()
423 returnVoid.description().c_str(), *descrambleStatus, outBytes, detailedError.c_str()); in descrambleTestOobInput()
572 Status descrambleStatus = Status::OK; in TEST_P() local
575 ASSERT_TRUE(descrambleTestInputBuffer(descrambler, &descrambleStatus, &dataMemory)); in TEST_P()
576 EXPECT_EQ(Status::OK, descrambleStatus); in TEST_P()
695 Status descrambleStatus = Status::OK; in TEST_P() local
698 ASSERT_TRUE(descrambleTestInputBuffer(descrambler, &descrambleStatus, &dataMemory)); in TEST_P()
699 EXPECT_EQ(Status::ERROR_CAS_DECRYPT_UNIT_NOT_INITIALIZED, descrambleStatus); in TEST_P()
706 ASSERT_TRUE(descrambleTestInputBuffer(descrambler, &descrambleStatus, &dataMemory)); in TEST_P()
707 EXPECT_EQ(Status::ERROR_CAS_DECRYPT, descrambleStatus); in TEST_P()
745 Status descrambleStatus = Status::OK; in TEST_P() local
749 descrambleTestOobInput(descrambler, &descrambleStatus, in TEST_P()
757 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_P()
761 descrambleTestOobInput(descrambler, &descrambleStatus, in TEST_P()
769 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_P()
773 descrambleTestOobInput(descrambler, &descrambleStatus, in TEST_P()
781 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_P()
785 descrambleTestOobInput(descrambler, &descrambleStatus, in TEST_P()
793 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_P()
797 descrambleTestOobInput(descrambler, &descrambleStatus, in TEST_P()
805 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_P()
811 descrambler, &descrambleStatus, in TEST_P()
819 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_P()
825 descrambler, &descrambleStatus, in TEST_P()
833 EXPECT_EQ(Status::BAD_VALUE, descrambleStatus); in TEST_P()