/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoAudioPermissionTest.java | 46 int originalMode = mAudioManager.getMode(); in testSetMicrophoneMute() 55 assertEquals(originalMode, mAudioManager.getMode()); in testSetMicrophoneMute() 58 assertEquals(originalMode, mAudioManager.getMode()); in testSetMicrophoneMute()
|
D | TelephonyManagerPermissionTest.java | 158 int audioMode = mAudioManager.getMode(); in testSetMode() 160 assertEquals(audioMode, mAudioManager.getMode()); in testSetMode()
|
/cts/tests/tests/voicesettings/src/android/voicesettings/cts/ |
D | AirplaneModeTest.java | 38 mode = getMode(); in testAll() 73 int mode = getMode(); in runTest() 80 private int getMode() throws Settings.SettingNotFoundException { in getMode() method in AirplaneModeTest
|
D | ZenModeTest.java | 44 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/ |
D | View_MeasureSpecTest.java | 67 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/ |
D | AudioGroupTest.java | 117 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/ |
D | AdvertiseSettingsTest.java | 32 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/ |
D | DisplayTest.java | 236 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/ |
D | InputMethodInfoTest.java | 110 assertEquals(mSubtypeMode, mInputMethodSubtype.getMode()); in testInputMethodSubtypeProperties() 191 assertEquals(mInputMethodSubtype.getMode(), subtype.getMode()); in testInputMethodSubtypeWriteToParcel()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DialerFilterTest.java | 156 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/ |
D | FileUtils.java | 75 public int getMode() { in getMode() method in FileUtils.FileStatus
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioManagerTest.java | 137 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/ |
D | SuidFilesActivity.java | 135 FileUtils.getFormattedPermissions(status.getMode()), in getMessage()
|