Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/core/
DAudioStreamBuilder.cpp114 aaudio_policy_t mmapPolicy = AudioGlobal_getMMapPolicy(); in build() local
116 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()
/frameworks/av/media/audioserver/
Dmain_audioserver.cpp149 aaudio_policy_t mmapPolicy = property_get_int32(AAUDIO_PROP_MMAP_POLICY, in main() local
151 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()