Home
last modified time | relevance | path

Searched refs:cluster (Results 1 – 25 of 183) sorted by relevance

12345678

/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/component/
H A DCpuProfile.java71 mClusterOnPower.put(cluster, value); in setClusterPower()
76 float[] power = mCorePower.get(cluster); in setCoreSpeeds()
82 if (mCoreCount != null && cluster >= mCoreCount.length) { in setCoreSpeeds()
83 throw new ParseException("cluster " + cluster in setCoreSpeeds()
84 + " in cpu.core_speeds.cluster" + cluster in setCoreSpeeds()
92 int[] speeds = mCoreSpeeds.get(cluster); in setCorePower()
98 if (mCoreCount != null && cluster >= mCoreCount.length) { in setCorePower()
99 throw new ParseException("cluster " + cluster in setCorePower()
100 + " in cpu.core_power.cluster" + cluster in setCorePower()
128 cluster.coreCount = mCoreCount[i]; in build()
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DCpuPowerCalculator.java63 for (int cluster = 0; cluster < mNumCpuClusters; cluster++) { in CpuPowerCalculator()
64 mPerClusterPowerEstimators[cluster] = new UsageBasedPowerEstimator( in CpuPowerCalculator()
65 profile.getAveragePowerForCpuCluster(cluster)); in CpuPowerCalculator()
69 for (int cluster = 0; cluster < mNumCpuClusters; cluster++) { in CpuPowerCalculator()
73 mPerCpuFreqPowerEstimators[cluster][speed] = in CpuPowerCalculator()
215 for (int cluster = 0; cluster < mNumCpuClusters; cluster++) { in calculateUidModeledPowerMah()
216 double power = calculatePerCpuClusterPowerMah(cluster, in calculateUidModeledPowerMah()
217 cpuClusterTimes[cluster]); in calculateUidModeledPowerMah()
232 for (int cluster = 0; cluster < mNumCpuClusters; cluster++) { in calculateUidModeledPowerMah()
278 public double calculatePerCpuFreqPowerMah(int cluster, int speedStep, in calculatePerCpuFreqPowerMah() argument
[all …]
H A DPowerProfile.java396 for (int cluster = 0; cluster < data.length; cluster++) { in initCpuClusters()
398 mCpuClusters[cluster] = new CpuClusterKey( in initCpuClusters()
399 CPU_CORE_SPEED_PREFIX + cluster, CPU_CLUSTER_POWER_COUNT + cluster, in initCpuClusters()
434 public int getNumCoresInCpuCluster(int cluster) { in getNumCoresInCpuCluster() argument
435 if (cluster < 0 || cluster >= mCpuClusters.length) { in getNumCoresInCpuCluster()
438 return mCpuClusters[cluster].numCpus; in getNumCoresInCpuCluster()
442 public int getNumSpeedStepsInCpuCluster(int cluster) { in getNumSpeedStepsInCpuCluster() argument
443 if (cluster < 0 || cluster >= mCpuClusters.length) { in getNumSpeedStepsInCpuCluster()
453 if (cluster >= 0 && cluster < mCpuClusters.length) { in getAveragePowerForCpuCluster()
460 if (cluster >= 0 && cluster < mCpuClusters.length) { in getAveragePowerForCpuCore()
[all …]
H A DSystemServicePowerCalculator.java49 for (int cluster = 0; cluster < numCpuClusters; cluster++) { in SystemServicePowerCalculator()
50 numFreqs += powerProfile.getNumSpeedStepsInCpuCluster(cluster); in SystemServicePowerCalculator()
55 for (int cluster = 0; cluster < numCpuClusters; cluster++) { in SystemServicePowerCalculator()
56 final int numSpeeds = powerProfile.getNumSpeedStepsInCpuCluster(cluster); in SystemServicePowerCalculator()
59 powerProfile.getAveragePowerForCpuCore(cluster, speed)); in SystemServicePowerCalculator()
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
H A DNetworkAttributes.java74 public final String cluster; field in NetworkAttributes
110 @Nullable final String cluster, in NetworkAttributes() argument
120 this.cluster = cluster; in NetworkAttributes()
134 parcelable.cluster, in NetworkAttributes()
184 parcelable.cluster = cluster; in toParcelable()
207 + samenessContribution(WEIGHT_CLUSTER, cluster, o.cluster) in getNetworkGroupSamenessConfidence()
251 mCluster = attributes.cluster; in Builder()
289 mCluster = cluster; in setCluster()
354 && Objects.equals(cluster, other.cluster) in equals()
386 if (null != cluster) { in toString()
[all …]
/aosp12/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
H A DCarNavigationManagerTest.java25 import android.car.cluster.navigation.NavigationState.Cue;
26 import android.car.cluster.navigation.NavigationState.Cue.CueElement;
27 import android.car.cluster.navigation.NavigationState.Destination;
28 import android.car.cluster.navigation.NavigationState.Distance;
29 import android.car.cluster.navigation.NavigationState.ImageReference;
30 import android.car.cluster.navigation.NavigationState.Lane;
32 import android.car.cluster.navigation.NavigationState.LatLng;
33 import android.car.cluster.navigation.NavigationState.Maneuver;
35 import android.car.cluster.navigation.NavigationState.Road;
36 import android.car.cluster.navigation.NavigationState.Step;
[all …]
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadNotifier.java181 IntArray cluster = clustered.get(tag); in updateWithLocked() local
182 if (cluster == null) { in updateWithLocked()
183 cluster = new IntArray(); in updateWithLocked()
184 clustered.put(tag, cluster); in updateWithLocked()
186 cluster.add(cursor.getPosition()); in updateWithLocked()
331 if (cluster.size() == 1) { in updateWithLocked()
370 R.plurals.notif_summary_active, cluster.size(), cluster.size())); in updateWithLocked()
377 R.plurals.notif_summary_waiting, cluster.size(), cluster.size())); in updateWithLocked()
412 final long[] ids = new long[cluster.size()]; in getDownloadIds()
413 for (int i = 0; i < cluster.size(); i++) { in getDownloadIds()
[all …]
/aosp12/system/extras/tools/
H A Dgraph_lockdep_chains55 cluster=
92 --cluster) # reserve -c for dot (configure plugins)
93 cluster=1
181 if [ -n "${cluster}" -a -z "${filter}" ]; then
184 if [ -n "${cluster}" -a -n "${focus}" -a -n "${filter}" ]; then
186 cluster=
228 if [ -n "${cluster}" ]; then
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsCpuTimesTest.java240 for (int cluster = 0; cluster < clusterSpeedTimesMs.length; ++cluster) { in testUpdateClusterSpeedTimes()
243 cpuTimeUs[i] * clusterSpeedTimesMs[cluster][speed] in testUpdateClusterSpeedTimes()
665 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
708 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_perClusterTimesAvailable()
766 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
767 expectedWakeLockUidTimesUs[cluster] = new long[clusterFreqs[cluster]]; in testReadKernelUidCpuFreqTimesLocked_partialTimers()
779 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
802 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
814 for (int cluster = 0; cluster < clusterFreqs.length; ++cluster) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
815 for (int speed = 0; speed < clusterFreqs[cluster]; ++speed) { in testReadKernelUidCpuFreqTimesLocked_partialTimers()
[all …]
H A DBatteryUsageStatsRule.java98 public BatteryUsageStatsRule setNumSpeedStepsInCpuCluster(int cluster, int speeds) { in setNumSpeedStepsInCpuCluster() argument
99 when(mPowerProfile.getNumSpeedStepsInCpuCluster(cluster)).thenReturn(speeds); in setNumSpeedStepsInCpuCluster()
103 public BatteryUsageStatsRule setAveragePowerForCpuCluster(int cluster, double value) { in setAveragePowerForCpuCluster() argument
104 when(mPowerProfile.getAveragePowerForCpuCluster(cluster)).thenReturn(value); in setAveragePowerForCpuCluster()
108 public BatteryUsageStatsRule setAveragePowerForCpuCore(int cluster, int step, double value) { in setAveragePowerForCpuCore() argument
109 when(mPowerProfile.getAveragePowerForCpuCore(cluster, step)).thenReturn(value); in setAveragePowerForCpuCore()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
H A DInstrumentClusterFragment.java16 package com.google.android.car.kitchensink.cluster;
23 import android.car.cluster.navigation.NavigationState;
24 import android.car.cluster.navigation.NavigationState.Cue;
25 import android.car.cluster.navigation.NavigationState.Cue.CueElement;
26 import android.car.cluster.navigation.NavigationState.Destination;
28 import android.car.cluster.navigation.NavigationState.Distance;
29 import android.car.cluster.navigation.NavigationState.Lane;
31 import android.car.cluster.navigation.NavigationState.Maneuver;
33 import android.car.cluster.navigation.NavigationState.Road;
34 import android.car.cluster.navigation.NavigationState.Step;
[all …]
/aosp12/packages/services/Car/car-lib/src/android/car/cluster/
H A DIClusterHomeService.aidl17 package android.car.cluster;
19 import android.car.cluster.ClusterState;
20 import android.car.cluster.IClusterStateListener;
21 import android.car.cluster.IClusterNavigationStateListener;
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DMemoryStoreImpl.java132 public void setCluster(String key, String cluster) { in setCluster() argument
136 .setCluster(cluster) in setCluster()
139 Log.d(TAG, "Set cluster " + cluster + " for " + key + ": " + status); in setCluster()
147 public void removeCluster(String cluster) { in removeCluster() argument
151 mIpMemoryStore.deleteCluster(cluster, needWipe, (status, deletedRecords) -> { in removeCluster()
152 Log.d(TAG, "Remove cluster " + cluster + ": " + status in removeCluster()
/aosp12/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
H A DNavStateController.java16 package com.android.car.cluster.view;
22 import android.car.cluster.navigation.NavigationState.Destination;
23 import android.car.cluster.navigation.NavigationState.Destination.Traffic;
24 import android.car.cluster.navigation.NavigationState.Distance;
25 import android.car.cluster.navigation.NavigationState.ImageReference;
26 import android.car.cluster.navigation.NavigationState.Maneuver;
27 import android.car.cluster.navigation.NavigationState.NavigationStateProto;
28 import android.car.cluster.navigation.NavigationState.Road;
29 import android.car.cluster.navigation.NavigationState.Step;
30 import android.car.cluster.navigation.NavigationState.Timestamp;
[all …]
H A DCueView.java16 package com.android.car.cluster.view;
18 import android.car.cluster.navigation.NavigationState.Cue;
19 import android.car.cluster.navigation.NavigationState.Cue.CueElement;
20 import android.car.cluster.navigation.NavigationState.ImageReference;
31 import com.android.car.cluster.osdouble.R;
/aosp12/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
H A DNavStateController.java16 package android.car.cluster;
18 import static android.car.cluster.navigation.NavigationState.NavigationStateProto.ServiceStatus.NOR…
23 import android.car.cluster.navigation.NavigationState.Destination;
24 import android.car.cluster.navigation.NavigationState.Destination.Traffic;
25 import android.car.cluster.navigation.NavigationState.Distance;
26 import android.car.cluster.navigation.NavigationState.ImageReference;
27 import android.car.cluster.navigation.NavigationState.Maneuver;
28 import android.car.cluster.navigation.NavigationState.NavigationStateProto;
29 import android.car.cluster.navigation.NavigationState.Road;
30 import android.car.cluster.navigation.NavigationState.Step;
[all …]
H A DLoggingClusterRenderingService.java16 package android.car.cluster;
18 import android.car.cluster.navigation.NavigationState.NavigationStateProto;
19 import android.car.cluster.renderer.InstrumentClusterRenderingService;
20 import android.car.cluster.renderer.NavigationRenderer;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
H A DLayer2Information.java37 public Layer2Information(@Nullable final String l2Key, @Nullable final String cluster, in Layer2Information() argument
40 mCluster = cluster; in Layer2Information()
59 p.cluster = mCluster; in toStableParcelable()
70 return new Layer2Information(p.l2Key, p.cluster, p.bssid); in fromStableParcelable()
/aosp12/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
H A DClusterOsDoubleActivity.java17 package com.android.car.cluster.osdouble;
20 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_HOME;
21 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_NONE;
25 import static com.android.car.cluster.osdouble.ClusterOsDoubleApplication.TAG;
28 import android.car.cluster.navigation.NavigationState.NavigationStateProto;
52 import com.android.car.cluster.sensors.Sensors;
53 import com.android.car.cluster.view.BitmapFetcher;
54 import com.android.car.cluster.view.ClusterViewModel;
55 import com.android.car.cluster.view.ImageResolver;
56 import com.android.car.cluster.view.NavStateController;
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFaceClustering.java106 FaceCluster cluster = map.get(face); in run()
107 if (cluster == null) { in run()
108 cluster = new FaceCluster(face.getName()); in run()
109 map.put(face, cluster); in run()
111 cluster.add(item, j); in run()
/aosp12/frameworks/base/data/etc/car/
H A DAndroid.bp35 name: "allowed_privapp_android.car.cluster.loggingrenderer",
37 src: "android.car.cluster.loggingrenderer.xml",
42 name: "allowed_privapp_android.car.cluster.sample",
44 src: "android.car.cluster.sample.xml",
49 name: "allowed_privapp_android.car.cluster",
51 src: "android.car.cluster.xml",
198 name: "allowed_privapp_com.android.car.cluster.home",
200 src: "com.android.car.cluster.home.xml",
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
H A DClusterHomeServiceUnitTest.java17 package com.android.car.cluster;
20 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_HOME;
21 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_NONE;
34 import android.car.cluster.ClusterHomeManager;
35 import android.car.cluster.ClusterState;
36 import android.car.cluster.IClusterNavigationStateListener;
37 import android.car.cluster.IClusterStateListener;
38 import android.car.cluster.navigation.NavigationState.NavigationStateProto;
53 import com.android.car.cluster.ClusterNavigationService.ContextOwner;
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/cluster/
H A DClusterDisplayController.java17 package com.android.systemui.car.cluster;
19 import static android.car.cluster.ClusterHomeManager.CONFIG_DISPLAY_BOUNDS;
20 import static android.car.cluster.ClusterHomeManager.CONFIG_DISPLAY_ID;
23 import android.car.cluster.ClusterHomeManager;
24 import android.car.cluster.ClusterState;
/aosp12/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
H A DClusterHomeApplication.java17 package com.android.car.cluster.home;
22 import static android.car.cluster.ClusterHomeManager.ClusterStateListener;
23 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_HOME;
24 import static android.car.cluster.ClusterHomeManager.UI_TYPE_CLUSTER_NONE;
39 import android.car.cluster.ClusterActivityState;
40 import android.car.cluster.ClusterHomeManager;
41 import android.car.cluster.ClusterState;
/aosp12/packages/services/Car/service/src/com/android/car/cluster/
H A DInstrumentClusterService.java16 package com.android.car.cluster;
18 import static android.car.cluster.renderer.InstrumentClusterRenderingService.EXTRA_BUNDLE_KEY_FOR_I…
25 import android.car.cluster.IInstrumentClusterManagerCallback;
26 import android.car.cluster.IInstrumentClusterManagerService;
27 import android.car.cluster.renderer.IInstrumentCluster;
28 import android.car.cluster.renderer.IInstrumentClusterHelper;
29 import android.car.cluster.renderer.IInstrumentClusterNavigation;
56 import com.android.car.cluster.ClusterNavigationService.ContextOwner;

12345678