Lines Matching refs:throwExceptionAsNecessary

260 static bool throwExceptionAsNecessary(  in throwExceptionAsNecessary()  function
762 if (throwExceptionAsNecessary(env, err, "Failed to open session")) { in android_media_MediaDrm_openSession()
781 throwExceptionAsNecessary(env, err, "Failed to close session"); in android_media_MediaDrm_closeSession()
834 if (throwExceptionAsNecessary(env, err, "Failed to get key request")) { in android_media_MediaDrm_getKeyRequest()
895 if (throwExceptionAsNecessary(env, err, "Failed to handle key response")) { in android_media_MediaDrm_provideKeyResponse()
915 throwExceptionAsNecessary(env, err, "Failed to remove keys"); in android_media_MediaDrm_removeKeys()
938 throwExceptionAsNecessary(env, err, "Failed to restore keys"); in android_media_MediaDrm_restoreKeys()
954 if (throwExceptionAsNecessary(env, err, "Failed to query key status")) { in android_media_MediaDrm_queryKeyStatus()
986 if (throwExceptionAsNecessary(env, err, "Failed to get provision request")) { in android_media_MediaDrm_getProvisionRequestNative()
1043 throwExceptionAsNecessary(env, err, "Failed to handle provision response"); in android_media_MediaDrm_provideProvisionResponseNative()
1061 if (throwExceptionAsNecessary(env, err, "Failed to get secure stops")) { in android_media_MediaDrm_getSecureStops()
1082 if (throwExceptionAsNecessary(env, err, "Failed to get secure stop")) { in android_media_MediaDrm_getSecureStop()
1103 throwExceptionAsNecessary(env, err, "Failed to release secure stops"); in android_media_MediaDrm_releaseSecureStops()
1118 throwExceptionAsNecessary(env, err, "Failed to release all secure stops"); in android_media_MediaDrm_releaseAllSecureStops()
1142 if (throwExceptionAsNecessary(env, err, "Failed to get property")) { in android_media_MediaDrm_getPropertyString()
1170 if (throwExceptionAsNecessary(env, err, "Failed to get property")) { in android_media_MediaDrm_getPropertyByteArray()
1204 throwExceptionAsNecessary(env, err, "Failed to set property"); in android_media_MediaDrm_setPropertyString()
1234 throwExceptionAsNecessary(env, err, "Failed to set property"); in android_media_MediaDrm_setPropertyByteArray()
1258 throwExceptionAsNecessary(env, err, "Failed to set cipher algorithm"); in android_media_MediaDrm_setCipherAlgorithmNative()
1282 throwExceptionAsNecessary(env, err, "Failed to set mac algorithm"); in android_media_MediaDrm_setMacAlgorithmNative()
1310 if (throwExceptionAsNecessary(env, err, "Failed to encrypt")) { in android_media_MediaDrm_encryptNative()
1340 if (throwExceptionAsNecessary(env, err, "Failed to decrypt")) { in android_media_MediaDrm_decryptNative()
1370 if (throwExceptionAsNecessary(env, err, "Failed to sign")) { in android_media_MediaDrm_signNative()
1401 throwExceptionAsNecessary(env, err, "Failed to verify"); in android_media_MediaDrm_verifyNative()
1430 if (throwExceptionAsNecessary(env, err, "Failed to sign")) { in android_media_MediaDrm_signRSANative()