Home
last modified time | relevance | path

Searched refs:isOpen (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DOutputPort.java46 if (mTargetPort != null && !mTargetPort.isOpen()) { in open()
53 if (mTargetPort != null && mTargetPort.isOpen()) { in close()
75 return !isOpen() && isBlocking(); in filterMustClose()
79 return (isOpen() && mTargetPort.acceptsFrame()) || !isBlocking(); in isReady()
DInputPort.java44 if (mSourcePort != null && !mSourcePort.isOpen()) { in open()
50 if (mSourcePort != null && mSourcePort.isOpen()) { in close()
73 return !isOpen() && isBlocking() && !hasFrame(); in filterMustClose()
DFilterPort.java86 public boolean isOpen() { in isOpen() method in FilterPort
113 if (!isOpen()) { in assertPortIsOpen()
DFilter.java140 public boolean isOpen() { in isOpen() method in Filter
146 if (!port.isOpen()) { in setInputFrame()
510 if (!outputPort.isOpen()) { in openOutputs()
536 if (!port.isOpen()) { in pushInputFrame()
DSyncRunner.java193 if (filter.isOpen()) { in determinePostRunState()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java195 if (mDatabase != null && mDatabase.isOpen() && !mDatabase.isReadOnly()) { in setWriteAheadLoggingEnabled()
230 if (mDatabase != null && mDatabase.isOpen()) { in setLookasideConfig()
249 if (mDatabase != null && mDatabase.isOpen()) { in setOpenParams()
287 if (mDatabase != null && mDatabase.isOpen()) { in setIdleConnectionTimeout()
346 if (!mDatabase.isOpen()) { in getDatabaseLocked()
454 if (mDatabase != null && mDatabase.isOpen()) { in close()
DSQLiteCursor.java221 if (!mQuery.getDatabase().isOpen()) { in requery()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java82 boolean isOpen() { in isOpen() method in UsbDeviceConnection
102 if (!isOpen()) { in cancelRequest()
116 if (!isOpen()) { in queueRequest()
130 if (!isOpen()) { in queueRequest()
146 if (isOpen()) { in close()
DUsbRequest.java213 if (connection == null || !connection.isOpen()) { in queueIfConnectionOpen()
287 if (connection == null || !connection.isOpen()) { in queueIfConnectionOpen()
433 if (mNativeContext == 0 || (connection != null && !connection.isOpen())) { in cancelIfOpen()
/frameworks/native/libs/renderengine/gl/
DImageManager.cpp62 barrier->isOpen = true; in cacheAsync()
79 [&]() REQUIRES(barrier->mutex) { return barrier->isOpen; }); in cache()
137 entry.barrier->isOpen = true; in threadMain()
DImageManager.h37 bool isOpen GUARDED_BY(mutex) = false;
/frameworks/av/media/libstagefright/renderfright/gl/
DImageManager.cpp64 barrier->isOpen = true; in cacheAsync()
81 [&]() REQUIRES(barrier->mutex) { return barrier->isOpen; }); in cache()
139 entry.barrier->isOpen = true; in threadMain()
DImageManager.h37 bool isOpen GUARDED_BY(mutex) = false;
/frameworks/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp86 bool isOpen() { in isOpen() function in AAudioMonkey
95 if (!isOpen()) return true; // closed is OK in validate()
129 if (!isOpen()) { in invoke()
178 if (result == AAUDIO_OK && isOpen()) { in invoke()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DMediaSource.java381 if (isOpen()) { in fieldPortValueUpdated()
388 if (isOpen()) { in fieldPortValueUpdated()
395 if (isOpen()) { in fieldPortValueUpdated()
399 if (isOpen()){ in fieldPortValueUpdated()
408 if (isOpen()) { in fieldPortValueUpdated()
422 if (isOpen()) { in pauseVideo()
DCameraSource.java271 if (isOpen()) { in setCameraParameters()
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java116 public boolean isOpen() { in isOpen() method in SensorDirectChannel
123 return isOpen(); in isValid()
/frameworks/base/omapi/java/android/se/omapi/
DChannel.java67 if (isOpen()) { in close()
84 public boolean isOpen() { in isOpen() method in Channel
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt90 private var isOpen: Boolean = false in <lambda>() variable
401 if (!isOpen) { in <lambda>()
402 isOpen = true in <lambda>()
409 isOpen = false in <lambda>()
422 isOpen = false in <lambda>()
/frameworks/base/core/java/android/database/
DDefaultDatabaseErrorHandler.java58 if (!dbObj.isOpen()) { in onCorruption()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java748 if (st.isOpen) { in onConfigurationChanged()
831 if (st.isOpen || isDestroyed()) { in openPanel()
950 st.isOpen = true; in openPanel()
987 if ((wm != null) && st.isOpen) { in closePanel()
1003 st.isOpen = false; in closePanel()
1038 if (st.isOpen) { in togglePanel()
1106 if (st != null && !st.isOpen) { in onKeyDownPanel()
1143 if (st.isOpen || st.isHandled) { in onKeyUpPanel()
1147 playSoundEffect = st.isOpen; in onKeyUpPanel()
2329 if (!st.isOpen && st.wasLastOpen) { in openPanelsAfterRestore()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DOutputPort.java179 boolean isOpen() { in isOpen() method in OutputPort
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java205 if (isOpen()) updateSourceRegion(); in fieldPortValueUpdated()
210 if (isOpen() && mRecordingActive) { in fieldPortValueUpdated()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java959 assertFalse(mDatabase.isOpen()); in testDefaultDatabaseErrorHandler()
972 assertFalse(memoryDb.isOpen()); in testDefaultDatabaseErrorHandler()
983 assertTrue(dbObj.isOpen()); in testDefaultDatabaseErrorHandler()
1003 assertTrue(dbObj.isOpen()); in testDefaultDatabaseErrorHandler()
1030 assertTrue(dbObj.isOpen()); in testDefaultDatabaseErrorHandler()
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp1239 return barrier->isOpen; in TEST_F()
1264 return barrier->isOpen; in TEST_F()
1276 return barrier->isOpen; in TEST_F()
1278 EXPECT_TRUE(barrier->isOpen); in TEST_F()
1291 return barrier->isOpen; in TEST_F()
1301 return barrier->isOpen; in TEST_F()

12