Searched refs:mmapPolicy (Results 1 – 7 of 7) sorted by relevance
120 if (policyInfos.at(i).mmapPolicy != policyInfos.at(0).mmapPolicy) { in getAAudioPolicy()124 return aidl2legacy_aaudio_policy(policyInfos.at(0).mmapPolicy); in getAAudioPolicy()149 aaudio_policy_t mmapPolicy = AudioGlobal_getMMapPolicy(); in build() local151 if (mmapPolicy == AAUDIO_UNSPECIFIED && android::AudioSystem::getMmapPolicyInfo( in build()153 mmapPolicy = getAAudioPolicy(policyInfos); in build()156 if (mmapPolicy == AAUDIO_UNSPECIFIED) { in build()157 mmapPolicy = AAUDIO_MMAP_POLICY_DEFAULT; in build()178 bool allowMMap = mmapPolicy != AAUDIO_POLICY_NEVER; in build()179 bool allowLegacy = mmapPolicy != AAUDIO_POLICY_ALWAYS; in build()
167 return info.mmapPolicy == AudioMMapPolicy::AUTO || in main()168 info.mmapPolicy == AudioMMapPolicy::ALWAYS; in main()
36 AudioMMapPolicy mmapPolicy = AudioMMapPolicy.UNSPECIFIED;
39 …android.media.audio.common.AudioMMapPolicy mmapPolicy = android.media.audio.common.AudioMMapPolicy…
150 static aaudio_result_t testTimeStamps(aaudio_policy_t mmapPolicy, in testTimeStamps() argument174 mmapPolicy, in testTimeStamps()179 AAudio_setMMapPolicy(mmapPolicy); in testTimeStamps()
74 policyInfo.mmapPolicy = legacy2aidl_aaudio_policy_t_AudioMMapPolicy( in getMmapPolicyInfosFromSystemProperty()