/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorEvent.java | 228 public EnvironmentData getEnvironmentData(EnvironmentData data) { in getEnvironmentData() argument 230 if (data == null) { in getEnvironmentData() 231 data = new EnvironmentData(); in getEnvironmentData() 233 data.timestamp = timestamp; in getEnvironmentData() 234 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData() 235 return data; in getEnvironmentData() 256 public IgnitionStateData getIgnitionStateData(IgnitionStateData data) { in getIgnitionStateData() argument 258 if (data == null) { in getIgnitionStateData() 259 data = new IgnitionStateData(); in getIgnitionStateData() 261 data.timestamp = timestamp; in getIgnitionStateData() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | SectionParser.java | 17 package com.android.tv.tuner.data; 28 import com.android.tv.tuner.data.Channel.AtscServiceType; 29 import com.android.tv.tuner.data.PsiData.PatItem; 30 import com.android.tv.tuner.data.PsiData.PmtItem; 31 import com.android.tv.tuner.data.PsipData.Ac3AudioDescriptor; 32 import com.android.tv.tuner.data.PsipData.CaptionServiceDescriptor; 33 import com.android.tv.tuner.data.PsipData.ContentAdvisoryDescriptor; 34 import com.android.tv.tuner.data.PsipData.EitItem; 35 import com.android.tv.tuner.data.PsipData.EttItem; 36 import com.android.tv.tuner.data.PsipData.ExtendedChannelNameDescriptor; [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 70 private static short getUnsignedByte(ByteBuffer data) { in getUnsignedByte() argument 71 return (short) (data.get() & 0x00ff); in getUnsignedByte() 77 private static int getUnsignedShort(ByteBuffer data) { in getUnsignedShort() argument 78 return (data.getShort() & 0xffff); in getUnsignedShort() 88 private void parseEthernetFrame(ByteBuffer data) { in parseEthernetFrame() argument 90 data.position(data.position() + ETHERNET_SRC_MAC_ADDR_LEN + ETHERNET_DST_MAC_ADDR_LEN); in parseEthernetFrame() 91 short etherType = data.getShort(); in parseEthernetFrame() 94 parseIpv4Packet(data); in parseEthernetFrame() 97 parseArpPacket(data); in parseEthernetFrame() 100 parseIpv6Packet(data); in parseEthernetFrame() [all …]
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | Attribution_e2e_test.cpp | 165 auto data = countMetrics.data(0); in TEST() local 166 ValidateAttributionUidAndTagDimension(data.dimensions_in_what(), in TEST() 168 ASSERT_EQ(data.bucket_info_size(), 2); in TEST() 169 EXPECT_EQ(data.bucket_info(0).count(), 2); in TEST() 170 EXPECT_EQ(data.bucket_info(0).start_bucket_elapsed_nanos(), bucketStartTimeNs); in TEST() 171 EXPECT_EQ(data.bucket_info(0).end_bucket_elapsed_nanos(), bucketStartTimeNs + bucketSizeNs); in TEST() 172 EXPECT_EQ(data.bucket_info(1).count(), 1); in TEST() 173 EXPECT_EQ(data.bucket_info(1).start_bucket_elapsed_nanos(), in TEST() 175 EXPECT_EQ(data.bucket_info(1).end_bucket_elapsed_nanos(), bucketStartTimeNs + 3 * bucketSizeNs); in TEST() 177 data = countMetrics.data(1); in TEST() [all …]
|
D | CountMetric_e2e_test.cpp | 236 auto data = countMetrics.data(0); in TEST() local 237 ASSERT_EQ(1, data.slice_by_state_size()); in TEST() 238 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST() 239 EXPECT_TRUE(data.slice_by_state(0).has_value()); in TEST() 241 data.slice_by_state(0).value()); in TEST() 242 ASSERT_EQ(1, data.bucket_info_size()); in TEST() 243 EXPECT_EQ(1, data.bucket_info(0).count()); in TEST() 245 data = countMetrics.data(1); in TEST() 246 ASSERT_EQ(1, data.slice_by_state_size()); in TEST() 247 EXPECT_EQ(SCREEN_STATE_ATOM_ID, data.slice_by_state(0).atom_id()); in TEST() [all …]
|
D | GaugeMetric_e2e_pull_test.cpp | 150 auto data = gaugeMetrics.data(0); in TEST() local 151 EXPECT_EQ(ATOM_TAG, data.dimensions_in_what().field()); in TEST() 152 ASSERT_EQ(1, data.dimensions_in_what().value_tuple().dimensions_value_size()); in TEST() 154 data.dimensions_in_what().value_tuple().dimensions_value(0).field()); in TEST() 155 EXPECT_FALSE(data.dimensions_in_what().value_tuple().dimensions_value(0).value_str().empty()); in TEST() 156 ASSERT_EQ(6, data.bucket_info_size()); in TEST() 158 ASSERT_EQ(1, data.bucket_info(0).atom_size()); in TEST() 159 ASSERT_EQ(1, data.bucket_info(0).elapsed_timestamp_nanos_size()); in TEST() 160 EXPECT_EQ(configAddedTimeNs + 55, data.bucket_info(0).elapsed_timestamp_nanos(0)); in TEST() 161 ASSERT_EQ(0, data.bucket_info(0).wall_clock_timestamp_nanos_size()); in TEST() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/corpus/ |
D | seed152 | 15 data { 31 data { 48 data { 64 data { 82 data { 98 data { 114 data { 130 data { 148 data { 167 data { [all …]
|
D | seed160 | 15 data { 33 data { 49 data { 65 data { 81 data { 97 data { 115 data { 132 data { 150 data { 167 data { [all …]
|
D | seed345 | 15 data { 33 data { 49 data { 65 data { 81 data { 99 data { 115 data { 131 data { 148 data { 164 data { [all …]
|
D | seed275 | 15 data { 35 data { 51 data { 71 data { 87 data { 103 data { 119 data { 139 data { 159 data { 176 data { [all …]
|
D | seed223 | 17 data { 33 data { 50 data { 68 data { 84 data { 102 data { 118 data { 137 data { 154 data { 172 data { [all …]
|
D | seed173 | 15 data { 31 data { 47 data { 65 data { 86 data { 103 data { 122 data { 139 data { 156 data { 173 data { [all …]
|
D | seed157 | 18 data { 37 data { 53 data { 70 data { 86 data { 103 data { 120 data { 138 data { 156 data { 174 data { [all …]
|
D | seed380 | 15 data { 33 data { 50 data { 68 data { 86 data { 106 data { 122 data { 139 data { 158 data { 176 data { [all …]
|
D | seed061 | 15 data { 32 data { 49 data { 69 data { 87 data { 107 data { 123 data { 139 data { 155 data { 171 data { [all …]
|
D | seed038 | 16 data { 34 data { 51 data { 69 data { 87 data { 105 data { 123 data { 140 data { 156 data { 173 data { [all …]
|
D | seed188 | 15 data { 32 data { 49 data { 66 data { 84 data { 101 data { 120 data { 138 data { 155 data { 171 data { [all …]
|
D | seed366 | 15 data { 31 data { 48 data { 66 data { 86 data { 104 data { 122 data { 139 data { 157 data { 175 data { [all …]
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_2/ |
D | layer_norm_lstm.example.cpp | 18 ….data = TestBuffer::createFromVector<float>({0.7f, 0.8f, 0.1f, 0.2f, 0.3f, 0.3f, 0.2f, 0.9f, 0.8f,… in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 28 ….data = TestBuffer::createFromVector<float>({0.5f, 0.6f, 0.7f, -0.8f, -0.9f, 0.1f, 0.2f, 0.3f, -0.… in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 38 ….data = TestBuffer::createFromVector<float>({-0.6f, -0.1f, 0.3f, 0.2f, 0.9f, -0.5f, -0.2f, -0.4f, … in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 48 ….data = TestBuffer::createFromVector<float>({-0.4f, -0.3f, -0.2f, -0.1f, -0.5f, 0.5f, -0.2f, -0.3f… in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 58 ….data = TestBuffer::createFromVector<float>({-0.8f, -0.4f, -0.2f, -0.9f, -0.1f, -0.7f, 0.3f, -0.3f… in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 68 ….data = TestBuffer::createFromVector<float>({-0.2f, -0.3f, 0.4f, 0.1f, -0.5f, 0.9f, -0.2f, -0.3f, … in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 78 ….data = TestBuffer::createFromVector<float>({-0.5f, -0.3f, -0.5f, -0.2f, 0.6f, 0.4f, 0.9f, 0.3f, -… in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 88 ….data = TestBuffer::createFromVector<float>({-0.3f, 0.2f, 0.1f, -0.3f, 0.8f, -0.08f, -0.2f, 0.3f, … in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 98 ….data = TestBuffer::createFromVector<float>({0.3f, -0.1f, 0.1f, -0.2f, -0.5f, -0.7f, -0.2f, -0.6f,… in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() 108 … .data = TestBuffer::createFromVector<float>({0.05f, 0.1f, 0.25f, 0.15f}), in get_test_model_NoCifgPeepholeProjectionNoClippingLayerNormLstm() [all …]
|
D | bidirectional_sequence_rnn.example.cpp | 18 ….data = TestBuffer::createFromVector<float>({0.23689353f, 0.285385f, 0.037029743f, -0.19858193f, -… in get_test_model_blackbox() 28 ….data = TestBuffer::createFromVector<float>({0.461459f, 0.153381f, 0.529743f, -0.00371218f, 0.6762… in get_test_model_blackbox() 38 ….data = TestBuffer::createFromVector<float>({0.1f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,… in get_test_model_blackbox() 48 ….data = TestBuffer::createFromVector<float>({0.065691948f, -0.69055247f, 0.1107955f, -0.97084129f,… in get_test_model_blackbox() 58 ….data = TestBuffer::createFromVector<float>({0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,… in get_test_model_blackbox() 68 ….data = TestBuffer::createFromVector<float>({0.461459f, 0.153381f, 0.529743f, -0.00371218f, 0.6762… in get_test_model_blackbox() 78 ….data = TestBuffer::createFromVector<float>({0.1f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,… in get_test_model_blackbox() 88 ….data = TestBuffer::createFromVector<float>({0.065691948f, -0.69055247f, 0.1107955f, -0.97084129f,… in get_test_model_blackbox() 98 ….data = TestBuffer::createFromVector<float>({0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f,… in get_test_model_blackbox() 108 .data = TestBuffer::createFromVector<float>({}), in get_test_model_blackbox() [all …]
|
D | grouped_conv2d.example.cpp | 18 ….data = TestBuffer::createFromVector<float>({1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 6.0f, 5.0f, 4.0f,… in get_test_model_nhwc_none() 28 … .data = TestBuffer::createFromVector<float>({1.0f, 2.0f, 2.0f, 1.0f, 4.0f, 3.0f, 2.0f, 1.0f}), in get_test_model_nhwc_none() 38 .data = TestBuffer::createFromVector<float>({10.0f, -33.5f}), in get_test_model_nhwc_none() 48 .data = TestBuffer::createFromVector<int32_t>({0}), in get_test_model_nhwc_none() 58 .data = TestBuffer::createFromVector<int32_t>({0}), in get_test_model_nhwc_none() 68 .data = TestBuffer::createFromVector<int32_t>({0}), in get_test_model_nhwc_none() 78 .data = TestBuffer::createFromVector<int32_t>({0}), in get_test_model_nhwc_none() 88 .data = TestBuffer::createFromVector<int32_t>({1}), in get_test_model_nhwc_none() 98 .data = TestBuffer::createFromVector<int32_t>({1}), in get_test_model_nhwc_none() 108 .data = TestBuffer::createFromVector<int32_t>({2}), in get_test_model_nhwc_none() [all …]
|
D | unidirectional_sequence_lstm_layer_norm_cifg_peephole.example.cpp | 18 ….data = TestBuffer::createFromVector<float>({0.7f, 0.8f, 0.1f, 0.2f, 0.3f, 0.3f, 0.2f, 0.9f, 0.8f,… in get_test_model() 28 .data = TestBuffer::createFromVector<float>({}), in get_test_model() 38 ….data = TestBuffer::createFromVector<float>({-0.6f, -0.1f, 0.3f, 0.2f, 0.9f, -0.5f, -0.2f, -0.4f, … in get_test_model() 48 ….data = TestBuffer::createFromVector<float>({-0.4f, -0.3f, -0.2f, -0.1f, -0.5f, 0.5f, -0.2f, -0.3f… in get_test_model() 58 ….data = TestBuffer::createFromVector<float>({-0.8f, -0.4f, -0.2f, -0.9f, -0.1f, -0.7f, 0.3f, -0.3f… in get_test_model() 68 .data = TestBuffer::createFromVector<float>({}), in get_test_model() 78 ….data = TestBuffer::createFromVector<float>({-0.5f, -0.3f, -0.5f, -0.2f, 0.6f, 0.4f, 0.9f, 0.3f, -… in get_test_model() 88 ….data = TestBuffer::createFromVector<float>({-0.3f, 0.2f, 0.1f, -0.3f, 0.8f, -0.08f, -0.2f, 0.3f, … in get_test_model() 98 ….data = TestBuffer::createFromVector<float>({0.3f, -0.1f, 0.1f, -0.2f, -0.5f, -0.7f, -0.2f, -0.6f,… in get_test_model() 108 .data = TestBuffer::createFromVector<float>({}), in get_test_model() [all …]
|
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_3/ |
D | bidirectional_sequence_lstm.example.cpp | 18 … .data = TestBuffer::createFromVector<float>({2.0f, 3.0f, 3.0f, 4.0f, 1.0f, 1.0f}), in get_test_model_parallel_linking() 28 ….data = TestBuffer::createFromVector<float>({-0.45018822f, -0.02338299f, -0.0870589f, -0.34550029f… in get_test_model_parallel_linking() 38 ….data = TestBuffer::createFromVector<float>({0.09701663f, 0.20334584f, -0.50592935f, -0.31343272f,… in get_test_model_parallel_linking() 48 ….data = TestBuffer::createFromVector<float>({-0.50013041f, 0.1370284f, 0.11810488f, 0.2013163f, -0… in get_test_model_parallel_linking() 58 ….data = TestBuffer::createFromVector<float>({-0.25065863f, -0.28290087f, 0.04613829f, 0.40525138f,… in get_test_model_parallel_linking() 68 ….data = TestBuffer::createFromVector<float>({-0.0063535f, -0.2042388f, 0.31454784f, -0.35746509f, … in get_test_model_parallel_linking() 78 ….data = TestBuffer::createFromVector<float>({-0.48684245f, -0.06655136f, 0.42224967f, 0.2112639f, … in get_test_model_parallel_linking() 88 ….data = TestBuffer::createFromVector<float>({-0.3407414f, 0.24443203f, -0.2078532f, 0.26320225f, 0… in get_test_model_parallel_linking() 98 ….data = TestBuffer::createFromVector<float>({0.43385774f, -0.17194885f, 0.2718237f, 0.09215671f, 0… in get_test_model_parallel_linking() 108 .data = TestBuffer::createFromVector<float>({}), in get_test_model_parallel_linking() [all …]
|
D | while_fib.example.cpp | 18 .data = TestBuffer::createFromVector<uint32_t>({0}), in get_test_model_n_1_unused_output() 28 .data = TestBuffer::createFromVector<uint32_t>({1}), in get_test_model_n_1_unused_output() 38 .data = TestBuffer::createFromVector<float>({1.0f, 1.0f}), in get_test_model_n_1_unused_output() 48 .data = TestBuffer::createFromVector<int32_t>({1}), in get_test_model_n_1_unused_output() 58 .data = TestBuffer::createFromVector<int32_t>({1}), in get_test_model_n_1_unused_output() 68 .data = TestBuffer::createFromVector<float>({1.0f, 1.0f}), in get_test_model_n_1_unused_output() 78 .data = TestBuffer::createFromVector<int32_t>({}), in get_test_model_n_1_unused_output() 99 .data = TestBuffer::createFromVector<float>({}), in get_test_model_n_1_unused_output() 109 .data = TestBuffer::createFromVector<int32_t>({}), in get_test_model_n_1_unused_output() 119 .data = TestBuffer::createFromVector<int32_t>({}), in get_test_model_n_1_unused_output() [all …]
|
D | while_sum_of_powers_quant8.example.cpp | 18 .data = TestBuffer::createFromVector<uint32_t>({0}), in get_test_model_n_0() 28 .data = TestBuffer::createFromVector<uint32_t>({1}), in get_test_model_n_0() 38 .data = TestBuffer::createFromVector<uint8_t>({129, 129}), in get_test_model_n_0() 48 .data = TestBuffer::createFromVector<int32_t>({1}), in get_test_model_n_0() 58 .data = TestBuffer::createFromVector<int32_t>({0}), in get_test_model_n_0() 68 .data = TestBuffer::createFromVector<uint8_t>({132, 134}), in get_test_model_n_0() 78 .data = TestBuffer::createFromVector<uint8_t>({129, 129}), in get_test_model_n_0() 99 .data = TestBuffer::createFromVector<uint8_t>({}), in get_test_model_n_0() 109 .data = TestBuffer::createFromVector<int32_t>({}), in get_test_model_n_0() 119 .data = TestBuffer::createFromVector<int32_t>({}), in get_test_model_n_0() [all …]
|