Searched refs:numIndices (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/power/ |
D | MeasuredEnergyStats.java | 119 final int numIndices = template.getNumberOfIndices(); in MeasuredEnergyStats() local 120 mAccumulatedChargeMicroCoulomb = new long[numIndices]; in MeasuredEnergyStats() 143 private MeasuredEnergyStats(int numIndices) { in MeasuredEnergyStats() argument 144 mAccumulatedChargeMicroCoulomb = new long[numIndices]; in MeasuredEnergyStats() 145 mCustomBucketNames = new String[numIndices - NUMBER_STANDARD_POWER_BUCKETS]; in MeasuredEnergyStats() 403 final int numIndices = getNumberOfIndices(); in reset() local 404 for (int index = 0; index < numIndices; index++) { in reset()
|
/frameworks/av/services/mediacodec/registrant/ |
D | CodecServiceRegistrant.cpp | 147 size_t numIndices = 0; in query_sm() local 153 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in query_sm() 155 size_t numStackIndices = numIndices; in query_sm() 157 indices[numIndices++] = in query_sm() 160 indices.resize(numIndices); in query_sm() 162 heapParams->reserve(heapParams->size() + numIndices); in query_sm()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 317 size_t numIndices = 0; in queryFromSink() local 323 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in queryFromSink() 325 size_t numStackIndices = numIndices; in queryFromSink() 327 indices[numIndices++] = in queryFromSink() 330 indices.resize(numIndices); in queryFromSink() 332 heapParams->reserve(heapParams->size() + numIndices); in queryFromSink()
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 284 size_t numIndices = 0; in query() local 290 indices[numIndices++] = static_cast<ParamIndex>(stackParam->index()); in query() 292 size_t numStackIndices = numIndices; in query() 294 indices[numIndices++] = in query() 297 indices.resize(numIndices); in query() 299 heapParams->reserve(heapParams->size() + numIndices); in query()
|
/frameworks/base/rs/jni/ |
D | android_renderscript_RenderScript.cpp | 2742 …, jobject _this, jlong con, jlong mesh, jlongArray _idxIds, jintArray _primitives, jint numIndices) in nMeshGetIndices() argument 2748 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numIndices * sizeof(RsAllocation)); in nMeshGetIndices() 2749 uint32_t *prims= (uint32_t*)malloc((uint32_t)numIndices * sizeof(uint32_t)); in nMeshGetIndices() 2751 rsaMeshGetIndices((RsContext)con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices); in nMeshGetIndices() 2753 for(jint i = 0; i < numIndices; i ++) { in nMeshGetIndices()
|