Home
last modified time | relevance | path

Searched refs:VALUE (Results 1 – 25 of 79) sorted by relevance

1234

/packages/modules/Bluetooth/system/rust/src/gatt/server/transactions/
Dfind_by_type_value.rs96 const VALUE: [u8; 2] = [1, 2]; constant
109 VALUE.into(), in test_uuid_match()
117 VALUE.into(), in test_uuid_match()
125 VALUE.into(), in test_uuid_match()
134 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_uuid_match()
171 VALUE.into(), in test_value_match()
187 VALUE.into(), in test_value_match()
196 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_value_match()
233 attribute_value: build_att_data(AttAttributeDataChild::RawData(VALUE.into())), in test_range_check()
259 VALUE.into(), in test_empty_response()
[all …]
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DDataElementTest.java46 private static final byte[] VALUE = new byte[]{1, 1, 1, 1}; field in DataElementTest
51 DataElement dataElement = new DataElement(KEY, VALUE); in testBuilder()
54 assertThat(Arrays.equals(dataElement.getValue(), VALUE)).isTrue(); in testBuilder()
60 DataElement dataElement = new DataElement(KEY, VALUE); in testWriteParcel()
70 assertThat(Arrays.equals(elementFromParcel.getValue(), VALUE)).isTrue(); in testWriteParcel()
76 DataElement dataElement = new DataElement(KEY, VALUE); in describeContents()
91 DataElement dataElement = new DataElement(KEY, VALUE); in testEquals()
92 DataElement dataElement2 = new DataElement(KEY, VALUE); in testEquals()
120 DataElement dataElement = new DataElement(KEY, VALUE); in test_notEquals()
122 DataElement dataElement3 = new DataElement(6, VALUE); in test_notEquals()
DCredentialElementTest.java39 private static final byte[] VALUE = new byte[]{1, 2, 3, 4}; field in CredentialElementTest
44 CredentialElement element = new CredentialElement(KEY, VALUE); in testBuilder()
46 assertThat(Arrays.equals(element.getValue(), VALUE)).isTrue(); in testBuilder()
52 CredentialElement element = new CredentialElement(KEY, VALUE); in testWriteParcel()
61 assertThat(Arrays.equals(elementFromParcel.getValue(), VALUE)).isTrue(); in testWriteParcel()
67 CredentialElement element = new CredentialElement(KEY, VALUE); in describeContents()
74 CredentialElement element1 = new CredentialElement(KEY, VALUE); in testEqual()
75 CredentialElement element2 = new CredentialElement(KEY, VALUE); in testEqual()
DPresenceDeviceTest.java49 private static final byte[] VALUE = new byte[]{1, 1, 1, 1}; field in PresenceDeviceTest
62 .addExtendedProperty(new DataElement(KEY, VALUE)) in testBuilder()
74 assertThat(Arrays.equals(dataElement.getValue(), VALUE)).isTrue(); in testBuilder()
89 .addExtendedProperty(new DataElement(KEY, VALUE)) in testWriteParcel()
113 .addExtendedProperty(new DataElement(KEY, VALUE)) in describeContents()
DPrivateCredentialTest.java49 private static final byte[] VALUE = new byte[]{1, 2, 3, 4, 5}; field in PrivateCredentialTest
59 .addCredentialElement(new CredentialElement(KEY, VALUE)); in setUp()
76 assertThat(Arrays.equals(credentialElement.getValue(), VALUE)).isTrue(); in testBuilder()
100 assertThat(Arrays.equals(credentialElement.getValue(), VALUE)).isTrue(); in testWriteParcel()
DPublicCredentialTest.java51 private static final byte[] VALUE = new byte[] {1, 2, 3, 4, 5}; field in PublicCredentialTest
64 .addCredentialElement(new CredentialElement(KEY, VALUE)) in setUp()
123 .addCredentialElement(new CredentialElement(KEY, VALUE)) in testEquals()
134 .addCredentialElement(new CredentialElement(KEY, VALUE)) in testEquals()
DPresenceScanFilterTest.java52 private static final byte[] VALUE = new byte[]{1, 1, 1, 1}; field in PresenceScanFilterTest
63 .addExtendedProperty(new DataElement(KEY, VALUE));
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/signals/
DDBProtectedSignalTest.java43 DBProtectedSignalFixture.VALUE, in testCreateSignal()
49 assertArrayEquals(DBProtectedSignalFixture.VALUE, signal.getValue()); in testCreateSignal()
61 .setValue(DBProtectedSignalFixture.VALUE) in testBuildSignal()
68 assertArrayEquals(DBProtectedSignalFixture.VALUE, signal.getValue()); in testBuildSignal()
80 .setValue(DBProtectedSignalFixture.VALUE) in testEqual()
89 .setValue(DBProtectedSignalFixture.VALUE) in testEqual()
103 .setValue(DBProtectedSignalFixture.VALUE) in testNotEqual()
112 .setValue(DBProtectedSignalFixture.VALUE) in testNotEqual()
126 .setValue(DBProtectedSignalFixture.VALUE) in testHashCode()
135 .setValue(DBProtectedSignalFixture.VALUE) in testHashCode()
DDBProtectedSignalFixture.java26 public static final byte[] VALUE = {(byte) 42}; field in DBProtectedSignalFixture
33 .setValue(DBProtectedSignalFixture.VALUE) in getBuilder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DHomogenousBiMapTest.java29 private final static Integer VALUE = 2; field in HomogenousBiMapTest
37 mBiMap.put(KEY, VALUE); in setUp()
42 assertThat(mBiMap.getForwardMap().get(KEY)).isEqualTo(VALUE); in put_works()
47 assertThat(mBiMap.getForwardMap().get(KEY)).isEqualTo(VALUE); in getForwardMap_works()
52 assertThat(mBiMap.getReverseMap().get(VALUE)).isEqualTo(KEY); in getReverseMap_works()
66 copy.put(KEY, VALUE); in equals_equalMaps_works()
82 copy.put(KEY, VALUE); in hashCode_equalMaps_works()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarPropertyValueTest.java36 private static final Float VALUE = 12.0F; field in CarPropertyValueTest
38 PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, VALUE);
94 new CarPropertyValue<>(differentPropertyId, AREA_ID, TIMESTAMP_NANOS, VALUE))) in equals_returnsFalseForDifferentPropertyIds()
102 new CarPropertyValue<>(PROPERTY_ID, differentAreaId, TIMESTAMP_NANOS, VALUE))) in equals_returnsFalseForDifferentAreaIds()
111 VALUE))).isFalse(); in equals_returnsFalseForDifferentStatuses()
118 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, differentTimestampNanos, VALUE))) in equals_returnsFalseForDifferentTimestamps()
140 new CarPropertyValue<>(PROPERTY_ID, AREA_ID, TIMESTAMP_NANOS, VALUE))) in equals_returnsTrueWhenEqual()
224 TIMESTAMP_NANOS, VALUE).getStatus()).isEqualTo(CarPropertyValue.STATUS_ERROR); in getStatus_returnsError()
DDeviceConfigTest.java52 public static final String VALUE = "Set_Value_42"; field in DeviceConfigTest
69 assertThat(DeviceConfig.setProperty(NAMESPACE_GAME_OVERLAY, KEY, VALUE, in testUpdateConfigForCurrentUser()
71 assertThat(DeviceConfig.getProperty(NAMESPACE_GAME_OVERLAY, KEY)).isEqualTo(VALUE); in testUpdateConfigForCurrentUser()
80 () -> Settings.Config.putString(NAMESPACE_GAME_OVERLAY, KEY, VALUE, in testUpdateConfigForBackgroundUser()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DUpdateProcessingOrchestratorTest.java74 public static final byte[] VALUE = {(byte) 42}; field in UpdateProcessingOrchestratorTest
173 DBProtectedSignal.builder().setKey(KEY_1).setValue(VALUE); in testUpdatesProcessorSingleInsert()
181 List<DBProtectedSignal> expected = List.of(createSignal(KEY_1, VALUE)); in testUpdatesProcessorSingleInsert()
203 DBProtectedSignal.builder().setKey(KEY_1).setValue(VALUE); in testUpdatesProcessorSingleInsertJsonArray()
211 List<DBProtectedSignal> expected = Arrays.asList(createSignal(KEY_1, VALUE)); in testUpdatesProcessorSingleInsertJsonArray()
225 DBProtectedSignal toRemove = createSignal(KEY_1, VALUE, 123L); in testUpdatesProcessorSingleRemove()
226 DBProtectedSignal toKeep = createSignal(KEY_2, VALUE, 456L); in testUpdatesProcessorSingleRemove()
261 DBProtectedSignal.builder().setKey(KEY_1).setValue(VALUE); in testUpdatesProcessorTwoInserts()
269 DBProtectedSignal.builder().setKey(KEY_2).setValue(VALUE); in testUpdatesProcessorTwoInserts()
277 DBProtectedSignal expected1 = createSignal(KEY_1, VALUE); in testUpdatesProcessorTwoInserts()
[all …]
DProtectedSignalTest.java30 private static final String VALUE = "A5"; field in ProtectedSignalTest
39 .setBase64EncodedValue(VALUE) in testCreateProtectedSignal()
43 assertEquals(VALUE, signal.getBase64EncodedValue()); in testCreateProtectedSignal()
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/
DQCSliderTest.java34 private static final int VALUE = 75; field in QCSliderTest
58 assertThat(newSlider.getValue()).isEqualTo(VALUE); in createFromParcel_accurateData()
65 .setValue(VALUE) in createSlider()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/aggregation/
DAggregateHistogramContribution.java30 static final String VALUE = "value"; field in AggregateHistogramContribution
60 jsonObject.put(VALUE, mValue); in toJSONObject()
116 aggregateHistogramContribution.mValue = jsonObject.getInt(VALUE); in fromJsonObject()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DCarrierConfigManagerExtTest.kt45 on { getConfigForSubId(any(), eq(KEY)) } doReturn persistableBundleOf(KEY to VALUE) in safeGetConfig_managerReturnKeyValue_returnNonEmptyBundle()
51 assertThat(bundle.getString(KEY)).isEqualTo(VALUE) in safeGetConfig_managerReturnKeyValue_returnNonEmptyBundle()
68 const val VALUE = "value" constant
/packages/apps/Calendar/src/com/android/calendar/
DCalendarUtils.kt112 val valueColumn: Int = cursor.getColumnIndexOrThrow(CalendarCache.VALUE) in onQueryComplete()
236 values.put(CalendarCache.VALUE, if (mUseHomeTZ) CalendarCache.TIMEZONE_TYPE_HOME in setTimeZone()
244 values2.put(CalendarCache.VALUE, mHomeTZ) in setTimeZone()
321 CalendarCache.KEY, CalendarCache.VALUE
/packages/apps/Settings/src/com/android/settings/display/
DCustomizableLockScreenUtils.java56 static final String VALUE = "value"; field in CustomizableLockScreenUtils
93 final int indexOfValueColumn = cursor.getColumnIndex(VALUE); in isFeatureEnabled()
95 Log.w(TAG, "Cursor doesn't contain " + NAME + " or " + VALUE + "!"); in isFeatureEnabled()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/basic/
DBasicModeFeatureProviderImplX.java55 private static final String VALUE = "value"; field in BasicModeFeatureProviderImplX
130 parser.getAttributeValue(null, VALUE))); in isStoreDemoMode()
131 return STORE_DEMO.equals(parser.getAttributeValue(null, VALUE)); in isStoreDemoMode()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/
DAttributedTrigger.java82 if (!json.isNull(TriggerSpecs.FlexEventReportJsonKeys.VALUE)) { in AttributedTrigger()
83 mValue = json.getLong(TriggerSpecs.FlexEventReportJsonKeys.VALUE); in AttributedTrigger()
220 json.put(TriggerSpecs.FlexEventReportJsonKeys.VALUE, mValue); in encodeToJsonFlexApi()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarSpringOnStashController.java18 import static com.android.launcher3.anim.AnimatedFloat.VALUE;
86 .build(mTranslationForStash, VALUE); in createSpringToStash()
/packages/apps/Launcher3/src/com/android/launcher3/
DInterruptibleInOutAnimator.java37 private static final Property<InterruptibleInOutAnimator, Float> VALUE = field in InterruptibleInOutAnimator
69 mAnimator = ObjectAnimator.ofFloat(this, VALUE, fromValue, toValue).setDuration(duration); in InterruptibleInOutAnimator()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DGoogleLocationSettingHelper.java48 private static final String VALUE = "value"; field in GoogleLocationSettingHelper
76 new String[] {VALUE}, in getUseLocationForServices()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DAnimatedFloat.java30 public static final FloatProperty<AnimatedFloat> VALUE = field in AnimatedFloat
86 mValueAnimator = ObjectAnimator.ofFloat(this, VALUE, start, end); in animateToValue()

1234