Home
last modified time | relevance | path

Searched refs:converted (Results 1 – 24 of 24) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DExerciseSegmentInternalTest.java45 ExerciseSegment converted = externalSegment.toSegmentInternal().toExternalRecord(); in testExerciseSegmentInternal_convertToExternalAndBack_recordsAreEqual() local
46 assertSegmentsAreEqual(converted, externalSegment); in testExerciseSegmentInternal_convertToExternalAndBack_recordsAreEqual()
57 ExerciseSegment converted = externalSegment.toSegmentInternal().toExternalRecord(); in testExerciseSegmentInternal_convertToExternalAndBackNoReps_recordsAreEqual() local
58 assertSegmentsAreEqual(converted, externalSegment); in testExerciseSegmentInternal_convertToExternalAndBackNoReps_recordsAreEqual()
93 ExerciseSegment converted, ExerciseSegment externalSegment) { in assertSegmentsAreEqual() argument
95 assertThat(converted.getStartTime().toEpochMilli()) in assertSegmentsAreEqual()
97 assertThat(converted.getEndTime().toEpochMilli()) in assertSegmentsAreEqual()
100 assertThat(converted.getSegmentType()).isEqualTo(externalSegment.getSegmentType()); in assertSegmentsAreEqual()
101 assertThat(converted.getRepetitionsCount()) in assertSegmentsAreEqual()
DExerciseLapInternalTest.java41 ExerciseLap converted = externalLap.toExerciseLapInternal().toExternalRecord(); in testExerciseLapInternal_convertToExternalAndBack_recordsAreEqual() local
42 assertLapsAreEqual(converted, externalLap); in testExerciseLapInternal_convertToExternalAndBack_recordsAreEqual()
48 ExerciseLap converted = externalLap.toExerciseLapInternal().toExternalRecord(); in testExerciseLapInternal_convertToExternalAndBackNoLength_recordsAreEqual() local
49 assertLapsAreEqual(converted, externalLap); in testExerciseLapInternal_convertToExternalAndBackNoLength_recordsAreEqual()
86 private void assertLapsAreEqual(ExerciseLap converted, ExerciseLap externalLap) { in assertLapsAreEqual() argument
88 assertThat(converted.getStartTime().toEpochMilli()) in assertLapsAreEqual()
90 assertThat(converted.getEndTime().toEpochMilli()) in assertLapsAreEqual()
92 assertThat(converted.getLength()).isEqualTo(externalLap.getLength()); in assertLapsAreEqual()
DSleepStageInternalTest.java39 SleepSessionRecord.Stage converted = external.toInternalStage().toExternalRecord(); in testSleepStageInternal_convertToExternalAndBack_recordsAreEqual() local
42 assertThat(converted.getStartTime().toEpochMilli()) in testSleepStageInternal_convertToExternalAndBack_recordsAreEqual()
44 assertThat(converted.getEndTime().toEpochMilli()) in testSleepStageInternal_convertToExternalAndBack_recordsAreEqual()
47 assertThat(converted.getType()).isEqualTo(external.getType()); in testSleepStageInternal_convertToExternalAndBack_recordsAreEqual()
/packages/modules/Bluetooth/system/gd/rust/topshim/gatt/
Dgatt_ble_scanner_shim.cc50 ApcfCommand converted = { in ConvertApcfFromRust() local
70 return converted; in ConvertApcfFromRust()
74 std::vector<ApcfCommand> converted; in ConvertApcfVec() local
77 converted.push_back(ConvertApcfFromRust(command)); in ConvertApcfVec()
80 return converted; in ConvertApcfVec()
84 std::vector<uint8_t> converted; in ConvertRustByteArray() local
86 std::copy(bytes.begin(), bytes.end(), std::back_inserter(converted)); in ConvertRustByteArray()
88 return converted; in ConvertRustByteArray()
92 MsftAdvMonitorPattern converted = { in ConvertAdvMonitorPattern() local
98 return converted; in ConvertAdvMonitorPattern()
[all …]
Dgatt_ble_advertiser_shim.cc93 std::vector<uint8_t> converted; in SetData() local
94 std::copy(data.begin(), data.end(), std::back_inserter(converted)); in SetData()
99 converted, in SetData()
170 std::vector<uint8_t> converted; in SetPeriodicAdvertisingData() local
171 std::copy(data.begin(), data.end(), std::back_inserter(converted)); in SetPeriodicAdvertisingData()
174 …adv_id, converted, base::Bind(&BleAdvertiserIntf::OnIdStatusCallback, base::Unretained(this), adv_… in SetPeriodicAdvertisingData()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceHidlImplTest.java542 WifiLinkLayerStats converted = mDut.frameworkFromHalLinkLayerStats(stats); in testLinkLayerStatsAssignment() local
544 verifyIfaceStats(stats.iface, converted); in testLinkLayerStatsAssignment()
545 verifyRadioStats(stats.radios, converted); in testLinkLayerStatsAssignment()
546 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment()
547 assertEquals(WifiLinkLayerStats.V1_0, converted.version); in testLinkLayerStatsAssignment()
568 WifiLinkLayerStats converted = mDut.frameworkFromHalLinkLayerStats_1_3(stats); in testLinkLayerStatsAssignment_1_3() local
570 verifyIfaceStats(stats.iface, converted); in testLinkLayerStatsAssignment_1_3()
571 verifyRadioStats_1_3(stats.radios.get(0), converted); in testLinkLayerStatsAssignment_1_3()
572 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment_1_3()
573 assertEquals(WifiLinkLayerStats.V1_3, converted.version); in testLinkLayerStatsAssignment_1_3()
[all …]
DWifiStaIfaceAidlImplTest.java123 WifiLinkLayerStats converted = mDut.halToFrameworkLinkLayerStats(stats); in testLinkLayerStatsAssignment() local
125 verifyIfaceStats(stats.iface, converted); in testLinkLayerStatsAssignment()
126 verifyPerRadioStats(stats.radios, converted); in testLinkLayerStatsAssignment()
127 verifyRadioStats(stats.radios[0], converted); in testLinkLayerStatsAssignment()
128 assertEquals(stats.timeStampInMs, converted.timeStampInMs); in testLinkLayerStatsAssignment()
129 assertEquals(WifiLinkLayerStats.V1_5, converted.version); in testLinkLayerStatsAssignment()
130 assertEquals(1, converted.numRadios); in testLinkLayerStatsAssignment()
151 WifiLinkLayerStats converted = mDut.halToFrameworkLinkLayerStats(stats); in testTwoRadioStatsAggregation() local
152 verifyPerRadioStats(stats.radios, converted); in testTwoRadioStatsAggregation()
153 verifyTwoRadioStatsAggregation(stats.radios, converted); in testTwoRadioStatsAggregation()
[all …]
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DUnicodeDialerKeyListener.java35 final String converted = in filter() local
40 CharSequence result = super.filter(converted, start, end, dest, dstart, dend); in filter()
42 if (source.equals(converted)) { in filter()
51 return converted.subSequence(start, end); in filter()
DDialpadFragment.java578 final String converted = in fillDigitsIfNecessary() local
581 setFormattedDigits(converted, null); in fillDigitsIfNecessary()
/packages/apps/Camera2/src/com/android/camera/util/
DSize.java152 Size[] converted = new Size[sizes.length]; in convert() local
154 converted[i] = new Size(sizes[i].getWidth(), sizes[i].getHeight()); in convert()
156 return converted; in convert()
160 ArrayList<Size> converted = new ArrayList<>(sizes.size()); in convert() local
162 converted.add(new Size(size.width(), size.height())); in convert()
164 return converted; in convert()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestHarness.cpp310 TestModel converted(testModel.copy()); in convertQuant8AsymmOperandsToSigned() local
311 processSubgraph(&converted.main); in convertQuant8AsymmOperandsToSigned()
312 for (TestSubgraph& subgraph : converted.referenced) { in convertQuant8AsymmOperandsToSigned()
315 return converted; in convertQuant8AsymmOperandsToSigned()
701 TestOperand converted = op; in convertOperandToFloat32() local
702 converted.type = in convertOperandToFloat32()
704 converted.scale = 0.0f; in convertOperandToFloat32()
705 converted.zeroPoint = 0; in convertOperandToFloat32()
707 const uint32_t numberOfElements = getNumberOfElements(converted); in convertOperandToFloat32()
708 converted.data = TestBuffer(numberOfElements * sizeof(float)); in convertOperandToFloat32()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/common/
DOutcomeReceiverConverterTest.java60 AdServicesOutcomeReceiver<Object, Exception> converted = in testOutcomeReceiverConverter() local
62 converted.onResult(obj); in testOutcomeReceiverConverter()
65 converted.onError(error); in testOutcomeReceiverConverter()
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Duuid.rs204 let converted = Uuid::from_string(uuid.to_string()).unwrap(); in test_uuidhelper() localVariable
205 assert_eq!(*uuid, converted); in test_uuidhelper()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/
Dbtif.rs1221 let converted: cxx::UniquePtr<ffi::InitFlags> = ffi::ConvertFlags(init_flags); in initialize() localVariable
1222 let flags = (*converted).GetFlagsPtr(); in initialize()
1557 let converted: BluetoothProperty = prop_pair.1.into(); in test_property_with_string_conversions() localVariable
1558 assert!(match converted { in test_property_with_string_conversions()
1572 let converted: BluetoothProperty = prop_pair.1.into(); in test_property_with_string_conversions() localVariable
1573 assert!(match converted { in test_property_with_string_conversions()
1586 let converted: BluetoothProperty = prop_pair.1.into(); in test_property_with_string_conversions() localVariable
1587 assert!(match converted { in test_property_with_string_conversions()
/packages/modules/Virtualization/docs/
Dabl.md39 Thee bootconfigs are converted into system properties by the init process.
/packages/inputmethods/LatinIME/dictionaries/
Dsample.combined1 # This is a sample wordlist that can be converted to a binary dictionary
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dsdp.rs484 let mut converted = record.get_unsafe_record(); in create_sdp_record() localVariable
485 let record_ptr = LTCheckedPtrMut::from_ref(&mut converted); in create_sdp_record()
/packages/modules/SdkExtensions/
Dreleased-flagged-apis.txt6 # These flags are converted into command line options that are passed to
/packages/apps/Launcher3/tests/
DAndroid.bp36 // multivalentTests directory is a shared folder for not only robolectric converted test
/packages/modules/Bluetooth/system/doc/
Dstyle_guide.md35 The one exception is if an integer needs to be temporarily converted to a
/packages/modules/NeuralNetworks/tools/test_generator/
DREADME.md245 # "hash" will be converted to a model input when applying AllTensorsAsInputsConverter,