Home
last modified time | relevance | path

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

123

/packages/modules/Uwb/framework/java/android/uwb/
DRangingSession.java534 public boolean isOpen() { in isOpen() method in RangingSession
835 if (!isOpen()) { in setDataTransferPhaseConfig()
880 if (!isOpen()) { in queryMaxDataSizeBytes()
909 if (!isOpen()) { in setHybridSessionControllerConfiguration()
938 if (!isOpen()) { in setHybridSessionControleeConfiguration()
1077 if (!isOpen()) { in onRangingResult()
1090 if (!isOpen()) { in onControleeAdded()
1104 if (!isOpen()) { in onControleeAddFailed()
1117 if (!isOpen()) { in onControleeRemoved()
1131 if (!isOpen()) { in onControleeRemoveFailed()
[all …]
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DBottomSheetDialer.java14 private boolean isOpen = false; field in BottomSheetDialer
24 isOpen = true; in onStart()
31 isOpen = false; in dismiss()
37 public boolean isOpen() { in isOpen() method in BottomSheetDialer
38 return isOpen; in isOpen()
DBottomSheetAudioCodecSettings.java21 private boolean isOpen = false; field in BottomSheetAudioCodecSettings
46 isOpen = true; in onStart()
67 isOpen = false; in dismiss()
74 public boolean isOpen() { in isOpen() method in BottomSheetAudioCodecSettings
75 return isOpen; in isOpen()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationInputManagerTest.java98 Mockito.when(mockMediaPicker.isOpen()).thenReturn(true); in testShowHideInputs()
109 Mockito.when(mockMediaPicker.isOpen()).thenReturn(false); in testShowHideInputs()
121 Mockito.when(mockMediaPicker.isOpen()).thenReturn(true); in testShowTwoInputsSequentially()
128 Mockito.when(mockMediaPicker.isOpen()).thenReturn(false); in testShowTwoInputsSequentially()
138 Mockito.when(mockMediaPicker.isOpen()).thenReturn(true); in testOnKeyboardShow()
145 Mockito.when(mockMediaPicker.isOpen()).thenReturn(false); in testOnKeyboardShow()
155 Mockito.when(mockMediaPicker.isOpen()).thenReturn(true); in testRestoreState()
177 Mockito.when(mockMediaPicker.isOpen()).thenReturn(true); in testBackPress()
184 Mockito.when(mockMediaPicker.isOpen()).thenReturn(false); in testBackPress()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayControllerTest.kt91 assertThat(overlay.isOpen).isFalse() in testRequestWindow_closeProxyView_closesOverlay()
110 assertThat(overlay.isOpen).isFalse() in testHideWindow_closesOverlay()
135 assertThat(overlay2.isOpen).isTrue() in testTwoOverlays_closeOne_windowStaysOpen()
168 getInstrumentation().runOnMainSync { assertThat(overlay.isOpen).isFalse() } in testTaskMovedToFront_closesOverlay()
180 getInstrumentation().runOnMainSync { assertThat(overlay.isOpen).isTrue() } in testTaskStackChanged_allAppsClosed_overlayStaysOpen()
192 getInstrumentation().runOnMainSync { assertThat(overlay.isOpen).isFalse() } in testTaskStackChanged_allAppsOpen_closesOverlay()
208 assertThat(overlay.isOpen).isFalse() in testUpdateLauncherDeviceProfile_overlayNotRebindSafe_closesOverlay()
224 assertThat(overlay.isOpen).isTrue() in testUpdateLauncherDeviceProfile_overlayRebindSafe_overlayStaysOpen()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInputManager.java336 mHost.setOptionsMenuVisibility(!mMediaInput.isOpen()); in updateHostOptionsMenu()
380 onVisibilityChanged(isOpen()); in show()
421 return isOpen(); in show()
429 return !isOpen(); in hide()
444 private boolean isOpen() { in isOpen() method in ConversationInputManager.ConversationMediaPicker
445 return (mMediaPicker != null && mMediaPicker.isOpen()); in isOpen()
469 if (isOpen()) { in updateActionBar()
478 if (isOpen() && mMediaPicker.isFullScreen()) { in onNavigationUpPressed()
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachineTest.kt64 isOpen = false, in when_the_action_toggle_is_received_the_page_state_is_updated()
73 isOpen = true, in when_the_action_toggle_is_received_the_page_state_is_updated()
105 isOpen = false, in when_a_menu_action_is_received_then_it_is_forwarded_to_the_MenuController()
132 isOpen = false, in when_a_panel_action_is_received_then_it_is_forwarded_to_the_PanelController()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/
DCustomizationToolStateMachine.kt43 isOpen = false,
49 ToggleUiAction -> state.copy(isOpen = !state.isOpen) in reducer()
DPageState.kt29 val isOpen: Boolean, constant in com.android.car.customization.tool.domain.PageState
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpSession.java63 private final AtomicBoolean isOpen = new AtomicBoolean(true); field in MsrpSession
133 if (!isOpen.get()) { in send()
178 if (isOpen.getAndSet(false)) { in terminate()
197 this.active = session.isOpen; in StreamReader()
/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsControllerTest.kt53 assertThat(allAppsController.isOpen).isTrue() in testToggle_once_showsAllApps()
61 assertThat(allAppsController.isOpen).isFalse() in testToggle_twice_closesAllApps()
69 assertThat(allAppsController.isOpen).isTrue() in testToggle_taskbarRecreated_allAppsReopened()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsController.java141 if (isOpen()) { in toggle()
149 public boolean isOpen() { in isOpen() method in TaskbarAllAppsController
150 return mSlideInView != null && mSlideInView.isOpen(); in isOpen()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java47 public abstract boolean isOpen(); in isOpen() method in DrawerController
193 public boolean isOpen() { in isOpen() method in DrawerController.RuntimeDrawerController
249 public boolean isOpen() { in isOpen() method in DrawerController.StubDrawerController
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java484 assertFalse(session.isOpen()); in testOnRangingResult_OnReportReceivedCalledWhenOpen()
486 assertTrue(session.isOpen()); in testOnRangingResult_OnReportReceivedCalledWhenOpen()
501 assertFalse(session.isOpen()); in testOnRangingResult_OnReportReceivedNotCalledWhenNotOpen()
517 assertFalse(session.isOpen()); in testOnRangingRoundsUpdateDtTag()
534 assertFalse(session.isOpen()); in testOnRangingRoundsUpdateDtTagStatus()
554 assertFalse(session.isOpen()); in testQueryMaxDataSizeBytes()
588 assertFalse(rangingSession.isOpen()); in testSetHybridSessionControllerConfiguration_NotOpenSession_ThrowsException()
675 assertFalse(rangingSession.isOpen()); in testSetHybridSessionControleeConfiguration_WhenSessionNotOpen_ThrowsException()
762 assertFalse(session.isOpen()); in testSetDataTransferPhaseConfig()
784 assertFalse(session.isOpen()); in testPoseUpdate()
[all …]
/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/
DTaskbarHoverToolTipControllerTest.java92 doReturn(false).when(mSpyFolderView).isOpen(); in setup()
182 doReturn(true).when(mSpyFolderView).isOpen(); in onHover_hoverExitFolderOpen_closeToolTip()
197 doReturn(true).when(mSpyFolderView).isOpen(); in onHover_hoverEnterFolderOpen_noToolTip()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DEvsEmulatedCamera.cpp190 if (!mVideo->isOpen()) { in setMaxFramesInFlight()
214 if (!mVideo->isOpen()) { in startVideoStream()
293 if (!mVideo->isOpen()) { in setExtendedInfo()
412 if (!mVideo->isOpen()) { in importExternalBuffers()
481 if (!mVideo->isOpen()) { in doneWithFrame_impl()
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsV4lCamera.cpp119 if (!mVideo.isOpen()) { in setMaxFramesInFlight()
143 if (!mVideo.isOpen()) { in startVideoStream()
280 if (!mVideo.isOpen()) { in setExtendedInfo()
441 if (!mVideo.isOpen()) { in importExternalBuffers()
511 if (!mVideo.isOpen()) { in doneWithFrame_impl()
DVideoCapture.h57 bool isOpen() { return mDeviceFd >= 0; } in isOpen() function
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarEduTooltip.kt81 if (isOpen) { in show()
123 if (!isOpen) { in handleClose()
DTaskbarEduTooltipController.kt90 private val isOpen: Boolean in <lambda>() constant
91 get() = tooltip?.isOpen ?: false in <lambda>()
412 pw?.println("$prefix\tisOpen=$isOpen") in <lambda>()
DTaskbarUIController.java125 || mControllers.taskbarAllAppsController.isOpen()) { in hideOverlayWindow()
158 return mControllers.taskbarAllAppsController.isOpen(); in isTaskbarAllAppsOpen()
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsV4lCamera.cpp117 if (!mVideo.isOpen()) { in setMaxFramesInFlight()
142 if (!mVideo.isOpen()) { in startVideoStream()
384 if (!mVideo.isOpen()) { in importExternalBuffers()
451 if (!mVideo.isOpen()) { in doneWithFrame_impl()
495 if (!mVideo.isOpen()) { in doneWithFrame_impl()
/packages/apps/Launcher3/src/com/android/launcher3/
DAbstractFloatingView.java181 public final boolean isOpen() { in isOpen() method in AbstractFloatingView
261 if (view.isOfType(type) && (!mustBeOpen || view.isOpen())) { in getView()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDrawerController.java45 when(isOpen()).thenReturn(open); in openDrawer()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListPreference.java233 if (mInterfaceState.isOpen(mWordlistId)) { in onBindView()
269 final boolean wasOpen = mInterfaceState.isOpen(mWordlistId); in onWordListClicked()

123