Searched refs:cluster (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
H A DCpuPowerCalculator.java40 for (int cluster = 0; cluster < numClusters; cluster++) {
41 final int speedsForCluster = mProfile.getNumSpeedStepsInCpuCluster(cluster);
43 final long timeUs = u.getTimeAtCpuSpeed(cluster, speed, statsType);
45 mProfile.getAveragePowerForCpu(cluster, speed);
47 Log.d(TAG, "UID " + u.getUid() + ": CPU cluster #" + cluster + " step #"
H A DPowerProfile.java316 private static final String POWER_CPU_CLUSTER_SPEED_PREFIX = "cpu.speeds.cluster";
317 private static final String POWER_CPU_CLUSTER_ACTIVE_PREFIX = "cpu.active.cluster";
331 for (int cluster = 0; cluster < array.length; cluster++) {
332 int numCpusInCluster = (int) Math.round(array[cluster]);
333 mCpuClusters[cluster] = new CpuClusterKey(
334 POWER_CPU_CLUSTER_SPEED_PREFIX + cluster,
335 POWER_CPU_CLUSTER_ACTIVE_PREFIX + cluster,
369 public double getAveragePowerForCpu(int cluster, in argument
[all...]
H A DBatteryStatsImpl.java6651 public long getTimeAtCpuSpeed(int cluster, int step, int which) { argument
6653 if (cluster >= 0 && cluster < mCpuClusterSpeedTimesUs.length) {
6654 final LongSamplingCounter[] cpuSpeedTimesUs = mCpuClusterSpeedTimesUs[cluster];
7550 for (int cluster = 0; cluster < numCpuClusters; cluster++) {
7554 mBsi.mPowerProfile.getNumSpeedStepsInCpuCluster(cluster) != numSpeeds) {
7559 mCpuClusterSpeedTimesUs[cluster] = cpuSpeeds;
7567 mCpuClusterSpeedTimesUs[cluster]
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp726 uint32_t cluster) {
730 hb_buffer_add(buffer, hyphenChar, cluster);
735 // Returns the cluster value assigned to the first codepoint added to the buffer, which can be used
736 // to translate cluster values returned by HarfBuzz to input indices.
766 // A cluster value of zero guarantees that the inserted hyphen will be in the same
767 // cluster with the next codepoint, since there is no pre-context.
768 addHyphenToHbBuffer(buffer, hbFont, startHyphen, 0 /* cluster value */);
812 // codepoint added to the HarfBuzz buffer to the same cluster, we can make sure
813 // that they always remain in the same cluster, even if the last codepoint gets
814 // merged into another cluster (fo
725 addHyphenToHbBuffer(hb_buffer_t* buffer, hb_font_t* font, uint32_t hyphen, uint32_t cluster) argument
[all...]
/frameworks/av/media/libstagefright/webm/
H A DWebmFrameThread.cpp98 // Initializes a webm cluster with its starting timecode.
104 // the starting timecode of the cluster; this is the timecode of the first
108 // list to hold child elements in a webm cluster (start timecode and
130 sp<WebmElement> cluster = new WebmMaster(kMkvCluster, children); local
131 cluster->write(mFd, size);
135 // Write out (possibly multiple) webm cluster(s) from frames split on video key frames.
154 // frame (the last frame), which belongs to the next cluster; also hold back on
237 ALOGV("flushing last cluster (size %zu)", outstandingFrames.size());
/frameworks/base/tools/apilint/
H A Dapilint.py859 def cluster(args): function in function:verify_overload_args
868 common_args = cluster(methods[0].args)
870 common_args = common_args & cluster(m.args)
878 if not common_args.issubset(cluster(sig)):
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java4701 View cluster = focused == null ? keyboardNavigationClusterSearch(null, direction)
4711 if (cluster != null && cluster.isRootNamespace()) {
4712 // the default cluster. Try to find a non-clustered view to focus.
4713 if (cluster.restoreFocusNotInCluster()) {
4717 // otherwise skip to next actual cluster
4718 cluster = keyboardNavigationClusterSearch(null, direction);
4721 if (cluster != null && cluster.restoreFocusInCluster(realDirection)) {
H A DView.java3084 * Flag indicating that the view is a root of a keyboard navigation cluster.
4223 * User-specified next keyboard navigation cluster in the {@link #FOCUS_FORWARD} direction.
8990 * Gets the id of the root of the next keyboard navigation cluster.
8991 * @return The next keyboard navigation cluster ID, or {@link #NO_ID} if the framework should
9001 * Sets the id of the view to use as the root of the next keyboard navigation cluster.
9002 * @param nextClusterForwardId The next cluster ID, or {@link #NO_ID} if the framework should
10178 * Returns whether this View is a root of a keyboard navigation cluster.
10180 * @return True if this view is a root of a cluster, or false otherwise.
10189 * Searches up the view hierarchy to find the top-most cluster. All deeper/nested clusters
10192 * @return the keyboard navigation cluster tha
10234 setFocusedInCluster(View cluster) argument
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryStats.java707 * given CPU cluster.
708 * @param cluster the index of the CPU cluster.
714 public abstract long getTimeAtCpuSpeed(int cluster, int step, int which); argument

Completed in 350 milliseconds