Home
last modified time | relevance | path

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

123

/cts/tests/location/location_gnss/src/android/location/cts/gnss/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/unittests/
DDatasetTest.java109 assertThrows(NullPointerException.class, () -> builder.setValue(null, mValue)); in testBuilder_setValueNullId()
115 assertThat(new Dataset.Builder().setValue(mId, mValue).build()).isNotNull(); in testBuilder_setValueWithoutPresentation()
121 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithNullPresentation()
128 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithBothPresentation_nullPresentation()
135 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithBothPresentation_nullInlinePresentation()
142 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, in testBuilder_setValueWithBothPresentation_bothNull()
148 assertThat(new Dataset.Builder(mPresentation).setValue(mId, mValue, (Pattern) null).build()) in testBuilder_setFilteredValueWithNullFilter()
154 assertThat(new Dataset.Builder().setValue(mId, mValue, null, mPresentation).build()) in testBuilder_setFilteredValueWithPresentation_nullFilter()
161 assertThrows(NullPointerException.class, () -> builder.setValue(mId, mValue, mFilter, in testBuilder_setFilteredValueWithPresentation_nullPresentation()
168 assertThrows(IllegalStateException.class, () -> builder.setValue(mId, mValue, mFilter)); in testBuilder_setFilteredValueWithoutPresentation()
[all …]
/cts/tests/translation/src/android/translation/cts/unittests/
DViewTranslationRequestTest.java47 .setValue("sample id", TranslationRequestValue.forText("sample text")) in testBuilderVirtualAutofillId_validSetText()
59 .setValue("sample id", in testBuilder_validSetText()
72 .setValue("sample id", in testBuilder_setTextTwice()
74 .setValue("sample id", in testBuilder_setTextTwice()
87 .setValue("sample id", in testGetValue_invalidId()
103 .setValue("sample id", in testBuilder_multipleTexts()
105 .setValue("id2", in testBuilder_multipleTexts()
DViewTranslationResponseTest.java47 .setValue("sample id", in testBuilder_validAddText()
61 .setValue("sample id", TranslationResponseValue.forError()) in testBuilder_validAddError()
73 .setValue("sample id", in testGetValue_invalidId()
90 .setValue("sample id", in testBuilder_multipleResults()
94 .setValue("id2", in testBuilder_multipleResults()
98 .setValue("id3", TranslationResponseValue.forError()) in testBuilder_multipleResults()
DTranslationResponseTest.java47 .setValue("sample id",
77 .setValue("id2", in testBuilder_errorViewTranslationResponse()
199 .setValue("id2", in testParceledResponse_validViewTranslationResponses()
DTranslationRequestTest.java41 .setValue("sample id", TranslationRequestValue.forText("sample text"))
149 .setValue("id2", TranslationRequestValue.forText("text2")) in testBuilder_sameAutofillIdViewTranslationRequests()
178 .setValue("id2", TranslationRequestValue.forText("test")) in testParceledRequest_validViewTranslationRequests()
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java203 mNumberPicker.setValue(1); in testSelectionDisplayedValueFromDisplayedValues()
207 mNumberPicker.setValue(2); in testSelectionDisplayedValueFromDisplayedValues()
211 mNumberPicker.setValue(3); in testSelectionDisplayedValueFromDisplayedValues()
220 mNumberPicker.setValue(1); in testSelectionDisplayedValueFromDisplayedValues()
224 mNumberPicker.setValue(2); in testSelectionDisplayedValueFromDisplayedValues()
236 mNumberPicker.setValue(0); in testSelectionDisplayedValueFromFormatter()
240 mNumberPicker.setValue(1); in testSelectionDisplayedValueFromFormatter()
244 mNumberPicker.setValue(2); in testSelectionDisplayedValueFromFormatter()
248 mNumberPicker.setValue(3); in testSelectionDisplayedValueFromFormatter()
252 mNumberPicker.setValue(4); in testSelectionDisplayedValueFromFormatter()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleServerService.java363 getCharacteristic(CHARACTERISTIC_UUID).setValue(WRITE_VALUE.getBytes()); in resetValues()
364 getDescriptor().setValue(WRITE_VALUE.getBytes()); in resetValues()
647 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
649 notiCharacteristic.setValue(NOTIFY_VALUE); in createAdditionalNotificationService()
655 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
657 notiCharacteristic.setValue(NOTIFY_VALUE); in createAdditionalNotificationService()
663 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
665 notiCharacteristic.setValue(NOTIFY_VALUE); in createAdditionalNotificationService()
671 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE); in createAdditionalNotificationService()
673 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);
/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/translation/src/android/translation/cts/views/
DCustomTextView.java49 requestBuilder.setValue(ViewTranslationRequest.ID_TEXT, in onCreateViewTranslationRequest()
51 requestBuilder.setValue(CUSTOM_TRANSLATION_ID_MY_TAG, in onCreateViewTranslationRequest()
DVirtualContainerView.java50 ViewTranslationRequest request = requestBuilder.setValue(ViewTranslationRequest.ID_TEXT, in onCreateVirtualViewTranslationRequests()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DXmlHandler.java94 eleBuilder.setValue(attributes.getValue(GID_TAG)); in startElement()
105 eleBuilder.setValue(uid); in startElement()
116 eleBuilder.setValue(file); in startElement()
135 eleBuilder.setValue(version); in startElement()
/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/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/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1Boolean.java61 public void setValue(boolean value) { in setValue() method in Asn1Boolean
DAsn1Utf8String.java50 public void setValue(String value) { in setValue() method in Asn1Utf8String
DAsn1ObjectIdentifier.java68 public void setValue(List<Integer> value) { in setValue() method in Asn1ObjectIdentifier
DAsn1Enumerated.java48 public void setValue(Value value) { in setValue() method in Asn1Enumerated
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DAttachedSurfaceControlSyncTest.java198 public void setValue(View object, int value) {
210 public void setValue(View object, int value) {
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java110 params.get("port").setValue(port); in getDebuggerConnection()
111 params.get("hostname").setValue("localhost"); in getDebuggerConnection()
113 params.get("timeout").setValue("60000"); in getDebuggerConnection()
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/
DInlineAugmentedAuthTest.java87 .setValue(unFieldId, AutofillValue.forText("Auth Result"))
187 .setValue(unFieldId, AutofillValue.forText("Auth Result"))
/cts/tests/tests/animation/src/android/animation/cts/
DKeyframeTest.java113 keyFrame.setValue(value); in testSetValue()

123