Lines Matching refs:throwExceptionAsNecessary
359 static bool throwExceptionAsNecessary( in throwExceptionAsNecessary() function
1024 if (throwExceptionAsNecessary(env, err, "Failed to query crypto scheme support")) { in android_media_MediaDrm_isCryptoSchemeSupportedNative()
1047 if (throwExceptionAsNecessary(env, err, "Failed to open session")) { in android_media_MediaDrm_openSession()
1066 throwExceptionAsNecessary(env, err, "Failed to close session"); in android_media_MediaDrm_closeSession()
1119 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) { in android_media_MediaDrm_getKeyRequest()
1189 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) { in android_media_MediaDrm_provideKeyResponse()
1213 throwExceptionAsNecessary(env, err, "Failed to remove keys"); in android_media_MediaDrm_removeKeys()
1236 throwExceptionAsNecessary(env, err, "Failed to restore keys"); in android_media_MediaDrm_restoreKeys()
1252 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) { in android_media_MediaDrm_queryKeyStatus()
1282 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) { in android_media_MediaDrm_getProvisionRequestNative()
1337 throwExceptionAsNecessary(env, err, "Failed to handle provision response"); in android_media_MediaDrm_provideProvisionResponseNative()
1353 if (throwExceptionAsNecessary(env, err, "Failed to get secure stops")) { in android_media_MediaDrm_getSecureStops()
1372 if (throwExceptionAsNecessary(env, err, "Failed to get secure stop Ids")) { in android_media_MediaDrm_getSecureStopIds()
1391 if (throwExceptionAsNecessary(env, err, "Failed to get secure stop")) { in android_media_MediaDrm_getSecureStop()
1410 throwExceptionAsNecessary(env, err, "Failed to release secure stops"); in android_media_MediaDrm_releaseSecureStops()
1423 throwExceptionAsNecessary(env, err, "Failed to remove secure stop"); in android_media_MediaDrm_removeSecureStop()
1436 throwExceptionAsNecessary(env, err, "Failed to remove all secure stops"); in android_media_MediaDrm_removeAllSecureStops()
1475 if (throwExceptionAsNecessary(env, err, "Failed to get HDCP levels")) { in android_media_MediaDrm_getConnectedHdcpLevel()
1494 if (throwExceptionAsNecessary(env, err, "Failed to get HDCP levels")) { in android_media_MediaDrm_getMaxHdcpLevel()
1511 if (throwExceptionAsNecessary(env, err, "Failed to get number of sessions")) { in android_media_MediaDrm_getOpenSessionCount()
1528 if (throwExceptionAsNecessary(env, err, "Failed to get number of sessions")) { in android_media_MediaDrm_getMaxSessionCount()
1548 if (throwExceptionAsNecessary(env, err, "Failed to get security level")) { in android_media_MediaDrm_getSecurityLevel()
1580 if (throwExceptionAsNecessary(env, err, "Failed to get offline key set Ids")) { in android_media_MediaDrm_getOfflineLicenseKeySetIds()
1597 throwExceptionAsNecessary(env, err, "Failed to remove offline license"); in android_media_MediaDrm_removeOfflineLicense()
1614 if (throwExceptionAsNecessary(env, err, "Failed to get offline license state")) { in android_media_MediaDrm_getOfflineLicenseState()
1647 if (throwExceptionAsNecessary(env, err, "Failed to get property")) { in android_media_MediaDrm_getPropertyString()
1673 if (throwExceptionAsNecessary(env, err, "Failed to get property")) { in android_media_MediaDrm_getPropertyByteArray()
1705 throwExceptionAsNecessary(env, err, "Failed to set property"); in android_media_MediaDrm_setPropertyString()
1733 throwExceptionAsNecessary(env, err, "Failed to set property"); in android_media_MediaDrm_setPropertyByteArray()
1757 throwExceptionAsNecessary(env, err, "Failed to set cipher algorithm"); in android_media_MediaDrm_setCipherAlgorithmNative()
1781 throwExceptionAsNecessary(env, err, "Failed to set mac algorithm"); in android_media_MediaDrm_setMacAlgorithmNative()
1809 if (throwExceptionAsNecessary(env, err, "Failed to encrypt")) { in android_media_MediaDrm_encryptNative()
1839 if (throwExceptionAsNecessary(env, err, "Failed to decrypt")) { in android_media_MediaDrm_decryptNative()
1869 if (throwExceptionAsNecessary(env, err, "Failed to sign")) { in android_media_MediaDrm_signNative()
1900 throwExceptionAsNecessary(env, err, "Failed to verify"); in android_media_MediaDrm_verifyNative()
1949 if (throwExceptionAsNecessary(env, err, "Failed to sign")) { in android_media_MediaDrm_signRSANative()