| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now have the activity manager kill long-running processes
during idle maintanence.
This involved adding some more information to the activity manager
about the current memory state, so that it could know if it really
should bother killing anything. While doing this, I also improved
how we determine when memory is getting low by better ignoring cases
where processes are going away for other reasons (such as now idle
maintenance). We now won't raise our memory state if either a process
is going away because we wanted it gone for another reason or the
total number of processes is not decreasing.
The idle maintanence killing also uses new per-process information
about whether the process has ever gone into the cached state since
the last idle maintenance, and the initial pss and current pss size
over its run time.
Change-Id: Iceaa7ffb2ad2015c33a64133a72a272b56dbad53
|
|
|
|
|
|
|
|
| |
Shell script needs to start with #! for exec().
Bug 10606037
Change-Id: I594da6f0433e838dcf5b45b991188ceaa52d9bd1
|
|
|
|
| |
Change-Id: I30b062e78c7d4de59a5530999e6332ba3053f7c9
|
|
|
|
| |
Change-Id: Id1e1c8c5938ee1a33c6fa3caabd2c28e89243eb4
|
|
|
|
| |
Change-Id: I6a6c4c656d80280eb85f90f99f35721ffca285df
|
|
|
|
| |
Change-Id: Ia750811f08ddebdd5818da211fd03d61b75f8e97
|
|
|
|
|
|
| |
So you can restart the system without being root.
Change-Id: I89770f497833ecbe2b69e3a0cfafae7ef472a9f5
|
|
|
|
| |
Change-Id: I997ca30dc5399b36e13516c4aeadbdf6fa357df7
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ib04badeddf0e9d6ff1b275da34ad259f59c1cbbd
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
System server always forks from Zygote so we no longer need
the system_server executable which was probably broken anyhow.
This makes the initialization sequence slightly more intelligible.
Likewise, we don't need the GrimReaper anymore because init
will automatically take care of restarting the system when the
service manager dies.
Change-Id: I02c88d9392f7c8133d9cde9d0d978da89ed80452
|
|/
|
|
| |
Change-Id: I639ad418750c0e1825b330b3bd56e5628926e7f1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Introduces a new "blocked" state for each package. This is used to temporarily
disable an app via Settings->Restrictions.
PIN creation and challenge activities for use by Settings and other apps. PIN
is stored by the User Manager and it manages the interval for retry attempts
across reboots.
Change-Id: I4915329d1f72399bbcaf93a9ca9c0d2e69d098dd
|
|/
|
|
|
|
| |
s/will/while/ for the --no-window-animation explanation.
Change-Id: Ia068809d385cc4f54f9603a8713a581fd4f59440
|
|
|
|
| |
Change-Id: Ie2861e5e31bb3876cfe2d5c3d04ff58bb3955634
|
|
|
|
|
|
|
|
| |
Adds a platform API, and pm command. Fixes some issues with
dumping per-package data in package manager, makes battery
stats able to dump per-package state.
Change-Id: I76ee6d059f0ba17f7a7061886792b1b716d46d2d
|
|
|
|
|
|
|
|
| |
- Removed IActivityManager.getStacks() since getStackBoxes() is better.
- Made createStacks operate relative to StackBox instead of TaskStack.
- Made resizeStack into resizeStackBox.
Change-Id: I7a0e1f4e34f399b4fd1180c60cc3989f9c2433f3
|
|
|
|
|
|
|
| |
First step in permitting StackBoxes to be manipulated by user.
Necessary for Configuration changes coming down.
Change-Id: I4029926a35e4fdc59a5759fd9e4bae10bb308413
|
|
|
|
|
|
|
|
|
|
|
| |
- Modify Am.java to accept 'stack resize' command.
- Add logging for assigning home stack to non-home task to track down
bug. And maybe fix bug.
- Add template parameter to ArrayList.
Change-Id: Ia73182afc20e9e4430ddadebae034cecb3798eec
|
|
|
|
|
|
| |
Bug: 8935057
This reverts commit b0245edae86b5811ea743c0f4cea095488304b1a.
|
|
|
|
|
|
|
|
|
|
|
| |
- Modify Am.java to accept 'stack resize' command.
- Add logging for assigning home stack to non-home task to track down
bug. And maybe fix bug.
- Add template parameter to ArrayList.
Change-Id: If904c3ead623464ff5863b7241c68c1b7573bcf4
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I4e04e1aa181b3ebe661354edd0b8dbbfd7a623a6
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds an optimization for checking whether a looper is stuck,
with a new Looper method to see if its thread is currently
idle. This will allow us to put a large number of loopers
in the monitor efficiently, since we generally won't have to
do a context switch on each of them (since most looper threads
spend most of their time idle waiting for work).
Also change things so the system process's main thread
is actually running on the main thread. Because Jeff
asked for this, and who am I to argue? :)
Change-Id: I12999e6f9c4b056c22dd652cb78c2453c391061f
|
|/
|
|
| |
Change-Id: I11ee943da23a66828455a9770fc3c5ceb4bbcaa9
|
|\
| |
| |
| | |
Change-Id: I1f4a952d360c48426e22a7772726b6867cc19771
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
jb-mr2-dev
* commit 'd43a71dad80dfca65b0758f4333360516f6ad300':
Help for the debugging help for issue #8734824.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a new "hang" am command that lets you hang the system
process. Useful for testing.
Change-Id: Ice0fc52b49d80e5189f016108b03f9fd549b58a7
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I058e19af8732df44457bdc614ee810a642dc25e4
|
| |\ \
| | |/
| | |
| | |
| | | |
* commit '5b88a2fd7b77880f6e09ae4a1de509bebe28bc3a':
Debugging help for issue #8734824: WATCHDOG KILLING SYSTEM PROCESS
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
IActivityController has a new callback which the Watchdog calls
when it detects that the system process is hung. This may be
use full monkey. All hail the monkey!
Also add a new private feature to Binder to be able to turn off
all incoming dump() calls to a process. The watchdog uses this
when it reports it is hung, so that if someone, say, wants to
collect a bug report at this point they won't get stuck waiting
for things that are all busted.
Change-Id: Ib514d97451cf3b93f29e194c1954e29f948c13b1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Don't work around third party app bugs on the emulator.
(cherry picked from commit fc17dc2548234461eb43ff83539ede4c9893a825)
Change-Id: I35246c447de65ad4649b9aa3eb67194234fd6378
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: I4e3c1e1c5613284c60afc9ce6639624abe08df0d
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I578cb7dd910425ce07fbe56412a4dc2e0c379e65
|
|\ \ \ \
| | |/ /
| |/| |
| | | | |
Change-Id: I319863cf23b2e6eacfa4508f7b111fba7b1cbc24
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Multiple keyevents can now be send from the command line:
input keyevent <key code number or name> ...
Sometimes invoking 'input' repeatedly does not send the events fast
enough, this change solves the problem by allowing multiple key code
number or names be added to the command line.
Change-Id: I0d0f34bddd99e0195c9badff2f8b3e2aa9a51737
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
* commit 'fc8bd4d3f4deece8beee7ce3f7888078dd37c60d':
Don't set ADDR_COMPAT_LAYOUT on the emulator
|
| |\ \ \
| | |/ /
| | | /
| | |/
| |/| |
* commit '35587a0c47c33a8eed7817dc705dbf502f7b5b60':
Don't set ADDR_COMPAT_LAYOUT on the emulator
|
| | |
| | |
| | |
| | |
| | |
| | | |
Don't work around third party app bugs on the emulator.
Change-Id: I4440fcd56b72e3a74881ddec2a469f037a060525
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Add taskId parameter to createStack() so stacks are pre-populated
with a task.
- Keep track of stack access order in DisplayContent so getTasks
returns in MRU order.
- Set touchableRegion in InputMonitor so modal touching does not
extend beyond stack boundary.
- Fix stack merging so that deleting a stack results in a new
stack the size of the two children.
Change-Id: I62a6ba0a34f34dd7ec866b440bf04595379e19e8
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Split stacks and move tasks between them. Layout the windows
according to the new stack split.
After layout content rectangles are known split the available area
between all stack boxes. Then use those values for future layout.
Provide stack contents to ActivityManager.
Change-Id: I9746e6185445633810d506be514d0b7b540a7f99
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | | |
* commit 'a0b28ca74806dcf46300d82ebb689b002bd36955':
Disable tracing from Zygote
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change disables all atrace tracing in Zygote immediately after it is
initialized. This is necessary because Zygote has no way to receive
notifications that the enabled trace tags have been changed. Tracing is
re-enabled when other processes fork from Zygote.
Change-Id: If2983858fb0c4890ba9ab041849b1c4d98f66c13
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '38bfe9eca0134dd5f66dafeeb6fa10558f9f4394':
Add touchnavigation to input debugging command.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 8583760
Change-Id: I9b150133e3d9ca9fe970550f5c0d7c18e6c7b558
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: I64e1cbfb0eee891ce4d1eee40eefdcedcc501f7f
|