Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncOperationTest.java59 SyncOperation op1 = new SyncOperation(account1, 0, in testToKey() local
103 assertEquals(op1.key, op2.key); in testToKey()
104 assertNotSame(op1.key, op3.key); in testToKey()
105 assertNotSame(op1.key, op4.key); in testToKey()
106 assertNotSame(op1.key, op5.key); in testToKey()
116 SyncOperation op1 = new SyncOperation(account1, 0, in testConversionToExtras() local
124 PersistableBundle pb = op1.toJobInfoExtras(); in testConversionToExtras()
164 SyncOperation op1 = new SyncOperation(account1, 0, 1, "foo", 0, in testScheduleAsEjIsInExtras() local
167 assertTrue(op1.isScheduledAsExpeditedJob()); in testScheduleAsEjIsInExtras()
169 PersistableBundle pb = op1.toJobInfoExtras(); in testScheduleAsEjIsInExtras()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java44 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsert() local
47 ContentProviderResult result = op1.apply(new TestContentProvider() { in testInsert()
58 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertNoValues() local
60 ContentProviderResult result = op1.apply(new TestContentProvider() { in testInsertNoValues()
71 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertFailed() local
75 op1.apply(new TestContentProvider() { in testInsertFailed()
94 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testInsertWithBackRefs() local
99 ContentProviderResult result = op1.apply(new TestContentProvider() { in testInsertWithBackRefs()
113 ContentProviderOperation op1 = ContentProviderOperation.newInsert(sTestUri1) in testUpdate() local
117 ContentProviderResult result = op1.apply(new TestContentProvider() { in testUpdate()
[all …]
/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/core/tests/FileSystemUtilsTest/apk_extract_native_libs/src/android/test/extract/
DMainActivity.java48 int op1 = received.getIntExtra(KEY_OPERAND_1, -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.java43 int op1 = 100; in testPunchedNativeLibs_extractedLib() local
52 Assert.assertEquals(result, op1 - op2); in testPunchedNativeLibs_extractedLib()
59 launchIntent.putExtra(MainActivity.KEY_OPERAND_1, op1); in testPunchedNativeLibs_extractedLib()
/frameworks/base/core/tests/FileSystemUtilsTest/apk_embedded_native_libs/src/android/test/embedded/
DMainActivity.java48 int op1 = received.getIntExtra(KEY_OPERAND_1, -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.java43 int op1 = 48; in testPunchedNativeLibs_embeddedLib() local
52 Assert.assertEquals(result, op1 + op2); in testPunchedNativeLibs_embeddedLib()
60 launchIntent.putExtra(MainActivity.KEY_OPERAND_1, op1); 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) { \
104 FPInfo op1_class = FPClassify(op1); \
107 SignBit(op1) != SignBit(op2)) { \
119 return op1; \
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
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/graphics/java/android/graphics/drawable/
DDrawable.java1015 public static @PixelFormat.Opacity int resolveOpacity(@PixelFormat.Opacity int op1, in resolveOpacity() argument
1017 if (op1 == op2) { in resolveOpacity()
1018 return op1; 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/base/core/java/com/android/internal/widget/
DOpReorderer.java221 final UpdateOp op1 = list.get(i); in getLastMoveOutOfOrder() local
222 if (op1.cmd == MOVE) { in getLastMoveOutOfOrder()
/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.cc3702 __uint128_t op1 = MakeUInt128(0x7781857780532171ULL, 0x2268066130019278ULL); 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()
3709 __uint128_t op1 = MakeUInt128(0x7781857780532171ULL, 0x2268066130019278ULL); 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()
3716 __uint128_t op1 = MakeUInt128(0x00ffaa5500112244ULL, 0x1248124812481248ULL); 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()
3723 __uint128_t op1 = MakeUInt128(0x00ffaa5500112244ULL, 0x1248124812481248ULL); 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()
3730 __uint128_t op1 = MakeUInt128(0x1050792279689258ULL, 0x9235420199561121ULL); 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/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java209 private void assertSameModes(AppOpsCheckingServiceImpl testService, int op1, int op2) { in assertSameModes() argument
212 testService.getUidMode(uid, PERSISTENT_DEVICE_ID_DEFAULT, op1), in assertSameModes()
218 testService.getPackageMode(pkg.packageName, op1, 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.tcc3229 auto op1 = db.names.back().move_full(); in parse_binary_expression() local
3234 nm += "(" + op1 + ") " + op + " (" + op2 + ")"; in parse_binary_expression()
3474 auto op1 = db.names.back().move_full(); in parse_expression() local
3475 db.names.back() = "(" + op1 + ")[" + op2 + "]"; in parse_expression()
3668 auto op1 = 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 ...