Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:SIZE

118     for (size_t i = 0; i < mInputSources.size(); i++) {
123 for (size_t i = 0; i < mInputs.size(); i++) {
333 for (size_t i = 0; i < effects.size(); i++) {
342 for (size_t j = 0; j < effect->mParams.size(); j++) {
550 for (index = 0; index < mInputs.size(); index++) {
555 if (index == mInputs.size()) {
561 for (size_t i = 0; i < effects.size(); i++) {
567 if (effects.size() > *count) {
570 *count = effects.size();
594 const size_t SIZE = 256;
595 char buffer[SIZE];
598 snprintf(buffer, SIZE, "PolicyManager Interface: %p\n", mpAudioPolicy);
600 snprintf(buffer, SIZE, "Command Thread: %p\n", mAudioCommandThread.get());
602 snprintf(buffer, SIZE, "Tones Thread: %p\n", mTonePlaybackThread.get());
605 write(fd, result.string(), result.size());
617 write(fd, result.string(), result.size());
639 const size_t SIZE = 256;
640 char buffer[SIZE];
642 snprintf(buffer, SIZE, "Permission Denial: "
647 write(fd, result.string(), result.size());
654 for (size_t i = 0; i < fxVector.size(); i++) {
812 const size_t SIZE = 256;
813 char buffer[SIZE];
816 snprintf(buffer, SIZE, "AudioCommandThread %p Dump\n", this);
818 write(fd, result.string(), result.size());
823 write(fd, result2.string(), result2.size());
826 snprintf(buffer, SIZE, "- Commands:\n");
829 for (size_t i = 0; i < mAudioCommands.size(); i++) {
830 mAudioCommands[i]->dump(buffer, SIZE);
834 mLastCommand.dump(buffer, SIZE);
837 write(fd, result.string(), result.size());
986 for (i = mAudioCommands.size()-1; i >= 0; i--) {
1001 for (size_t j = 0; j < param.size(); j++) {
1005 for (size_t k = 0; k < param2.size(); k++) {
1018 if (param2.size() == 0) {
1050 for (size_t j = 0; j < removedCommands.size(); j++) {
1052 for (size_t k = i + 1; k < mAudioCommands.size(); k++) {
1071 command->mCommand, (int)i+1, mAudioCommands.size());
1086 void AudioPolicyService::AudioCommandThread::AudioCommand::dump(char* buffer, size_t size)
1088 snprintf(buffer, size, " %02d %06d.%03d %01u %p\n",
1182 size_t size,
1187 size_t pos = ((*curSize - 1 ) / size + 1) * size;
1189 if (pos + size > *totSize) {
1190 while (pos + size > *totSize) {
1195 *curSize = pos + size;
1278 size_t size = readParamValue(param, (char *)fx_param, &curSize, &totSize);
1279 if (size == 0) {
1282 fx_param->psize += size;
1293 size_t size = readParamValue(value, (char *)fx_param, &curSize, &totSize);
1294 if (size == 0) {
1297 fx_param->vsize += size;
1335 for (i = 0; i < effects.size(); i++) {
1341 if (i == effects.size()) {
1352 if (source->mEffects.size() == 0) {