Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:SIZE

361     const size_t SIZE = 256;
362 char buffer[SIZE];
365 snprintf(buffer, SIZE, "PolicyManager Interface: %p\n", mpPolicyManager);
367 snprintf(buffer, SIZE, "Command Thread: %p\n", mAudioCommandThread.get());
369 snprintf(buffer, SIZE, "Tones Thread: %p\n", mTonePlaybackThread.get());
372 write(fd, result.string(), result.size());
384 write(fd, result.string(), result.size());
406 const size_t SIZE = 256;
407 char buffer[SIZE];
409 snprintf(buffer, SIZE, "Permission Denial: "
414 write(fd, result.string(), result.size());
678 const size_t SIZE = 256;
679 char buffer[SIZE];
682 snprintf(buffer, SIZE, "AudioCommandThread %p Dump\n", this);
684 write(fd, result.string(), result.size());
689 write(fd, result2.string(), result2.size());
692 snprintf(buffer, SIZE, "- Commands:\n");
695 for (int i = 0; i < (int)mAudioCommands.size(); i++) {
696 mAudioCommands[i]->dump(buffer, SIZE);
700 mLastCommand.dump(buffer, SIZE);
703 write(fd, result.string(), result.size());
832 for (i = mAudioCommands.size()-1; i >= 0; i--) {
846 for (size_t j = 0; j < param.size(); j++) {
850 for (size_t k = 0; k < param2.size(); k++) {
863 if (param2.size() == 0) {
886 for (size_t j = 0; j < removedCommands.size(); j++) {
888 for (size_t k = i + 1; k < mAudioCommands.size(); k++) {
899 LOGV("inserting command: %d at index %d, num commands %d", command->mCommand, (int)i+1, mAudioCommands.size());
914 void AudioPolicyService::AudioCommandThread::AudioCommand::dump(char* buffer, size_t size)
916 snprintf(buffer, size, " %02d %06d.%03d %01u %p\n",