Home
last modified time | relevance | path

Searched refs:e2 (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp51 ResTable_entry e2; in createTypeData() local
52 memset(&e2, 0, sizeof(e2)); in createTypeData()
53 e2.size = sizeof(e2); in createTypeData()
54 e2.key.index = 1; in createTypeData()
55 t.header.size += sizeof(e2); in createTypeData()
71 memcpy(p, &e2, sizeof(e2)); in createTypeData()
72 p += sizeof(e2); in createTypeData()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp33 int e2 = dvrBufferGetAHardwareBuffer(buffer2, &hardware_buffer2); in TEST() local
34 ASSERT_EQ(0, e2); in TEST()
102 int e2 = dvrGetGlobalBuffer(buffer_key2, &buffer2); in TEST() local
104 ASSERT_EQ(0, e2); in TEST()
124 int e2 = dvrBufferGetAHardwareBuffer(setup_buffer, &hardware_buffer); in TEST() local
125 ASSERT_EQ(0, e2); in TEST()
152 int e2 = dvrBufferGetAHardwareBuffer(setup_buffer, &hardware_buffer); in TEST() local
153 ASSERT_EQ(0, e2); in TEST()
185 int e2 = dvrBufferGetAHardwareBuffer(setup_buffer, &hardware_buffer); in TEST() local
186 ASSERT_EQ(0, e2); in TEST()
[all …]
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageStatusStorage.java120 } catch (ParseException e2) { in getPackageStatus()
121 throw new IllegalStateException("Recovery from bad file failed", e2); in getPackageStatus()
140 ParseException e2 = new ParseException("Error reading package status", 0); in getPackageStatusLocked()
141 e2.initCause(e); in getPackageStatusLocked()
142 throw e2; in getPackageStatusLocked()
258 ParseException e2 = new ParseException("Unable to read file", 0); in getCurrentOptimisticLockId()
259 e2.initCause(e); in getCurrentOptimisticLockId()
260 throw e2; in getCurrentOptimisticLockId()
281 ParseException e2 = new ParseException("Error reading XML", 0); in parseToPackageStatusTag()
283 throw e2; in parseToPackageStatusTag()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java273 void compareUsageEvent(Event e1, Event e2, int debugId, int minVersion) { in compareUsageEvent() argument
276 assertEquals(e1.mPackageToken, e2.mPackageToken, "Usage event " + debugId); in compareUsageEvent()
277 assertEquals(e1.mClassToken, e2.mClassToken, "Usage event " + debugId); in compareUsageEvent()
278 assertEquals(e1.mTaskRootPackageToken, e2.mTaskRootPackageToken, in compareUsageEvent()
280 assertEquals(e1.mTaskRootClassToken, e2.mTaskRootClassToken, in compareUsageEvent()
284 assertEquals(e1.mShortcutIdToken, e2.mShortcutIdToken, in compareUsageEvent()
288 assertEquals(e1.mNotificationChannelIdToken, e2.mNotificationChannelIdToken, in compareUsageEvent()
292 assertEquals(e1.mLocusIdToken, e2.mLocusIdToken, in compareUsageEvent()
298 assertEquals(e1.mInstanceId, e2.mInstanceId, "Usage event " + debugId); in compareUsageEvent()
299 assertEquals(e1.mTaskRootPackage, e2.mTaskRootPackage, "Usage event " + debugId); in compareUsageEvent()
[all …]
/frameworks/base/core/java/android/content/
DContentValues.java329 } catch (NumberFormatException e2) { in getAsLong()
354 } catch (NumberFormatException e2) { in getAsInteger()
379 } catch (NumberFormatException e2) { in getAsShort()
404 } catch (NumberFormatException e2) { in getAsByte()
429 } catch (NumberFormatException e2) { in getAsDouble()
454 } catch (NumberFormatException e2) { in getAsFloat()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dshared.rsh51 #define _RS_ASSERT_EQU(e1, e2) \
52 (((e1) != (e2)) ? (failed = true, rsDebug(#e1 " != " #e2, (e1), (e2)), false) : true)
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dshared.rsh53 #define _RS_ASSERT_EQU(e1, e2) \
54 (((e1) != (e2)) ? (failed = true, rsDebug(#e1 " != " #e2, (e1), (e2)), false) : true)
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem67 09:c1:6f:d3:93:35:b1:e2:cf:60:85:bb:a0:58:af:
70 75:60:e2:77:81:2e:3b:c6:5e:73:4d:e8:c2:7b:1d:
71 b8:58:4a:b9:de:87:df:22:10:e2:e7:86:8a:a0:81:
84 de:2d:82:7b:f6:fb:c1:98:e2:b4:ba:85:00:8d:6c:
96 65:b1:be:e2:65:e7:59:e4:da:2c:49:c6:be:2b:e5:
148 01:9f:2d:35:d6:f7:ae:3e:99:53:70:d7:b2:2d:e2:a1:59:19:
149 ff:cb:d5:4c:40:4c:a1:68:b9:6c:0b:50:e2:df:95:8d:f2:8c:
160 e3:f5:26:6b:d7:0d:4b:d4:f3:c9:a3:e2:a3:b1:16:af:56:fc:
182 12:64:e2:6f:15:07:56:3b:10:7c:73:7b:d9:64:61:a1:32:e4:
/frameworks/base/core/java/android/view/textclassifier/
DEntityConfidence.java140 mSortedEntities.sort((e1, e2) -> { in resetSortedEntitiesFromMap() argument
142 float score2 = mEntityConfidence.get(e2); in resetSortedEntitiesFromMap()
/frameworks/base/cmds/idmap2/tests/
DResultTests.cpp49 Error e2(e1, "bar"); in TEST() local
50 ASSERT_EQ(e2.GetMessage(), "foo -> bar"); in TEST()
52 Error e3(e2); // NOLINT(performance-unnecessary-copy-initialization) in TEST()
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c354 list_elem_t *e2; in EffectRelease() local
364 e2 = NULL; in EffectRelease()
367 if (e2) { in EffectRelease()
368 e2->next = e1->next; in EffectRelease()
376 e2 = e1; in EffectRelease()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipWakeupTimer.java320 public int compare(MyEvent e1, MyEvent e2) { in compare() argument
321 if (e1 == e2) return 0; in compare()
322 int diff = e1.mMaxPeriod - e2.mMaxPeriod; in compare()
/frameworks/base/core/java/android/util/
DAtomicFile.java133 } catch (FileNotFoundException e2) { in startWrite()
134 throw new IOException("Failed to create new file " + mNewName, e2); in startWrite()
DReflectiveProperty.java69 } catch (NoSuchFieldException e2) { in ReflectiveProperty()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java65 public boolean onFling(MotionEvent e1, MotionEvent e2, float vX, float vY) {
66 if (Math.abs(e1.getY() - e2.getY()) <= mScaledTouchSlop) {
/frameworks/base/core/java/android/view/
DGestureDetector.java109 boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); in onScroll() argument
132 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); in onFling() argument
202 public boolean onScroll(MotionEvent e1, MotionEvent e2, in onScroll() argument
207 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, in onFling() argument
/frameworks/av/media/libeffects/data/
Daudio_effects.conf93 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java400 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
410 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DNotificationEntryManagerTest.java562 NotificationEntry e2 = new NotificationEntryBuilder() in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications() local
573 mEntryManager.addActiveNotificationForTest(e2); in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()
576 when(mEnvironment.isNotificationForCurrentProfiles(e2.getSbn())).thenReturn(true); in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()
580 junit.framework.Assert.assertEquals(result.get(0), e2); in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java333 } catch (Exception e2) { in createViewFromTag()
337 if (!e2.getClass().equals(ClassNotFoundException.class)) { in createViewFromTag()
338 exception.initCause(e2); in createViewFromTag()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java294 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos())); in getNextBatch()
/frameworks/base/libs/androidfw/include/androidfw/
DStringPiece.h196 const char* e2 = b2 + rhs.length_; in compare() local
198 while (b1 < e1 && b2 < e2) { in compare()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DEncodedStringValue.java157 } catch (UnsupportedEncodingException e2) { in getString()
/frameworks/base/core/java/android/animation/
DAnimatorSet.java1550 public int compare(AnimationEvent e1, AnimationEvent e2) {
1552 long t2 = e2.getTime();
1556 if (e2.mEvent + e1.mEvent == AnimationEvent.ANIMATION_START
1559 return e1.mEvent - e2.mEvent;
1561 return e2.mEvent - e1.mEvent;
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DFloatingToolbarEspressoUtils.java128 } catch (NoMatchingViewException | NoMatchingRootException e2) { in assertFloatingToolbarContainsItem()

12