OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:perfMode
(Results
1 - 11
of
11
) sorted by null
/cts/tests/tests/nativemedia/aaudio/jni/
utils.cpp
66
aaudio_sharing_mode_t sharingMode, aaudio_performance_mode_t
perfMode
)
68
mRequested{sampleRate, channelCount, dataFormat, sharingMode,
perfMode
},
77
ASSERT_EQ(1U, sMaxFramesPerBurstMs.count(mRequested.
perfMode
));
91
AAudioStreamBuilder_setPerformanceMode(mBuilder, mRequested.
perfMode
);
129
mActual.
perfMode
= AAudioStream_getPerformanceMode(mStream);
130
if (mRequested.
perfMode
!= AAUDIO_PERFORMANCE_MODE_NONE
131
&& mRequested.
perfMode
!= mActual.
perfMode
) {
142
mActual.sampleRate * sMaxFramesPerBurstMs.at(mActual.
perfMode
) / MILLIS_PER_SECOND;
test_aaudio_attributes.cpp
31
static void checkAttributes(aaudio_performance_mode_t
perfMode
,
46
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
135
static void checkAttributesUsage(aaudio_performance_mode_t
perfMode
) {
137
checkAttributes(
perfMode
, usage, DONT_SET);
141
static void checkAttributesContentType(aaudio_input_preset_t
perfMode
) {
143
checkAttributes(
perfMode
, DONT_SET, contentType);
147
static void checkAttributesInputPreset(aaudio_performance_mode_t
perfMode
) {
149
checkAttributes(
perfMode
,
utils.h
34
aaudio_performance_mode_t
perfMode
;
66
aaudio_sharing_mode_t sharingMode, aaudio_performance_mode_t
perfMode
);
test_session_id.cpp
31
static void checkSessionIdNone(aaudio_performance_mode_t
perfMode
) {
44
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
73
static void checkSessionIdAllocate(aaudio_performance_mode_t
perfMode
,
89
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
/frameworks/av/media/libaaudio/tests/
test_attributes.cpp
31
static void checkAttributes(aaudio_performance_mode_t
perfMode
,
46
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
135
static void checkAttributesUsage(aaudio_performance_mode_t
perfMode
) {
137
checkAttributes(
perfMode
, usage, DONT_SET);
141
static void checkAttributesContentType(aaudio_input_preset_t
perfMode
) {
143
checkAttributes(
perfMode
, DONT_SET, contentType);
147
static void checkAttributesInputPreset(aaudio_performance_mode_t
perfMode
) {
149
checkAttributes(
perfMode
,
test_session_id.cpp
30
static void checkSessionIdNone(aaudio_performance_mode_t
perfMode
) {
43
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
72
static void checkSessionIdAllocate(aaudio_performance_mode_t
perfMode
,
88
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
test_various.cpp
51
void checkStateTransition(aaudio_performance_mode_t
perfMode
,
64
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
499
void checkCallbackOnce(aaudio_performance_mode_t
perfMode
) {
511
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
589
void checkDangerousCallback(aaudio_performance_mode_t
perfMode
) {
599
AAudioStreamBuilder_setPerformanceMode(aaudioBuilder,
perfMode
);
/frameworks/av/media/libaaudio/src/legacy/
AudioStreamRecord.cpp
70
aaudio_performance_mode_t
perfMode
= getPerformanceMode();
71
switch (
perfMode
) {
103
&&
perfMode
== AAUDIO_PERFORMANCE_MODE_LOW_LATENCY
256
ALOGW_IF(actualPerformanceMode !=
perfMode
,
257
"open()
perfMode
changed from %d to %d",
258
perfMode
, actualPerformanceMode);
AudioStreamTrack.cpp
69
aaudio_performance_mode_t
perfMode
= getPerformanceMode();
70
switch(
perfMode
) {
230
ALOGW_IF(actualPerformanceMode !=
perfMode
,
231
"open()
perfMode
changed from %d to %d",
232
perfMode
, actualPerformanceMode);
/frameworks/wilhelm/src/android/
AudioRecorder_to_android.cpp
81
SLuint32
perfMode
= ANDROID_PERFORMANCE_MODE_DEFAULT;
84
perfMode
= ANDROID_PERFORMANCE_MODE_LATENCY;
87
perfMode
= ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS;
90
perfMode
= ANDROID_PERFORMANCE_MODE_NONE;
93
perfMode
= ANDROID_PERFORMANCE_MODE_POWER_SAVING;
107
ar->mPerformanceMode =
perfMode
;
[
all
...]
AudioPlayer_to_android.cpp
531
SLuint32
perfMode
= ANDROID_PERFORMANCE_MODE_DEFAULT;
534
perfMode
= ANDROID_PERFORMANCE_MODE_LATENCY;
537
perfMode
= ANDROID_PERFORMANCE_MODE_LATENCY_EFFECTS;
540
perfMode
= ANDROID_PERFORMANCE_MODE_NONE;
543
perfMode
= ANDROID_PERFORMANCE_MODE_POWER_SAVING;
557
ap->mPerformanceMode =
perfMode
;
[
all
...]
Completed in 7337 milliseconds