Searched refs:myData (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 129 static int32_t readFormattedData(LoopbackData *myData, int32_t numFrames) { in readFormattedData() argument 131 if (myData->actualInputFormat == AAUDIO_FORMAT_PCM_I16) { in readFormattedData() 132 framesRead = AAudioStream_read(myData->inputStream, myData->inputShortData, in readFormattedData() 135 } else if (myData->actualInputFormat == AAUDIO_FORMAT_PCM_FLOAT) { in readFormattedData() 136 framesRead = AAudioStream_read(myData->inputStream, myData->inputFloatData, in readFormattedData() 140 printf("ERROR actualInputFormat = %d\n", myData->actualInputFormat); in readFormattedData() 145 if (myData->framesReadTotal > 0) { in readFormattedData() 146 myData->inputError = framesRead; in readFormattedData() 153 myData->framesReadTotal += framesRead; in readFormattedData() 166 LoopbackData *myData = (LoopbackData *) userData; in MyDataCallbackProc() local [all …]
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine_callback.cpp | 49 SineThreadedData_t myData; in testOpenPlayClose() local 50 AAudioSimplePlayer &player = myData.simplePlayer; in testOpenPlayClose() 57 myData.schedulerChecked = false; in testOpenPlayClose() 58 myData.callbackCount = 0; in testOpenPlayClose() 59 myData.hangTimeMSec = hangTimeMSec; // test AAudioStream_getXRunCount() in testOpenPlayClose() 64 &myData); in testOpenPlayClose() 73 myData.sampleRate = player.getSampleRate(); in testOpenPlayClose() 74 myData.prefixToneFrames = prefixToneMsec * myData.sampleRate / 1000; in testOpenPlayClose() 75 if (myData.prefixToneFrames > 0) { in testOpenPlayClose() 76 myData.setupSineBlip(); in testOpenPlayClose() [all …]
|
D | write_sine.cpp | 37 SineThreadedData_t myData; in main() local 80 myData.sampleRate = actualSampleRate; in main() 81 myData.setupSineSweeps(); in main() 125 myData.sineOscillators[i].render(&floatData[i], actualChannelCount, in main() 130 myData.sineOscillators[i].render(&shortData[i], actualChannelCount, in main()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | HwTests.java | 59 List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); in getData() local 68 return myData; in getData() 98 addItem(myData, nextLabel, activityIntent( in getData() 103 addItem(myData, nextLabel, browseIntent(prefix.equals("") ? in getData() 111 Collections.sort(myData, sDisplayNameComparator); in getData() 113 return myData; in getData()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawableTest.java | 58 List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); in getData() local 67 return myData; in getData() 97 addItem(myData, nextLabel, activityIntent( in getData() 102 addItem(myData, nextLabel, browseIntent(prefix.equals("") ? in getData() 110 Collections.sort(myData, sDisplayNameComparator); in getData() 112 return myData; in getData()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | MainActivity.java | 83 List<Map<String, Object>> myData = new ArrayList<>(); in getData() local 92 return myData; in getData() 122 addItem(myData, nextLabel, activityIntent( in getData() 127 addItem(myData, nextLabel, browseIntent(prefix.equals("") ? in getData() 135 Collections.sort(myData, sDisplayNameComparator); in getData() 137 return myData; in getData()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor_callback.cpp | 33 PeakTrackerData_t myData = {0.0}; in main() local 53 &myData); in main() 80 displayPeakLevel(myData.peakLevel); in main() 116 displayPeakLevel(myData.peakLevel); in main()
|