Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DDialerFilterTest.java101 mDialerFilter.setMode(DialerFilter.DIGITS_ONLY); in testOnKeyUpDown()
113 mDialerFilter.setMode(DialerFilter.LETTERS_ONLY); in testOnKeyUpDown()
131 mDialerFilter.setMode(DialerFilter.DIGITS_AND_LETTERS); in testOnKeyUpDown()
147 mDialerFilter.setMode(DialerFilter.DIGITS_AND_LETTERS); in testOnKeyUpDown()
158 mDialerFilter.setMode(DialerFilter.DIGITS_AND_LETTERS_NO_LETTERS); in testAccessMode()
161 mDialerFilter.setMode(DialerFilter.DIGITS_AND_LETTERS); in testAccessMode()
164 mDialerFilter.setMode(-1); in testAccessMode()
173 mDialerFilter.setMode(DialerFilter.DIGITS_AND_LETTERS); in testGetLetters()
183 mDialerFilter.setMode(DialerFilter.DIGITS_AND_LETTERS); in testGetDigits()
193 mDialerFilter.setMode(DialerFilter.DIGITS_AND_LETTERS); in testGetFilterText()
[all …]
/cts/tests/tests/net/src/android/net/rtp/cts/
DAudioGroupTest.java50 mAudioManager.setMode(AudioManager.MODE_IN_COMMUNICATION); in setUp()
55 mStreamA.setMode(RtpStream.MODE_NORMAL); in setUp()
62 mStreamB.setMode(RtpStream.MODE_NORMAL); in setUp()
81 mAudioManager.setMode(AudioManager.MODE_NORMAL); in tearDown()
123 mGroup.setMode(AudioGroup.MODE_NORMAL); in testSetMode()
126 mGroup.setMode(AudioGroup.MODE_MUTED); in testSetMode()
132 mGroup.setMode(AudioGroup.MODE_NORMAL); in testSetMode()
135 mGroup.setMode(AudioGroup.MODE_MUTED); in testSetMode()
/cts/tests/tests/permission/src/android/permission/cts/
DNoAudioPermissionTest.java59 mAudioManager.setMode(AudioManager.MODE_NORMAL); in testSetMicrophoneMute()
62 mAudioManager.setMode(AudioManager.MODE_RINGTONE); in testSetMicrophoneMute()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java251 kTriggerTestEnvironment.setMode( in testDescendantsObserver()
298 kTriggerTestEnvironment.setMode( in testNonDescendantsObserver()
339 kTriggerTestEnvironment.setMode( in testPhotoAdded_Reschedule()
382 kTriggerTestEnvironment.setMode(TriggerContentJobService.TestEnvironment.MODE_ONESHOT, in testPhotoAdded_Reschedule()
408 kTriggerTestEnvironment.setMode( in xxxtestPhotoAdded_FinishTrue()
449 kTriggerTestEnvironment.setMode(TriggerContentJobService.TestEnvironment.MODE_ONESHOT, in xxxtestPhotoAdded_FinishTrue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java302 am.setMode(targetMode); in startTest()
317 am.setMode(originalMode); in startTest()
345 am.setMode(originalMode); in startTest()
355 am.setMode(originalMode); in startTest()
366 am.setMode(originalMode); in startTest()
436 am.setMode(originalMode); in startTest()
/cts/tests/JobScheduler/src/android/jobscheduler/
DTriggerContentJobService.java79 TestEnvironment.getTestEnvironment().setMode(TestEnvironment.MODE_ONESHOT, null); in onStartJob()
139 public void setMode(int mode, JobInfo jobInfo) { in setMode() method in TriggerContentJobService.TestEnvironment
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DTriggerContentJobService.java79 TestEnvironment.getTestEnvironment().setMode(TestEnvironment.MODE_ONESHOT, null); in onStartJob()
139 public void setMode(int mode, JobInfo jobInfo) { in setMode() method in TriggerContentJobService.TestEnvironment
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsTest.kt340 mAppOps.setMode(writeSmsOp, Process.myUid(), mOpPackageName, AppOpsManager.MODE_ALLOWED) in testCantSetModeForSelf()
376 mAppOps.setMode(OPSTR_RECORD_AUDIO, Process.myUid(), in testNonHistoricalStatePersistence()
402 mAppOps.setMode(OPSTR_RECORD_AUDIO, Process.myUid(), in testNonHistoricalStatePersistence()
/cts/tests/tests/transition/src/android/transition/cts/
DVisibilityTest.java76 mVisibilityTransition.setMode(Visibility.MODE_IN); in testMode()
88 mVisibilityTransition.setMode(Visibility.MODE_OUT); in testMode()
/cts/tools/vm-tests-tf/build/src/util/build/
DD8BuildStep.java38 .setMode(CompilationMode.DEBUG) in D8BuildStep()
/cts/tests/tests/media/src/android/media/cts/
DRoutingTest.java180 mAudioManager.setMode(AudioManager.MODE_NORMAL); in test_audioTrack_incallMusicRoutingPermissions()
201 mAudioManager.setMode(AudioManager.MODE_IN_COMMUNICATION); in getTelephonyDeviceAndSetInCommunicationMode()
770 mAudioManager.setMode(AudioManager.MODE_NORMAL); in test_mediaPlayer_incallMusicRoutingPermissions()
DAudioManagerTest.java357 mAudioManager.setMode(MODE_RINGTONE); in testAccessMode()
359 mAudioManager.setMode(MODE_IN_COMMUNICATION); in testAccessMode()
361 mAudioManager.setMode(MODE_NORMAL); in testAccessMode()
/cts/tests/tests/permission/telephony/src/android/permission/cts/telephony/
DTelephonyManagerPermissionTest.java180 mAudioManager.setMode(AudioManager.MODE_IN_CALL); in testSetMode()