Home
last modified time | relevance | path

Searched refs:control (Results 1 – 17 of 17) sorted by relevance

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-5867/
Dpoc.c60 struct snd_ctl_elem_value control; in main() local
66 memset(&control, 0, sizeof(control)); in main()
67 control.id.numid = get_doblycontrolid(fd); in main()
68 if(control.id.numid) { in main()
69 control.value.integer.value[1] = DOLBY_PARAM_ID_VDHE; in main()
70 control.value.integer.value[3] = TOTAL_LENGTH_DOLBY_PARAM +1; in main()
71 ret = ioctl(fd, SNDRV_CTL_IOCTL_ELEM_WRITE, &control); in main()
/cts/suite/audio_quality/test/
DMixerTest.cpp44 struct mixer_ctl* control = mixer_get_ctl(mixerp, i); in TEST_F() local
45 ASSERT_TRUE(control != NULL); in TEST_F()
46 LOGI("Mixer control %s type %s value %d", mixer_ctl_get_name(control), in TEST_F()
47 mixer_ctl_get_type_string(control), mixer_ctl_get_num_values(control)); in TEST_F()
48 free(control); in TEST_F()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-5862/
Dpoc.c58 struct snd_ctl_elem_value control; in main() local
63 memset(&control, 0, sizeof(control)); in main()
64 control.id.numid = get_speakerid(fd); in main()
65 if(control.id.numid == 0) { in main()
69 ioctl(fd,SNDRV_CTL_IOCTL_ELEM_WRITE,&control); in main()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCarModeInCallServiceTest.java270 private void assertCarModeCallCount(ICtsCarModeInCallServiceControl control, int expected) { in assertCarModeCallCount() argument
282 callCount = control.getCallCount(); in assertCarModeCallCount()
297 private void verifyCarModeBound(ICtsCarModeInCallServiceControl control) { in verifyCarModeBound() argument
309 isBound = control.isBound(); in verifyCarModeBound()
324 private void verifyCarModeUnbound(ICtsCarModeInCallServiceControl control) { in verifyCarModeUnbound() argument
336 isUnbound = control.isUnbound(); in verifyCarModeUnbound()
352 private void enableAndVerifyCarMode(ICtsCarModeInCallServiceControl control, int priority) { in enableAndVerifyCarMode() argument
354 control.enableCarMode(priority); in enableAndVerifyCarMode()
365 private void disableAndVerifyCarMode(ICtsCarModeInCallServiceControl control, in disableAndVerifyCarMode() argument
368 control.disableCarMode(); in disableAndVerifyCarMode()
/cts/tests/tests/media/src/android/media/cts/
DPresetReverbTest.java296 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
298 mControl = control; in ListenerThread()
313 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
314 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DBassBoostTest.java333 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
335 mControl = control; in ListenerThread()
350 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
351 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DEqualizerTest.java354 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
356 mControl = control; in ListenerThread()
370 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
371 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DEnvReverbTest.java455 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
457 mControl = control; in ListenerThread()
472 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
473 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DVirtualizerTest.java593 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
595 mControl = control; in ListenerThread()
610 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
611 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
DAudioEffectTest.java895 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument
897 mControl = control; in ListenerThread()
911 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument
912 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
D.goutputstream-9KZYJZ461 // TODO: unhide this test when we sort out how to expose buffering control API.
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyLocationTests.java243 ICtsLocationAccessControl control = getLocationAccessAppControl(); in performLocationAccessCommand() local
245 List ret = control.performCommand(command); in performLocationAccessCommand()
256 ICtsLocationAccessControl control = getLocationAccessAppControlSdk28(); in performLocationAccessCommandSdk28() local
258 List ret = control.performCommand(command); in performLocationAccessCommandSdk28()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java53 final RemoteCallback control = new RemoteCallback((cmdArgs) -> { in onResume() local
76 result.putParcelable(Utils.DIRECT_ACTIONS_KEY_CONTROL, control); in onResume()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java61 final RemoteCallback control = new RemoteCallback((cmdArgs) -> { in onShow() local
87 result.putParcelable(Utils.DIRECT_ACTIONS_KEY_CONTROL, control); in onShow()
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java17 package android.taskswitching.control.cts;
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale99 program. This also permits some plausibility control for correct
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2122 KeyEvent control = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_Z, 0, in testUndo_shortcuts() local
2124 assertTrue(mTextView.onKeyShortcut(KeyEvent.KEYCODE_Z, control)); in testUndo_shortcuts()