Searched refs:mmapPolicy (Results 1 – 3 of 3) sorted by relevance
114 aaudio_policy_t mmapPolicy = AudioGlobal_getMMapPolicy(); in build() local116 if (mmapPolicy == AAUDIO_UNSPECIFIED) { in build()117 mmapPolicy = AAudioProperty_getMMapPolicy(); in build()120 if (mmapPolicy == AAUDIO_UNSPECIFIED) { in build()121 mmapPolicy = AAUDIO_MMAP_POLICY_DEFAULT; in build()137 bool allowMMap = mmapPolicy != AAUDIO_POLICY_NEVER; in build()138 bool allowLegacy = mmapPolicy != AAUDIO_POLICY_ALWAYS; in build()
149 aaudio_policy_t mmapPolicy = property_get_int32(AAUDIO_PROP_MMAP_POLICY, in main() local151 if (mmapPolicy == AAUDIO_POLICY_AUTO || mmapPolicy == AAUDIO_POLICY_ALWAYS) { in main()
150 static aaudio_result_t testTimeStamps(aaudio_policy_t mmapPolicy, in testTimeStamps() argument174 mmapPolicy, in testTimeStamps()179 AAudio_setMMapPolicy(mmapPolicy); in testTimeStamps()