Home
last modified time | relevance | path

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

12

/frameworks/base/tests/CompanionDeviceMultiDeviceTests/client/src/android/companion/multidevices/bluetooth/
DBluetoothConnector.kt82 if (!serverThread.isOpen) { in attachServerSocket()
118 var isOpen = false variable
127 isOpen = true in run()
136 } while (isOpen) in run()
143 if (!isOpen || !this::mServerSocket.isInitialized) return in shutdown()
149 isOpen = false in shutdown()
/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.java138 public boolean isOpen() { in isOpen() method in Filter
144 if (!port.isOpen()) { in setInputFrame()
508 if (!outputPort.isOpen()) { in openOutputs()
534 if (!port.isOpen()) { in pushInputFrame()
/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()
448 if (mDatabase != null && mDatabase.isOpen()) { in close()
DSQLiteRawStatement.java232 public boolean isOpen() { in isOpen() method in SQLiteRawStatement
780 if (isOpen()) { in toString()
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/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()
/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/core/tests/coretests/src/android/database/sqlite/
DSQLiteRawStatementTest.java354 assertTrue(s.isOpen()); in testAutoClose()
356 assertFalse(s.isOpen()); in testAutoClose()
368 assertTrue(s.isOpen()); in testAutoClose()
370 assertFalse(s.isOpen()); in testAutoClose()
374 assertFalse(s.isOpen()); in testAutoClose()
383 assertFalse(s.isOpen()); in testAutoClose()
387 assertFalse(s.isOpen()); in testAutoClose()
397 assertFalse(s.isOpen()); in testAutoClose()
407 assertTrue(s.isOpen()); in testMustBeOpen()
409 assertFalse(s.isOpen()); in testMustBeOpen()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShadeDepthController.kt91 private var isOpen: Boolean = false in <lambda>() variable
407 if (!isOpen) { in <lambda>()
408 isOpen = true in <lambda>()
415 isOpen = false in <lambda>()
428 isOpen = false in <lambda>()
/frameworks/base/core/java/android/database/
DDefaultDatabaseErrorHandler.java58 if (!dbObj.isOpen()) { in onCorruption()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/viewmodel/
DCommunalEditModeViewModel.kt194 fun setEditModeOpen(isOpen: Boolean) = communalInteractor.setEditModeOpen(isOpen) in <lambda>()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DOutputPort.java179 boolean isOpen() { in isOpen() method in OutputPort
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java824 if (st.isOpen) { in onConfigurationChanged()
900 if (st.isOpen || isDestroyed()) { in openPanel()
1019 st.isOpen = true; in openPanel()
1056 if ((wm != null) && st.isOpen) { in closePanel()
1072 st.isOpen = false; in closePanel()
1107 if (st.isOpen) { in togglePanel()
1175 if (st != null && !st.isOpen) { in onKeyDownPanel()
1212 if (st.isOpen || st.isHandled) { in onKeyUpPanel()
1216 playSoundEffect = st.isOpen; in onKeyUpPanel()
2399 if (!st.isOpen && st.wasLastOpen) { in openPanelsAfterRestore()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitionAnimationHelper.java181 boolean isOpen = false; in getCustomActivityTransition()
185 isOpen = true; in getCustomActivityTransition()
194 return options.getCustomActivityTransition(isOpen); in getCustomActivityTransition()
/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()

12