Home
last modified time | relevance | path

Searched refs:mmapPolicy (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaaudio/src/core/
DAudioStreamBuilder.cpp115 aaudio_policy_t mmapPolicy = AAudio_getMMapPolicy(); in build() local
117 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()
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp145 aaudio_policy_t mmapPolicy = property_get_int32(AAUDIO_PROP_MMAP_POLICY, in main() local
147 if (mmapPolicy == AAUDIO_POLICY_AUTO || mmapPolicy == AAUDIO_POLICY_ALWAYS) { in main()
/frameworks/av/media/libaaudio/tests/
Dtest_timestamps.cpp150 static aaudio_result_t testTimeStamps(aaudio_policy_t mmapPolicy, in testTimeStamps() argument
174 mmapPolicy, in testTimeStamps()
179 AAudio_setMMapPolicy(mmapPolicy); in testTimeStamps()