Searched refs:mmapPolicy (Results 1 – 3 of 3) sorted by relevance
115 aaudio_policy_t mmapPolicy = AAudio_getMMapPolicy(); in build() local117 if (mmapPolicy == AAUDIO_UNSPECIFIED) { in build()118 mmapPolicy = AAudioProperty_getMMapPolicy(); in build()121 if (mmapPolicy == AAUDIO_UNSPECIFIED) { in build()122 mmapPolicy = AAUDIO_MMAP_POLICY_DEFAULT; in build()138 bool allowMMap = mmapPolicy != AAUDIO_POLICY_NEVER; in build()139 bool allowLegacy = mmapPolicy != AAUDIO_POLICY_ALWAYS; in build()
145 aaudio_policy_t mmapPolicy = property_get_int32(AAUDIO_PROP_MMAP_POLICY, in main() local147 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()