summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am 03c0adab: am 6a99ff0a: am 3a4aedfc: Merge "sdcard: Properly handle ↵Elliott Hughes2015-04-041-1/+19
|\ | | | | | | | | | | | | deleted nodes" * commit '03c0adab88fcb91393f934f213f953c1f23762d5': sdcard: Properly handle deleted nodes
| * am 6a99ff0a: am 3a4aedfc: Merge "sdcard: Properly handle deleted nodes"Elliott Hughes2015-04-041-1/+19
| |\ | | | | | | | | | | | | * commit '6a99ff0adfa8949cce11cd47142a3d550421904e': sdcard: Properly handle deleted nodes
| | * am 3a4aedfc: Merge "sdcard: Properly handle deleted nodes"Elliott Hughes2015-04-041-1/+19
| | |\ | | | | | | | | | | | | | | | | * commit '3a4aedfcd3354b903aa48a836cb55ee01db9f896': sdcard: Properly handle deleted nodes
| | | * Merge "sdcard: Properly handle deleted nodes"Elliott Hughes2015-04-041-1/+19
| | | |\
| | | | * sdcard: Properly handle deleted nodesKrzysztof Adamski2015-02-201-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sdcard fuse deamon is not properly handling deleted nodes that are still in use (opened by some process). Typically Linux filesystems makes it possible to open a file, unlink it and then still use it. In case of a storage emulated by sdcard deamon this does not work as expected - other process are not able to recreate file/dir with the same name until all references to deleted file are closed. The easiest way to trigger this problem is: process1: mkdir /sdcard/test1; cd /sdcard/test1 process2: rm -r /sdcard/test1 process2: mkdir /sdcard/test1 After that, process2 will get an error: mkdir failed for /sdcard/test1, Device or resource busy There is exactly the same problem with files as directories. This may case issues for example with directories that are automatically recreated when they are missing (like DCIM directory). If some process holds file opened inside of such directory but that directory is removed, process trying to recreate the directory will get EBUSY error and possibly crash. Verified on the Z Ultra GPE. Change-Id: I1cbf0bec135e6aaafba0ce8e5bb594e3639e0007
* | | | | am b21bd772: am a62eac5c: am 50f192fa: Merge "Fix "adb devices -l"."Elliott Hughes2015-04-041-17/+14
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'b21bd7729137d5c2894b4425609d07f48f36d460': Fix "adb devices -l".
| * | | | am a62eac5c: am 50f192fa: Merge "Fix "adb devices -l"."Elliott Hughes2015-04-031-17/+14
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'a62eac5ca034f8366eefabe9f3225e7f06280e3b': Fix "adb devices -l".
| | * | | am 50f192fa: Merge "Fix "adb devices -l"."Elliott Hughes2015-04-031-17/+14
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '50f192fafa7af2929c663a37dc4dc56610c07b41': Fix "adb devices -l".
| | | * | Merge "Fix "adb devices -l"."Elliott Hughes2015-04-031-17/+14
| | | |\ \
| | | | * | Fix "adb devices -l".Elliott Hughes2015-04-031-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change 055f1aa4ff58ba71133d506b202ad46612758ded switched to using isalnum(3) but didn't take into account that isalnum has the opposite sense to the function it replaced, so the tests should have been inverted. Bug: http://b/20056546 Change-Id: I90630c0bea69ddbb4a95dc09f79f49d23fd497de
* | | | | | am 01630493: am de0e80d2: am f78ff16a: Merge "Support arbitrary loggers."Dan Albert2015-04-034-66/+128
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '0163049399f805dd73a6161c51f47be40709fce7': Support arbitrary loggers.
| * | | | | am de0e80d2: am f78ff16a: Merge "Support arbitrary loggers."Dan Albert2015-04-034-66/+128
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit 'de0e80d20de68469f445d9c425f3e351048be7ea': Support arbitrary loggers.
| | * | | | am f78ff16a: Merge "Support arbitrary loggers."Dan Albert2015-04-034-66/+128
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit 'f78ff16aeed0e997124dff594f1ddc193741a7b3': Support arbitrary loggers.
| | | * | | Merge "Support arbitrary loggers."Dan Albert2015-04-034-66/+128
| | | |\ \ \ | | | | |/ / | | | |/| |
| | | | * | Support arbitrary loggers.Dan Albert2015-04-034-66/+128
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While the defaults (logd or stderr) make sense for most use cases, there are places that can only log to the kernel, or need to log to a file, etc. Allow the user to pass in an arbitrary logging object, and provide LogdLogger and StderrLogger as defaults. Change-Id: I62368acc795ff313242bb205d65017404bf64e88
* | | | | am 6c7c6d04: am 7c194525: am ea975880: Merge "Only Windows doesn\'t have %zd."Elliott Hughes2015-04-031-5/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '6c7c6d0420ca837b81927b2f7c08cd9d92533043': Only Windows doesn't have %zd.
| * | | | am 7c194525: am ea975880: Merge "Only Windows doesn\'t have %zd."Elliott Hughes2015-04-031-5/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '7c1945254ea3ae6ddb7fafb7d1a03b347ec76c91': Only Windows doesn't have %zd.
| | * | | am ea975880: Merge "Only Windows doesn\'t have %zd."Elliott Hughes2015-04-031-5/+5
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'ea975880112c27293800ede36e0323ff2a7b9322': Only Windows doesn't have %zd.
| | | * | Merge "Only Windows doesn't have %zd."Elliott Hughes2015-04-031-5/+5
| | | |\ \
| | | | * | Only Windows doesn't have %zd.Elliott Hughes2015-04-031-5/+5
| | | |/ / | | | | | | | | | | | | | | | Change-Id: Ie09619df212cf7c8aa18a6d46c3e6b6ca3f478cf
* | | | | am 68a4dbda: am f1c534b7: am eb560133: Merge "Share log writing code."Dan Albert2015-04-032-72/+12
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '68a4dbdab7ffcc8b01f406e1bdbb5984115e1fae': Share log writing code.
| * | | | am f1c534b7: am eb560133: Merge "Share log writing code."Dan Albert2015-04-032-72/+12
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'f1c534b7d74e0b339c903732bf1b86506f20845a': Share log writing code.
| | * | | am eb560133: Merge "Share log writing code."Dan Albert2015-04-032-72/+12
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'eb56013348668a292fb7302e34752a2b9cbcb834': Share log writing code.
| | | * | Merge "Share log writing code."Dan Albert2015-04-032-72/+12
| | | |\ \
| | | | * | Share log writing code.Dan Albert2015-04-032-72/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __android_log_write() was just a special form of __android_log_buf_write that used a default log ID and set the abort message for fatal messages. Presumably the latter was intended to be set for __android_log_buf_write as well. Change-Id: I51cff7561a2754676b2088d95fa4f4505ac3c3c2
* | | | | | am 59193bc3: am 199ef0a6: am 87eca3cb: Merge "Support logging to other log ↵Dan Albert2015-04-032-34/+66
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffers." * commit '59193bc3a70987f025e6056f7c6048980ead4da6': Support logging to other log buffers.
| * | | | | am 199ef0a6: am 87eca3cb: Merge "Support logging to other log buffers."Dan Albert2015-04-032-34/+66
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '199ef0a6983ac99fd2773b2efaeda0455a23a214': Support logging to other log buffers.
| | * | | | am 87eca3cb: Merge "Support logging to other log buffers."Dan Albert2015-04-032-34/+66
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit '87eca3cb4b1593d36945aad90cb179c4c5c906be': Support logging to other log buffers.
| | | * | | Merge "Support logging to other log buffers."Dan Albert2015-04-032-34/+66
| | | |\ \ \
| | | | * | | Support logging to other log buffers.Dan Albert2015-04-032-34/+66
| | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LOGTO(dest, severity) and PLOGTO(dest, severity) log to other log buffers. For example, `LOGTO(SYSTEM, FATAL) << "Foobar";`. Change-Id: Id1ca1c8fdae72d69b73945ae9b006525d0be1582
* | | | | | am 87044e66: am 5a50b16e: am 8ea5dd8c: Merge "Remove ↵Dan Albert2015-04-032-48/+0
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LogMessage::LogLineLowStack." * commit '87044e667e0a0f7fbbb893742c441209072096a0': Remove LogMessage::LogLineLowStack.
| * | | | | am 5a50b16e: am 8ea5dd8c: Merge "Remove LogMessage::LogLineLowStack."Dan Albert2015-04-032-48/+0
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '5a50b16e38800e973a1afc5812983d06e8b9b7ef': Remove LogMessage::LogLineLowStack.
| | * | | | am 8ea5dd8c: Merge "Remove LogMessage::LogLineLowStack."Dan Albert2015-04-032-48/+0
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit '8ea5dd8c6e14e889e917a7e51a1b62bd49ca1dab': Remove LogMessage::LogLineLowStack.
| | | * | | Merge "Remove LogMessage::LogLineLowStack."Dan Albert2015-04-032-48/+0
| | | |\ \ \
| | | | * | | Remove LogMessage::LogLineLowStack.Dan Albert2015-04-022-48/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was ported over from ART, but even they only use it in a single place. Change-Id: Ia34dc54b56c764ede79b2957bf3dc8df0f1323ee
* | | | | | | am 419c4fbe: am 90e737a4: am cc71951a: Merge "Don\'t show lint errors for ↵Dan Albert2015-04-031-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rvalue references." * commit '419c4fbe6ae971e9a99b2ee836dea8491593767e': Don't show lint errors for rvalue references.
| * | | | | | am 90e737a4: am cc71951a: Merge "Don\'t show lint errors for rvalue references."Dan Albert2015-04-031-1/+1
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '90e737a48468cf1e87af8c4ef321937aa4940fea': Don't show lint errors for rvalue references.
| | * | | | | am cc71951a: Merge "Don\'t show lint errors for rvalue references."Dan Albert2015-04-031-1/+1
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | * commit 'cc71951a8a6ffac2bd70d99fe25860f7bb71c5ec': Don't show lint errors for rvalue references.
| | | * | | | Merge "Don't show lint errors for rvalue references."Dan Albert2015-04-031-1/+1
| | | |\ \ \ \
| | | | * | | | Don't show lint errors for rvalue references.Dan Albert2015-04-021-1/+1
| | | | | |/ / | | | | |/| | | | | | | | | | | | | | | | Change-Id: Ic936c9e3778303d1d26813b844ccd3bb26701550
* | | | | | | am 63ef8e28: am 741b89dd: am 691b44f5: Merge "Lose umount to toybox."Elliott Hughes2015-04-032-91/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | * commit '63ef8e28c702abd46f22709fe61c96afeda8c00a': Lose umount to toybox.
| * | | | | | am 741b89dd: am 691b44f5: Merge "Lose umount to toybox."Elliott Hughes2015-04-032-91/+0
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | * commit '741b89ddfd56c52c9a8ae1549dff686fe679500f': Lose umount to toybox.
| | * | | | | am 691b44f5: Merge "Lose umount to toybox."Elliott Hughes2015-04-032-91/+0
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | * commit '691b44f55f8046c1464c31961182d8ff647697e2': Lose umount to toybox.
| | | * | | | Merge "Lose umount to toybox."Elliott Hughes2015-04-032-91/+0
| | | |\ \ \ \
| | | | * | | | Lose umount to toybox.Elliott Hughes2015-04-022-91/+0
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: Ide35731c37d70ccb38a5e84b7310434ce6c3aa6e
* | | | | | | am cd868370: am b2c3473d: am 70df6f85: Merge "Just use snprintf for ↵Elliott Hughes2015-04-031-19/+9
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | android_get_control_socket." * commit 'cd8683709c2d1bcac7e3b9de827a2dfc8f24bf09': Just use snprintf for android_get_control_socket.
| * | | | | | am b2c3473d: am 70df6f85: Merge "Just use snprintf for ↵Elliott Hughes2015-04-031-19/+9
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | android_get_control_socket." * commit 'b2c3473d35d2fb8ea7bec9de290f7add979e5474': Just use snprintf for android_get_control_socket.
| | * | | | | am 70df6f85: Merge "Just use snprintf for android_get_control_socket."Elliott Hughes2015-04-031-19/+9
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | * commit '70df6f85fe8164010be3e4e1cf87e1dd31fb7614': Just use snprintf for android_get_control_socket.
| | | * | | | Merge "Just use snprintf for android_get_control_socket."Elliott Hughes2015-04-031-19/+9
| | | |\ \ \ \ | | | | |_|/ / | | | |/| | |
| | | | * | | Just use snprintf for android_get_control_socket.Elliott Hughes2015-04-021-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3d0da03847f79c9f9b2cfd7189a07f63b17fc4a2