Lines Matching refs:hResult
361 Return<void> hResult = factory->createPlugin(uuid, appPackageName.string(), in makeDrmPlugin() local
371 if (!hResult.isOk()) { in makeDrmPlugin()
373 hResult.description().c_str()); in makeDrmPlugin()
567 auto hResult = mFactories[i]->isCryptoSchemeSupported(uuid); in createPlugin() local
568 if (hResult.isOk() && hResult) { in createPlugin()
630 Return<void> hResult; in openSession() local
632 hResult = mPlugin->openSession( in openSession()
641 hResult = mPluginV1_1->openSession_1_1(hSecurityLevel, in openSession()
651 if (!hResult.isOk()) { in openSession()
763 Return<void> hResult; in getKeyRequest() local
766 hResult = mPluginV1_2->getKeyRequest_1_2( in getKeyRequest()
780 hResult = mPluginV1_1->getKeyRequest_1_1( in getKeyRequest()
794 hResult = mPlugin->getKeyRequest( in getKeyRequest()
809 err = hResult.isOk() ? err : DEAD_OBJECT; in getKeyRequest()
824 Return<void> hResult = mPlugin->provideKeyResponse(toHidlVec(sessionId), in provideKeyResponse() local
833 err = hResult.isOk() ? err : DEAD_OBJECT; in provideKeyResponse()
869 Return<void> hResult = mPlugin->queryKeyStatus(toHidlVec(sessionId), in queryKeyStatus() local
878 return hResult.isOk() ? err : DEAD_OBJECT; in queryKeyStatus()
888 Return<void> hResult; in getProvisionRequest() local
891 hResult = mPluginV1_2->getProvisionRequest_1_2( in getProvisionRequest()
903 hResult = mPlugin->getProvisionRequest( in getProvisionRequest()
916 err = hResult.isOk() ? err : DEAD_OBJECT; in getProvisionRequest()
928 Return<void> hResult = mPlugin->provideProvisionResponse(toHidlVec(response), in provideProvisionResponse() local
939 err = hResult.isOk() ? err : DEAD_OBJECT; in provideProvisionResponse()
950 Return<void> hResult = mPlugin->getSecureStops( in getSecureStops() local
959 return hResult.isOk() ? err : DEAD_OBJECT; in getSecureStops()
976 Return<void> hResult = mPluginV1_1->getSecureStopIds( in getSecureStopIds() local
985 return hResult.isOk() ? err : DEAD_OBJECT; in getSecureStopIds()
995 Return<void> hResult = mPlugin->getSecureStop(toHidlVec(ssid), in getSecureStop() local
1004 return hResult.isOk() ? err : DEAD_OBJECT; in getSecureStop()
1063 Return<void> hResult; in getHdcpLevels() local
1065 hResult = mPluginV1_2->getHdcpLevels_1_2( in getHdcpLevels()
1074 hResult = mPluginV1_1->getHdcpLevels( in getHdcpLevels()
1086 return hResult.isOk() ? err : DEAD_OBJECT; in getHdcpLevels()
1105 Return<void> hResult = mPluginV1_1->getNumberOfSessions( in getNumberOfSessions() local
1115 return hResult.isOk() ? err : DEAD_OBJECT; in getNumberOfSessions()
1134 Return<void> hResult = mPluginV1_1->getSecurityLevel(toHidlVec(sessionId), in getSecurityLevel() local
1143 return hResult.isOk() ? err : DEAD_OBJECT; in getSecurityLevel()
1159 Return<void> hResult = mPluginV1_2->getOfflineLicenseKeySetIds( in getOfflineLicenseKeySetIds() local
1168 return hResult.isOk() ? err : DEAD_OBJECT; in getOfflineLicenseKeySetIds()
1201 Return<void> hResult = mPluginV1_2->getOfflineLicenseState(toHidlVec(keySetId), in getOfflineLicenseState() local
1210 return hResult.isOk() ? err : DEAD_OBJECT; in getOfflineLicenseState()
1225 Return<void> hResult = mPlugin->getPropertyString(toHidlString(name), in getPropertyStringInternal() local
1234 return hResult.isOk() ? err : DEAD_OBJECT; in getPropertyStringInternal()
1249 Return<void> hResult = mPlugin->getPropertyByteArray(toHidlString(name), in getPropertyByteArrayInternal() local
1258 err = hResult.isOk() ? err : DEAD_OBJECT; in getPropertyByteArrayInternal()
1359 Return<void> hResult = mPlugin->encrypt(toHidlVec(sessionId), in encrypt() local
1369 return hResult.isOk() ? err : DEAD_OBJECT; in encrypt()
1382 Return<void> hResult = mPlugin->decrypt(toHidlVec(sessionId), in decrypt() local
1392 return hResult.isOk() ? err : DEAD_OBJECT; in decrypt()
1405 Return<void> hResult = mPlugin->sign(toHidlVec(sessionId), in sign() local
1415 return hResult.isOk() ? err : DEAD_OBJECT; in sign()
1428 Return<void> hResult = mPlugin->verify(toHidlVec(sessionId),toHidlVec(keyId), in verify() local
1440 return hResult.isOk() ? err : DEAD_OBJECT; in verify()
1453 Return<void> hResult = mPlugin->signRSA(toHidlVec(sessionId), in signRSA() local
1463 return hResult.isOk() ? err : DEAD_OBJECT; in signRSA()
1530 auto hResult = mPluginV1_4->requiresSecureDecoderDefault(hidl_string(mime)); in requiresSecureDecoder() local
1531 if (!hResult.isOk()) { in requiresSecureDecoder()
1532 DrmUtils::LOG2BE("requiresSecureDecoder txn failed: %s", hResult.description().c_str()); in requiresSecureDecoder()
1536 *required = hResult; in requiresSecureDecoder()
1548 auto hResult = mPluginV1_4->requiresSecureDecoder(hidl_string(mime), hLevel); in requiresSecureDecoder() local
1549 if (!hResult.isOk()) { in requiresSecureDecoder()
1550 DrmUtils::LOG2BE("requiresSecureDecoder txn failed: %s", hResult.description().c_str()); in requiresSecureDecoder()
1554 *required = hResult; in requiresSecureDecoder()