Home
last modified time | relevance | path

Searched refs:af (Results 1 – 11 of 11) 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.cpp463 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
464 if (af == 0) { in threadLoop()
467 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop()
473 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
474 if (af == 0) { in threadLoop()
477 command->mStatus = af->releaseAudioPatch(data->mHandle); in threadLoop()
503 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
504 if (af == 0) { in threadLoop()
507 command->mStatus = af->setAudioPortConfig(&data->mConfig); in threadLoop()
/frameworks/av/media/libmedia/
DAudioSystem.cpp90 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in muteMicrophone() local
91 if (af == 0) return PERMISSION_DENIED; in muteMicrophone()
92 return af->setMicMute(state); in muteMicrophone()
97 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in isMicrophoneMuted() local
98 if (af == 0) return PERMISSION_DENIED; in isMicrophoneMuted()
99 *state = af->getMicMute(); in isMicrophoneMuted()
105 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in setMasterVolume() local
106 if (af == 0) return PERMISSION_DENIED; in setMasterVolume()
107 af->setMasterVolume(value); in setMasterVolume()
113 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in setMasterMute() local
[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.java351 public Builder(AudioFormat af) { in Builder() argument
352 mEncoding = af.mEncoding; in Builder()
353 mSampleRate = af.mSampleRate; in Builder()
354 mChannelMask = af.mChannelMask; in Builder()
355 mPropertySetMask = af.mPropertySetMask; in Builder()
364 AudioFormat af = new AudioFormat(1980/*ignored*/); in build() local
365 af.mEncoding = mEncoding; in build()
366 af.mSampleRate = mSampleRate; in build()
367 af.mChannelMask = mChannelMask; in build()
368 af.mPropertySetMask = mPropertySetMask; in build()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java120 final AtomicFile af = new AtomicFile(f); in indexFilesLocked() local
121 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.java1328 AtomicFile af = new AtomicFile(mFullBackupScheduleFile);
1329 FileOutputStream out = af.startWrite();
1331 af.finishWrite(out);
2067 RandomAccessFile af = new RandomAccessFile(mTokenFile, "rwd"); in writeRestoreTokens() local
2070 af.writeInt(CURRENT_ANCESTRAL_RECORD_VERSION); in writeRestoreTokens()
2073 af.writeLong(mAncestralToken); in writeRestoreTokens()
2074 af.writeLong(mCurrentToken); in writeRestoreTokens()
2078 af.writeInt(-1); in writeRestoreTokens()
2080 af.writeInt(mAncestralPackages.size()); in writeRestoreTokens()
2083 af.writeUTF(pkgName); in writeRestoreTokens()
[all …]
/frameworks/base/docs/html/distribute/tools/promote/
Dbadges.jd209 value="af">Afrikaans</option>