/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | resize_quant8_signed.mod.py | 22 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i1, 3, 3, layout).To(o1) 23 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i1, 1.5, 1.5, layout).To(o1) 46 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i2, 3, 3, layout).To(o2) 47 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i2, 1.6, 1.6, layout).To(o2) 70 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i3, 3, 3).To(o3) 71 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i3, 1.8, 1.8).To(o3) 100 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… 105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 109 model = model.Operation("RESIZE_BILINEAR", zero_sized, 3, 3, layout).To(o3) 138 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… [all …]
|
D | conv2d_quant8_signed.mod.py | 24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1) 46 Model().Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout, 3, 3).To(o2) 75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1) 97 Model().Operation("CONV_2D", i2, f2, b2, 2, 1, 1, 0, layout, 3, 3).To(o2) 127 Model().Operation("CONV_2D", i3, f3, b3, 1, 2, 2, 0, layout, 3, 3).To(o3) 154 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0).To(o1) 169 Model("layouts").Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout).To(o2) 186 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… 191 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 198 model = model.Operation("CONV_2D", zero_sized, w, b, 0, 0, 0, 0, 1, 1, 0, layout).To(o3) [all …]
|
D | transpose_quant8_signed.mod.py | 26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1) 60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1) 109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 142 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3) 168 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4) 195 Model().Operation("TRANSPOSE_CONV_2D", i5, w5, b5, 1, 2, 2, 1, 1, 1, 0, layout).To(o5) 223 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… 228 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 235 model = model.Operation("TRANSPOSE_CONV_2D", zero_sized, w, b, s, 2, 2, 2, 0, layout).To(o3) 266 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… [all …]
|
D | depthwise_conv2d_quant8_signed.mod.py | 24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1) 52 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0, layout, 2, 2).To(o2) 81 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1) 109 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout, 2, 2).To(o2) 138 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 1, 2, 2, 1, 0, layout, 3, 3).To(o2) 170 Model("same").Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 1, 0).To(o1) 187 Model("different").Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0).To(o2) 207 Model("layout").Operation("DEPTHWISE_CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 2, 0, layout).To(o3) 228 model = model.Operation("DEPTHWISE_CONV_2D", 260 model = model.Operation("DEPTHWISE_CONV_2D", [all …]
|
D | avg_pool_quant8_signed.mod.py | 23 model = model.Operation("AVERAGE_POOL_2D", i1, pad0, pad0, pad0, pad0, cons1, cons1, cons1, cons1, … 60 model = model.Operation( 97 model = model.Operation( 117 model = model.Operation("AVERAGE_POOL_2D", i1, pad0, pad0, pad0, pad0, cons1, cons1, cons1, cons1, … 137 model = model.Operation("AVERAGE_POOL_2D", i1, pad_same, cons2, cons2, cons2, cons2, act_none).To(i… 153 Model().Operation("AVERAGE_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1) 182 Model().Operation("AVERAGE_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2) 211 Model().Operation("AVERAGE_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o3) 240 Model().Operation("AVERAGE_POOL_2D", i4, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o4) 259 Model().Operation("AVERAGE_POOL_2D", i5, 1, 2, 2, 2, 2, 0, layout).To(o5) [all …]
|
D | softmax_quant8_signed.mod.py | 23 model = model.Operation("SOFTMAX", i1, beta).To(output) 42 model = model.Operation("SOFTMAX", i1, beta).To(output) 84 Model().Operation("SOFTMAX", i, 1.0).To(o) 87 Model().Operation("SOFTMAX", i, 0.000001).To(o) 93 Model("axis").Operation("SOFTMAX", i, 1.0, axis).To(o) 96 Model("axis").Operation("SOFTMAX", i, 0.000001, axis).To(o) 109 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… 115 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 119 model = model.Operation("SOFTMAX", zero_sized, 1.0).To(o3)
|
D | transpose_conv2d_quant8_signed.mod.py | 26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1) 60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1) 109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 141 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3) 167 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4) 194 Model().Operation("TRANSPOSE_CONV_2D", i5, w5, b5, 1, 2, 2, 1, 1, 1, 0, layout).To(o5) 222 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… 227 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 234 model = model.Operation("TRANSPOSE_CONV_2D", zero_sized, w, b, s, 2, 2, 2, 0, layout).To(o3) 265 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_1/ |
D | mobilenet_224_gender_basic_fixed_relaxed.mod.py | 238 model = model.Operation("CONV_2D", i86, i2, i1, i87, i88, i89, i90).To(i0) 239 model = model.Operation("DEPTHWISE_CONV_2D", i0, i29, i28, i91, i92, i93, i94, i95).To(i27) 240 model = model.Operation("CONV_2D", i27, i32, i31, i96, i97, i98, i99).To(i30) 241 model = model.Operation("DEPTHWISE_CONV_2D", i30, i35, i34, i100, i101, i102, i103, i104).To(i33) 242 model = model.Operation("CONV_2D", i33, i38, i37, i105, i106, i107, i108).To(i36) 243 model = model.Operation("DEPTHWISE_CONV_2D", i36, i41, i40, i109, i110, i111, i112, i113).To(i39) 244 model = model.Operation("CONV_2D", i39, i44, i43, i114, i115, i116, i117).To(i42) 245 model = model.Operation("DEPTHWISE_CONV_2D", i42, i47, i46, i118, i119, i120, i121, i122).To(i45) 246 model = model.Operation("CONV_2D", i45, i50, i49, i123, i124, i125, i126).To(i48) 247 model = model.Operation("DEPTHWISE_CONV_2D", i48, i53, i52, i127, i128, i129, i130, i131).To(i51) [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_0/ |
D | mobilenet_224_gender_basic_fixed.mod.py | 222 model = model.Operation("CONV_2D", i86, i2, i1, i87, i88, i89, i90).To(i0) 223 model = model.Operation("DEPTHWISE_CONV_2D", i0, i29, i28, i91, i92, i93, i94, i95).To(i27) 224 model = model.Operation("CONV_2D", i27, i32, i31, i96, i97, i98, i99).To(i30) 225 model = model.Operation("DEPTHWISE_CONV_2D", i30, i35, i34, i100, i101, i102, i103, i104).To(i33) 226 model = model.Operation("CONV_2D", i33, i38, i37, i105, i106, i107, i108).To(i36) 227 model = model.Operation("DEPTHWISE_CONV_2D", i36, i41, i40, i109, i110, i111, i112, i113).To(i39) 228 model = model.Operation("CONV_2D", i39, i44, i43, i114, i115, i116, i117).To(i42) 229 model = model.Operation("DEPTHWISE_CONV_2D", i42, i47, i46, i118, i119, i120, i121, i122).To(i45) 230 model = model.Operation("CONV_2D", i45, i50, i49, i123, i124, i125, i126).To(i48) 231 model = model.Operation("DEPTHWISE_CONV_2D", i48, i53, i52, i127, i128, i129, i130, i131).To(i51) [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | resize_nearest_neighbor.mod.py | 22 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 1, 1, layout).To(o1) 23 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 0.5, 0.5, layout).To(o1) 43 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 3, 3, layout).To(o1) 44 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 1.5, 1.5, layout).To(o1) 64 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 2, 2, layout).To(o1) 65 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 0.8, 0.8, layout).To(o1) 85 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 5, 2, layout).To(o1) 86 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 2.6, 1.1, layout).To(o1) 106 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 3, 3, layout).To(o1) 107 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 0.9, 0.9, layout).To(o1) [all …]
|
D | resize_bilinear_v1_2.mod.py | 22 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i1, 3, 3, layout).To(o1) 23 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i1, 1.5, 1.5, layout).To(o1) 46 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i2, 3, 3, layout).To(o2) 47 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i2, 1.6, 1.6, layout).To(o2) 70 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i3, 3, 3).To(o3) 71 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i3, 1.8, 1.8).To(o3) 100 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… 105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 109 model = model.Operation("RESIZE_BILINEAR", zero_sized, 3, 3, layout).To(o3) 138 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… [all …]
|
D | conv2d_v1_2.mod.py | 24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout).To(o1) 52 Model().Operation("CONV_2D", i2, f2, b2, 1, 1, 1, 1, layout).To(o2) 80 Model("channel").Operation("CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 0, layout).To(o3) 108 Model("large").Operation("CONV_2D", i4, f4, b4, 0, 0, 0, 0, 1, 1, 0, layout).To(o4) 149 model_1_same = Model("1_H3_W2_SAME").Operation("CONV_2D", i5, f5, b5, 1, 1, 1, 0, layout).To(o5) 150 model_1_valid = Model("1_H3_W2_VALID").Operation("CONV_2D", i5, f5, b5, 2, 1, 1, 0, layout).To(o6) 175 model_3_same = Model("3_H3_W2_SAME").Operation("CONV_2D", i7, f7, b7, 1, 1, 1, 0, layout).To(o7) 176 model_3_valid = Model("3_H3_W2_VALID").Operation("CONV_2D", i7, f7, b7, 2, 1, 1, 0, layout).To(o8) 202 model9 = Model("quant_output_multiplier_gt_1").Operation("CONV_2D", i9, f9, b9, 2, 2, 2, 0).To(o9) 223 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… [all …]
|
D | l2_pool_v1_2.mod.py | 22 Model().Operation("L2_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1) 34 Model().Operation("L2_POOL_2D", i2, 1, 2, 2, 2, 2, 0, layout).To(o2) 46 Model("large").Operation("L2_POOL_2D", i3, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3) 64 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… 69 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 73 model = model.Operation("L2_POOL_2D", zero_sized, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3) 92 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3… 97 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 101 model = model.Operation("L2_POOL_2D", zero_sized, 1, 1, 1, 2, 2, 0, layout).To(o3)
|
D | transpose_conv2d.mod.py | 26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1) 74 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2) 106 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3) 132 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4) 159 Model().Operation("TRANSPOSE_CONV_2D", i5, w5, b5, 1, 2, 2, 1, 1, 1, 0, layout).To(o5) 187 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… 192 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized) 199 model = model.Operation("TRANSPOSE_CONV_2D", zero_sized, w, b, s, 2, 2, 2, 0, layout).To(o3) 230 model = Model("zero_sized").Operation("BOX_WITH_NMS_LIMIT", p1, p2, [0], 0.3, -1, 0, 0.4, 1.0, 0.3)… 235 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 4, 4, 2.0, 2.0, 4, 4, layout).To(zero_sized) [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/test/controller/le/ |
D | le_set_extended_scan_response_data_test.cc | 53 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 68 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 85 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 94 0, Operation::UNCHANGED_DATA, in TEST_F() 113 0, Operation::FIRST_FRAGMENT, in TEST_F() 119 0, Operation::INTERMEDIATE_FRAGMENT, in TEST_F() 125 0, Operation::LAST_FRAGMENT, in TEST_F() 143 1, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 160 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 176 0, Operation::FIRST_FRAGMENT, in TEST_F() [all …]
|
D | le_set_extended_advertising_data_test.cc | 52 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 68 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 77 0, Operation::UNCHANGED_DATA, in TEST_F() 96 0, Operation::FIRST_FRAGMENT, in TEST_F() 102 0, Operation::INTERMEDIATE_FRAGMENT, in TEST_F() 108 0, Operation::LAST_FRAGMENT, in TEST_F() 125 1, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 141 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() 157 0, Operation::FIRST_FRAGMENT, in TEST_F() 175 0, Operation::COMPLETE_ADVERTISEMENT, in TEST_F() [all …]
|
/packages/apps/TimeZoneData/src/main/com/android/timezone/data/ |
D | TimeZoneRulesDataProvider.java | 36 import android.provider.TimeZoneRulesDataContract.Operation; 71 columnNames.add(Operation.COLUMN_TYPE); 72 columnNames.add(Operation.COLUMN_DISTRO_MAJOR_VERSION); 73 columnNames.add(Operation.COLUMN_DISTRO_MINOR_VERSION); 74 columnNames.add(Operation.COLUMN_RULES_VERSION); 75 columnNames.add(Operation.COLUMN_REVISION); 79 columnTypes.put(Operation.COLUMN_TYPE, String.class); in columnTypes.put() 80 columnTypes.put(Operation.COLUMN_DISTRO_MAJOR_VERSION, Integer.class); in columnTypes.put() 81 columnTypes.put(Operation.COLUMN_DISTRO_MINOR_VERSION, Integer.class); in columnTypes.put() 82 columnTypes.put(Operation.COLUMN_RULES_VERSION, String.class); in columnTypes.put() [all …]
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_vts_internal/ |
D | add_internal.mod.py | 42 model.Operation("ADD", o0, o1, act).To(o2) 43 model.Operation("ADD", p0, t5, act).To(t6) 44 model.Operation("ADD", i2, t0, act).To(t1) 45 model.Operation("ADD", i6, p0, act).To(t5) 46 model.Operation("ADD", i0, i1, act).To(t0) 47 model.Operation("ADD", t1, t3, act).To(t4) 48 model.Operation("ADD", t2, i5, act).To(t3) 49 model.Operation("ADD", t4, t6, act).To(o0) 50 model.Operation("ADD", i3, i4, act).To(t2) 51 model.Operation("ADD", i7, i8, act).To(o1)
|
/packages/modules/NeuralNetworks/tools/test_generator/tests/P_internal/ |
D | add_internal.mod.py | 42 model.Operation("ADD", o0, o1, act).To(o2) 43 model.Operation("ADD", p0, t5, act).To(t6) 44 model.Operation("ADD", i2, t0, act).To(t1) 45 model.Operation("ADD", i6, p0, act).To(t5) 46 model.Operation("ADD", i0, i1, act).To(t0) 47 model.Operation("ADD", t1, t3, act).To(t4) 48 model.Operation("ADD", t2, i5, act).To(t3) 49 model.Operation("ADD", t4, t6, act).To(o0) 50 model.Operation("ADD", i3, i4, act).To(t2) 51 model.Operation("ADD", i7, i8, act).To(o1)
|
/packages/modules/NeuralNetworks/common/ |
D | LegacyHalUtils.cpp | 719 static V1_0::Operation uncheckedConvertToV1_0(const V1_1::Operation& operation) { in uncheckedConvertToV1_0() 725 static V1_1::Operation convertToV1_1(const V1_0::Operation& operation) { in convertToV1_1() 731 static hardware::hidl_vec<V1_0::Operation> uncheckedConvertToV1_0( in uncheckedConvertToV1_0() 732 const hardware::hidl_vec<V1_1::Operation>& operations) { in uncheckedConvertToV1_0() 733 hardware::hidl_vec<V1_0::Operation> result(operations.size()); in uncheckedConvertToV1_0() 736 [](const V1_1::Operation& operation) { return uncheckedConvertToV1_0(operation); }); in uncheckedConvertToV1_0() 740 static hardware::hidl_vec<V1_1::Operation> convertToV1_1( in convertToV1_1() 741 const hardware::hidl_vec<V1_0::Operation>& operations) { in convertToV1_1() 742 hardware::hidl_vec<V1_1::Operation> result(operations.size()); in convertToV1_1() 744 [](const V1_0::Operation& operation) { return convertToV1_1(operation); }); in convertToV1_1() [all …]
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/util/ |
D | BluetoothOperationExecutor.java | 68 final Map<Operation<?>, Queue<Object>> mOperationResultQueues = new HashMap<>(); 102 public <T> T execute(Operation<T> operation) throws BluetoothException { in execute() 109 public <T> T executeNonnull(Operation<T> operation) throws BluetoothException { in executeNonnull() 122 public <T> T execute(Operation<T> bluetoothOperation, long timeoutMillis) in execute() 131 public <T> T executeNonnull(Operation<T> bluetoothOperation, long timeoutMillis) in executeNonnull() 146 public <T> Future<T> schedule(Operation<T> bluetoothOperation) { in schedule() 166 public void notifySuccess(Operation<Void> bluetoothOperation) { in notifySuccess() 173 public <T> void notifySuccess(Operation<T> bluetoothOperation, T result) { in notifySuccess() 181 public void notifyCompletion(Operation<Void> bluetoothOperation, int status) { in notifyCompletion() 189 public <T> void notifyCompletion(Operation<T> bluetoothOperation, int status, in notifyCompletion() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcp/ |
D | AvrcpBipObexServerTest.java | 52 import com.android.obex.Operation; 169 private Operation makeOperation(HeaderSet requestHeaders, OutputStream os) throws Exception { in makeOperation() 170 Operation op = mock(Operation.class); in makeOperation() 229 Operation op = makeOperation(null, mOutputStream); in testOnGetNoHeaders() 240 Operation op = makeOperation(mRequest, mOutputStream); in testOnGetBadType() 251 Operation op = makeOperation(mRequest, mOutputStream); in testOnGetNoType() 264 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithValidHandle() 276 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithValidUnstoredHandle() 289 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithInvalidHandle() 302 Operation op = makeOperation(mRequest, mOutputStream); in testGetLinkedThumbnailWithNullHandle() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServerTest.java | 65 import com.android.obex.Operation; 233 Operation operation = mock(Operation.class); in testOnPut_notSupported() 254 Operation operation = mock(Operation.class); in testCloseStream_success() 265 Operation operation = mock(Operation.class); in testCloseStream_failOnClosingOutputStream() 273 Operation operation = mock(Operation.class); in testCloseStream_failOnClosingOperation() 357 Operation operation = mock(Operation.class); in testOnGet_whenIoExceptionIsThrownFromGettingApplicationParameterHeader() 369 Operation operation = mock(Operation.class); in testOnGet_whenTypeIsNull() 380 Operation operation = mock(Operation.class); in testOnGet_whenUserIsNotUnlocked() 395 Operation operation = mock(Operation.class); in testOnGet_whenNameIsNotSet_andCurrentPathIsTelecom_andTypeIsListing() 410 Operation operation = mock(Operation.class); in testOnGet_whenNameIsNotSet_andCurrentPathIsInvalid() [all …]
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/gatt/ |
D | BluetoothGattHelperTest.java | 58 import com.android.server.nearby.common.bluetooth.util.BluetoothOperationExecutor.Operation; 76 private static final Operation<BluetoothDevice> SCANNING_OPERATION = 77 new Operation<BluetoothDevice>(OperationType.SCAN); 105 private ArgumentCaptor<Operation<?>> mOperationCaptor; 128 new Operation<BluetoothGattConnection>(OperationType.CONNECT, mMockBluetoothDevice), in setUp() 132 new Operation<BluetoothGattConnection>(OperationType.CONNECT, in setUp() 157 for (Operation<?> operation : mOperationCaptor.getAllValues()) { in test_autoConnect_uuid_success_lowLatency() 192 new Operation<BluetoothGattConnection>(OperationType.CONNECT, mMockBluetoothDevice), in test_autoConnect_uuid_success_afterRetry() 219 new Operation<BluetoothGattConnection>(OperationType.CONNECT, mMockBluetoothDevice), in test_autoConnect_uuid_failure_connecting() 231 new Operation<BluetoothGattConnection>(OperationType.CONNECT, in test_autoConnect_uuid_failure_connecting() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogConstraints.java | 33 @IntDef({Operation.INSERT, Operation.UPDATE}) 34 @interface Operation { annotation in AnnotatedCallLogConstraints 45 public static void check(ContentValues contentValues, @Operation int operationType) { in check() 59 String columnName, ContentValues contentValues, @Operation int operationType) { in checkBooleanColumn() 76 ContentValues contentValues, @Operation int operationType) { in checkCallTypeColumn() 97 @Operation int operationType, in checkColumn() 100 case Operation.UPDATE: in checkColumn() 105 case Operation.INSERT: in checkColumn()
|