Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/service/
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()
46 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in openOutput() local
47 if (af == 0) { in openOutput()
51 return af->openOutput(module, output, config, device, latencyMs, flags); in openOutput()
58 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in openDuplicateOutput() local
59 if (af == 0) { in openDuplicateOutput()
63 return af->openDuplicateOutput(output1, output2); in openDuplicateOutput()
68 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in closeOutput() local
[all …]
DAudioPolicyService.cpp638 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in setAppState_l() local
639 if (af) { in setAppState_l()
641 af->setRecordSilenced(uid, silenced); in setAppState_l()
1178 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
1179 if (af == 0) { in threadLoop()
1183 command->mStatus = af->createAudioPatch(&data->mPatch, &data->mHandle); in threadLoop()
1190 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
1191 if (af == 0) { in threadLoop()
1195 command->mStatus = af->releaseAudioPatch(data->mHandle); in threadLoop()
1234 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); in threadLoop() local
[all …]
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp49 sp<IAudioFlinger> af; in get_audio_flinger() local
77 af = gAudioFlinger; in get_audio_flinger()
81 af->registerClient(afc); in get_audio_flinger()
84 return af; in get_audio_flinger()
90 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in getAudioFlingerClient() local
91 if (af == 0) return 0; in getAudioFlingerClient()
118 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in muteMicrophone() local
119 if (af == 0) return PERMISSION_DENIED; in muteMicrophone()
120 return af->setMicMute(state); in muteMicrophone()
125 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in isMicrophoneMuted() local
[all …]
DAudioEffect.cpp431 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in queryNumberEffects() local
432 if (af == 0) return PERMISSION_DENIED; in queryNumberEffects()
433 return af->queryNumberEffects(numEffects); in queryNumberEffects()
438 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in queryEffect() local
439 if (af == 0) return PERMISSION_DENIED; in queryEffect()
440 return af->queryEffect(index, descriptor); in queryEffect()
448 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in getEffectDescriptor() local
449 if (af == 0) return PERMISSION_DENIED; in getEffectDescriptor()
450 return af->getEffectDescriptor(uuid, type, preferredTypeFlag, descriptor); in getEffectDescriptor()
464 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in newEffectUniqueId() local
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRandomAccessFileUtils.java36 try (RandomAccessFile af = getRandomAccessFile(file)) { in writeBoolean() argument
37 af.writeBoolean(b); in writeBoolean()
45 try (RandomAccessFile af = getRandomAccessFile(file)) { in readBoolean() argument
46 return af.readBoolean(); in readBoolean()
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java108 final AtomicFile af = new AtomicFile(f); in writeToProto() local
109 FileOutputStream fos = af.startWrite(); in writeToProto()
116 af.finishWrite(fos); in writeToProto()
119 af.failWrite(fos); in writeToProto()
/frameworks/base/media/java/android/media/
DAudioFormat.java875 public Builder(AudioFormat af) { in Builder() argument
876 mEncoding = af.mEncoding; in Builder()
877 mSampleRate = af.mSampleRate; in Builder()
878 mChannelMask = af.mChannelMask; in Builder()
879 mChannelIndexMask = af.mChannelIndexMask; in Builder()
880 mPropertySetMask = af.mPropertySetMask; in Builder()
889 AudioFormat af = new AudioFormat( in build() local
896 return af; in build()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java283 final AtomicFile af = new AtomicFile(f); in indexFilesLocked() local
285 mSortedStatFiles[i].put(parseBeginTime(af), af); in indexFilesLocked() local
766 final AtomicFile af = new AtomicFile(f); in pruneChooserCountsOlderThan() local
768 readLocked(af, stats); in pruneChooserCountsOlderThan()
776 writeLocked(af, stats); in pruneChooserCountsOlderThan()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1070 AtomicFile af = new AtomicFile(mFullBackupScheduleFile);
1071 FileOutputStream out = af.startWrite();
1073 af.finishWrite(out);
1485 try (RandomAccessFile af = new RandomAccessFile(mTokenFile, "rwd")) { in writeRestoreTokens() argument
1487 af.writeInt(CURRENT_ANCESTRAL_RECORD_VERSION); in writeRestoreTokens()
1490 af.writeLong(mAncestralToken); in writeRestoreTokens()
1491 af.writeLong(mCurrentToken); in writeRestoreTokens()
1495 af.writeInt(-1); in writeRestoreTokens()
1497 af.writeInt(mAncestralPackages.size()); in writeRestoreTokens()
1500 af.writeUTF(pkgName); in writeRestoreTokens()
[all …]
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp71 jfieldID af; member
429 fm.stereo, fm.rds != Rds::NONE, fm.ta, fm.af, fm.ea)); in BandDescriptorFromHal()
484 fm.af = env->GetBooleanField(jConfig, gjni.FmBandConfig.af); in BandConfigToHal()
659 gjni.FmBandConfig.af = GetFieldIDOrDie(env, fmBandConfigClass, "mAf", "Z"); in register_android_server_broadcastradio_convert()
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem67 09:c1:6f:d3:93:35:b1:e2:cf:60:85:bb:a0:58:af:
117 ce:f6:df:eb:c6:16:06:62:33:d0:af:2f:60:f7:71:
160 e3:f5:26:6b:d7:0d:4b:d4:f3:c9:a3:e2:a3:b1:16:af:56:fc:
/frameworks/av/services/audioflinger/
DEffects.cpp2706 sp<AudioFlinger> af = mAudioFlinger.promote(); in createEffectHal() local
2707 if (af == nullptr) { in createEffectHal()
2710 sp<EffectsFactoryHalInterface> effectsFactory = af->getEffectsFactory(); in createEffectHal()
2719 sp<AudioFlinger> af = mAudioFlinger.promote(); in updateOrphanEffectChains() local
2720 if (af == nullptr) { in updateOrphanEffectChains()
2724 return af->updateOrphanEffectChains(effect->asEffectModule()); in updateOrphanEffectChains()
2729 sp<AudioFlinger> af = mAudioFlinger.promote(); in allocateHalBuffer() local
2730 LOG_ALWAYS_FATAL_IF(af == nullptr, "allocateHalBuffer() could not retrieved audio flinger"); in allocateHalBuffer()
2731 return af->mEffectsFactoryHal->allocateBuffer(size, buffer); in allocateHalBuffer()
DTracks.cpp1271 sp<AudioFlinger> af = mClient->audioFlinger(); in attachAuxEffect() local
1272 status_t status = af->moveAuxEffectToIo(EffectId, dstThread, &srcThread); in attachAuxEffect()
1282 af->moveAuxEffectToIo(EffectId, srcThread, &dstThread); in attachAuxEffect()
DAudioFlinger.cpp294 sp<AudioFlinger> af; in openMmapStream() local
297 af = gAudioFlinger.promote(); in openMmapStream()
300 if (af != 0) { in openMmapStream()
301 ret = af->openMmapStream( in openMmapStream()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java716 boolean stereo, boolean rds, boolean ta, boolean af, boolean ea) { in FmBandDescriptor() argument
721 mAf = af; in FmBandDescriptor()
1053 boolean stereo, boolean rds, boolean ta, boolean af, boolean ea) { in FmBandConfig() argument
1058 mAf = af; in FmBandConfig()