Home
last modified time | relevance | path

Searched refs:e1 (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java107 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText() local
108 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText()
113 assertTrue(e1.getTimeMillis() > between); in testAddText()
114 assertTrue(e1.getTimeMillis() < e2.getTimeMillis()); in testAddText()
118 assertEquals("TEST1", e1.getText(80)); in testAddText()
122 e1.close(); in testAddText()
189 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis());
190 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
195 assertTrue(e1.getTimeMillis() > e0.getTimeMillis());
196 assertTrue(e2.getTimeMillis() > e1.getTimeMillis());
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java289 void compareUsageEvent(Event e1, Event e2, int debugId, int minVersion) { in compareUsageEvent() argument
292 assertEquals(e1.mPackageToken, e2.mPackageToken, "Usage event " + debugId); in compareUsageEvent()
293 assertEquals(e1.mClassToken, e2.mClassToken, "Usage event " + debugId); in compareUsageEvent()
294 assertEquals(e1.mTaskRootPackageToken, e2.mTaskRootPackageToken, in compareUsageEvent()
296 assertEquals(e1.mTaskRootClassToken, e2.mTaskRootClassToken, in compareUsageEvent()
298 switch (e1.mEventType) { in compareUsageEvent()
300 assertEquals(e1.mShortcutIdToken, e2.mShortcutIdToken, in compareUsageEvent()
304 assertEquals(e1.mNotificationChannelIdToken, e2.mNotificationChannelIdToken, in compareUsageEvent()
308 assertEquals(e1.mLocusIdToken, e2.mLocusIdToken, in compareUsageEvent()
313 PersistableBundle extras1 = e1.getExtras(); in compareUsageEvent()
[all …]
/frameworks/av/media/libeffects/factory/
DEffectsFactory.c353 list_elem_t *e1; in EffectRelease() local
363 e1 = gEffectList; in EffectRelease()
365 while (e1) { in EffectRelease()
366 if (e1->object == handle) { in EffectRelease()
368 e2->next = e1->next; in EffectRelease()
370 gEffectList = e1->next; in EffectRelease()
372 fx = (effect_entry_t *)e1->object; in EffectRelease()
373 free(e1); in EffectRelease()
376 e2 = e1; in EffectRelease()
377 e1 = e1->next; in EffectRelease()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DSoftwareTrustedHotwordDetectorSession.java137 } catch (RemoteException e1) { in startListeningFromMicLocked()
143 throw e1; in startListeningFromMicLocked()
159 } catch (RemoteException e1) { in startListeningFromMicLocked()
165 throw e1; in startListeningFromMicLocked()
171 } catch (RemoteException e1) { in startListeningFromMicLocked()
177 throw e1; in startListeningFromMicLocked()
DVisualQueryDetectorSession.java198 } catch (RemoteException e1) { in startPerceivingLocked()
200 throw e1; in startPerceivingLocked()
248 } catch (RemoteException e1) { in startPerceivingLocked()
250 throw e1; in startPerceivingLocked()
268 } catch (RemoteException e1) { in startPerceivingLocked()
270 throw e1; in startPerceivingLocked()
DDspTrustedHotwordDetectorSession.java146 } catch (RemoteException e1) { in detectFromDspSourceLocked()
152 throw e1; in detectFromDspSourceLocked()
167 } catch (RemoteException e1) { in detectFromDspSourceLocked()
169 throw e1; in detectFromDspSourceLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DShadeTouchHandler.java86 public boolean onScroll(MotionEvent e1, @NonNull MotionEvent e2, float distanceX, in onSessionStart()
94 sendTouchEvent(e1); in onSessionStart()
102 public boolean onFling(MotionEvent e1, @NonNull MotionEvent e2, float velocityX, in onSessionStart()
DBouncerSwipeTouchHandler.java120 public boolean onScroll(MotionEvent e1, @NonNull MotionEvent e2, float distanceX,
144 if (e1.getY() < e2.getY()) {
154 if (e1.getY() > e2.getY()
165 final float dragDownAmount = e2.getY() - e1.getY();
166 final float screenTravelPercentage = Math.abs(e1.getY() - e2.getY())
DTouchMonitor.java469 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX,
471 return evaluate(listener -> listener.onFling(e1, e2, velocityX, velocityY));
480 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX,
482 return evaluate(listener -> listener.onScroll(e1, e2, distanceX, distanceY));
/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)
DUT_blur_validation.java80 } catch (RSIllegalArgumentException e1) { in run()
/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)
DUT_blur_validation.java82 } catch (RSIllegalArgumentException e1) { in run()
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DWifiNl80211Manager.java718 } catch (RemoteException e1) { in setupInterfaceForClientMode()
788 } catch (RemoteException e1) { in tearDownClientInterface()
822 } catch (RemoteException e1) { in setupInterfaceForSoftApMode()
863 } catch (RemoteException e1) { in tearDownSoftApInterface()
1026 } catch (RemoteException e1) { in getScanResults()
1052 } catch (RemoteException e1) { in getMaxSsidsPerScan()
1103 } catch (RemoteException e1) { in startScan()
1148 } catch (RemoteException e1) { in startScan2()
1255 } catch (RemoteException e1) { in startPnoScan()
1281 } catch (RemoteException e1) { in stopPnoScan()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/
DCommunalTouchHandler.java109 public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, in handleSessionStart()
115 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, in handleSessionStart()
/frameworks/base/core/java/android/view/textclassifier/
DEntityConfidence.java140 mSortedEntities.sort((e1, e2) -> { in resetSortedEntitiesFromMap() argument
141 float score1 = mEntityConfidence.get(e1); in resetSortedEntitiesFromMap()
/frameworks/base/cmds/idmap2/tests/
DResultTests.cpp46 Error e1("foo"); in TEST() local
47 ASSERT_EQ(e1.GetMessage(), "foo"); in TEST()
49 Error e2(e1, "bar"); in TEST()
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/
DCrossUserPackageVisibilityTests.java170 final IllegalArgumentException e1 = assertThrows(IllegalArgumentException.class, in testGetSigningKeySet_cannotDetectCrossUserPkg() local
177 assertThat(e1.getMessage()).isEqualTo(e2.getMessage()); in testGetSigningKeySet_cannotDetectCrossUserPkg()
183 final IllegalArgumentException e1 = assertThrows(IllegalArgumentException.class, in testGetKeySetByAlias_cannotDetectCrossUserPkg() local
190 assertThat(e1.getMessage()).isEqualTo(e2.getMessage()); in testGetKeySetByAlias_cannotDetectCrossUserPkg()
/frameworks/base/core/java/android/text/method/
DInsertModeTransformationMethod.java483 private static boolean intersect(int s1, int e1, int s2, int e2) { in intersect() argument
485 if (e1 < s2) return false; in intersect()
486 if (s1 != e1 && s2 != e2) { in intersect()
488 if (e1 == s2) return false; in intersect()
/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/tests/coretests/src/com/android/internal/os/
DLongArrayMultiStateCounterTest.java254 IndexOutOfBoundsException e1 = assertThrows( in combineValues() local
257 assertThat(e1.getMessage()).isEqualTo("Index -1 is out of bounds: [0, 2]"); in combineValues()
/frameworks/base/core/java/android/view/
DGestureDetector.java112 boolean onScroll(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float distanceX, in onScroll() argument
137 boolean onFling(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float velocityX, in onFling() argument
208 public boolean onScroll(@Nullable MotionEvent e1, @NonNull MotionEvent e2, in onScroll() argument
213 public boolean onFling(@Nullable MotionEvent e1, @NonNull MotionEvent e2, float velocityX, in onFling() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DNotificationHelper.java68 public int compare(NotificationEntry e1, NotificationEntry e2) {
69 Notification n1 = e1.getSbn().getNotification();
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
DUT_blur_validation.java80 } catch (RSIllegalArgumentException e1) { in run()

1234