/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentProviderOperationTest.java | 54 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsert() local 57 ContentProviderResult result = op1.apply(new TestContentProvider() { in testInsert() 68 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertNoValues() local 70 ContentProviderResult result = op1.apply(new TestContentProvider() { in testInsertNoValues() 81 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertFailed() local 85 op1.apply(new TestContentProvider() { in testInsertFailed() 104 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertWithBackRefs() local 109 ContentProviderResult result = op1.apply(new TestContentProvider() { in testInsertWithBackRefs() 123 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testUpdate() local 127 ContentProviderResult result = op1.apply(new TestContentProvider() { in testUpdate() [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestCompliance.cpp | 94 auto op1 = model.addOperand(&kTypeTensorFloatRank0); in TEST_F() local 98 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 99 model.identifyInputsAndOutputs({op1, op2}, {op3}); in TEST_F() 108 auto op1 = model.addOperand(&kTypeTensorFloat); in TEST_F() local 112 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 113 model.identifyInputsAndOutputs({op1, op2}, {op3}); in TEST_F() 122 auto op1 = model.addOperand(&kTypeTensorFloat); in TEST_F() local 128 model.addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in TEST_F() 130 model.identifyInputsAndOutputs({op1, op2, op4}, {op5}); in TEST_F() 153 auto op1 = model.addOperand(&kTypeTensorFloat); in TEST_F() local [all …]
|
D | TestMemoryInternal.cpp | 197 auto op1 = model.addOperand(&type0); in TEST_F() local 217 {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4}); in TEST_F() 220 model.identifyInputsAndOutputs({op1}, {op4}); in TEST_F()
|
D | TestIntrospectionControl.cpp | 205 auto op1 = model->addOperand(&type0); in createSimpleAddModel() local 212 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createSimpleAddModel() 214 model->identifyInputsAndOutputs({op1, op2}, {op3}); in createSimpleAddModel() 1120 auto op1 = model->addOperand(&type0); in createAddMaxModel() local 1134 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel() 1136 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMaxModel() 1140 model->identifyInputsAndOutputs({op1, op2}, {op5}); in createAddMaxModel() 1183 auto op1 = model->addOperand(&type0); in createAddMulModel() local 1197 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel() 1199 model->addOperation(ANEURALNETWORKS_ADD, {op1, op2, act}, {op3}); in createAddMulModel() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncOperationTest.java | 58 SyncOperation op1 = new SyncOperation(account1, 0, in testToKey() local 102 assertEquals(op1.key, op2.key); in testToKey() 103 assertNotSame(op1.key, op3.key); in testToKey() 104 assertNotSame(op1.key, op4.key); in testToKey() 105 assertNotSame(op1.key, op5.key); in testToKey() 115 SyncOperation op1 = new SyncOperation(account1, 0, in testConversionToExtras() local 123 PersistableBundle pb = op1.toJobInfoExtras(); in testConversionToExtras()
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | strided_slice_b155662254.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [4]]) variable 23 model.Operation("STRIDED_SLICE", op1, [0], [1], [1], 0, 0, 1).To(op2) 27 op1: [0.0, 1.0, 2.0, 3.0],
|
D | mean_b155508675.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [2, 2, 1]]) variable 23 model.Operation("MEAN", op1, [0, 1, 2], 0).To(op2) 27 op1: [2.0, 3.0, 3.0, 4.0],
|
D | squeeze_b155238914.mod.py | 17 op1 = Input("op1", ["TENSOR_FLOAT32", [1, 1, 1]], [0]) variable 23 model.Operation("SQUEEZE", op1, op2).To(op3) 27 op1: [0],
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | argmax_b155660285.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [3]]) variable 23 model.Operation("ARGMAX", op1, 0).To(op2) 27 op1: [1.0, 2.0, 4.0],
|
D | argmin_b155660285.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [3]]) variable 23 model.Operation("ARGMIN", op1, 0).To(op2) 27 op1: [4.0, 2.0, 1.0],
|
D | reduce_max_b155508675.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [1, 1, 1]]) variable 23 model.Operation("REDUCE_MAX", op1, [0, 1, 2], False).To(op2) 27 op1: [3.0],
|
D | reduce_prod_b155508675.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [1, 1, 1]]) variable 23 model.Operation("REDUCE_PROD", op1, [0, 1, 2], False).To(op2) 27 op1: [3.0],
|
D | reduce_sum_b155508675.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [1, 1, 1]]) variable 23 model.Operation("REDUCE_SUM", op1, [0, 1, 2], False).To(op2) 27 op1: [3.0],
|
D | reduce_min_b155508675.mod.py | 18 op1 = Input("op1", ["TENSOR_FLOAT32", [1, 1, 1]]) variable 23 model.Operation("REDUCE_MIN", op1, [0, 1, 2], False).To(op2) 27 op1: [3.0],
|
D | reduce_all_b155508675.mod.py | 18 op1 = Input("op1", ["TENSOR_BOOL8", [1, 1, 1]]) variable 23 model.Operation("REDUCE_ALL", op1, [0, 1, 2], False).To(op2) 27 op1: [False],
|
D | reduce_any_b155508675.mod.py | 18 op1 = Input("op1", ["TENSOR_BOOL8", [1, 1, 1]]) variable 23 model.Operation("REDUCE_ANY", op1, [0, 1, 2], False).To(op2) 27 op1: [False],
|
/frameworks/ml/nn/tools/test_generator/tests/P_variation/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 49 {op1}, 95 auto op1 = model->addOperand(&type0); 119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 122 {op1}, 174 auto op1 = model->addOperand(&type4); 198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 201 {op1}, 251 auto op1 = model->addOperand(&type0); [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_implicit_variation/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 49 {op1}, 95 auto op1 = model->addOperand(&type0); 119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 122 {op1}, 174 auto op1 = model->addOperand(&type4); 198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 201 {op1}, 251 auto op1 = model->addOperand(&type0); [all …]
|
/frameworks/ml/nn/tools/test_generator/tests/P_naming/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 46 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 49 {op1}, 95 auto op1 = model->addOperand(&type0); 119 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 122 {op1}, 174 auto op1 = model->addOperand(&type4); 198 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, param, param1, param2, act, layout}, … 201 {op1}, 251 auto op1 = model->addOperand(&type0); [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | dct_inline.h | 27 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument 31 OSCL_UNUSED_ARG(op1); in mla724() 111 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument 117 smlabb out, op1, op2, op3 in mla724() 174 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument 181 mla out, op1, out, op3 in mla724() 269 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument 272 register int32 aa = (int32)op1; in mla724()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 86 private void assertSameModes(SparseArray<AppOpsService.UidState> uidStates, int op1, int op2) { in assertSameModes() argument 88 final int defaultModeOp1 = AppOpsManager.opToDefaultMode(op1); in assertSameModes() 93 final int uidMode1 = uidState.opModes.get(op1, defaultModeOp1); in assertSameModes() 108 final AppOpsService.Op _op1 = ops.get(op1); in assertSameModes()
|
/frameworks/ml/nn/tools/test_generator/tests/P_backward_compatibility_quant8/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 39 …model->addOperation(ANEURALNETWORKS_DEPTHWISE_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, str… 42 {op1, op2, op3},
|
/frameworks/ml/nn/tools/test_generator/tests/P_quant8/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid… 43 {op1},
|
/frameworks/ml/nn/tools/test_generator/tests/P_float/ |
D | stdout.txt.expect | 22 auto op1 = model->addOperand(&type0); 40 …model->addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, strid… 43 {op1},
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 1022 public static @PixelFormat.Opacity int resolveOpacity(@PixelFormat.Opacity int op1, in resolveOpacity() argument 1024 if (op1 == op2) { in resolveOpacity() 1025 return op1; in resolveOpacity() 1027 if (op1 == PixelFormat.UNKNOWN || op2 == PixelFormat.UNKNOWN) { in resolveOpacity() 1030 if (op1 == PixelFormat.TRANSLUCENT || op2 == PixelFormat.TRANSLUCENT) { in resolveOpacity() 1033 if (op1 == PixelFormat.TRANSPARENT || op2 == PixelFormat.TRANSPARENT) { in resolveOpacity()
|