Home
last modified time | relevance | path

Searched refs:mOpen (Results 1 – 10 of 10) 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.java36 private final ArrayList<Pair<WeakReference<NotificationData.Entry>, Object>> mOpen field in RemoteInputController
60 mOpen.add(new Pair<>(new WeakReference<>(entry), token)); in addRemoteInput()
138 return !mOpen.isEmpty(); in isRemoteInputActive()
152 for (int i = mOpen.size() - 1; i >= 0; i--) { in pruneWeakThenRemoveAndContains()
153 NotificationData.Entry item = mOpen.get(i).first.get(); in pruneWeakThenRemoveAndContains()
154 Object itemToken = mOpen.get(i).second; in pruneWeakThenRemoveAndContains()
158 mOpen.remove(i); in pruneWeakThenRemoveAndContains()
162 mOpen.remove(i); in pruneWeakThenRemoveAndContains()
185 if (mOpen.size() == 0) { in closeRemoteInputs()
190 ArrayList<NotificationData.Entry> 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/
DAssetManager.java83 private boolean mOpen = true; field in AssetManager
143 if (mOpen) { in close()
144 mOpen = false; in close()
344 if (!mOpen) { in open()
360 if (!mOpen) { in openFd()
436 if (!mOpen) { in openNonAsset()
457 if (!mOpen) { in openNonAssetFd()
516 if (!mOpen) { in openXmlBlockAsset()
537 if (!mOpen) { in createTheme()
DXmlBlock.java51 if (mOpen) { in close()
52 mOpen = false; in close()
488 private boolean mOpen = true; field in XmlBlock
/frameworks/av/media/img_utils/include/img_utils/
DFileInput.h69 bool mOpen; variable
DFileOutput.h40 bool mOpen; variable