Home
last modified time | relevance | path

Searched refs:mOpen (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/img_utils/src/
DFileOutput.cpp24 FileOutput::FileOutput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} in FileOutput()
27 if (mOpen) { in ~FileOutput()
34 if (mOpen) { in open()
43 mOpen = true; in open()
48 if (!mOpen) { in write()
64 if(!mOpen) { in close()
74 mOpen = false; in close()
DFileInput.cpp24 FileInput::FileInput(String8 path) : mFp(NULL), mPath(path), mOpen(false) {} in FileInput()
27 if (mOpen) { in ~FileInput()
35 if (mOpen) { in open()
44 mOpen = true; in open()
49 if (!mOpen) { in read()
70 if(!mOpen) { in close()
80 mOpen = false; in close()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DRemoteInputController.java45 private final ArrayList<Pair<WeakReference<NotificationEntry>, Object>> mOpen field in RemoteInputController
118 mOpen.add(new Pair<>(new WeakReference<>(entry), token)); in addRemoteInput()
206 return !mOpen.isEmpty(); in isRemoteInputActive()
220 for (int i = mOpen.size() - 1; i >= 0; i--) { in pruneWeakThenRemoveAndContains()
221 NotificationEntry item = mOpen.get(i).first.get(); in pruneWeakThenRemoveAndContains()
222 Object itemToken = mOpen.get(i).second; in pruneWeakThenRemoveAndContains()
226 mOpen.remove(i); in pruneWeakThenRemoveAndContains()
230 mOpen.remove(i); in pruneWeakThenRemoveAndContains()
253 if (mOpen.size() == 0) { in closeRemoteInputs()
258 ArrayList<NotificationEntry> list = new ArrayList<>(mOpen.size()); in closeRemoteInputs()
[all …]
/frameworks/base/obex/javax/obex/
DPrivateOutputStream.java50 private boolean mOpen; field in PrivateOutputStream
62 mOpen = true; in PrivateOutputStream()
148 if (!mOpen) { in ensureOpen()
160 mOpen = false; in close()
170 return !mOpen; in isClosed()
DPrivateInputStream.java51 private boolean mOpen; field in PrivateInputStream
61 mOpen = true; in PrivateInputStream()
166 if (!mOpen) { in ensureOpen()
178 mOpen = false; in close()
DClientSession.java52 private boolean mOpen; field in ClientSession
78 mOpen = true; in ClientSession()
94 mOpen = true; in ClientSession()
420 if (!mOpen) { in ensureOpen()
608 mOpen = false; in close()
/frameworks/base/core/java/android/content/res/loader/
DResourcesProvider.java45 private boolean mOpen = true; field in ResourcesProvider
241 if (!mOpen) { in incrementRefCount()
263 if (!mOpen) { in close()
271 mOpen = false; in close()
288 if (mOpen) { in finalize()
289 mOpen = false; in finalize()
/frameworks/av/media/img_utils/include/img_utils/
DFileOutput.h40 bool mOpen; variable
DFileInput.h69 bool mOpen; variable
/frameworks/base/core/java/android/content/res/
DApkAssets.java111 private boolean mOpen = true; field in ApkAssets
415 if (mOpen) { in close()
416 mOpen = false; in close()
DAssetManager.java110 @GuardedBy("this") private boolean mOpen = true; field in AssetManager
277 if (!mOpen) { in close()
281 mOpen = false; in close()
382 if (mOpen) { in getApkAssets()
393 if (mOpen) { in getApkPaths()
518 if (!mOpen) { in ensureOpenLocked()
1338 if (!mOpen) { in isUpToDate()
DXmlBlock.java60 if (mOpen) { in close()
61 mOpen = false; in close()
509 private boolean mOpen = true; field in XmlBlock
DStringBlock.java69 @GuardedBy("this") private boolean mOpen = true; field in StringBlock
182 if (mOpen) { in close()
183 mOpen = false; in close()