Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/powermodel/test/com/android/powermodel/
H A 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()
83 Assert.assertEquals(303200, cpu.clusters[0].frequencies[1].speedHz); in testReadGood()
85 Assert.assertEquals(380000, cpu.clusters[0].frequencies[2].speedHz); in testReadGood()
87 Assert.assertEquals(476000, cpu.clusters[0].frequencies[3].speedHz); in testReadGood()
89 Assert.assertEquals(552800, cpu.clusters[0].frequencies[4].speedHz); in testReadGood()
100 Assert.assertEquals(2, cpu.clusters[1].coreCount); in testReadGood()
[all …]
/aosp14/frameworks/base/core/java/android/view/
H A DFocusFinder.java171 clusters.clear(); in findNextKeyboardNavigationCluster()
173 if (!clusters.isEmpty()) { in findNextKeyboardNavigationCluster()
178 clusters.clear(); in findNextKeyboardNavigationCluster()
278 List<View> clusters, in findNextKeyboardNavigationCluster() argument
287 final int count = clusters.size(); in findNextKeyboardNavigationCluster()
407 List<View> clusters, in getNextKeyboardNavigationCluster() argument
413 return clusters.get(0); in getNextKeyboardNavigationCluster()
419 return clusters.get(position + 1); in getNextKeyboardNavigationCluster()
430 List<View> clusters, in getPreviousKeyboardNavigationCluster() argument
436 return clusters.get(count - 1); in getPreviousKeyboardNavigationCluster()
[all …]
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
H A 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()
/aosp14/frameworks/base/core/jni/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/graphics/palette/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DKernelCpuUidTimeReader.java985 int[] clusters = new int[lineArray.length / 2]; in checkPrecondition() local
987 for (int i = 0; i < clusters.length; i++) { in checkPrecondition()
992 clusters[i] = Integer.parseInt(lineArray[i * 2 + 1], 10); in checkPrecondition()
993 cores += clusters[i]; in checkPrecondition()
995 mNumClusters = clusters.length; in checkPrecondition()
997 mCoresOnClusters = clusters; in checkPrecondition()
/aosp14/frameworks/base/services/core/java/com/android/server/stats/pull/
H A DStatsPullAtomService.java1815 int clusters = KernelCpuBpfTracking.getClusters();
1852 values = new double[clusters * CPU_CYCLES_PER_UID_CLUSTER_VALUES];
1870 for (int cluster = 0; cluster < clusters; ++cluster) {
1983 int clusters = KernelCpuBpfTracking.getClusters();
1985 long[] aggregatedCycles = new long[clusters];
1986 long[] aggregatedTimesUs = new long[clusters];
1991 for (int cluster = 0; cluster < clusters; ++cluster) {