/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlBuilderTest.java | 74 Control control = new Control.StatelessBuilder(CONTROL_ID, mPendingIntent) in testStatelessBuilder() local 86 assertControl(control, true /* isStateless */, true /* authRequired */); in testStatelessBuilder() 91 Control control = new Control.StatefulBuilder(CONTROL_ID, mPendingIntent) in testStatefulBuilderAlternateConstructor() local 106 Control updatedControl = new Control.StatefulBuilder(control).build(); in testStatefulBuilderAlternateConstructor() 110 private void assertControl(Control control, boolean isStateless, boolean authRequired) { in assertControl() argument 111 assertEquals(control.getTitle(), TITLE); in assertControl() 112 assertEquals(control.getSubtitle(), SUBTITLE); in assertControl() 113 assertEquals(control.getStructure(), STRUCTURE); in assertControl() 114 assertEquals(control.getZone(), ZONE); in assertControl() 115 assertEquals(control.getDeviceType(), DEVICE_TYPE); in assertControl() [all …]
|
D | CtsControlTemplateTest.java | 245 Control control = new Control.StatefulBuilder("1", mPendingIntent) in parcelAndUnparcel() local 248 control.writeToParcel(parcel, 0); in parcelAndUnparcel()
|
D | CtsControlsService.java | 230 Control control = mControlsById.get(id); in createPublisherFor() local 231 if (control == null) continue; in createPublisherFor() 233 mUpdatePublisher.onNext(control); in createPublisherFor()
|
D | CtsControlsServiceTest.java | 308 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/ |
D | poc.c | 60 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/hostsidetests/securitybulletin/securityPatch/CVE-2016-5862/ |
D | poc.c | 58 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/ |
D | SelfManagedConnectionTest.java | 227 ICtsThirdPartyInCallServiceControl control = ICtsThirdPartyInCallServiceControl.Stub in testBindToSupportNonUiInCallService() local 229 control.resetLatchForServiceBound(true /* bind */); in testBindToSupportNonUiInCallService() 233 control.checkBindStatus(true /* bindStatus */); in testBindToSupportNonUiInCallService() 234 assertTrue(control.checkBindStatus(true /* bindStatus */)); in testBindToSupportNonUiInCallService() 254 ICtsThirdPartyInCallServiceControl control = ICtsThirdPartyInCallServiceControl.Stub in testBindToSupportDefaultDialerNoCarMode() local 257 control.resetLatchForServiceBound(true /* bind */); in testBindToSupportDefaultDialerNoCarMode() 260 assertTrue(control.checkBindStatus(true /* bindStatus */)); in testBindToSupportDefaultDialerNoCarMode() 281 ICtsThirdPartyInCallServiceControl control = ICtsThirdPartyInCallServiceControl.Stub in testNoBindToUnsupportDefaultDialerNoCarMode() local 284 control.resetLatchForServiceBound(true /* bind */); in testNoBindToUnsupportDefaultDialerNoCarMode() 287 assertFalse(control.checkBindStatus(true /* bindStatus */)); in testNoBindToUnsupportDefaultDialerNoCarMode() [all …]
|
D | CarModeInCallServiceTest.java | 661 private void verifyCarModeBound(ICtsCarModeInCallServiceControl control) { in verifyCarModeBound() argument 673 isBound = control.isBound(); in verifyCarModeBound() 688 private void verifyCarModeUnbound(ICtsCarModeInCallServiceControl control) { in verifyCarModeUnbound() argument 700 isUnbound = control.isUnbound(); in verifyCarModeUnbound() 716 private void enableAndVerifyCarMode(ICtsCarModeInCallServiceControl control, int priority) { in enableAndVerifyCarMode() argument 718 control.enableCarMode(priority); in enableAndVerifyCarMode() 729 private void requestAndVerifyAutomotiveProjection(ICtsCarModeInCallServiceControl control, in requestAndVerifyAutomotiveProjection() argument 732 assertEquals(expectedSuccess, control.requestAutomotiveProjection()); in requestAndVerifyAutomotiveProjection() 743 private void releaseAutomotiveProjection(ICtsCarModeInCallServiceControl control) { in releaseAutomotiveProjection() argument 745 control.releaseAutomotiveProjection(); in releaseAutomotiveProjection()
|
D | CallStreamingTest.java | 114 ICtsCallStreamingServiceControl control = getControlBinder(); in testStartCallStreaming() local 159 Bundle bundle = control.waitForCallAdded(); in testStartCallStreaming()
|
D | PhoneAccountRegistrarTest.java | 368 TestServiceConnection control = setUpControl(carModeControl, in testTwoPackagesRegisterMax() local 373 .asInterface(control.getService()); in testTwoPackagesRegisterMax() 407 mContext.unbindService(control); in testTwoPackagesRegisterMax()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | PresetReverbTest.java | 316 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 318 mControl = control; in ListenerThread() 333 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 334 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | BassBoostTest.java | 355 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 357 mControl = control; in ListenerThread() 372 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 373 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | EqualizerTest.java | 378 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 380 mControl = control; in ListenerThread() 394 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 395 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | EnvReverbTest.java | 479 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 481 mControl = control; in ListenerThread() 496 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 497 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | VirtualizerTest.java | 618 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 620 mControl = control; in ListenerThread() 635 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 636 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
D | AudioEffectTest.java | 936 public ListenerThread(boolean control, boolean enable, boolean parameter) { in ListenerThread() argument 938 mControl = control; in ListenerThread() 952 private void createListenerLooper(boolean control, boolean enable, boolean parameter) { in createListenerLooper() argument 953 mEffectListenerLooper = new ListenerThread(control, enable, parameter) { in createListenerLooper()
|
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/ |
D | TestVisibleActivity.java | 65 final RemoteCallback control = new RemoteCallback((cmdArgs) -> { in onResume() local 83 result.putParcelable(Utils.VOICE_INTERACTION_KEY_CONTROL, control); in onResume()
|
D | DirectActionsActivity.java | 60 final RemoteCallback control = new RemoteCallback((cmdArgs) -> { in onResume() local 93 result.putParcelable(Utils.VOICE_INTERACTION_KEY_CONTROL, control); in onResume()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | BaseAppVerifierImpl.java | 147 AppControlWrapper control = mBindUtils.bindToApp(mContext, applicationName); in bindToApp() local 153 return control; in bindToApp() 164 AppControlWrapper control = bindToApp(name); in bindToApps() local 165 controls.add(control); in bindToApps() 177 for (AppControlWrapper control : appControls) { in tearDownApps() 178 tearDownApp(control); in tearDownApps()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | EditTextImeSupportTest.java | 263 for (Control control : controls) { in verifyNavigateFlags() 264 switch (control) { in verifyNavigateFlags() 267 final boolean focused = (Control.FOCUSED_EDIT_TEXT == control); in verifyNavigateFlags() 279 final boolean focusable = (Control.FOCUSABLE_VIEW == control); in verifyNavigateFlags() 290 throw new UnsupportedOperationException("Unknown control=" + control); in verifyNavigateFlags()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyLocationTests.java | 337 ICtsLocationAccessControl control = getLocationAccessAppControl(); in performLocationAccessCommand() local 339 List ret = control.performCommand(command); in performLocationAccessCommand() 350 ICtsLocationAccessControl control = getLocationAccessAppControlSdk28(); in performLocationAccessCommandSdk28() local 352 List ret = control.performCommand(command); in performLocationAccessCommandSdk28()
|
/cts/tests/tests/broadcastradio/src/android/broadcastradio/cts/ |
D | AbstractRadioTestCase.java | 242 public void onControlChanged(boolean control) { in onControlChanged() argument 243 Log.e(TAG, "onControlChanged(" + control + ")"); in onControlChanged()
|
/cts/hostsidetests/ui/control/src/android/taskswitching/control/cts/ |
D | TaskSwitchingDeviceTest.java | 17 package android.taskswitching.control.cts;
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | DirectActionsSession.java | 87 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/insets/ |
D | WindowInsetsAnimationControllerTests.java | 241 CountDownLatch control = new CountDownLatch(1); in awaitControl() local 244 if ((controllableTypes & type) != 0) control.countDown(); in awaitControl() 252 if (!control.await(10, TimeUnit.SECONDS)) { in awaitControl()
|