Home
last modified time | relevance | path

Searched refs:mBuckets (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBinderLatencyBuckets.java31 private final int[] mBuckets; field in BinderLatencyBuckets
54 mBuckets = Arrays.copyOfRange(buffer, 0, i); in BinderLatencyBuckets()
67 mBuckets = buffer; in BinderLatencyBuckets()
72 if (sample >= mBuckets[mBuckets.length - 1]) { in sampleToBucket()
73 return mBuckets.length; in sampleToBucket()
81 int searchResult = Arrays.binarySearch(mBuckets, sample); in sampleToBucket()
87 return mBuckets; in getBuckets()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h639 mBucketCount(0), mBuckets(NULL) {}; in Histogram()
641 void clear() { if (mBuckets != NULL) free(mBuckets); mBuckets = NULL; }; in clear()
656 int64_t *mBuckets; member
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java120 private final ArrayMap<Class<?>, TokenBucket> mBuckets = makeRateLimitingBuckets(); field in IpConnectivityMetrics
190 TokenBucket tb = mBuckets.get(event.data.getClass()); in isRateLimited()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1060 if (nbuckets == mBucketCount && mBuckets != NULL) { in setup()
1062 memset(mBuckets, 0, sizeof(*mBuckets) * mBucketCount); in setup()
1065 int64_t *newbuckets = (int64_t *)calloc(nbuckets, sizeof (*mBuckets)); in setup()
1069 if (mBuckets != NULL) in setup()
1070 free(mBuckets); in setup()
1071 mBuckets = newbuckets; in setup()
1088 if (mBuckets != NULL) { in setup()
1089 free(mBuckets); in setup()
1090 mBuckets = NULL; in setup()
1099 if (mBuckets == NULL) { in insert()
[all …]