Home
last modified time | relevance | path

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

123

/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp38 ResTable_entry e1; in createTypeData() local
39 memset(&e1, 0, sizeof(e1)); in createTypeData()
40 e1.size = sizeof(e1); in createTypeData()
41 e1.key.index = 0; in createTypeData()
42 t.header.size += sizeof(e1); in createTypeData()
50 offsets[2] = sizeof(e1) + sizeof(v1); in createTypeData()
67 memcpy(p, &e1, sizeof(e1)); in createTypeData()
68 p += sizeof(e1); in createTypeData()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_named_buffer-test.cpp28 int e1 = dvrBufferGetAHardwareBuffer(buffer1, &hardware_buffer1); in TEST() local
29 ASSERT_EQ(0, e1); in TEST()
96 int e1 = dvrGetGlobalBuffer(buffer_key1, &buffer1); in TEST() local
98 ASSERT_EQ(0, e1); in TEST()
119 int e1 = dvrSetupGlobalBuffer(buffer_key, 10, usage, &setup_buffer); in TEST() local
121 ASSERT_EQ(0, e1); in TEST()
147 int e1 = dvrSetupGlobalBuffer(buffer_name, size, usage, &setup_buffer); in TEST() local
149 ASSERT_EQ(0, e1); in TEST()
180 int e1 = dvrGetGlobalBuffer(buffer_name, &setup_buffer); in TEST() local
182 ASSERT_EQ(0, e1); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java99 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText() local
100 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText()
105 assertTrue(e1.getTimeMillis() > between); in testAddText()
106 assertTrue(e1.getTimeMillis() < e2.getTimeMillis()); in testAddText()
110 assertEquals("TEST1", e1.getText(80)); in testAddText()
114 e1.close(); in testAddText()
181 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis());
182 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
187 assertTrue(e1.getTimeMillis() > e0.getTimeMillis());
188 assertTrue(e2.getTimeMillis() > e1.getTimeMillis());
[all …]
/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()
282 switch (e1.mEventType) { 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()
[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/wifi/java/android/net/wifi/nl80211/
DWifiNl80211Manager.java563 } catch (RemoteException e1) { in setupInterfaceForClientMode()
630 } catch (RemoteException e1) { in tearDownClientInterface()
661 } catch (RemoteException e1) { in setupInterfaceForSoftApMode()
699 } catch (RemoteException e1) { in tearDownSoftApInterface()
843 } catch (RemoteException e1) { in getScanResults()
933 } catch (RemoteException e1) { in startScan()
981 } catch (RemoteException e1) { in startPnoScan()
1007 } catch (RemoteException e1) { in stopPnoScan()
1032 } catch (RemoteException e1) { in abortScan()
1073 } catch (RemoteException e1) { in getChannelsMhzForBand()
/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/libs/androidfw/
DIdmap.cpp39 static bool compare_target_entries(const Idmap_target_entry &e1, const uint32_t target_id) { in compare_target_entries() argument
40 return dtohl(e1.target_id) < target_id; in compare_target_entries()
43 static bool compare_overlay_entries(const Idmap_overlay_entry& e1, const uint32_t overlay_id) { in compare_overlay_entries() argument
44 return dtohl(e1.overlay_id) < overlay_id; in compare_overlay_entries()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java110 NotificationEntry e1 = new NotificationEntryBuilder() in testIsExemptFromDndVisualSuppression_media() local
114 assertTrue(e1.isExemptFromDndVisualSuppression()); in testIsExemptFromDndVisualSuppression_media()
115 assertFalse(e1.shouldSuppressAmbient()); in testIsExemptFromDndVisualSuppression_media()
/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.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/base/services/core/java/com/android/server/wm/
DAppWarnings.java502 } catch (java.io.IOException e1) { in writeConfigToFileAmsThread()
503 Slog.w(TAG, "Error writing package metadata", e1); in writeConfigToFileAmsThread()
569 } catch (java.io.IOException e1) { in readConfigFromFileAmsThread()
DCompatModePackages.java140 } catch (java.io.IOException e1) { in CompatModePackages()
408 } catch (java.io.IOException e1) { in saveCompatModes()
409 Slog.w(TAG, "Error writing compat packages", e1); in saveCompatModes()
/frameworks/base/services/tests/servicestests/assets/KeyStoreRecoveryControllerTest/pem/
Dvalid-cert.pem94 25:a1:e1:47:2f:66:ae:e7:51:fd:57:10:ca:72:ca:
104 bc:a5:b0:ca:1e:ca:2d:c1:48:68:e1:28:3c:e8:12:
107 45:19:80:23:b7:d6:e1:e0:c4:3e:7c:60:09:45:2f:
168 e1:9a:9c:fd:23:9a:01:93:21:00:65:8b:a7:4a:fc:d8:ff:d4:
195 33:4c:ed:15:9f:07:b0:ec:a4:4b:77:32:e1:59:b8:a2:92:18:
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
DUT_blur_validation.java80 } catch (RSIllegalArgumentException e1) { in run()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java89 } catch (InterruptedException e1) { in installCaCert()
90 Log.w(LOG_TAG, "installCaCertsToKeyChain(): ", e1); in installCaCert()
DSecurityLogMonitor.java294 newLogs.sort((e1, e2) -> Long.signum(e1.getTimeNanos() - e2.getTimeNanos())); in getNextBatch()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java352 } catch (IOException e1) { in run()
353 Log.e(TAG, "Failed to start proxy server", e1); in run()
/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

123