Home
last modified time | relevance | path

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

/cts/tests/tests/permission/src/android/permission/cts/
DNoAudioPermissionTest.java46 int originalMode = mAudioManager.getMode(); in testSetMicrophoneMute()
55 assertEquals(originalMode, mAudioManager.getMode()); in testSetMicrophoneMute()
58 assertEquals(originalMode, mAudioManager.getMode()); in testSetMicrophoneMute()
DTelephonyManagerPermissionTest.java158 int audioMode = mAudioManager.getMode(); in testSetMode()
160 assertEquals(audioMode, mAudioManager.getMode()); in testSetMode()
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/
DAirplaneModeTest.java38 mode = getMode(); in testAll()
73 int mode = getMode(); in runTest()
80 private int getMode() throws Settings.SettingNotFoundException { in getMode() method in AirplaneModeTest
DZenModeTest.java44 mode = getMode(); in testAll()
79 int mode = getMode(); in runTest()
95 private int getMode() throws Settings.SettingNotFoundException { in getMode() method in ZenModeTest
/cts/tests/tests/view/src/android/view/cts/
DView_MeasureSpecTest.java67 View.MeasureSpec.getMode(mUnspecifiedMeasureSpec)); in testGetMode()
69 View.MeasureSpec.getMode(mExactlyMeasureSpec)); in testGetMode()
71 View.MeasureSpec.getMode(mAtMostMeasureSpec)); in testGetMode()
/cts/tests/tests/net/src/android/net/rtp/cts/
DAudioGroupTest.java117 assertEquals(mGroup.getMode(), AudioGroup.MODE_NORMAL); in testSetMode()
120 assertEquals(mGroup.getMode(), AudioGroup.MODE_MUTED); in testSetMode()
126 assertEquals(mGroup.getMode(), AudioGroup.MODE_NORMAL); in testSetMode()
129 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/tests/tests/display/src/android/display/cts/
DDisplayTest.java236 Display.Mode mode = display.getMode(); in testMode()
251 Display.Mode mode = display.getMode(); in testModeSwitch()
290 assertEquals(newMode, display.getMode()); in testModeSwitch()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputMethodInfoTest.java110 assertEquals(mSubtypeMode, mInputMethodSubtype.getMode()); in testInputMethodSubtypeProperties()
191 assertEquals(mInputMethodSubtype.getMode(), subtype.getMode()); in testInputMethodSubtypeWriteToParcel()
/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java156 assertEquals(DialerFilter.DIGITS_AND_LETTERS_NO_LETTERS, mDialerFilter.getMode()); in testAccessMode()
159 assertEquals(DialerFilter.DIGITS_AND_LETTERS, mDialerFilter.getMode()); in testAccessMode()
162 assertEquals(-1, mDialerFilter.getMode()); in testAccessMode()
261 assertEquals(DialerFilter.DIGITS_AND_LETTERS, mDialerFilter.getMode()); in testClearText()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DFileUtils.java75 public int getMode() { in getMode() method in FileUtils.FileStatus
/cts/tests/tests/media/src/android/media/cts/
DAudioManagerTest.java137 assertEquals(MODE_RINGTONE, mAudioManager.getMode()); in testAccessMode()
139 assertEquals(MODE_IN_COMMUNICATION, mAudioManager.getMode()); in testAccessMode()
141 assertEquals(MODE_NORMAL, mAudioManager.getMode()); in testAccessMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java135 FileUtils.getFormattedPermissions(status.getMode()), in getMessage()