Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp34 using namespace android::hardware::cas::V1_0;
35 using namespace android::hardware::cas::native::V1_0;
127 sp<ICas> cas = service->createPlugin(CLEARKEY_SYSTEMID, NULL); in main() local
128 FAIL_CHECK(cas->provision(provision_str) == Status::OK) in main()
139 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main()
149 FAIL_CHECK(cas->processEcm(session1, ecm) == Status::OK); in main()
152 cas->openSession([&](Status status, const hidl_vec<uint8_t> &sessionId) { in main()
162 FAIL_CHECK(cas->closeSession(session1) == Status::OK); in main()
192 FAIL_CHECK(cas->closeSession(session2) == Status::OK); in main()
DAndroid.bp22 "android.hardware.cas@1.0",
23 "android.hardware.cas.native@1.0",
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9344/
Dpoc.cpp24 using namespace hardware::cas::V1_0;
26 using android::hardware::cas::native::V1_0::IDescrambler;
49 sp<ICas> cas; in main() local
64 cas = casService->createPlugin(sClearKeySystemId, listener); in main()
65 if (cas == NULL) { in main()
69 auto returnVoid = cas->openSession( in main()
DAndroid.bp24 "android.hardware.cas.native@1.0",
25 "android.hardware.cas@1.0",
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallTest.java118 CallAudioState cas = new CallAudioState(false, CallAudioState.ROUTE_BLUETOOTH, in testCallAudioState()
123 assertEquals(TestUtils.BLUETOOTH_DEVICE1, cas.getActiveBluetoothDevice()); in testCallAudioState()
124 assertEquals(2, cas.getSupportedBluetoothDevices().size()); in testCallAudioState()
125 assertTrue(cas.getSupportedBluetoothDevices().contains(TestUtils.BLUETOOTH_DEVICE1)); in testCallAudioState()
126 assertTrue(cas.getSupportedBluetoothDevices().contains(TestUtils.BLUETOOTH_DEVICE2)); in testCallAudioState()
DSelfManagedConnectionServiceTest.java445 public boolean test(CallAudioState cas) { in testAudioRoute()
446 return cas.getRoute() == CallAudioState.ROUTE_SPEAKER; in testAudioRoute()
454 public boolean test(CallAudioState cas) { in testAudioRoute()
455 return cas.getRoute() == secondRoute; in testAudioRoute()