Home
last modified time | relevance | path

Searched refs:op1 (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java54 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/
DTestCompliance.cpp94 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 …]
DTestMemoryInternal.cpp197 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()
DTestIntrospectionControl.cpp205 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/
DSyncOperationTest.java58 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/
Dstrided_slice_b155662254.mod.py18 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],
Dmean_b155508675.mod.py18 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],
Dsqueeze_b155238914.mod.py17 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/
Dargmax_b155660285.mod.py18 op1 = Input("op1", ["TENSOR_FLOAT32", [3]]) variable
23 model.Operation("ARGMAX", op1, 0).To(op2)
27 op1: [1.0, 2.0, 4.0],
Dargmin_b155660285.mod.py18 op1 = Input("op1", ["TENSOR_FLOAT32", [3]]) variable
23 model.Operation("ARGMIN", op1, 0).To(op2)
27 op1: [4.0, 2.0, 1.0],
Dreduce_max_b155508675.mod.py18 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],
Dreduce_prod_b155508675.mod.py18 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],
Dreduce_sum_b155508675.mod.py18 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],
Dreduce_min_b155508675.mod.py18 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],
Dreduce_all_b155508675.mod.py18 op1 = Input("op1", ["TENSOR_BOOL8", [1, 1, 1]]) variable
23 model.Operation("REDUCE_ALL", op1, [0, 1, 2], False).To(op2)
27 op1: [False],
Dreduce_any_b155508675.mod.py18 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/
Dstdout.txt.expect22 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/
Dstdout.txt.expect22 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/
Dstdout.txt.expect22 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/
Ddct_inline.h27 __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/
DAppOpsUpgradeTest.java86 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/
Dstdout.txt.expect22 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/
Dstdout.txt.expect22 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/
Dstdout.txt.expect22 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/
DDrawable.java1022 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()

12