Home
last modified time | relevance | path

Searched refs:af (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/services/audiopolicy/
DAudioPolicyClientImpl.cpp30 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in loadHwModule() local
31 if (af == 0) { in loadHwModule()
36 return af->loadHwModule(name); in loadHwModule()
47 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in openOutput() local
48 if (af == 0) { in openOutput()
52 return af->openOutput(module, output, config, devices, address, latencyMs, flags); in openOutput()
59 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in openDuplicateOutput() local
60 if (af == 0) { in openDuplicateOutput()
64 return af->openDuplicateOutput(output1, output2); in openDuplicateOutput()
69 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in closeOutput() local
[all …]
DAudioPolicyClientImplLegacy.cpp56 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in aps_load_hw_module() local
57 if (af == 0) { in aps_load_hw_module()
62 return af->loadHwModule(name); in aps_load_hw_module()
74 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in open_output() local
75 if (af == 0) { in open_output()
92 status_t status = af->openOutput(module, &output, &config, pDevices, in open_output()
136 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in aps_open_dup_output() local
137 if (af == 0) { in aps_open_dup_output()
141 return af->openDuplicateOutput(output1, output2); in aps_open_dup_output()
146 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in aps_close_output() local
[all …]
DAudioPolicyService.cpp466 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
467 if (af == 0) { in threadLoop()
470 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop()
476 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
477 if (af == 0) { in threadLoop()
480 command->mStatus = af->releaseAudioPatch(data->mHandle); in threadLoop()
506 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
507 if (af == 0) { in threadLoop()
510 command->mStatus = af->setAudioPortConfig(&data->mConfig); in threadLoop()
/frameworks/av/media/libmedia/
DAudioSystem.cpp56 sp<IAudioFlinger> af; in get_audio_flinger() local
82 af = gAudioFlinger; in get_audio_flinger()
85 af->registerClient(afc); in get_audio_flinger()
87 return af; in get_audio_flinger()
100 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in muteMicrophone() local
101 if (af == 0) return PERMISSION_DENIED; in muteMicrophone()
102 return af->setMicMute(state); in muteMicrophone()
107 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in isMicrophoneMuted() local
108 if (af == 0) return PERMISSION_DENIED; in isMicrophoneMuted()
109 *state = af->getMicMute(); in isMicrophoneMuted()
[all …]
DAudioEffect.cpp410 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in queryNumberEffects() local
411 if (af == 0) return PERMISSION_DENIED; in queryNumberEffects()
412 return af->queryNumberEffects(numEffects); in queryNumberEffects()
417 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in queryEffect() local
418 if (af == 0) return PERMISSION_DENIED; in queryEffect()
419 return af->queryEffect(index, descriptor); in queryEffect()
425 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in getEffectDescriptor() local
426 if (af == 0) return PERMISSION_DENIED; in getEffectDescriptor()
427 return af->getEffectDescriptor(uuid, descriptor); in getEffectDescriptor()
/frameworks/base/media/java/android/media/
DAudioFormat.java374 public Builder(AudioFormat af) { in Builder() argument
375 mEncoding = af.mEncoding; in Builder()
376 mSampleRate = af.mSampleRate; in Builder()
377 mChannelMask = af.mChannelMask; in Builder()
378 mPropertySetMask = af.mPropertySetMask; in Builder()
387 AudioFormat af = new AudioFormat(1980/*ignored*/); in build() local
388 af.mEncoding = mEncoding; in build()
389 af.mSampleRate = mSampleRate; in build()
390 af.mChannelMask = mChannelMask; in build()
391 af.mPropertySetMask = mPropertySetMask; in build()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java190 final AtomicFile af = new AtomicFile(f); in indexFilesLocked() local
191 mSortedStatFiles[i].put(UsageStatsXml.parseBeginTime(af), af); in indexFilesLocked() local
/frameworks/av/services/audioflinger/
DEffects.cpp208 sp<AudioFlinger> af = mAudioFlinger.promote(); in disconnect() local
209 if (af != 0) { in disconnect()
210 af->updateOrphanEffectChains(this); in disconnect()
DTracks.cpp949 sp<AudioFlinger> af = mClient->audioFlinger(); in attachAuxEffect() local
951 Mutex::Autolock _l(af->mLock); in attachAuxEffect()
953 sp<PlaybackThread> srcThread = af->getEffectThread_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in attachAuxEffect()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java1340 AtomicFile af = new AtomicFile(mFullBackupScheduleFile);
1341 FileOutputStream out = af.startWrite();
1343 af.finishWrite(out);
2077 RandomAccessFile af = new RandomAccessFile(mTokenFile, "rwd"); in writeRestoreTokens() local
2080 af.writeInt(CURRENT_ANCESTRAL_RECORD_VERSION); in writeRestoreTokens()
2083 af.writeLong(mAncestralToken); in writeRestoreTokens()
2084 af.writeLong(mCurrentToken); in writeRestoreTokens()
2088 af.writeInt(-1); in writeRestoreTokens()
2090 af.writeInt(mAncestralPackages.size()); in writeRestoreTokens()
2093 af.writeUTF(pkgName); in writeRestoreTokens()
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dbadges.jd188 <option title="南非荷兰语" value="af">Afrikaans</option>
/frameworks/base/docs/html/distribute/tools/promote/
Dbadges.jd209 value="af">Afrikaans</option>