Home
last modified time | relevance | path

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

/cts/tests/controls/src/android/controls/cts/
DCtsControlBuilderTest.java72 Control control = new Control.StatelessBuilder(CONTROL_ID, mPendingIntent) in testStatelessBuilder() local
84 assertControl(control, true); in testStatelessBuilder()
89 Control control = new Control.StatefulBuilder(CONTROL_ID, mPendingIntent) in testStatefulBuilderAlternateConstructor() local
103 Control updatedControl = new Control.StatefulBuilder(control).build(); in testStatefulBuilderAlternateConstructor()
107 private void assertControl(Control control, boolean isStateless) { in assertControl() argument
108 assertEquals(control.getTitle(), TITLE); in assertControl()
109 assertEquals(control.getSubtitle(), SUBTITLE); in assertControl()
110 assertEquals(control.getStructure(), STRUCTURE); in assertControl()
111 assertEquals(control.getZone(), ZONE); in assertControl()
112 assertEquals(control.getDeviceType(), DEVICE_TYPE); in assertControl()
[all …]
DCtsControlTemplateTest.java244 Control control = new Control.StatefulBuilder("1", mPendingIntent) in parcelAndUnparcel() local
247 control.writeToParcel(parcel, 0); in parcelAndUnparcel()
DCtsControlsService.java228 Control control = mControlsById.get(id); in createPublisherFor() local
229 if (control == null) continue; in createPublisherFor()
231 mUpdatePublisher.onNext(control); in createPublisherFor()
DCtsControlsServiceTest.java308 final Control control = new Control.StatelessBuilder(mControlsService.buildMower(false)) in testRequestAddControl() local
320 assertEquals((Control) intent.getParcelableExtra(EXTRA_CONTROL), control); in testRequestAddControl()
325 ControlsProviderService.requestAddControl(context, testComponent, control); in testRequestAddControl()
/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/
DSelfManagedConnectionTest.java166 ICtsThirdPartyInCallServiceControl control = ICtsThirdPartyInCallServiceControl.Stub in testBindToSupportNonUiInCallService() local
168 control.resetLatchForServiceBound(true /* bind */); in testBindToSupportNonUiInCallService()
171 control.checkBindStatus(true /* bindStatus */); in testBindToSupportNonUiInCallService()
189 ICtsThirdPartyInCallServiceControl control = ICtsThirdPartyInCallServiceControl.Stub in testBindToSupportDefaultDialerNoCarMode() local
192 control.resetLatchForServiceBound(true /* bind */); in testBindToSupportDefaultDialerNoCarMode()
195 control.checkBindStatus(true /* bindStatus */); in testBindToSupportDefaultDialerNoCarMode()
216 ICtsThirdPartyInCallServiceControl control = ICtsThirdPartyInCallServiceControl.Stub in testNoBindToUnsupportDefaultDialerNoCarMode() local
219 control.resetLatchForServiceBound(true /* bind */); in testNoBindToUnsupportDefaultDialerNoCarMode()
222 assertFalse(control.checkBindStatus(true /* bindStatus */)); in testNoBindToUnsupportDefaultDialerNoCarMode()
DCarModeInCallServiceTest.java595 private void verifyCarModeBound(ICtsCarModeInCallServiceControl control) { in verifyCarModeBound() argument
607 isBound = control.isBound(); in verifyCarModeBound()
622 private void verifyCarModeUnbound(ICtsCarModeInCallServiceControl control) { in verifyCarModeUnbound() argument
634 isUnbound = control.isUnbound(); in verifyCarModeUnbound()
650 private void enableAndVerifyCarMode(ICtsCarModeInCallServiceControl control, int priority) { in enableAndVerifyCarMode() argument
652 control.enableCarMode(priority); in enableAndVerifyCarMode()
663 private void requestAndVerifyAutomotiveProjection(ICtsCarModeInCallServiceControl control, in requestAndVerifyAutomotiveProjection() argument
666 assertEquals(expectedSuccess, control.requestAutomotiveProjection()); in requestAndVerifyAutomotiveProjection()
677 private void releaseAutomotiveProjection(ICtsCarModeInCallServiceControl control) { in releaseAutomotiveProjection() argument
679 control.releaseAutomotiveProjection(); in releaseAutomotiveProjection()
DBaseTelecomTestWithMockServices.java143 protected void disableAndVerifyCarMode(ICtsCarModeInCallServiceControl control, in disableAndVerifyCarMode() argument
145 if (control == null) { in disableAndVerifyCarMode()
149 control.disableCarMode(); in disableAndVerifyCarMode()
172 protected void assertCarModeCallCount(ICtsCarModeInCallServiceControl control, int expected) { in assertCarModeCallCount() argument
184 callCount = control.getCallCount(); in assertCarModeCallCount()
/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()
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()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyLocationTests.java310 ICtsLocationAccessControl control = getLocationAccessAppControl(); in performLocationAccessCommand() local
312 List ret = control.performCommand(command); in performLocationAccessCommand()
323 ICtsLocationAccessControl control = getLocationAccessAppControlSdk28(); in performLocationAccessCommandSdk28() local
325 List ret = control.performCommand(command); in performLocationAccessCommandSdk28()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java57 final RemoteCallback control = new RemoteCallback((cmdArgs) -> { in onResume() local
80 result.putParcelable(Utils.VOICE_INTERACTION_KEY_CONTROL, control); in onResume()
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/
DTaskSwitchingDeviceTest.java17 package android.taskswitching.control.cts;
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java87 final RemoteCallback control = new RemoteCallback((cmdArgs) -> { in onShow() local
123 result.putParcelable(Utils.VOICE_INTERACTION_KEY_CONTROL, control); in onShow()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInsetsAnimationControllerTests.java209 CountDownLatch control = new CountDownLatch(1); in awaitControl() local
212 control.countDown(); in awaitControl()
217 if (!control.await(10, TimeUnit.SECONDS)) { in awaitControl()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale99 program. This also permits some plausibility control for correct
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2245 KeyEvent control = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_Z, 0, in testUndo_shortcuts() local
2247 assertTrue(mTextView.onKeyShortcut(KeyEvent.KEYCODE_Z, control)); in testUndo_shortcuts()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...