Home
last modified time | relevance | path

Searched refs:subsystems (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/wakeups/
DIrqDeviceMapTest.java66 List<String> subsystems = deviceMap.getSubsystemsForDevice(TEST_DEVICE_1); in simpleXml() local
67 assertThat(subsystems).hasSize(2); in simpleXml()
69 assertThat(subsystems).containsExactly(TEST_SUBSYSTEM_2, TEST_SUBSYSTEM_1); in simpleXml()
71 subsystems = deviceMap.getSubsystemsForDevice(TEST_DEVICE_2); in simpleXml()
72 assertThat(subsystems).hasSize(2); in simpleXml()
74 assertThat(subsystems).containsExactly(TEST_SUBSYSTEM_2, TEST_SUBSYSTEM_3); in simpleXml()
81 List<String> subsystems = deviceMap.getSubsystemsForDevice(TEST_DEVICE_1); in complexXml() local
82 assertThat(CollectionUtils.isEmpty(subsystems)).isTrue(); in complexXml()
84 subsystems = deviceMap.getSubsystemsForDevice(TEST_DEVICE_2); in complexXml()
85 assertThat(subsystems).hasSize(3); in complexXml()
[all …]
DCpuWakeupStatsTest.java115 final int[] subsystems = new int[] { in irqAttributionAllCombinations() local
143 final int total = subsystems.length; in irqAttributionAllCombinations()
163 obj.noteWakingActivity(subsystems[i], wakeupTime + 2, uids[i]); in irqAttributionAllCombinations()
174 assertThat(attribution.contains(subsystems[i])).isFalse(); in irqAttributionAllCombinations()
177 assertThat(attribution.contains(subsystems[i])).isTrue(); in irqAttributionAllCombinations()
178 assertThat(attribution.get(subsystems[i]).get(uids[i])).isEqualTo(procStates[i]); in irqAttributionAllCombinations()
184 assertThat(attribution.get(subsystems[i]).indexOfKey(uids[j])).isLessThan(0); in irqAttributionAllCombinations()
/frameworks/base/services/core/java/com/android/server/power/stats/wakeups/
DIrqDeviceMap.java57 final ArraySet<String> subsystems = new ArraySet<>(); in IrqDeviceMap() local
65 final int n = subsystems.size(); in IrqDeviceMap()
68 Collections.unmodifiableList(new ArrayList<>(subsystems))); in IrqDeviceMap()
70 subsystems.clear(); in IrqDeviceMap()
77 subsystems.add(parser.getText()); in IrqDeviceMap()
DCpuWakeupStats.java249 final SparseBooleanArray subsystems = wakeup.mResponsibleSubsystems; in attemptAttributionFor() local
258 for (int subsystemIdx = 0; subsystemIdx < subsystems.size(); subsystemIdx++) { in attemptAttributionFor()
259 final int subsystem = subsystems.keyAt(subsystemIdx); in attemptAttributionFor()
283 final SparseBooleanArray subsystems = wakeup.mResponsibleSubsystems; in attemptAttributionWith() local
284 if (subsystems.get(subsystem)) { in attemptAttributionWith()
/frameworks/base/core/proto/android/server/
Dpowerstatsservice.proto56 * subsystem. The default subsystems are defined in EnergyConsumerType.aidl.
170 * A list of default subsystems for which energy consumption estimates
/frameworks/proto_logging/stats/atoms/hardware/biometrics/
Dbiometrics_atoms.proto92 // The following is a list of component information for the subsystems that