Home
last modified time | relevance | path

Searched refs:isActive (Results 1 – 25 of 26) sorted by relevance

12

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DUiccPortInfoTest.java33 boolean isActive = true; in testFakeUiccSlotInfoObject()
38 isActive /* isActive */ in testFakeUiccSlotInfoObject()
45 assertThat(uiccPortInfo.isActive()).isEqualTo(isActive); in testFakeUiccSlotInfoObject()
DTelephonyManagerTest.java5713 portInfo.isActive())) in getValidSlotIndexAndPort()
6197 portInfo.isActive(); in getUiccSlotInfoTest()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionHandlerTest.java186 return imeSession.isActive(); in testCommitText()
191 if (imeSession.isActive()) { in testCommitText()
253 return imeSession.isActive(); in testCloseConnectionWithRestartInput()
258 if (!imeSession.isActive()) { in testCloseConnectionWithRestartInput()
332 return imeSession.isActive(); in testCloseConnectionWithLosingViewFocus()
337 if (!imeSession.isActive()) { in testCloseConnectionWithLosingViewFocus()
408 return imeSession.isActive(); in testCloseConnectionWithLosingWindowFocus()
413 if (!imeSession.isActive()) { in testCloseConnectionWithLosingWindowFocus()
494 return imeSession.isActive(); in testReportFullscreenMode()
499 if (imeSession.isActive()) { in testReportFullscreenMode()
[all …]
DInputConnectionLifecycleTest.java121 return imeSession.isActive(); in testCloseConnectionWithRestartInput()
126 if (!imeSession.isActive()) { in testCloseConnectionWithRestartInput()
200 return imeSession.isActive(); in testCloseConnectionWithLosingViewFocus()
205 if (!imeSession.isActive()) { in testCloseConnectionWithLosingViewFocus()
277 return imeSession.isActive(); in testCloseConnectionWithLosingWindowFocus()
282 if (!imeSession.isActive()) { in testCloseConnectionWithLosingWindowFocus()
DInputMethodManagerTest.java172 assertTrue(getOnMainSync(() -> mImManager.isActive(focusedEditText))); in testIsActive()
173 assertFalse(getOnMainSync(() -> mImManager.isActive(nonFocusedEditTextRef.get()))); in testIsActive()
DInputConnectionEndToEndTest.java513 return imeSession.isActive(); in testInputConnection()
518 if (imeSession.isActive()) { in testInputConnection()
579 return imeSession.isActive(); in testInputConnection()
584 if (imeSession.isActive()) { in testInputConnection()
DFocusHandlingTest.java909 imm.isActive(); in testOnCheckIsTextEditorRunOnUIThreadWithInputMethodManagerIsActive()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityWindowInfoTest.java88 assertThat(w.isActive()).isFalse(); in testDefaultValues()
128 equality &= w1.isActive() == w2.isActive(); in areWindowsEqual()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowReportingTest.java242 assertThat(activityWindow.isActive()).isFalse(); in moveFocusToAnotherWindow_generatesEventsAndMovesActiveAndFocus()
270 assertThat(activityWindow.isActive()).isTrue(); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
304 assertThat(activityWindow.isActive()).isFalse(); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
307 assertThat(activityWindow.isActive()).isTrue(); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
310 assertThat(activityWindowOnVirtualDisplay.isActive()).isTrue(); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
324 return window.isActive() && window.isFocused(); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
DAccessibilityWindowQueryTest.java257 assertTrue(window.isActive()); in testTraverseAllWindows()
261 assertFalse(window.isActive()); in testTraverseAllWindows()
290 assertTrue(window.isActive()); in testTraverseWindowFromEvent()
/cts/tests/controls/src/android/controls/cts/
DCtsControlTemplateTest.java132 assertFalse(template.isActive()); in testThumbnailTemplate_isActive()
136 assertTrue(template.isActive()); in testThumbnailTemplate_isActive()
/cts/tests/tests/app/src/android/app/cts/
DKeyguardWeakEscrowTokenTest.java100 boolean isActive = mKeyguardManager.isWeakEscrowTokenActive(handle, mTestUser); in testAddWeakEscrowToken_noCredentialSetUp_tokenActivatedImmediately()
104 assertThat(isActive).isTrue(); in testAddWeakEscrowToken_noCredentialSetUp_tokenActivatedImmediately()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DActivityLaunchUtils.java217 if (!window.isActive() || !window.isFocused()) { in isHomeScreenShowing()
307 && (!window.isActive() || !window.isFocused()))) { in launchActivityOnSpecifiedDisplayAndWaitForItToBeOnscreen()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DPlaybackStateTest.java319 assertTrue(activePlaybackState.isActive()); in testIsActive()
325 assertFalse(nonActivePlaybackState.isActive()); in testIsActive()
/cts/tests/tests/systemui/PipTestApp/src/android/systemui/cts/tv/pip/
DPipTestActivity.kt147 mediaSession.isActive = it in <lambda>()
/cts/tests/app/app/src/android/app/stubs/
DCommandReceiver.java604 private void doChangeMediaSessionActiveState(boolean isActive, RemoteCallback callback) { in doChangeMediaSessionActiveState() argument
606 mMediaSession.setActive(isActive); in doChangeMediaSessionActiveState()
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/
DMockA11yImeSession.java286 public boolean isActive() { in isActive() method
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowTest.java431 assertFalse(window.isActive()); in testIsActive()
434 assertTrue(window.isActive()); in testIsActive()
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccManagerTest.java683 if (portInfo.isActive() && TextUtils.isEmpty(portInfo.getIccId())) { in testIsSimPortAvailableWithValidPorts()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSessionTest.java179 assertWithMessage("New session should not be active").that(mSession.isActive()).isFalse(); in testCreateSession()
358 assertThat(mSession.isActive()).isTrue(); in testConfigureSession()
/cts/tests/framework/base/windowmanager/src/android/server/wm/ime/
DMultiDisplayImeTests.java215 imm.isActive(activity.getEditText())); in testImeApiForBug118341760()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockImeSession.java452 public boolean isActive() { in isActive() method in MockImeSession
/cts/tests/tests/car/src/android/car/cts/
DCarAudioManagerTest.java1144 .that(currentZoneConfigInfo.isActive()).isTrue(); in getCurrentAudioZoneConfigInfo_withDynamicDevicesEnabled()
1263 .that(callback.mZoneConfigInfo.isActive()).isTrue(); in switchAudioZoneToConfig_withDynamicDevicesEnabled()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4547 assertTrue(imm.isActive(editText)); in testInputConnection()
4549 imm.isActive(view); in testInputConnection()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt12818 method public boolean isActive();
26667 method public boolean isActive();
26778 method public boolean isActive();
40801 method public boolean isActive();
41723 method public boolean isActive();
46425 method public boolean isActive();
54109 method public final boolean isActive();
55293 method public boolean isActive();
56370 method public boolean isActive(android.view.View);
56371 method public boolean isActive();

12