Home
last modified time | relevance | path

Searched refs:SL_RESULT_SUCCESS (Results 1 – 25 of 112) sorted by relevance

12345

/frameworks/wilhelm/tests/sandbox/
Doutputmix.c32 assert(SL_RESULT_SUCCESS == result); in main()
36 assert(SL_RESULT_SUCCESS == result); in main()
40 assert(SL_RESULT_SUCCESS == result); in main()
45 assert(SL_RESULT_SUCCESS == result); in main()
52 assert(SL_RESULT_SUCCESS == result); in main()
62 assert(SL_RESULT_SUCCESS == result); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
76 assert(SL_RESULT_SUCCESS == result); in main()
80 assert(SL_RESULT_SUCCESS == result); in main()
85 assert((SL_RESULT_SUCCESS == result) || (SL_RESULT_FEATURE_UNSUPPORTED) == result); in main()
[all …]
Dreverb.c196 assert(SL_RESULT_SUCCESS == result); in prefetch_callback()
199 assert(SL_RESULT_SUCCESS == result); in prefetch_callback()
312 assert(SL_RESULT_SUCCESS == result); in main()
314 assert(SL_RESULT_SUCCESS == result); in main()
317 assert(SL_RESULT_SUCCESS == result); in main()
333 assert(SL_RESULT_SUCCESS == result); in main()
335 assert(SL_RESULT_SUCCESS == result); in main()
341 assert(SL_RESULT_SUCCESS == result); in main()
344 assert(SL_RESULT_SUCCESS == result); in main()
349 if (SL_RESULT_SUCCESS == result) { in main()
[all …]
Ddim.c41 assert(SL_RESULT_SUCCESS == result); in main()
44 assert(SL_RESULT_SUCCESS == result); in main()
46 assert(SL_RESULT_SUCCESS == result); in main()
51 assert(SL_RESULT_SUCCESS == result); in main()
62 assert(SL_RESULT_SUCCESS == result); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
72 assert(SL_RESULT_SUCCESS == result); in main()
95 assert(SL_RESULT_SUCCESS == result); in main()
100 assert(SL_RESULT_SUCCESS == result); in main()
115 assert((SL_RESULT_SUCCESS == result) || (SL_RESULT_FEATURE_UNSUPPORTED == result)); in main()
[all …]
Durimime.c42 assert(SL_RESULT_SUCCESS == result); in main()
45 assert(SL_RESULT_SUCCESS == result); in main()
47 assert(SL_RESULT_SUCCESS == result); in main()
52 assert(SL_RESULT_SUCCESS == result); in main()
54 assert(SL_RESULT_SUCCESS == result); in main()
98 assert(SL_RESULT_SUCCESS == result); in main()
102 assert(SL_RESULT_SUCCESS == result); in main()
107 assert(SL_RESULT_SUCCESS == result); in main()
125 assert(SL_RESULT_SUCCESS == result); in main()
133 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Dmultithread.c58 assert(SL_RESULT_SUCCESS == result); in thread_start()
60 assert(SL_RESULT_SUCCESS == result); in thread_start()
75 assert(SL_RESULT_SUCCESS == result); in thread_start()
77 assert(SL_RESULT_SUCCESS == result); in thread_start()
80 assert(SL_RESULT_SUCCESS == result); in thread_start()
82 assert(SL_RESULT_SUCCESS == result); in thread_start()
114 assert(SL_RESULT_SUCCESS == result); in main()
116 assert(SL_RESULT_SUCCESS == result); in main()
119 assert(SL_RESULT_SUCCESS == result); in main()
124 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Dconfigbq.c80 assert(SL_RESULT_SUCCESS == result); in main()
83 assert(SL_RESULT_SUCCESS == result); in main()
85 assert(SL_RESULT_SUCCESS == result); in main()
90 assert(SL_RESULT_SUCCESS == result); in main()
92 assert(SL_RESULT_SUCCESS == result); in main()
136 if (SL_RESULT_SUCCESS != result) { in main()
143 assert(SL_RESULT_SUCCESS == result); in main()
185 assert(SL_RESULT_SUCCESS == result); in main()
187 assert(SL_RESULT_SUCCESS == result); in main()
192 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Dplaybq.cpp108 assert(SL_RESULT_SUCCESS == result); in callback()
358 assert(SL_RESULT_SUCCESS == result); in main()
361 assert(SL_RESULT_SUCCESS == result); in main()
363 assert(SL_RESULT_SUCCESS == result); in main()
371 assert(SL_RESULT_SUCCESS == result); in main()
373 assert(SL_RESULT_SUCCESS == result); in main()
380 assert(SL_RESULT_SUCCESS == result); in main()
384 assert(SL_RESULT_SUCCESS == result); in main()
423 if (SL_RESULT_SUCCESS != result) { in main()
432 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Dobject.c32 assert(SL_RESULT_SUCCESS == result); in main()
34 assert(SL_RESULT_SUCCESS == result); in main()
37 assert(SL_RESULT_SUCCESS == result); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
75 assert(SL_RESULT_SUCCESS == result); in main()
88 assert(SL_RESULT_SUCCESS == result); in main()
98 assert(SL_RESULT_SUCCESS == result); in main()
137 assert(SL_RESULT_SUCCESS == result); in main()
155 assert(SL_RESULT_SUCCESS == result); in main()
167 assert(SL_RESULT_SUCCESS == result); in main()
Dengine.c30 assert(SL_RESULT_SUCCESS == result); in main()
47 assert(SL_RESULT_SUCCESS == result); in main()
111 assert(SL_RESULT_SUCCESS == result); in main()
119 assert(SL_RESULT_SUCCESS == result || SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
120 if (SL_RESULT_SUCCESS == result) { in main()
131 assert(SL_RESULT_SUCCESS == result); in main()
136 assert(SL_RESULT_SUCCESS == result); in main()
142 assert(SL_RESULT_SUCCESS == result); in main()
149 assert(SL_RESULT_SUCCESS == result); in main()
169 assert(SL_RESULT_SUCCESS == result); in main()
Dmonkey.c58 assert(SL_RESULT_SUCCESS == result); in actionPause()
66 assert(SL_RESULT_SUCCESS == result); in actionPlay()
74 assert(SL_RESULT_SUCCESS == result); in actionStop()
82 assert(SL_RESULT_SUCCESS == result); in actionRewind()
121 if (SL_RESULT_SUCCESS != result) in actionCreate()
131 assert(SL_RESULT_SUCCESS == result); in actionRealize()
134 assert(SL_RESULT_SUCCESS == result); in actionRealize()
136 assert(SL_RESULT_SUCCESS == result); in actionRealize()
175 assert(SL_RESULT_SUCCESS == result); in actionInitialize()
177 assert(SL_RESULT_SUCCESS == result); in actionInitialize()
[all …]
/frameworks/wilhelm/tests/listening/
DseekTorture.c41 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
43 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
46 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
51 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
53 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
77 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
79 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
82 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
85 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
88 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
[all …]
/frameworks/base/cmds/bootanimation/
Daudioplay.cpp96 if (result != SL_RESULT_SUCCESS) { in createEngine()
104 if (result != SL_RESULT_SUCCESS) { in createEngine()
112 if (result != SL_RESULT_SUCCESS) { in createEngine()
120 if (result != SL_RESULT_SUCCESS) { in createEngine()
128 if (result != SL_RESULT_SUCCESS) { in createEngine()
178 if (result != SL_RESULT_SUCCESS) { in createBufferQueueAudioPlayer()
188 if (result != SL_RESULT_SUCCESS) { in createBufferQueueAudioPlayer()
195 if (result != SL_RESULT_SUCCESS) { in createBufferQueueAudioPlayer()
204 ALOGW_IF(result != SL_RESULT_SUCCESS, in createBufferQueueAudioPlayer()
210 if (result != SL_RESULT_SUCCESS) { in createBufferQueueAudioPlayer()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp111 ASSERT_EQ(SL_RESULT_SUCCESS, result); in recorderCallback()
125 if (SL_RESULT_SUCCESS == result) { in recorderCallback()
147 ASSERT_EQ(SL_RESULT_SUCCESS, result); in recorderCallback()
206 ASSERT_EQ(SL_RESULT_SUCCESS, result); in playerCallback()
222 if (SL_RESULT_SUCCESS == result) { in playerCallback()
401 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
403 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
406 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
411 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
413 ASSERT_EQ(SL_RESULT_SUCCESS, result); in main()
[all …]
/frameworks/wilhelm/src/itf/
DI3DSource.cpp30 result = SL_RESULT_SUCCESS; in I3DSource_SetHeadRelative()
48 result = SL_RESULT_SUCCESS; in I3DSource_GetHeadRelative()
69 result = SL_RESULT_SUCCESS; in I3DSource_SetRolloffDistances()
90 result = SL_RESULT_SUCCESS; in I3DSource_GetRolloffDistances()
105 result = SL_RESULT_SUCCESS; in I3DSource_SetRolloffMaxDistanceMute()
123 result = SL_RESULT_SUCCESS; in I3DSource_GetRolloffMaxDistanceMute()
141 result = SL_RESULT_SUCCESS; in I3DSource_SetRolloffFactor()
157 result = SL_RESULT_SUCCESS; in I3DSource_GetRolloffFactor()
174 result = SL_RESULT_SUCCESS; in I3DSource_SetRoomRolloffFactor()
190 result = SL_RESULT_SUCCESS; in I3DSource_GetRoomRolloffFactor()
[all …]
DIAudioIODeviceCapabilities.cpp32 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_GetAvailableAudioInputs()
55 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_QueryAudioInputCapabilities()
81 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_RegisterAvailableAudioInputsChangedCallback()
95 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_GetAvailableAudioOutputs()
121 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_QueryAudioOutputCapabilities()
151 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_RegisterAvailableAudioOutputsChangedCallback()
168 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_RegisterDefaultDeviceIDMapChangedCallback()
185 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_GetAssociatedAudioInputs()
203 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_GetAssociatedAudioOutputs()
222 result = SL_RESULT_SUCCESS; in IAudioIODeviceCapabilities_GetDefaultAudioDevices()
[all …]
DIRecord.cpp38 result = SL_RESULT_SUCCESS; in IRecord_SetRecordState()
62 result = SL_RESULT_SUCCESS; in IRecord_GetRecordState()
81 result = SL_RESULT_SUCCESS; in IRecord_SetDurationLimit()
109 result = SL_RESULT_SUCCESS; in IRecord_GetPosition()
126 result = SL_RESULT_SUCCESS; in IRecord_RegisterCallback()
153 result = SL_RESULT_SUCCESS; in IRecord_SetCallbackEventsMask()
172 result = SL_RESULT_SUCCESS; in IRecord_GetCallbackEventsMask()
200 result = SL_RESULT_SUCCESS; in IRecord_SetMarkerPosition()
226 result = SL_RESULT_SUCCESS; in IRecord_ClearMarkerPosition()
247 result = SL_RESULT_SUCCESS; in IRecord_GetMarkerPosition()
[all …]
DIEngineCapabilities.cpp34 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QuerySupportedProfiles()
57 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QueryAvailableVoices()
77 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QueryNumberOfMIDISynthesizers()
95 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QueryAPIVersion()
111 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QueryLEDCapabilities()
133 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QueryLEDCapabilities()
153 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QueryVibraCapabilities()
175 result = SL_RESULT_SUCCESS; in IEngineCapabilities_QueryVibraCapabilities()
196 result = SL_RESULT_SUCCESS; in IEngineCapabilities_IsThreadSafe()
DIVolume.cpp39 result = SL_RESULT_SUCCESS; in IVolume_SetVolumeLevel()
58 result = SL_RESULT_SUCCESS; in IVolume_GetVolumeLevel()
73 result = SL_RESULT_SUCCESS; in IVolume_GetMaxVolumeLevel()
94 result = SL_RESULT_SUCCESS; in IVolume_SetMute()
112 result = SL_RESULT_SUCCESS; in IVolume_GetMute()
133 result = SL_RESULT_SUCCESS; in IVolume_EnableStereoPosition()
151 result = SL_RESULT_SUCCESS; in IVolume_IsEnabledStereoPosition()
174 result = SL_RESULT_SUCCESS; in IVolume_SetStereoPosition()
193 result = SL_RESULT_SUCCESS; in IVolume_GetStereoPosition()
DIEnvironmentalReverb.cpp54 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_SetRoomLevel()
81 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_GetRoomLevel()
115 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_SetRoomHFLevel()
143 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_GetRoomHFLevel()
174 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_SetDecayTime()
202 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_GetDecayTime()
233 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_SetDecayHFRatio()
261 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_GetDecayHFRatio()
294 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_SetReflectionsLevel()
322 result = SL_RESULT_SUCCESS; in IEnvironmentalReverb_GetReflectionsLevel()
[all …]
DIPlay.cpp33 result = SL_RESULT_SUCCESS; in IPlay_SetPlayState()
128 result = SL_RESULT_SUCCESS; in IPlay_GetPlayState()
159 result = SL_RESULT_SUCCESS; in IPlay_GetDuration()
178 if (SL_RESULT_SUCCESS == result) { in IPlay_GetDuration()
233 result = SL_RESULT_SUCCESS; in IPlay_GetPosition()
250 result = SL_RESULT_SUCCESS; in IPlay_RegisterCallback()
279 result = SL_RESULT_SUCCESS; in IPlay_SetCallbackEventsMask()
298 result = SL_RESULT_SUCCESS; in IPlay_GetCallbackEventsMask()
326 result = SL_RESULT_SUCCESS; in IPlay_SetMarkerPosition()
352 result = SL_RESULT_SUCCESS; in IPlay_ClearMarkerPosition()
[all …]
DIMIDIMuteSolo.cpp38 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_SetChannelMute()
58 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_GetChannelMute()
81 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_SetChannelSolo()
101 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_GetChannelSolo()
119 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_GetTrackCount()
142 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_SetTrackMute()
162 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_GetTrackMute()
184 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_SetTrackSolo()
204 result = SL_RESULT_SUCCESS; in IMIDIMuteSolo_GetTrackSolo()
DIPlaybackRate.cpp41 result = SL_RESULT_SUCCESS; in IPlaybackRate_SetRate()
43 if (SL_RESULT_SUCCESS == result) { in IPlaybackRate_SetRate()
65 result = SL_RESULT_SUCCESS; in IPlaybackRate_GetRate()
96 result = SL_RESULT_SUCCESS; in IPlaybackRate_SetPropertyConstraints()
98 if (result == SL_RESULT_SUCCESS) { in IPlaybackRate_SetPropertyConstraints()
120 result = SL_RESULT_SUCCESS; in IPlaybackRate_GetProperties()
143 result = SL_RESULT_SUCCESS; in IPlaybackRate_GetCapabilitiesOfRate()
172 result = SL_RESULT_SUCCESS; in IPlaybackRate_GetRateRange()
DIPrefetchStatus.cpp34 result = SL_RESULT_SUCCESS; in IPrefetchStatus_GetPrefetchStatus()
53 result = SL_RESULT_SUCCESS; in IPrefetchStatus_GetFillLevel()
70 result = SL_RESULT_SUCCESS; in IPrefetchStatus_RegisterCallback()
88 result = SL_RESULT_SUCCESS; in IPrefetchStatus_SetCallbackEventsMask()
109 result = SL_RESULT_SUCCESS; in IPrefetchStatus_GetCallbackEventsMask()
133 result = SL_RESULT_SUCCESS; in IPrefetchStatus_SetFillUpdatePeriod()
152 result = SL_RESULT_SUCCESS; in IPrefetchStatus_GetFillUpdatePeriod()
/frameworks/wilhelm/src/
Ddata.cpp31 SLresult result = SL_RESULT_SUCCESS; in checkDataLocator()
95 if (result == SL_RESULT_SUCCESS) { in checkDataLocator()
99 if (SL_RESULT_SUCCESS != result) { in checkDataLocator()
166 if (SL_RESULT_SUCCESS != result) { in checkDataLocator()
249 if ((SL_RESULT_SUCCESS == result) && (locatorType != pDataLocator->mLocatorType)) { in checkDataLocator()
258 if (SL_RESULT_SUCCESS == result) { in checkDataLocator()
343 SLresult result = SL_RESULT_SUCCESS; in checkDataFormat()
375 if (SL_RESULT_SUCCESS != result) { in checkDataFormat()
387 if (SL_RESULT_SUCCESS != result) { in checkDataFormat()
418 if (SL_RESULT_SUCCESS != result) { in checkDataFormat()
[all …]
/frameworks/base/media/tests/NativeMidiDemo/jni/
Dnativemidi-jni.cpp133 if (SL_RESULT_SUCCESS != result) { stage = "slCreateEngine"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
136 if (SL_RESULT_SUCCESS != result) { stage = "realize Engine object"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
139 if (SL_RESULT_SUCCESS != result) { stage = "get Engine interface"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
142 if (SL_RESULT_SUCCESS != result) { stage = "CreateOutputMix"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
145 if (SL_RESULT_SUCCESS != result) { stage = "realize OutputMix object"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
160 if (SL_RESULT_SUCCESS != result) { stage = "CreateAudioPlayer"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
163 if (SL_RESULT_SUCCESS != result) { stage = "realize Player object"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
167 if (SL_RESULT_SUCCESS != result) { stage = "get Play interface"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
170 if (SL_RESULT_SUCCESS != result) { stage = "get BufferQueue interface"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
173 if (SL_RESULT_SUCCESS != result) { stage = "register BufferQueue callback"; goto handle_error; } in Java_com_example_android_nativemididemo_NativeMidi_initAudio()
[all …]

12345