summaryrefslogtreecommitdiffstats
path: root/core/jni/android_os_FileUtils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More native code cleanup.Elliott Hughes2011-04-121-16/+11
| | | | | | | | Don't keep unused global references to classes, don't throw exceptions when an exception is already pending, and fix a (harmless) misunderstanding about how GetStringChars works. Change-Id: Ie445036f057daa8a1c76aceb7bad2a84fb81d820
* Eliminate an assignment of a local reference to a global variable.Carl Shapiro2011-03-031-16/+15
| | | | Change-Id: I8850685698d228658387afe6145e42ade0458e74
* Add MODE_MULTI_PROCESS flag to Context.getSharedPreferences()Brad Fitzpatrick2010-12-141-2/+1
| | | | | | | | | | | | | | | | | | | | Also, changes to make this testable with CTS: -- special PENALTY_DEATH StrictMode fast path that doesn't use the Looper idling to "time" the violation. Only used when death is the only violation, -- make PENALTY_DEATH throw a RuntimeException instead of killing its process with a signal. this means we can catch it in CTS tests, but it's also more consistent with PENALTY_NETWORK_DEATH in Honeycomb. -- make FileUtils.getFileStatus() invoke StrictMode, which isn't (yet?) aware of I/O in native code. so help it out. CTS test for MODE_MULTI_PROCESS is in I6154edab Change-Id: Icf93f9dfb0ece06b16781e4803dd2c17df3cf1b3
* Set umask of system server to 0077Mike Lockwood2010-08-061-0/+6
| | | | | | | | | This matches the previous behavior of java.io.File file and directory creation. BUG: 2898660 Change-Id: Ie8978a3fc44abfd22f8046e66742e715354220a8 Signed-off-by: Mike Lockwood <lockwood@android.com>
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+208
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-208/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+208