Searched refs:clusters (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | PowerProfileTest.java | 76 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/ |
D | FocusFinder.java | 169 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/ |
D | CpuProfile.java | 29 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/java/com/android/internal/os/ |
D | KernelCpuUidTimeReader.java | 759 int[] clusters = new int[lineArray.length / 2]; in checkPrecondition() local 761 for (int i = 0; i < clusters.length; i++) { in checkPrecondition() 766 clusters[i] = Integer.parseInt(lineArray[i * 2 + 1], 10); in checkPrecondition() 767 cores += clusters[i]; in checkPrecondition() 769 mNumClusters = clusters.length; in checkPrecondition() 771 mCoresOnClusters = clusters; in checkPrecondition()
|