Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DAudioRecord.cpp869 ssize_t AudioRecord::read(void* buffer, size_t userSize, bool blocking) in read() argument
875 if (ssize_t(userSize) < 0 || (buffer == NULL && userSize != 0)) { in read()
878 ALOGE("AudioRecord::read(buffer=%p, size=%zu (%zu)", buffer, userSize, userSize); in read()
885 while (userSize >= mFrameSize) { in read()
886 audioBuffer.frameCount = userSize / mFrameSize; in read()
903 userSize -= bytesRead; in read()
DAudioTrack.cpp1707 ssize_t AudioTrack::write(const void* buffer, size_t userSize, bool blocking) in write() argument
1723 if (ssize_t(userSize) < 0 || (buffer == NULL && userSize != 0)) { in write()
1726 ALOGE("AudioTrack::write(buffer=%p, size=%zu (%zd)", buffer, userSize, userSize); in write()
1733 while (userSize >= mFrameSize) { in write()
1734 audioBuffer.frameCount = userSize / mFrameSize; in write()
1751 userSize -= toWrite; in write()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java469 final int userSize = mUsers.size(); in cleanupPartialUsers() local
470 for (int i = 0; i < userSize; i++) { in cleanupPartialUsers()
524 final int userSize = mUsers.size(); in getPrimaryUser() local
525 for (int i = 0; i < userSize; i++) { in getPrimaryUser()
540 final int userSize = mUsers.size(); in getUsers() local
541 for (int i = 0; i < userSize; i++) { in getUsers()
617 final int userSize = mUsers.size(); in getProfileIdsLU() local
618 for (int i = 0; i < userSize; i++) { in getProfileIdsLU()
2860 final int userSize = mUsers.size(); in updateUserIds() local
2861 for (int i = 0; i < userSize; i++) { in updateUserIds()
[all …]