Home
last modified time | relevance | path

Searched refs:why (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DWakeLock.java51 void acquire(String why); in acquire() argument
57 void release(String why); in release() argument
126 public void acquire(String why) {
127 mActiveClients.putIfAbsent(why, 0);
128 int count = mActiveClients.get(why) + 1;
129 mActiveClients.put(why, count);
131 logger.logAcquire(inner, why, count);
141 public void release(String why) {
142 Integer count = mActiveClients.get(why);
144 Log.wtf(TAG, "Releasing WakeLock with invalid reason: " + why,
[all …]
DClientTrackingWakeLock.kt37 override fun acquire(why: String) { in <lambda>()
38 val count = activeClients.computeIfAbsent(why) { _ -> AtomicInteger(0) }.incrementAndGet() in <lambda>()
39 logger?.logAcquire(pmWakeLock, why, count) in <lambda>()
47 override fun release(why: String) { in <lambda>()
48 val count = activeClients[why]?.decrementAndGet() ?: -1 in <lambda>()
50 Log.wtf(WakeLock.TAG, "Releasing WakeLock with invalid reason: $why") in <lambda>()
52 activeClients[why]?.incrementAndGet() in <lambda>()
56 logger?.logRelease(pmWakeLock, why, count) in <lambda>()
DDelayedWakeLock.java53 public void acquire(String why) { in acquire() argument
54 mInner.acquire(why); in acquire()
58 public void release(String why) { in release() argument
59 mHandler.postDelayed(() -> mInner.release(why), RELEASE_DELAY_MS); in release()
DSettableWakeLock.java28 public SettableWakeLock(WakeLock inner, String why) { in SettableWakeLock() argument
32 mWhy = why; in SettableWakeLock()
/frameworks/base/core/java/android/view/
DWindowManagerPolicyConstants.java153 static String onReasonToString(@OnReason int why) { in onReasonToString() argument
154 switch (why) { in onReasonToString()
162 return Integer.toString(why); in onReasonToString()
203 static String offReasonToString(int why) { in offReasonToString() argument
204 switch (why) { in offReasonToString()
212 return Integer.toString(why); in offReasonToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/
DPowerInteractor.kt90 fun wakeUpIfDozing(why: String, @PowerManager.WakeReason wakeReason: Int) { in <lambda>()
94 repository.wakeUp(why, wakeReason) in <lambda>()
105 repository.wakeUp(why = FSI_WAKE_WHY, wakeReason = PowerManager.WAKE_REASON_APPLICATION) in <lambda>()
116 fun wakeUpIfDreaming(why: String, @PowerManager.WakeReason wakeReason: Int) { in <lambda>()
118 repository.wakeUp(why, wakeReason) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/wakelock/
DWakeLockFake.java28 public void acquire(String why) { in acquire() argument
33 public void release(String why) { in release() argument
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java174 public static void callJobFinished(int jobId, boolean needsReschedule, String why) { in callJobFinished() argument
177 instance.callJobFinishedInner(jobId, needsReschedule, why); in callJobFinished()
181 public void callJobFinishedInner(int jobId, boolean needsReschedule, String why) { in callJobFinishedInner() argument
188 " why=", why); in callJobFinishedInner()
DSyncManager.java386 private void clearAllBackoffs(String why) { in clearAllBackoffs() argument
388 rescheduleSyncs(EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL, why); in clearAllBackoffs()
1322 private void removeSyncsForAuthority(EndPoint info, String why) { in removeSyncsForAuthority() argument
1323 mLogger.log("removeSyncsForAuthority: ", info, why); in removeSyncsForAuthority()
1329 cancelJob(op, why); in removeSyncsForAuthority()
1337 public void removePeriodicSync(EndPoint target, Bundle extras, String why) { in removePeriodicSync() argument
1339 Pair.create(target, why)); in removePeriodicSync()
1447 String why) { in sendCancelSyncsMessage() argument
1450 mLogger.log("sendCancelSyncsMessage() ep=", info, " why=", why); in sendCancelSyncsMessage()
1532 private void clearBackoffSetting(EndPoint target, String why) { in clearBackoffSetting() argument
[all …]
/frameworks/base/core/java/android/app/timedetector/
DTimeDetector.java136 static ManualTimeSuggestion createManualTimeSuggestion(long when, String why) { in createManualTimeSuggestion() argument
139 manualTimeSuggestion.addDebugInfo(why); in createManualTimeSuggestion()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/data/repository/
DPowerRepository.kt68 fun wakeUp(why: String, @PowerManager.WakeReason wakeReason: Int) in wakeUp()
152 override fun wakeUp(why: String, wakeReason: Int) { in wakeUp()
156 "${applicationContext.packageName}:$why", in wakeUp()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/power/data/repository/
DFakePowerRepository.kt53 override fun wakeUp(why: String, @PowerManager.WakeReason wakeReason: Int) { in wakeUp()
54 lastWakeWhy = why in wakeUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitorCallback.java162 public void onStartedGoingToSleep(int why) { } in onStartedGoingToSleep() argument
173 public void onFinishedGoingToSleep(int why) { } in onFinishedGoingToSleep() argument
DKeyguardMessageAreaController.java92 public void onFinishedGoingToSleep(int why) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java190 public void traceScreenOff(int why) { in traceScreenOff() argument
191 mLogger.logScreenOff(why); in traceScreenOff()
499 public void onFinishedGoingToSleep(int why) {
500 traceScreenOff(why);
DDozeLogger.kt131 fun logScreenOff(why: Int) { in logScreenOff()
133 int1 = why in logScreenOff()
/frameworks/base/data/keyboards/
DVendor_0957_Product_0034.idc21 # The reason why we set is follow https://docs.partner.android.com/tv/build/gtv/boot-resume
/frameworks/base/packages/SystemUI/docs/
Dkotlin-in-sysui.md16 you know what they do and why you are using them.
/frameworks/base/wifi/tests/
DREADME.md30 If you are trying to debug why tests are not doing what you expected, you can add android log
/frameworks/base/core/proto/android/os/
Dheader.proto28 // Format a human readable reason why an incident report is requested.
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DSessionTracker.java152 public void onStartedGoingToSleep(int why) {
/frameworks/native/services/inputflinger/docs/
Dinput_coordinates.md3 This document aims to illustrate why we need to take care when converting
/frameworks/proto_logging/stats/atoms/wear/connectivity/
Dwear_connectivity_extension_atoms.proto78 * additional information to understand why the connection update happened.
/frameworks/base/ravenwood/
DAndroid.bp206 // on physical devices, which is why this is a separate library
/frameworks/opt/net/ims/
DREADME.txt74 It enables an application to get details on why a method call failed.

12