Home
last modified time | relevance | path

Searched refs:e2 (Results 1 – 25 of 50) 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.java260 void compareUsageEvent(Event e1, Event e2, int debugId, int minVersion) { in compareUsageEvent() argument
263 assertEquals(e1.mInstanceId, e2.mInstanceId, "Usage event " + debugId); in compareUsageEvent()
264 assertEquals(e1.mTaskRootPackage, e2.mTaskRootPackage, "Usage event " + debugId); in compareUsageEvent()
265 assertEquals(e1.mTaskRootClass, e2.mTaskRootClass, "Usage event " + debugId); in compareUsageEvent()
268 assertEquals(e1.mPackage, e2.mPackage, "Usage event " + debugId); in compareUsageEvent()
269 assertEquals(e1.mClass, e2.mClass, "Usage event " + debugId); in compareUsageEvent()
270 assertEquals(e1.mTimeStamp, e2.mTimeStamp, "Usage event " + debugId); in compareUsageEvent()
271 assertEquals(e1.mEventType, e2.mEventType, "Usage event " + debugId); in compareUsageEvent()
274 assertEquals(e1.mConfiguration, e2.mConfiguration, in compareUsageEvent()
275 "Usage event " + debugId + e2.mConfiguration.toString()); in compareUsageEvent()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java100 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText() local
101 assertTrue(null == dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis())); in testAddText()
106 assertTrue(e1.getTimeMillis() < e2.getTimeMillis()); in testAddText()
107 assertTrue(e2.getTimeMillis() < after); in testAddText()
111 assertEquals("TES", e2.getText(3)); in testAddText()
115 e2.close(); in testAddText()
182 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
183 DropBoxManager.Entry e3 = dropbox.getNextEntry("DropBoxTest", e2.getTimeMillis());
188 assertTrue(e2.getTimeMillis() > e1.getTimeMillis());
189 assertTrue(e3.getTimeMillis() > e2.getTimeMillis());
[all …]
/frameworks/base/core/java/android/content/
DContentValues.java303 } catch (NumberFormatException e2) { in getAsLong()
328 } catch (NumberFormatException e2) { in getAsInteger()
353 } catch (NumberFormatException e2) { in getAsShort()
378 } catch (NumberFormatException e2) { in getAsByte()
403 } catch (NumberFormatException e2) { in getAsDouble()
428 } 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/native/libs/ui/tests/
DBufferHubEventFd_test.cpp247 epoll_event e2 = {.events = EPOLLIN | EPOLLET, .data = {.u32 = 2}}; in TEST_F() local
251 ASSERT_EQ(epoll_ctl(epollFd.get(), EPOLL_CTL_ADD, eventFd2.get(), &e2), 0); in TEST_F()
263 EXPECT_EQ(events[0].data.u32, e2.data.u32); in TEST_F()
272 EXPECT_THAT(u32s, Contains(e2.data.u32)); in TEST_F()
292 epoll_event e2 = {.events = EPOLLIN | EPOLLET, .data = {.u32 = 2}}; in TEST_F() local
296 ASSERT_EQ(epoll_ctl(epollFd.get(), EPOLL_CTL_ADD, eventFd2.get(), &e2), 0); in TEST_F()
318 } else if (events[i].data.u32 == e2.data.u32) { in TEST_F()
/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.java137 mSortedEntities.sort((e1, e2) -> { in resetSortedEntitiesFromMap() argument
139 float score2 = mEntityConfidence.get(e2); in resetSortedEntitiesFromMap()
/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/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/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/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.java103 boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); in onScroll() argument
126 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); in onFling() argument
196 public boolean onScroll(MotionEvent e1, MotionEvent e2, in onScroll() argument
201 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.java416 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) { in onScroll() argument
426 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument
/frameworks/layoutlib/bridge/src/android/view/
DBridgeInflater.java334 } catch (Exception e2) { in createViewFromTag()
338 if (!e2.getClass().equals(ClassNotFoundException.class)) { in createViewFromTag()
339 exception.initCause(e2); in createViewFromTag()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java285 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos())); in getNextBatch()
/frameworks/base/core/java/android/util/
DReflectiveProperty.java69 } catch (NoSuchFieldException e2) { in ReflectiveProperty()
DAtomicFile.java140 } catch (FileNotFoundException e2) { in startWrite()
/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/core/java/com/android/internal/os/
DAtomicFile.java87 } catch (FileNotFoundException e2) { in startWrite()
/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;

12