Home
last modified time | relevance | path

Searched refs:android (Results 1 – 25 of 107) sorted by relevance

12345

/system/media/opensles/libopensles/
Dandroid_Effect.h22 extern android::status_t android_eq_setParam(android::sp<android::AudioEffect> pFx,
25 extern android::status_t android_eq_getParam(android::sp<android::AudioEffect> pFx,
33 extern android::status_t android_bb_setParam(android::sp<android::AudioEffect> pFx,
36 extern android::status_t android_bb_getParam(android::sp<android::AudioEffect> pFx,
44 extern android::status_t android_virt_setParam(android::sp<android::AudioEffect> pFx,
47 extern android::status_t android_virt_getParam(android::sp<android::AudioEffect> pFx,
55 extern android::status_t android_prev_setPreset(android::sp<android::AudioEffect> pFx,
58 extern android::status_t android_prev_getPreset(android::sp<android::AudioEffect> pFx,
66 extern android::status_t android_erev_setParam(android::sp<android::AudioEffect> pFx,
69 extern android::status_t android_erev_getParam(android::sp<android::AudioEffect> pFx,
[all …]
Dandroid_Effect.cpp182 android::status_t android_eq_getParam(android::sp<android::AudioEffect> pFx, in android_eq_getParam()
185 android::status_t status; in android_eq_getParam()
196 if (android::NO_ERROR == status) { in android_eq_getParam()
198 if (android::NO_ERROR == status) { in android_eq_getParam()
208 android::status_t android_eq_setParam(android::sp<android::AudioEffect> pFx, in android_eq_setParam()
211 android::status_t status; in android_eq_setParam()
223 if (android::NO_ERROR == status) { in android_eq_setParam()
231 android::status_t android_bb_setParam(android::sp<android::AudioEffect> pFx, in android_bb_setParam()
239 android::status_t android_bb_getParam(android::sp<android::AudioEffect> pFx, in android_bb_getParam()
259 if (android::NO_ERROR == android_bb_getParam(ibb->mBassBoostEffect, in android_bb_init()
[all …]
Dandroid_sles_conversions.h48 return android::AudioSystem::PCM_16_BIT; in sles_to_android_sampleFormat()
51 return android::AudioSystem::PCM_8_BIT; in sles_to_android_sampleFormat()
58 return android::AudioSystem::INVALID_FORMAT; in sles_to_android_sampleFormat()
66 android::AudioSystem::CHANNEL_IN_MONO : in sles_to_android_channelMaskIn()
67 android::AudioSystem::CHANNEL_IN_STEREO); in sles_to_android_channelMaskIn()
74 android::AudioSystem::CHANNEL_OUT_MONO : in sles_to_android_channelMaskOut()
75 android::AudioSystem::CHANNEL_OUT_STEREO); in sles_to_android_channelMaskOut()
Dandroid_AudioRecorder.cpp40 int newRecordSource = android::AUDIO_SOURCE_DEFAULT; in audioRecorder_setPreset()
43 newRecordSource = android::AUDIO_SOURCE_DEFAULT; in audioRecorder_setPreset()
46 newRecordSource = android::AUDIO_SOURCE_CAMCORDER; in audioRecorder_setPreset()
49 newRecordSource = android::AUDIO_SOURCE_VOICE_RECOGNITION; in audioRecorder_setPreset()
75 case android::AUDIO_SOURCE_DEFAULT: in audioRecorder_getPreset()
76 case android::AUDIO_SOURCE_MIC: in audioRecorder_getPreset()
79 case android::AUDIO_SOURCE_VOICE_UPLINK: in audioRecorder_getPreset()
80 case android::AUDIO_SOURCE_VOICE_DOWNLINK: in audioRecorder_getPreset()
81 case android::AUDIO_SOURCE_VOICE_CALL: in audioRecorder_getPreset()
84 case android::AUDIO_SOURCE_VOICE_RECOGNITION: in audioRecorder_getPreset()
[all …]
Dandroid_AudioPlayer.cpp21 template class android::KeyedVector<SLuint32, android::AudioEffect* > ;
28 if (android::AudioSystem::getOutputSamplingRate(&afSampleRate, in android_getMinFrameCount()
29 ANDROID_DEFAULT_OUTPUT_STREAM_TYPE) != android::NO_ERROR) { in android_getMinFrameCount()
33 if (android::AudioSystem::getOutputFrameCount(&afFrameCount, in android_getMinFrameCount()
34 ANDROID_DEFAULT_OUTPUT_STREAM_TYPE) != android::NO_ERROR) { in android_getMinFrameCount()
38 if (android::AudioSystem::getOutputLatency(&afLatency, in android_getMinFrameCount()
39 ANDROID_DEFAULT_OUTPUT_STREAM_TYPE) != android::NO_ERROR) { in android_getMinFrameCount()
299 newStreamType = android::AudioSystem::VOICE_CALL; in audioPlayer_setStreamType()
302 newStreamType = android::AudioSystem::SYSTEM; in audioPlayer_setStreamType()
305 newStreamType = android::AudioSystem::RING; in audioPlayer_setStreamType()
[all …]
DIEnvironmentalReverb.c54 android::status_t status = android_erev_setParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetRoomLevel()
81 android::status_t status = android_erev_getParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetRoomLevel()
113 android::status_t status = android_erev_setParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetRoomHFLevel()
141 android::status_t status = android_erev_getParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetRoomHFLevel()
172 android::status_t status = android_erev_setParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetDecayTime()
200 android::status_t status = android_erev_getParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetDecayTime()
231 android::status_t status = android_erev_setParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetDecayHFRatio()
259 android::status_t status = android_erev_getParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetDecayHFRatio()
290 android::status_t status = android_erev_setParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_SetReflectionsLevel()
318 android::status_t status = android_erev_getParam(this->mEnvironmentalReverbEffect, in IEnvironmentalReverb_GetReflectionsLevel()
[all …]
DIVirtualizer.c48 android::status_t status = in IVirtualizer_SetEnabled()
104 android::status_t status = android_virt_setParam(this->mVirtualizerEffect, in IVirtualizer_SetStrength()
132 android::status_t status = android_virt_getParam(this->mVirtualizerEffect, in IVirtualizer_GetRoundedStrength()
162 android::status_t status = in IVirtualizer_IsStrengthSupported()
193 (void) new (&this->mVirtualizerEffect) android::sp<android::AudioEffect>(); in IVirtualizer_init()
DIBassBoost.c48 android::status_t status = this->mBassBoostEffect->setEnabled((bool) this->mEnabled); in IBassBoost_SetEnabled()
102 android::status_t status = in IBassBoost_SetStrength()
130 android::status_t status = in IBassBoost_GetRoundedStrength()
160 android::status_t status = in IBassBoost_IsStrengthSupported()
191 (void) new (&this->mBassBoostEffect) android::sp<android::AudioEffect>(); in IBassBoost_init()
DIPresetReverb.c51 android::status_t status = android_prev_setPreset(this->mPresetReverbEffect, preset); in IPresetReverb_SetPreset()
82 android::status_t status = android_prev_getPreset(this->mPresetReverbEffect, &preset); in IPresetReverb_GetPreset()
106 (void) new (&this->mPresetReverbEffect) android::sp<android::AudioEffect>(); in IPresetReverb_init()
Dandroid_OutputMix.cpp36 android_eq_init(android::AudioSystem::SESSION_OUTPUT_MIX /*sessionId*/, &om->mEqualizer); in android_outputMix_realize()
41 android_bb_init(android::AudioSystem::SESSION_OUTPUT_MIX /*sessionId*/, &om->mBassBoost); in android_outputMix_realize()
57 android_virt_init(android::AudioSystem::SESSION_OUTPUT_MIX /*sessionId*/, in android_outputMix_realize()
DIEqualizer.c65 android::status_t status = in IEqualizer_SetEnabled()
160 android::status_t status = in IEqualizer_SetBandLevel()
193 android::status_t status = in IEqualizer_GetBandLevel()
228 android::status_t status = in IEqualizer_GetCenterFreq()
267 android::status_t status = in IEqualizer_GetBandFreqRange()
323 android::status_t status = in IEqualizer_GetBand()
355 android::status_t status = in IEqualizer_GetCurrentPreset()
395 android::status_t status = in IEqualizer_UsePreset()
497 (void) new (&this->mEqEffect) android::sp<android::AudioEffect>(); in IEqualizer_init()
Dsles_allinclusive.h475 android::sp<android::AudioEffect> mBassBoostEffect;
576 android::sp<android::AudioEffect> mEnvironmentalReverbEffect;
611 android::sp<android::AudioEffect> mEqEffect;
768 android::sp<android::AudioEffect> mPresetReverbEffect;
826 android::sp<android::AudioEffect> mVirtualizerEffect;
870 android::KeyedVector<SLuint32, android::AudioEffect* > *mEffects;
984 android::Mutex *mpLock;
992 android::AudioTrack *mAudioTrack;
994 android::sp<android::SfPlayer> mSfPlayer;
996 android::sp<android::AudioEffect> mAuxEffect;
[all …]
/system/core/logcat/
Dlogcat.cpp88 namespace android { namespace
471 android::show_help(argv[0]); in main()
527 android::g_devCount++; in main()
532 android::g_printBinary = 1; in main()
538 android::g_outputFileName = optarg; in main()
544 android::g_logRotateSizeKBytes in main()
552 android::show_help(argv[0]); in main()
555 android::g_logRotateSizeKBytes = atoi(optarg); in main()
562 android::show_help(argv[0]); in main()
566 android::g_maxRotatedLogs = atoi(optarg); in main()
[all …]
/system/extras/tests/sdcard/
Dsdcard_perf_test.cpp94 using android::kernelVersion;
95 using android::kMinKernelVersionBufferSize;
96 using android::schedFeatures;
97 using android::kMinSchedFeaturesBufferSize;
99 using android::writePidAndWaitForReply;
100 using android::waitForChildrenAndSignal;
101 using android::waitForChildrenOrExit;
173 int oomAdj = android::pidOutOfMemoryAdj(); in printHeader()
178 android::setPidOutOfMemoryAdj(0); in printHeader()
179 printf("adjuted to %d", android::pidOutOfMemoryAdj()); in printHeader()
[all …]
/system/core/rootdir/etc/
Dinit.goldfish.sh6 qemud=`getprop ro.kernel.android.qemud`
9 radio_ril=`getprop ro.kernel.android.ril`
21 num_dns=`getprop ro.kernel.android.ndns`
35 boot_anim=`getprop ro.kernel.android.bootanim`
/system/core/libpixelflinger/
Dformat.cpp21 namespace android { namespace
73 *numEntries = sizeof(android::gPixelFormatInfos)/sizeof(GGLFormat); in gglGetPixelFormatTable()
75 return android::gPixelFormatInfos; in gglGetPixelFormatTable()
/system/extras/tests/bionic/libstdc++/
Dtest_csetjmp.cpp38 #define FAIL_UNLESS(f) if (!android::f()) return kFailed;
41 namespace android namespace
Dtest_csignal.cpp37 #define FAIL_UNLESS(f) if (!android::f()) return kFailed;
40 namespace android namespace
Dtest_cmath.cpp38 #define FAIL_UNLESS(f) if (!android::f()) return kFailed;
41 namespace android namespace
Dtest_climits.cpp39 #define FAIL_UNLESS(f) if (!android::f()) return kFailed;
42 namespace android namespace
Dtest_cstddef.cpp38 #define FAIL_UNLESS(f) if (!android::f()) return kFailed;
41 namespace android { namespace
Dtest_cstring.cpp37 #define FAIL_UNLESS(f) if (!android::f()) return kFailed;
40 namespace android namespace
/system/extras/ext4_utils/
Dmake_ext4fs_main.c46 int android = 0; in main() local
77 android = 1; in main()
118 return make_ext4fs(filename, directory, mountpoint, android, gzip, sparse); in main()
/system/extras/timeinfo/
Dtimeinfo.cpp33 uptime = android::uptimeMillis(); in main()
34 realtime = android::elapsedRealtime(); in main()
/system/netd/
DTetherController.h24 typedef android::List<char *> InterfaceCollection;
25 typedef android::List<struct in_addr> NetAddressCollection;

12345