HomeSort by relevance Sort by last modified time
    Searched full:wakelocks (Results 1 - 25 of 66) sorted by null

1 2 3

  /tools/loganalysis/src/com/android/loganalysis/rule/
WakelockRule.java 52 for (WakelockInfoItem wakelocks : wakelockItem.getWakeLocks()) {
53 if (wakelocks.getHeldTime() > wakelockThreshold) {
54 mOffendingWakelockList.add(wakelocks);
66 analysis.append("No wakelocks were held for more than 10% of time on battery.");
68 for (WakelockInfoItem wakelocks : mOffendingWakelockList) {
69 analysis.append(String.format("%s %s is held for %s. ", wakelocks.getName(),
70 wakelocks.getCategory(),
71 NumberFormattingUtil.getDuration(wakelocks.getHeldTime())));
  /tools/loganalysis/src/com/android/loganalysis/item/
WakelockItem.java 35 public static final String WAKELOCKS = "WAKELOCKS_INFO";
170 LinkedList<WakelockInfoItem> wakeLocks = new LinkedList<WakelockInfoItem>();
172 return wakeLocks;
177 wakeLocks.add(wakeLock);
180 return wakeLocks;
187 LinkedList<WakelockInfoItem> wakeLocks = new LinkedList<WakelockInfoItem>();
190 wakeLocks.add(wakeLock);
192 return wakeLocks;
219 JSONArray wakeLocks = new JSONArray();
221 wakeLocks.put(wakeLock.toJson())
    [all...]
BatteryStatsDetailedInfoItem.java 33 public static final String WAKELOCKS = "WAKELOCKS";
163 batteryStatsComponent.put(WAKELOCKS, mWakelockItem.toJson());
  /tools/loganalysis/tests/src/com/android/loganalysis/item/
WakelockItemTest.java 44 assertTrue(output.has(WakelockItem.WAKELOCKS));
45 assertTrue(output.get(WakelockItem.WAKELOCKS) instanceof JSONArray);
47 JSONArray wakelockInfo = output.getJSONArray(WakelockItem.WAKELOCKS);
  /tools/loganalysis/tests/src/com/android/loganalysis/rule/
WakelockRuleTest.java 57 wakelock.addWakeLock("PowerManagerService.WakeLocks", 310006, 2,
79 wakelock.addWakeLock("PowerManagerService.WakeLocks", 310006, 2,
96 "No wakelocks were held for more than 10% of time on battery.");
106 "No wakelocks were held for more than 10% of time on battery.");
  /system/bt/osi/include/
wakelock.h 25 // This function should be called when native kernel wakelocks are not used
27 // kernel wakelocks will be used.
  /frameworks/base/core/tests/coretests/src/android/os/
PowerManagerTest.java 47 * Confirm that we can create functional wakelocks.
72 * Confirm that we can't create dysfunctional wakelocks.
122 // TODO: Threaded test (needs handler) to make sure timed wakelocks work too
  /frameworks/base/core/java/com/android/internal/os/
KernelWakelockReader.java 28 * Reads and parses wakelock stats from the kernel (/proc/wakelocks).
33 private static final String sWakelockFile = "/proc/wakelocks";
91 Slog.wtf(TAG, "failed to read kernel wakelocks", e);
116 * Reads the wakelocks and updates the staleStats with the new information.
  /system/core/libsuspend/include/suspend/
autosuspend.h 29 * wakelocks/wakeup_sources are held.
  /docs/source.android.com/en/devices/tech/connect/
ril.html 43 <li>Redesigned RIL communication using wakelocks: RIL communication using
44 wakelocks is enhanced to improve device battery performance.</li>
108 <h3 id="wakelocks">Implementing redesigned RIL communication using
109 wakelocks</h3>
111 <h4 id="wakelocks-prob-sum">Problem summary</h4>
113 <p>Timed wakelocks are used in RIL communication in an imprecise way,
126 <p>Follow these steps to implement redesigned wakelocks:</p>
280 <h3 id="validate-wakelocks">Validating redesigned wakelocks</h3>
  /tools/loganalysis/src/com/android/loganalysis/parser/
WakelockParser.java 37 * " Kernel Wake lock PowerManagerService.WakeLocks: 1h 13m 50s 950ms (2858 times) realtime"
66 if (m.matches() && !line.contains("PowerManagerService.WakeLocks")) {
  /frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
WakeUpController.java 25 * A singleton used for controlling and sharing of states/wakelocks
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertWakeLock.java 25 * Manage wakelocks that are used by Cell broadcast receiver various services.
  /sdk/eclipse/
dictionary.txt 349 wakelocks
  /tools/loganalysis/tests/src/com/android/loganalysis/parser/
WakelockParserTest.java 37 " Kernel Wake lock PowerManagerService.WakeLocks: 1h 3m 50s 5ms (8 times) realtime",
110 " lock PowerManagerService.WakeLocks: 1h 3m 50s 5ms (8 times) realtime",
DumpsysBatteryStatsParserTest.java 48 " Kernel Wake lock PowerManagerService.WakeLocks: 1h 3m 50s 5ms (8 times) realtime",
108 " Kernel Wake lock PowerManagerService.WakeLocks: 1h 3m 50s 5ms (8 times) realtime",
BatteryStatsDetailedInfoParserTest.java 39 " Kernel Wake lock PowerManagerService.WakeLocks: 1h 3m 50s 5ms (8 times) realtime",
  /compatibility/cdd/3_software/
3_5_api-behavioral-compatibility.md 42 release the wakelocks the app holds.
  /frameworks/base/core/java/android/os/health/
PidHealthStats.java 36 * Key for a measurement of the current nesting depth of wakelocks for this process.
  /hardware/interfaces/power/1.0/
IPower.hal 39 * kernel may suspend the system whenever no wakelocks are held.
  /system/bt/osi/test/
wakelock_test.cc 145 wakelock_set_os_callouts(NULL); // Make sure we use native wakelocks
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
IdleConstraintTestActivity.java 160 protected Void doInBackground(PowerManager.WakeLock... wakeLocks) {
161 mPartialWakeLock = wakeLocks[0];
  /docs/source.android.com/en/devices/tech/power/
index.html 49 applications simultaneously use a resource (such as wakelocks that prevent the system from
  /packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DialerExecutors.java 111 * any wakelocks, so a long running task could be killed if the device goes to sleep while your task
  /frameworks/base/core/proto/android/service/
power.proto 152 // Summarizes the state of all active wakelocks.
181 // Set of app ids that are temporarily allowed to acquire wakelocks due to

Completed in 395 milliseconds

1 2 3