/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 51 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/ |
D | dvr_named_buffer-test.cpp | 33 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/ |
D | PackageStatusStorage.java | 120 } 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/ |
D | UsageStatsDatabaseTest.java | 260 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/ |
D | DropBoxTest.java | 100 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/ |
D | ContentValues.java | 303 } 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/ |
D | shared.rsh | 51 #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/ |
D | shared.rsh | 53 #define _RS_ASSERT_EQU(e1, e2) \ 54 (((e1) != (e2)) ? (failed = true, rsDebug(#e1 " != " #e2, (e1), (e2)), false) : true)
|
/frameworks/native/libs/ui/tests/ |
D | BufferHubEventFd_test.cpp | 247 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/ |
D | valid-cert.pem | 67 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/ |
D | EntityConfidence.java | 137 mSortedEntities.sort((e1, e2) -> { in resetSortedEntitiesFromMap() argument 139 float score2 = mEntityConfidence.get(e2); in resetSortedEntitiesFromMap()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 354 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/ |
D | ResultTests.cpp | 49 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/ |
D | SipWakeupTimer.java | 320 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/ |
D | NotificationShadeActivity.java | 65 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/ |
D | GestureDetector.java | 103 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/ |
D | audio_effects.conf | 93 uuid 8631f300-72e2-11df-b57e-0002a5d5c51b
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DecorCaptionView.java | 416 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/ |
D | BridgeInflater.java | 334 } 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/ |
D | SecurityLogMonitor.java | 285 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos())); in getNextBatch()
|
/frameworks/base/core/java/android/util/ |
D | ReflectiveProperty.java | 69 } catch (NoSuchFieldException e2) { in ReflectiveProperty()
|
D | AtomicFile.java | 140 } catch (FileNotFoundException e2) { in startWrite()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | StringPiece.h | 196 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/ |
D | AtomicFile.java | 87 } catch (FileNotFoundException e2) { in startWrite()
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorSet.java | 1550 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;
|