Home
last modified time | relevance | path

Searched refs:op2 (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/FileSystemUtilsTest/jni/
Dandroid_test_jni_source.cpp21 jint JNICALL Java_android_test_embedded_MainActivity_add(JNIEnv*, jclass, jint op1, jint op2) { in Java_android_test_embedded_MainActivity_add() argument
22 return op1 + op2; in Java_android_test_embedded_MainActivity_add()
27 jint JNICALL Java_android_test_extract_MainActivity_subtract(JNIEnv*, jclass, jint op1, jint op2) { in Java_android_test_extract_MainActivity_subtract() argument
28 return op1 - op2; in Java_android_test_extract_MainActivity_subtract()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java68 SyncOperation op2 = new SyncOperation(account1, 0, in testToKey() local
103 assertEquals(op1.key, op2.key); in testToKey()
125 SyncOperation op2 = SyncOperation.maybeCreateFromJobExtras(pb); in testConversionToExtras() local
128 account1.equals(op2.getClonedExtras().get("acc"))); in testConversionToExtras()
130 op2.getClonedExtras().getString("str"))); in testConversionToExtras()
174 SyncOperation op2 = SyncOperation.maybeCreateFromJobExtras(pb); in testScheduleAsEjIsInExtras() local
175 assertTrue("EJ extra not found in extras", op2.getClonedExtras() in testScheduleAsEjIsInExtras()
/frameworks/base/core/tests/FileSystemUtilsTest/apk_extract_native_libs/src/android/test/extract/
DMainActivity.java49 int op2 = received.getIntExtra(KEY_OPERAND_2, -1); in onCreate() local
50 int result = subtract(op1, op2); in onCreate()
59 private native int subtract(int op1, int op2); in subtract() argument
DPunchExtractedLibTest.java44 int op2 = 71; in testPunchedNativeLibs_extractedLib() local
52 Assert.assertEquals(result, op1 - op2); in testPunchedNativeLibs_extractedLib()
60 launchIntent.putExtra(MainActivity.KEY_OPERAND_2, op2); in testPunchedNativeLibs_extractedLib()
/frameworks/base/core/tests/FileSystemUtilsTest/apk_embedded_native_libs/src/android/test/embedded/
DMainActivity.java49 int op2 = received.getIntExtra(KEY_OPERAND_2, -1); in onCreate() local
50 int result = add(op1, op2); in onCreate()
59 private native int add(int op1, int op2); in add() argument
DPunchEmbeddedLibTest.java44 int op2 = 75; in testPunchedNativeLibs_embeddedLib() local
52 Assert.assertEquals(result, op1 + op2); in testPunchedNativeLibs_embeddedLib()
61 launchIntent.putExtra(MainActivity.KEY_OPERAND_2, op2); in testPunchedNativeLibs_embeddedLib()
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dintrinsics_float.h103 inline FloatType FuncName(FloatType op1, FloatType op2) { \
105 FPInfo op2_class = FPClassify(op2); \
107 SignBit(op1) != SignBit(op2)) { \
116 return op2; \
121 return FloatType(Intrinsic(op1.value_, op2.value_)); \
/frameworks/av/media/module/codecs/m4v_h263/enc/src/
Ddct_inline.h27 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument
33 out = op2 * 724 + op3; /* op1 is not used here */ 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
180 and out, op2, #0xFFFF in mla724()
269 __inline int32 mla724(int32 op1, int32 op2, int32 op3) in mla724() argument
273 register int32 bb = (int32)op2; in mla724()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1016 @PixelFormat.Opacity int op2) { in resolveOpacity() argument
1017 if (op1 == op2) { in resolveOpacity()
1020 if (op1 == PixelFormat.UNKNOWN || op2 == PixelFormat.UNKNOWN) { in resolveOpacity()
1023 if (op1 == PixelFormat.TRANSLUCENT || op2 == PixelFormat.TRANSLUCENT) { in resolveOpacity()
1026 if (op1 == PixelFormat.TRANSPARENT || op2 == PixelFormat.TRANSPARENT) { in resolveOpacity()
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/common/
Dintrinsics_float.h113 friend inline WrappedFloatType Max(WrappedFloatType op1, WrappedFloatType op2);
114 friend inline WrappedFloatType Min(WrappedFloatType op1, WrappedFloatType op2);
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_arm64.cc3703 __uint128_t op2 = MakeUInt128(0x0498862723279178ULL, 0x6085784383827967ULL); in TEST() local
3704 __uint128_t rd = ASM_INSN_WRAP_FUNC_W_RES_WW_ARG("and %0.16b, %1.16b, %2.16b")(op1, op2); in TEST()
3710 __uint128_t op2 = MakeUInt128(0x0498862723279178ULL, 0x6085784383827967ULL); in TEST() local
3711 __uint128_t rd = ASM_INSN_WRAP_FUNC_W_RES_WW_ARG("and %0.8b, %1.8b, %2.8b")(op1, op2); in TEST()
3717 __uint128_t op2 = MakeUInt128(0x44221100ffaa5500ULL, 0x1122448811224488ULL); in TEST() local
3718 __uint128_t rd = ASM_INSN_WRAP_FUNC_W_RES_WW_ARG("orr %0.16b, %1.16b, %2.16b")(op1, op2); in TEST()
3724 __uint128_t op2 = MakeUInt128(0x44221100ffaa5500ULL, 0x1122448811224488ULL); in TEST() local
3725 __uint128_t rd = ASM_INSN_WRAP_FUNC_W_RES_WW_ARG("orr %0.8b, %1.8b, %2.8b")(op1, op2); in TEST()
3731 __uint128_t op2 = MakeUInt128(0x8239864565961163ULL, 0x5488623057745649ULL); in TEST() local
3732 __uint128_t rd = ASM_INSN_WRAP_FUNC_W_RES_WW_ARG("eor %0.16b, %1.16b, %2.16b")(op1, op2); in TEST()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java164 ContentProviderOperation op2 = ContentProviderOperation.newAssertQuery(sTestUri1) in testAssertNoValues() local
169 ContentProviderResult result = op2.apply(new TestContentProvider() { in testAssertNoValues()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java209 private void assertSameModes(AppOpsCheckingServiceImpl testService, int op1, int op2) { in assertSameModes() argument
213 testService.getUidMode(uid, PERSISTENT_DEVICE_ID_DEFAULT, op2) in assertSameModes()
219 testService.getPackageMode(pkg.packageName, op2, pkg.userId) in assertSameModes()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java2212 private final static Comparator<SyncOperation> sOpDumpComparator = (op1, op2) -> {
2213 int res = Integer.compare(op1.target.userId, op2.target.userId);
2218 res = stringComparator.compare(op1.target.account.type, op2.target.account.type);
2221 res = stringComparator.compare(op1.target.account.name, op2.target.account.name);
2224 res = stringComparator.compare(op1.target.provider, op2.target.provider);
2227 res = Integer.compare(op1.reason, op2.reason);
2230 res = Long.compare(op1.periodMillis, op2.periodMillis);
2233 res = Long.compare(op1.expectedRuntime, op2.expectedRuntime);
2236 res = Long.compare(op1.jobId, op2.jobId);
2242 private final static Comparator<SyncOperation> sOpRuntimeComparator = (op1, op2) -> {
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc3227 auto op2 = db.names.back().move_full(); in parse_binary_expression() local
3234 nm += "(" + op1 + ") " + op + " (" + op2 + ")"; in parse_binary_expression()
3472 auto op2 = db.names.back().move_full(); in parse_expression() local
3475 db.names.back() = "(" + op1 + ")[" + op2 + "]"; in parse_expression()
3666 auto op2 = db.names.back().move_full(); in parse_expression() local
3669 db.names.back() = "(" + op1 + ") ? (" + op2 + ") : (" + op3 + ")"; in parse_expression()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...