Lines Matching refs:numArgs
312 binder_status_t AudioControl::dump(int fd, const char** args, uint32_t numArgs) { in dump() argument
313 if (numArgs == 0) { in dump()
321 return cmdRequestFocus(fd, args, numArgs); in dump()
323 return cmdAbandonFocus(fd, args, numArgs); in dump()
325 return cmdRequestFocusWithMetaData(fd, args, numArgs); in dump()
327 return cmdAbandonFocusWithMetaData(fd, args, numArgs); in dump()
329 return cmdOnAudioDeviceGainsChanged(fd, args, numArgs); in dump()
331 return cmdOnAudioPortsChanged(fd, args, numArgs); in dump()
404 binder_status_t AudioControl::cmdRequestFocus(int fd, const char** args, uint32_t numArgs) { in cmdRequestFocus() argument
408 if (numArgs != 4) { in cmdRequestFocus()
448 binder_status_t AudioControl::cmdAbandonFocus(int fd, const char** args, uint32_t numArgs) { in cmdAbandonFocus() argument
452 if (numArgs != 3) { in cmdAbandonFocus()
517 uint32_t numArgs) { in cmdRequestFocusWithMetaData() argument
521 if (numArgs != 4) { in cmdRequestFocusWithMetaData()
561 uint32_t numArgs) { in cmdAbandonFocusWithMetaData() argument
565 if (numArgs != 3) { in cmdAbandonFocusWithMetaData()
595 uint32_t numArgs) { in cmdOnAudioDeviceGainsChanged() argument
599 if ((numArgs + 1) % 2 != 0) { in cmdOnAudioDeviceGainsChanged()
628 for (uint32_t i = 3; i < numArgs; i += 2) { in cmdOnAudioDeviceGainsChanged()
754 binder_status_t AudioControl::cmdOnAudioPortsChanged(int fd, const char** args, uint32_t numArgs) { in cmdOnAudioPortsChanged() argument
759 if ((numArgs < 6) || ((numArgs - 1) % 5 != 0)) { in cmdOnAudioPortsChanged()
773 for (uint32_t i = 1; i < numArgs; i += 5) { in cmdOnAudioPortsChanged()