Home
last modified time | relevance | path

Searched refs:clusters (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tools/powermodel/test/com/android/powermodel/
DPowerProfileTest.java76 Assert.assertEquals(2, cpu.clusters.length); in testReadGood()
78 Assert.assertEquals(4, cpu.clusters[0].coreCount); in testReadGood()
79 Assert.assertEquals(2.41f, cpu.clusters[0].onMa, EPSILON); in testReadGood()
80 Assert.assertEquals(9, cpu.clusters[0].frequencies.length, EPSILON); in testReadGood()
81 Assert.assertEquals(100000, cpu.clusters[0].frequencies[0].speedHz); in testReadGood()
82 Assert.assertEquals(0.29f, cpu.clusters[0].frequencies[0].onMa, EPSILON); in testReadGood()
83 Assert.assertEquals(303200, cpu.clusters[0].frequencies[1].speedHz); in testReadGood()
84 Assert.assertEquals(0.63f, cpu.clusters[0].frequencies[1].onMa, EPSILON); in testReadGood()
85 Assert.assertEquals(380000, cpu.clusters[0].frequencies[2].speedHz); in testReadGood()
86 Assert.assertEquals(1.23f, cpu.clusters[0].frequencies[2].onMa, EPSILON); in testReadGood()
[all …]
/frameworks/base/core/java/android/view/
DFocusFinder.java169 final ArrayList<View> clusters = mTempList; in findNextKeyboardNavigationCluster() local
171 clusters.clear(); in findNextKeyboardNavigationCluster()
172 root.addKeyboardNavigationClusters(clusters, direction); in findNextKeyboardNavigationCluster()
173 if (!clusters.isEmpty()) { in findNextKeyboardNavigationCluster()
175 root, currentCluster, clusters, direction); in findNextKeyboardNavigationCluster()
178 clusters.clear(); in findNextKeyboardNavigationCluster()
278 List<View> clusters, in findNextKeyboardNavigationCluster() argument
282 mUserSpecifiedClusterComparator.setFocusables(clusters, root); in findNextKeyboardNavigationCluster()
283 Collections.sort(clusters, mUserSpecifiedClusterComparator); in findNextKeyboardNavigationCluster()
287 final int count = clusters.size(); in findNextKeyboardNavigationCluster()
[all …]
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
DCpuProfile.java29 public Cluster[] clusters; field in CpuProfile
125 result.clusters = new Cluster[mCoreCount.length]; in build()
126 for (int i = 0; i < result.clusters.length; i++) { in build()
127 final Cluster cluster = result.clusters[i] = new Cluster(); in build()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelCpuBpfTracking.cpp51 uint32_t clusters = freqs->size(); in KernelCpuBpfTracking_getFreqsClustersInternal() local
52 for (uint32_t c = 0; c < clusters; ++c) { in KernelCpuBpfTracking_getFreqsClustersInternal()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DWSMeansQuantizer.java150 float[][] clusters = Arrays.copyOf(mClusters, maxColors); in initializeClusters() local
151 System.arraycopy(newClusters, 0, clusters, clusters.length, newClusters.length); in initializeClusters()
152 mClusters = clusters; in initializeClusters()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuUidTimeReader.java940 int[] clusters = new int[lineArray.length / 2]; in checkPrecondition() local
942 for (int i = 0; i < clusters.length; i++) { in checkPrecondition()
947 clusters[i] = Integer.parseInt(lineArray[i * 2 + 1], 10); in checkPrecondition()
948 cores += clusters[i]; in checkPrecondition()
950 mNumClusters = clusters.length; in checkPrecondition()
952 mCoresOnClusters = clusters; in checkPrecondition()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java1969 int clusters = KernelCpuBpfTracking.getClusters();
2006 values = new double[clusters * CPU_CYCLES_PER_UID_CLUSTER_VALUES];
2024 for (int cluster = 0; cluster < clusters; ++cluster) {
2142 int clusters = KernelCpuBpfTracking.getClusters();
2144 long[] aggregatedCycles = new long[clusters];
2145 long[] aggregatedTimesUs = new long[clusters];
2150 for (int cluster = 0; cluster < clusters; ++cluster) {