Home
last modified time | relevance | path

Searched refs:af (Results 1 – 14 of 14) 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()
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 …]
/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.cpp422 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in queryNumberEffects() local
423 if (af == 0) return PERMISSION_DENIED; in queryNumberEffects()
424 return af->queryNumberEffects(numEffects); in queryNumberEffects()
429 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in queryEffect() local
430 if (af == 0) return PERMISSION_DENIED; in queryEffect()
431 return af->queryEffect(index, descriptor); in queryEffect()
439 const sp<IAudioFlinger>& af = AudioSystem::get_audio_flinger(); in getEffectDescriptor() local
440 if (af == 0) return PERMISSION_DENIED; in getEffectDescriptor()
441 return af->getEffectDescriptor(uuid, type, preferredTypeFlag, descriptor); in getEffectDescriptor()
455 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/media/java/android/media/
DAudioFormat.java867 public Builder(AudioFormat af) { in Builder() argument
868 mEncoding = af.mEncoding; in Builder()
869 mSampleRate = af.mSampleRate; in Builder()
870 mChannelMask = af.mChannelMask; in Builder()
871 mChannelIndexMask = af.mChannelIndexMask; in Builder()
872 mPropertySetMask = af.mPropertySetMask; in Builder()
881 AudioFormat af = new AudioFormat( in build() local
888 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.java1013 AtomicFile af = new AtomicFile(mFullBackupScheduleFile);
1014 FileOutputStream out = af.startWrite();
1016 af.finishWrite(out);
1416 try (RandomAccessFile af = new RandomAccessFile(mTokenFile, "rwd")) { in writeRestoreTokens() argument
1418 af.writeInt(CURRENT_ANCESTRAL_RECORD_VERSION); in writeRestoreTokens()
1421 af.writeLong(mAncestralToken); in writeRestoreTokens()
1422 af.writeLong(mCurrentToken); in writeRestoreTokens()
1426 af.writeInt(-1); in writeRestoreTokens()
1428 af.writeInt(mAncestralPackages.size()); in writeRestoreTokens()
1431 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/base/core/java/android/hardware/radio/
DRadioManager.java714 boolean stereo, boolean rds, boolean ta, boolean af, boolean ea) { in FmBandDescriptor() argument
719 mAf = af; in FmBandDescriptor()
1048 boolean stereo, boolean rds, boolean ta, boolean af, boolean ea) { in FmBandConfig() argument
1053 mAf = af; in FmBandConfig()
/frameworks/av/services/audioflinger/
DTracks.cpp1290 sp<AudioFlinger> af = mClient->audioFlinger(); in attachAuxEffect() local
1291 status_t status = af->moveAuxEffectToIo(EffectId, dstThread, &srcThread); in attachAuxEffect()
1301 af->moveAuxEffectToIo(EffectId, srcThread, &dstThread); in attachAuxEffect()
DEffects.cpp295 sp<AudioFlinger> af = mAudioFlinger.promote(); in disconnectHandle() local
296 if (af != 0) { in disconnectHandle()
298 af->updateOrphanEffectChains(this); in disconnectHandle()
DAudioFlinger.cpp264 sp<AudioFlinger> af; in openMmapStream() local
267 af = gAudioFlinger.promote(); in openMmapStream()
270 if (af != 0) { in openMmapStream()
271 ret = af->openMmapStream( in openMmapStream()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...