Home
last modified time | relevance | path

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

1234

/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMainActivity.java109 mPreviewView.setMode(CameraView.MODE_SPEED); in setShutterSpeed()
111 mPreviewView.setMode(CameraView.MODE_NONE); in setShutterSpeed()
120 mPreviewView.setMode(CameraView.MODE_ISO); in setISO()
122 mPreviewView.setMode(CameraView.MODE_NONE); in setISO()
131 mPreviewView.setMode(CameraView.MODE_FOCUS); in setFocus()
136 mPreviewView.setMode(CameraView.MODE_NONE); in setFocus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java173 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage()
174 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage()
196 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_ALLOWED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp()
205 mAppOpsService.setMode(OP_COARSE_LOCATION, mMyUid, sMyPackageName, MODE_ERRORED); in testNoteOperationAndGetOpsForPackage_controlledByDifferentOp()
216 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testStatePersistence()
217 mAppOpsService.setMode(OP_WRITE_SMS, mMyUid, sMyPackageName, MODE_ERRORED); in testStatePersistence()
235 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testShutdown()
250 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testGetOpsForPackage()
279 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testPackageRemoved()
292 mAppOpsService.setMode(OP_READ_SMS, mMyUid, sMyPackageName, MODE_ALLOWED); in testPackageRemovedHistoricalOps()
[all …]
/frameworks/base/core/java/android/widget/
DDialerFilter.java89 setMode(DIGITS_AND_LETTERS); in onFinishInflate()
132 setMode(DIGITS_AND_LETTERS); in onKeyDown()
139 setMode(DIGITS_AND_LETTERS); in onKeyDown()
181 setMode(DIGITS_AND_LETTERS_NO_DIGITS); in onKeyDown()
221 public void setMode(int newMode) { in setMode() method in DialerFilter
358 setMode(DIGITS_AND_LETTERS); in clearText()
360 setMode(DIGITS_ONLY); in clearText()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenStateTest.java123 mHandlerFake.setMode(QUEUEING); in test_initialScreenStatePostedToHandler()
139 mHandlerFake.setMode(QUEUEING); in test_noScreenStateSetAfterFinish()
157 mHandlerFake.setMode(QUEUEING); in test_holdsWakeLockWhenGoingToLowPowerDelayed()
174 mHandlerFake.setMode(QUEUEING); in test_releasesWakeLock_abortingLowPowerDelayed()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java1064 stream.setMode(RtpStream.MODE_NORMAL);
1066 stream.setMode(RtpStream.MODE_SEND_ONLY);
1068 stream.setMode(RtpStream.MODE_RECEIVE_ONLY);
1070 stream.setMode(RtpStream.MODE_SEND_ONLY);
1072 stream.setMode(RtpStream.MODE_RECEIVE_ONLY);
1074 stream.setMode(RtpStream.MODE_NORMAL);
1104 audioGroup.setMode(AudioGroup.MODE_ON_HOLD);
1106 audioGroup.setMode(AudioGroup.MODE_MUTED);
1108 audioGroup.setMode(AudioGroup.MODE_ECHO_SUPPRESSION);
1110 audioGroup.setMode(AudioGroup.MODE_NORMAL);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrActivity.java124 mVrView.setMode(VrView.CUT_X_MODE); in cutXClick()
129 mVrView.setMode(VrView.CUT_Y_MODE); in cutYClick()
134 mVrView.setMode(VrView.CUT_Z_MODE); in cutZClick()
139 mVrView.setMode(VrView.ROTATE_MODE); in rotateClick()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java189 mAudioManager.setMode(AudioManager.MODE_IN_COMMUNICATION); in isAudioModeOngoingCall_modeInCommunication_returnTrue()
196 mAudioManager.setMode(AudioManager.MODE_IN_CALL); in isAudioModeOngoingCall_modeInCall_returnTrue()
203 mAudioManager.setMode(AudioManager.MODE_RINGTONE); in isAudioModeOngoingCall_modeRingtone_returnTrue()
210 mAudioManager.setMode(AudioManager.MODE_NORMAL); in isAudioModeOngoingCall_modeNormal_returnFalse()
/frameworks/base/core/java/android/transition/
DFade.java98 setMode(fadingMode); in Fade()
105 setMode(fadingMode); in Fade()
/frameworks/native/services/surfaceflinger/Effects/
DDaltonizer.h39 void setMode(ColorBlindnessMode mode);
DDaltonizer.cpp29 void Daltonizer::setMode(ColorBlindnessMode mode) { in setMode() function in android::Daltonizer
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/os/
DFakeHandler.java50 public void setMode(Mode mode) { in setMode() method in FakeHandler
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp487 bool setMode(int mode);
635 bool AudioGroup::setMode(int mode) in setMode() function in __anon5fc701100111::AudioGroup
1012 if (!group->set(8000, 256) || !group->setMode(mode)) { in add()
1050 void setMode(JNIEnv *env, jobject thiz, jint mode) in setMode() function
1053 if (group && !group->setMode(mode)) { in setMode()
1069 {"nativeSetMode", "(I)V", (void *)setMode},
/frameworks/opt/net/voip/src/java/android/net/rtp/
DRtpStream.java132 public void setMode(int mode) { in setMode() method in RtpStream
DAudioGroup.java148 public void setMode(int mode) { in setMode() method in AudioGroup
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java235 mAudioManager.setMode(AudioManager.MODE_IN_CALL); in getConnectionSummary_testA2dpInCall_returnNull()
251 mAudioManager.setMode(AudioManager.MODE_IN_CALL); in getConnectionSummary_testA2dpBatteryInCall_returnBattery()
267 mAudioManager.setMode(AudioManager.MODE_IN_CALL); in getConnectionSummary_testSingleProfileActiveDeviceHfp()
385 mAudioManager.setMode(AudioManager.MODE_IN_CALL); in getConnectionSummary_testHearingAidInCall_returnActive()
400 mAudioManager.setMode(AudioManager.MODE_IN_CALL); in getConnectionSummary_testHearingAidBatteryInCall_returnActiveBattery()
/frameworks/base/tests/net/java/android/net/
DIpSecConfigTest.java56 c.setMode(IpSecTransform.MODE_TUNNEL); in getSampleConfig()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioGain.h35 void setMode(audio_gain_mode_t mode) { mGain.mode = mode; } in setMode() function
/frameworks/base/core/java/android/net/
DIpSecTransform.java459 mConfig.setMode(MODE_TRANSPORT); in buildTransportModeTransform()
498 mConfig.setMode(MODE_TUNNEL); in buildTunnelModeTransform()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h51 virtual status_t setMode(audio_mode_t mode) = 0;
/frameworks/av/media/libaudiohal/impl/
DDeviceHalLocal.h45 virtual status_t setMode(audio_mode_t mode);
DDeviceHalHidl.h52 virtual status_t setMode(audio_mode_t mode);
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java366 ipSecConfig.setMode(IpSecTransform.MODE_TRANSPORT); in testCreateTransportModeTransformWithEncap()
392 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in testCreateTunnelModeTransformWithEncap()
716 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in verifyApplyTunnelModeTransformCommon()
756 ipSecConfig.setMode(IpSecTransform.MODE_TUNNEL); in testApplyTunnelModeTransformWithClosedSpi()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl67 void setMode(int code, int uid, String packageName, int mode); in setMode() method
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp57 audioGain->setMode(AUDIO_GAIN_MODE_JOINT); in getAudioGainsForTest()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomSurfaceView.java96 public void setMode(int pixelFormat, boolean drawNameOnReady) { in setMode() method in CustomSurfaceView

1234