Home
last modified time | relevance | path

Searched refs:audioData (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/
DTranscriptionTask.java66 protected ByteString audioData; field in TranscriptionTask
239 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() argument
258 this.audioData = audioData; in setAudioDataForTesting()
259 encoding = TranscriptionUtils.getAudioFormat(audioData); in setAudioDataForTesting()
DTranscriptionUtils.java44 static AudioFormat getAudioFormat(ByteString audioData) { in getAudioFormat() argument
45 return audioData != null && audioData.startsWith(ByteString.copyFromUtf8(AMR_PREFIX)) in getAudioFormat()
DTranscriptionRatingHelper.java87 ByteString audioData = TranscriptionUtils.getAudioData(context, voicemailUri); in getFeedbackRequest() local
89 String voicemailId = TranscriptionUtils.getFingerprintFor(audioData, salt); in getFeedbackRequest()
DTranscriptionTaskAsync.java122 .setVoicemailData(audioData) in getUploadRequest()
137 builder.setTranscriptionId(TranscriptionUtils.getFingerprintFor(audioData, salt)); in getUploadRequest()
DTranscriptionTaskSync.java65 .setVoicemailData(audioData) in getSyncRequest()