Searched refs:audioData (Results 1 – 5 of 5) sorted by relevance
66 protected ByteString audioData; field in TranscriptionTask239 audioData = TranscriptionUtils.getAudioData(context, voicemailUri); in readAndValidateAudioFile()240 if (audioData != null) { in readAndValidateAudioFile()241 VvmLog.i(TAG, "readAndValidateAudioFile, read " + audioData.size() + " bytes"); in readAndValidateAudioFile()247 encoding = TranscriptionUtils.getAudioFormat(audioData); in readAndValidateAudioFile()257 void setAudioDataForTesting(ByteString audioData) { in setAudioDataForTesting() argument258 this.audioData = audioData; in setAudioDataForTesting()259 encoding = TranscriptionUtils.getAudioFormat(audioData); in setAudioDataForTesting()
44 static AudioFormat getAudioFormat(ByteString audioData) { in getAudioFormat() argument45 return audioData != null && audioData.startsWith(ByteString.copyFromUtf8(AMR_PREFIX)) in getAudioFormat()
87 ByteString audioData = TranscriptionUtils.getAudioData(context, voicemailUri); in getFeedbackRequest() local89 String voicemailId = TranscriptionUtils.getFingerprintFor(audioData, salt); in getFeedbackRequest()
122 .setVoicemailData(audioData) in getUploadRequest()137 builder.setTranscriptionId(TranscriptionUtils.getFingerprintFor(audioData, salt)); in getUploadRequest()
65 .setVoicemailData(audioData) in getSyncRequest()