Home
last modified time | relevance | path

Searched refs:getMode (Results 1 – 25 of 29) sorted by relevance

12

/cts/tests/tests/permission/src/android/permission/cts/
DNoAudioPermissionTest.java48 int originalMode = mAudioManager.getMode(); in testSetMicrophoneMute()
60 assertEquals(originalMode, mAudioManager.getMode()); in testSetMicrophoneMute()
63 assertEquals(originalMode, mAudioManager.getMode()); in testSetMicrophoneMute()
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DAirplaneModeTest.java58 mode = getMode(); in testAll()
97 int mode = getMode(); in runTest()
104 private int getMode() throws Settings.SettingNotFoundException { in getMode() method in AirplaneModeTest
DZenModeTest.java62 mode = getMode(); in testAll()
99 int mode = getMode(); in runTest()
115 private int getMode() throws Settings.SettingNotFoundException { in getMode() method in ZenModeTest
/cts/tests/tests/view/src/android/view/cts/
DView_MeasureSpecTest.java76 View.MeasureSpec.getMode(mUnspecifiedMeasureSpec)); in testGetMode()
78 View.MeasureSpec.getMode(mExactlyMeasureSpec)); in testGetMode()
80 View.MeasureSpec.getMode(mAtMostMeasureSpec)); in testGetMode()
/cts/tests/tests/net/src/android/net/rtp/cts/
DAudioGroupTest.java124 assertEquals(mGroup.getMode(), AudioGroup.MODE_NORMAL); in testSetMode()
127 assertEquals(mGroup.getMode(), AudioGroup.MODE_MUTED); in testSetMode()
133 assertEquals(mGroup.getMode(), AudioGroup.MODE_NORMAL); in testSetMode()
136 assertEquals(mGroup.getMode(), AudioGroup.MODE_MUTED); in testSetMode()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DAdvertiseSettingsTest.java32 assertEquals(AdvertiseSettings.ADVERTISE_MODE_LOW_POWER, settings.getMode()); in testDefaultSettings()
57 assertEquals(AdvertiseSettings.ADVERTISE_MODE_LOW_LATENCY, settingsFromParcel.getMode()); in testReadWriteParcel()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/display/
DDisplayModesTestActivity.java129 display.getMode(); in runTestAsync()
168 .that(display.getMode()) in runTest()
230 .that(display.getMode()) in runTest()
/cts/tests/JobScheduler/src/android/jobscheduler/
DTriggerContentJobService.java77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob()
146 public int getMode() { in getMode() method in TriggerContentJobService.TestEnvironment
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DTriggerContentJobService.java77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob()
146 public int getMode() { in getMode() method in TriggerContentJobService.TestEnvironment
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java131 assertEquals(mSubtypeMode, mInputMethodSubtype.getMode()); in testInputMethodSubtypeProperties()
219 assertEquals(mInputMethodSubtype.getMode(), subtype.getMode()); in testInputMethodSubtypeWriteToParcel()
DInputMethodManagerTest.java155 if (!TextUtils.isEmpty(subtype.getMode())) { in dumpInputMethodInfoList()
156 sb.append(",mode=").append(subtype.getMode()); in dumpInputMethodInfoList()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java159 assertEquals(DialerFilter.DIGITS_AND_LETTERS_NO_LETTERS, mDialerFilter.getMode()); in testAccessMode()
162 assertEquals(DialerFilter.DIGITS_AND_LETTERS, mDialerFilter.getMode()); in testAccessMode()
165 assertEquals(-1, mDialerFilter.getMode()); in testAccessMode()
269 assertEquals(DialerFilter.DIGITS_AND_LETTERS, mDialerFilter.getMode()); in testClearText()
DImageViewTest.java574 assertEquals(Mode.SRC_ATOP, imageViewPorterDuffFilter.getMode()); in testImageViewSetColorFilterPropagatedToDrawable()
581 assertEquals(PorterDuff.Mode.SRC_ATOP, porterDuffColorFilter.getMode()); in testImageViewSetColorFilterPropagatedToDrawable()
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java179 int audioMode = mAudioManager.getMode(); in testSetMode()
181 assertEquals(audioMode, mAudioManager.getMode()); in testSetMode()
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java304 Display.Mode mode = display.getMode();
326 Display.Mode mode = display.getMode();
366 assertEquals(newMode, display.getMode());
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java149 return audioManager.getMode(); in testVoipAudioModePropagation()
166 return audioManager.getMode(); in testVoipAudioModePropagation()
DSelfManagedConnectionServiceTest.java748 return am.getMode(); in verifyAudioMode()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionInflaterTest.java118 assertEquals(Fade.OUT, fade.getMode()); in verifyFadeProperties()
136 assertEquals(Visibility.MODE_IN, visibility.getMode()); in verifyExplodeProperties()
DVisibilityTest.java61 assertEquals(Visibility.MODE_IN | Visibility.MODE_OUT, mVisibilityTransition.getMode()); in testMode()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DBlendModeColorFilterTest.java113 assertEquals(BlendMode.SOFT_LIGHT, filter.getMode()); in testBlendModeColorFilterGetMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java301 int originalMode = am.getMode(); in startTest()
304 if (am.getMode() != targetMode) { in startTest()
/cts/tests/tests/content/src/android/content/pm/cts/
DInstallSessionParamsUnitTest.java245 assertThat(info.getMode()).isEqualTo(mode.get()); in checkSessionParams()
/cts/tests/tests/media/src/android/media/cts/
DAudioManagerTest.java358 assertEquals(MODE_RINGTONE, mAudioManager.getMode()); in testAccessMode()
360 assertEquals(MODE_IN_COMMUNICATION, mAudioManager.getMode()); in testAccessMode()
362 assertEquals(MODE_NORMAL, mAudioManager.getMode()); in testAccessMode()
DRoutingTest.java202 assertEquals(AudioManager.MODE_IN_COMMUNICATION, mAudioManager.getMode()); in getTelephonyDeviceAndSetInCommunicationMode()
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DUidAtomTests.java848 event.getAtom().getWifiLockStateChanged().getMode()); in testWifiLockHighPerf()
878 event.getAtom().getWifiLockStateChanged().getMode()); in testWifiLockLowLatency()

12