Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DWakeLock.java42 void acquire(String why); in acquire() argument
48 void release(String why); in release() argument
93 public void acquire(String why) {
94 mActiveClients.putIfAbsent(why, 0);
95 mActiveClients.put(why, mActiveClients.get(why) + 1);
100 public void release(String why) {
101 Integer count = mActiveClients.get(why);
103 Log.wtf(TAG, "Releasing WakeLock with invalid reason: " + why,
106 mActiveClients.remove(why);
108 mActiveClients.put(why, count - 1);
DDelayedWakeLock.java38 public void acquire(String why) { in acquire() argument
39 mInner.acquire(why); in acquire()
43 public void release(String why) { in release() argument
44 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.java116 static String onReasonToString(@OnReason int why) { in onReasonToString() argument
117 switch (why) { in onReasonToString()
125 return Integer.toString(why); in onReasonToString()
146 static String offReasonToString(int why) { in offReasonToString() argument
147 switch (why) { in offReasonToString()
155 return Integer.toString(why); in offReasonToString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DWakeLockFake.java26 public void acquire(String why) { in acquire() argument
31 public void release(String why) { in release() argument
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java172 public static void callJobFinished(int jobId, boolean needsReschedule, String why) { in callJobFinished() argument
175 instance.callJobFinishedInner(jobId, needsReschedule, why); in callJobFinished()
179 public void callJobFinishedInner(int jobId, boolean needsReschedule, String why) { in callJobFinishedInner() argument
186 " why=", why); in callJobFinishedInner()
DSyncManager.java397 private void clearAllBackoffs(String why) { in clearAllBackoffs() argument
399 rescheduleSyncs(EndPoint.USER_ALL_PROVIDER_ALL_ACCOUNTS_ALL, why); in clearAllBackoffs()
1172 private void removeSyncsForAuthority(EndPoint info, String why) { in removeSyncsForAuthority() argument
1173 mLogger.log("removeSyncsForAuthority: ", info, why); in removeSyncsForAuthority()
1179 cancelJob(op, why); in removeSyncsForAuthority()
1187 public void removePeriodicSync(EndPoint target, Bundle extras, String why) { in removePeriodicSync() argument
1189 Pair.create(target, why)); in removePeriodicSync()
1263 String why) { in sendCancelSyncsMessage() argument
1266 mLogger.log("sendCancelSyncsMessage() ep=", info, " why=", why); in sendCancelSyncsMessage()
1348 private void clearBackoffSetting(EndPoint target, String why) { in clearBackoffSetting() argument
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DNotifier.java447 final int why = translateOnReason(mInteractiveChangeReason); in handleEarlyInteractiveChange()
448 mPolicy.startedWakingUp(why); in handleEarlyInteractiveChange()
459 final int why = translateOffReason(mInteractiveChangeReason); in handleEarlyInteractiveChange() local
463 mPolicy.startedGoingToSleep(why); in handleEarlyInteractiveChange()
481 final int why = translateOnReason(mInteractiveChangeReason); in handleLateInteractiveChange() local
487 log.setSubtype(why); in handleLateInteractiveChange()
493 mPolicy.finishedWakingUp(why); in handleLateInteractiveChange()
510 final int why = translateOffReason(mInteractiveChangeReason); in handleLateInteractiveChange() local
516 log.setSubtype(why); in handleLateInteractiveChange()
521 EventLogTags.writePowerScreenState(0, why, 0, 0, interactiveChangeLatency); in handleLateInteractiveChange()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLog.java153 public static void traceScreenOff(int why) { in traceScreenOff() argument
155 log("screenOff why=" + why); in traceScreenOff()
327 public void onFinishedGoingToSleep(int why) {
328 traceScreenOff(why);
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitorCallback.java186 public void onStartedGoingToSleep(int why) { } in onStartedGoingToSleep() argument
197 public void onFinishedGoingToSleep(int why) { } in onFinishedGoingToSleep() argument
DKeyguardMessageArea.java65 public void onFinishedGoingToSleep(int why) {
DKeyguardStatusView.java107 public void onFinishedGoingToSleep(int why) {
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java348 public void onStartedGoingToSleep(int why) { in onStartedGoingToSleep() argument
350 mKeyguardService.onStartedGoingToSleep(why); in onStartedGoingToSleep()
352 mKeyguardState.offReason = why; in onStartedGoingToSleep()
356 public void onFinishedGoingToSleep(int why, boolean cameraGestureTriggered) { in onFinishedGoingToSleep() argument
358 mKeyguardService.onFinishedGoingToSleep(why, cameraGestureTriggered); in onFinishedGoingToSleep()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DShadeController.java108 void wakeUpIfDozing(long time, View view, @NonNull String why); in wakeUpIfDozing() argument
DBiometricUnlockController.java362 public void onStartedGoingToSleep(int why) { in onStartedGoingToSleep() argument
370 public void onFinishedGoingToSleep(int why) { in onFinishedGoingToSleep() argument
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestWindowManagerPolicy.java196 public void startedGoingToSleep(int why) {
200 public void finishedGoingToSleep(int why) {
/frameworks/base/packages/SystemUI/docs/
Dkotlin-in-sysui.md16 you know what they do and why you are using them.
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardViewMediator.java800 public void onStartedGoingToSleep(int why) { in onStartedGoingToSleep() argument
801 if (DEBUG) Log.d(TAG, "onStartedGoingToSleep(" + why + ")"); in onStartedGoingToSleep()
828 } else if ((why == WindowManagerPolicyConstants.OFF_BECAUSE_OF_TIMEOUT && timeout > 0) in onStartedGoingToSleep()
829 … || (why == WindowManagerPolicyConstants.OFF_BECAUSE_OF_USER && !lockImmediately)) { in onStartedGoingToSleep()
840 KeyguardUpdateMonitor.getInstance(mContext).dispatchStartedGoingToSleep(why); in onStartedGoingToSleep()
844 public void onFinishedGoingToSleep(int why, boolean cameraGestureTriggered) { in onFinishedGoingToSleep() argument
845 if (DEBUG) Log.d(TAG, "onFinishedGoingToSleep(" + why + ")"); in onFinishedGoingToSleep()
885 KeyguardUpdateMonitor.getInstance(mContext).dispatchFinishedGoingToSleep(why); in onFinishedGoingToSleep()
/frameworks/base/core/proto/android/os/
Dheader.proto28 // Format a human readable reason why an incident report is requested.
/frameworks/base/lowpan/tests/
DREADME.md48 If you are trying to debug why tests are not doing what you expected, you can add android log
/frameworks/base/wifi/tests/
DREADME.md48 If you are trying to debug why tests are not doing what you expected, you can add android log
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java1095 public void startedGoingToSleep(int why); in startedGoingToSleep() argument
1103 public void finishedGoingToSleep(int why); in finishedGoingToSleep() argument
DPhoneWindowManager.java4429 public void startedGoingToSleep(int why) { in startedGoingToSleep() argument
4432 + WindowManagerPolicyConstants.offReasonToString(why) + ")"); in startedGoingToSleep()
4439 mKeyguardDelegate.onStartedGoingToSleep(why); in startedGoingToSleep()
4445 public void finishedGoingToSleep(int why) { in finishedGoingToSleep() argument
4449 + WindowManagerPolicyConstants.offReasonToString(why) + ")"); in finishedGoingToSleep()
4466 mKeyguardDelegate.onFinishedGoingToSleep(why, in finishedGoingToSleep()
4477 public void startedWakingUp(@OnReason int why) { in startedWakingUp() argument
4481 + WindowManagerPolicyConstants.onReasonToString(why) + ")"); in startedWakingUp()
4503 public void finishedWakingUp(@OnReason int why) { in finishedWakingUp() argument
4506 + WindowManagerPolicyConstants.onReasonToString(why) + ")"); in finishedWakingUp()
/frameworks/opt/net/wifi/tests/wifitests/
DREADME.md38 If you are trying to debug why tests are not doing what you expected, you can add android log
/frameworks/rs/
Dsupport.bp182 // TODO: why isn't this picked up from the host GLOBAL_CFLAGS?

12