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.java34 private final ArrayList<WeakReference<NotificationData.Entry>> mOpen = new ArrayList<>(); field in RemoteInputController
50 mOpen.add(new WeakReference<>(entry)); in addRemoteInput()
97 return !mOpen.isEmpty(); in isRemoteInputActive()
109 for (int i = mOpen.size() - 1; i >= 0; i--) { in pruneWeakThenRemoveAndContains()
110 NotificationData.Entry item = mOpen.get(i).get(); in pruneWeakThenRemoveAndContains()
112 mOpen.remove(i); in pruneWeakThenRemoveAndContains()
134 if (mOpen.size() == 0) { in closeRemoteInputs()
139 ArrayList<NotificationData.Entry> list = new ArrayList<>(mOpen.size()); in closeRemoteInputs()
140 for (int i = mOpen.size() - 1; i >= 0; i--) { in closeRemoteInputs()
141 NotificationData.Entry item = mOpen.get(i).get(); in closeRemoteInputs()
/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/
DFileOutput.h40 bool mOpen; variable
DFileInput.h69 bool mOpen; variable