Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/
DWatchdog.java265 public void setAllowRestart(boolean allowRestart) { in setAllowRestart() argument
267 mAllowRestart = allowRestart; in setAllowRestart()
339 final boolean allowRestart; in run()
387 allowRestart = mAllowRestart; in run()
459 } else if (!allowRestart) { in run()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java1376 boolean allowRestart = false; in runHang()
1379 allowRestart = true; in runHang()
1387 mAm.hang(new Binder(), allowRestart); in runHang()
/frameworks/base/services/java/com/android/server/am/
DActiveServices.java2002 final void killServicesLocked(ProcessRecord app, boolean allowRestart) { in killServicesLocked() argument
2088 if (allowRestart && sr.crashCount >= 2 && (sr.serviceInfo.applicationInfo.flags in killServicesLocked()
2095 } else if (!allowRestart) { in killServicesLocked()
2119 if (!allowRestart) { in killServicesLocked()
DActivityManagerService.java3605 boolean restarting, boolean allowRestart) { in handleAppDiedLocked() argument
3606 cleanUpApplicationRecordLocked(app, restarting, allowRestart, -1); in handleAppDiedLocked()
4525 int userId, int minOomAdj, boolean callerWillRestart, boolean allowRestart, in killPackageProcessesLocked() argument
4590 removeProcessLocked(procs.get(i), callerWillRestart, allowRestart, reason); in killPackageProcessesLocked() local
4759 boolean callerWillRestart, boolean allowRestart, String reason) { in removeProcessLocked() argument
4781 handleAppDiedLocked(app, true, allowRestart); in removeProcessLocked()
8931 public void hang(final IBinder who, boolean allowRestart) {
8955 Watchdog.getInstance().setAllowRestart(allowRestart);
12393 boolean restarting, boolean allowRestart, int index) { in cleanUpApplicationRecordLocked() argument
12427 mServices.killServicesLocked(app, allowRestart); in cleanUpApplicationRecordLocked()
[all …]
/frameworks/base/core/java/android/app/
DIActivityManager.java403 public void hang(IBinder who, boolean allowRestart) throws RemoteException; in hang() argument
DActivityManagerNative.java1996 boolean allowRestart = data.readInt() != 0; in onTransact()
1997 hang(who, allowRestart); in onTransact()
4609 public void hang(IBinder who, boolean allowRestart) throws RemoteException { in hang() argument
4614 data.writeInt(allowRestart ? 1 : 0); in hang()