OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:allowpurging
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/core/java/android/os/
MemoryFile.java
32
* in low memory conditions (only if
allowPurging
is set to true).
151
* @param
allowPurging
true if the operating system can purge the contents
153
* @return previous value of
allowPurging
155
synchronized public boolean
allowPurging
(boolean
allowPurging
) throws IOException {
157
if (oldValue !=
allowPurging
) {
158
native_pin(mFD, !
allowPurging
);
159
mAllowPurging =
allowPurging
;
/cts/tests/tests/os/src/android/os/cts/
MemoryFileTest.java
85
assertFalse(mMemoryFile.
allowPurging
(true));
94
assertTrue(mMemoryFile.
allowPurging
(false));
/frameworks/base/core/tests/coretests/src/android/os/
MemoryFileTest.java
52
newFile.
allowPurging
(true);
229
// Tests that we can't call
allowPurging
() after close()
238
file.
allowPurging
(true);
239
fail("
allowPurging
() after close() did not throw IOException.");
[
all
...]
Completed in 193 milliseconds