Home
last modified time | relevance | path

Searched refs:setValue (Results 1 – 25 of 36) sorted by relevance

12

/cts/tests/tests/location/src/android/location/cts/suplClient/
DSuplRrlpMessagesGenerator.java100 .setValue(ipAsbytes); in generateSuplStartLocalLocationMessage()
106 posTechnology.setAgpsSETassistedToNewInstance().setValue(false); in generateSuplStartLocalLocationMessage()
107 posTechnology.setAgpsSETBasedToNewInstance().setValue(true); in generateSuplStartLocalLocationMessage()
108 posTechnology.setAutonomousGPSToNewInstance().setValue(true); in generateSuplStartLocalLocationMessage()
109 posTechnology.setAFLTToNewInstance().setValue(false); in generateSuplStartLocalLocationMessage()
110 posTechnology.setECIDToNewInstance().setValue(false); in generateSuplStartLocalLocationMessage()
111 posTechnology.setEOTDToNewInstance().setValue(false); in generateSuplStartLocalLocationMessage()
112 posTechnology.setOTDOAToNewInstance().setValue(false); in generateSuplStartLocalLocationMessage()
114 setCapabilities.setPrefMethodToNewInstance().setValue(PrefMethod.Value.agpsSETBasedPreferred); in generateSuplStartLocalLocationMessage()
117 posProtocol.setTia801ToNewInstance().setValue(false); in generateSuplStartLocalLocationMessage()
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DDatasetTest.java55 assertThrows(NullPointerException.class, () -> builder.setValue(null, mValue)); in testBuilder_setValueNullId()
61 assertThat(new Dataset.Builder().setValue(mId, mValue).build()).isNotNull(); in testBuilder_setValueWithoutPresentation()
67 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithNullPresentation()
73 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter()
79 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentationNullFilter()
86 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, mFilter, in testBuilder_setFilteredValueWithPresentationNullPresentation()
93 assertThrows(IllegalStateException.class, () -> builder.setValue(mId, mValue, mFilter)); in testBuilder_setFilteredValueWithoutPresentation()
105 builder.setValue(mId, mValue, mPresentation); in testNoMoreInteractionsAfterBuild()
108 assertThrows(IllegalStateException.class, () -> builder.setValue(mId, mValue)); in testNoMoreInteractionsAfterBuild()
110 () -> builder.setValue(mId, mValue, mPresentation)); in testNoMoreInteractionsAfterBuild()
[all …]
DCannedFillResponse.java570 builder.setValue(autofillId, value, presentation); in asDataset()
572 builder.setValue(autofillId, value, filter.second, presentation); in asDataset()
576 builder.setValue(autofillId, value); in asDataset()
578 builder.setValue(autofillId, value, filter.second); in asDataset()
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java171 mNumberPicker.setValue(1); in testSelectionDisplayedValueFromDisplayedValues()
175 mNumberPicker.setValue(2); in testSelectionDisplayedValueFromDisplayedValues()
179 mNumberPicker.setValue(3); in testSelectionDisplayedValueFromDisplayedValues()
188 mNumberPicker.setValue(1); in testSelectionDisplayedValueFromDisplayedValues()
192 mNumberPicker.setValue(2); in testSelectionDisplayedValueFromDisplayedValues()
204 mNumberPicker.setValue(0); in testSelectionDisplayedValueFromFormatter()
208 mNumberPicker.setValue(1); in testSelectionDisplayedValueFromFormatter()
212 mNumberPicker.setValue(2); in testSelectionDisplayedValueFromFormatter()
216 mNumberPicker.setValue(3); in testSelectionDisplayedValueFromFormatter()
220 mNumberPicker.setValue(4); in testSelectionDisplayedValueFromFormatter()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java354 getCharacteristic(CHARACTERISTIC_UUID).setValue(WRITE_VALUE.getBytes()); in resetValues()
355 getDescriptor().setValue(WRITE_VALUE.getBytes()); in resetValues()
621 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
623 notiCharacteristic.setValue(NOTIFY_VALUE); in createAdditionalNotificationService()
629 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
631 notiCharacteristic.setValue(NOTIFY_VALUE); in createAdditionalNotificationService()
637 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
639 notiCharacteristic.setValue(NOTIFY_VALUE); in createAdditionalNotificationService()
645 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
647 notiCharacteristic.setValue(NOTIFY_VALUE); in createAdditionalNotificationService()
[all …]
DBleEncryptedServerService.java185 characteristic.setValue(WRITE_VALUE.getBytes()); in resetValues()
187 … characteristic.getDescriptor(DESCRIPTOR_ENCRYPTED_READ_UUID).setValue(WRITE_VALUE.getBytes()); in resetValues()
348 characteristic.setValue(value);
360 characteristic.setValue(value);
426 descriptor.setValue(value);
DBleClientService.java537 characteristic.setValue(writeValue); in writeCharacteristic()
559 descriptor.setValue(writeValue.getBytes()); in writeDescriptor()
574 descriptor.setValue(writeValue.getBytes()); in writeDescriptor()
608 descriptor.setValue(BluetoothGattDescriptor.ENABLE_INDICATION_VALUE); in setNotification()
610 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE); in setNotification()
613 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in setNotification()
DBleCocServerService.java399 characteristic.setValue(WRITE_VALUE.getBytes()); in createService()
402 descriptor.setValue(WRITE_VALUE.getBytes()); in createService()
682 mLePsmCharacteristic.setValue(mPsm, BluetoothGattCharacteristic.FORMAT_UINT8, 0); in createChatService()
/cts/tests/tests/util/src/android/util/cts/
DPropertyTest.java64 FLOAT_PROP.setValue(this, 10); in testFloatProperty()
76 INT_PROP.setValue(this, 10); in testIntProperty()
139 public void setValue(PropertyTest object, float value) {
153 public void setValue(PropertyTest object, int value) {
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java438 public void setValue(int value) { in setValue() method in PlatformInspectableProcessorTest.IntEnumTest
449 node.setValue(1); in testIntEnum()
453 node.setValue(2); in testIntEnum()
457 node.setValue(3); in testIntEnum()
474 public void setValue(int value) { in setValue() method in PlatformInspectableProcessorTest.IntFlagTest
485 node.setValue(0); in testIntFlag()
489 node.setValue(1); in testIntFlag()
493 node.setValue(2); in testIntFlag()
497 node.setValue(3); in testIntFlag()
501 node.setValue(4); in testIntFlag()
[all …]
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DXmlHandler.java98 eleBuilder.setValue(attributes.getValue(GID_TAG)); in startElement()
109 eleBuilder.setValue(uid); in startElement()
120 eleBuilder.setValue(file); in startElement()
143 eleBuilder.setValue(version); in startElement()
DTestModuleConfigHandler.java83 option.setValue(attributes.getValue(VALUE_TAG)); in startElement()
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java98 params.get("port").setValue(port); in getDebuggerConnection()
99 params.get("hostname").setValue("localhost"); in getDebuggerConnection()
101 params.get("timeout").setValue("60000"); in getDebuggerConnection()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspBufferBase.java38 public abstract void setValue(int index, double value); in setValue() method in DspBufferBase
DDspBufferDouble.java42 public void setValue(int index, double value) { in setValue() method in DspBufferDouble
DDspBufferComplex.java45 public void setValue(int index, double value) { in setValue() method in DspBufferComplex
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Boolean.java61 public void setValue(boolean value) { in setValue() method in Asn1Boolean
DAsn1IA5String.java71 setValue(new String(getRemaining(buf), StandardCharsets.US_ASCII)); in decodeBerValue()
100 public void setValue(String value) { in setValue() method in Asn1IA5String
DAsn1Utf8String.java49 public void setValue(String value) { in setValue() method in Asn1Utf8String
DAsn1Enumerated.java48 public void setValue(Value value) { in setValue() method in Asn1Enumerated
DAsn1ObjectIdentifier.java68 public void setValue(List<Integer> value) { in setValue() method in Asn1ObjectIdentifier
DAsn1GeneralString.java73 public void setValue(byte[] value) { in setValue() method in Asn1GeneralString
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioAEC.java106 mRmsSnapshots.setValue(mShotIndex++, mRmsCurrent); in captureShot()
172 rmsPlayerdB.setValue(index, valPlayerdB); in computeAcousticCouplingFactor()
175 rmsRecorderdB.setValue(index, valRecorderdB); in computeAcousticCouplingFactor()
/cts/tests/tests/animation/src/android/animation/cts/
DKeyframeTest.java113 keyFrame.setValue(value); in testSetValue()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestModuleConfigHandler.java77 option.setValue(attributes.getValue(VALUE_TAG)); in startElement()

12