Home
last modified time | relevance | path

Searched refs:writeStatus (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/system/development/audio/
DAudioDebug.java128 int writeStatus = mAudioTrack.write(audioBuffer.array(), 0, numShorts, in onAudioRecorded() local
130 if (writeStatus > 0) { in onAudioRecorded()
133 } else if (writeStatus == 0) { in onAudioRecorded()
136 Log.e(TAG, String.format("Error calling AudioTrack.write(): %d", writeStatus)); in onAudioRecorded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/
DAudioDebug.java128 int writeStatus = mAudioTrack.write(audioBuffer.array(), 0, numShorts, in onAudioRecorded() local
130 if (writeStatus > 0) { in onAudioRecorded()
133 } else if (writeStatus == 0) { in onAudioRecorded()
136 Log.e(TAG, String.format("Error calling AudioTrack.write(): %d", writeStatus)); in onAudioRecorded()
/packages/services/Car/cpp/telemetry/cartelemetryd/sampleclient/
Dmain.cpp147 ndk::ScopedAStatus writeStatus = service->write({msg}); in main() local
149 if (!writeStatus.isOk()) { in main()
150 std::cerr << "Failed to write to the service: " << writeStatus.getMessage() in main()