Home
last modified time | relevance | path

Searched refs:e1 (Results 1 – 25 of 62) 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.java106 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis()); in testAddText() local
107 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis()); in testAddText()
112 assertTrue(e1.getTimeMillis() > between); in testAddText()
113 assertTrue(e1.getTimeMillis() < e2.getTimeMillis()); in testAddText()
117 assertEquals("TEST1", e1.getText(80)); in testAddText()
121 e1.close(); in testAddText()
188 DropBoxManager.Entry e1 = dropbox.getNextEntry("DropBoxTest", e0.getTimeMillis());
189 DropBoxManager.Entry e2 = dropbox.getNextEntry("DropBoxTest", e1.getTimeMillis());
194 assertTrue(e1.getTimeMillis() > e0.getTimeMillis());
195 assertTrue(e2.getTimeMillis() > e1.getTimeMillis());
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java274 void compareUsageEvent(Event e1, Event e2, int debugId, int minVersion) { in compareUsageEvent() argument
277 assertEquals(e1.mPackageToken, e2.mPackageToken, "Usage event " + debugId); in compareUsageEvent()
278 assertEquals(e1.mClassToken, e2.mClassToken, "Usage event " + debugId); in compareUsageEvent()
279 assertEquals(e1.mTaskRootPackageToken, e2.mTaskRootPackageToken, in compareUsageEvent()
281 assertEquals(e1.mTaskRootClassToken, e2.mTaskRootClassToken, in compareUsageEvent()
283 switch (e1.mEventType) { in compareUsageEvent()
285 assertEquals(e1.mShortcutIdToken, e2.mShortcutIdToken, in compareUsageEvent()
289 assertEquals(e1.mNotificationChannelIdToken, e2.mNotificationChannelIdToken, in compareUsageEvent()
293 assertEquals(e1.mLocusIdToken, e2.mLocusIdToken, in compareUsageEvent()
299 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/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.java670 } catch (RemoteException e1) { in setupInterfaceForClientMode()
737 } catch (RemoteException e1) { in tearDownClientInterface()
768 } catch (RemoteException e1) { in setupInterfaceForSoftApMode()
806 } catch (RemoteException e1) { in tearDownSoftApInterface()
950 } catch (RemoteException e1) { in getScanResults()
1055 } catch (RemoteException e1) { in startScan()
1103 } catch (RemoteException e1) { in startPnoScan()
1129 } catch (RemoteException e1) { in stopPnoScan()
1154 } catch (RemoteException e1) { in abortScan()
1199 } catch (RemoteException e1) { in getChannelsMhzForBand()
/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/services/core/java/com/android/server/wm/
DAppWarnings.java499 } catch (java.io.IOException e1) { in writeConfigToFileAmsThread()
500 Slog.w(TAG, "Error writing package metadata", e1); in writeConfigToFileAmsThread()
557 } catch (java.io.IOException e1) { in readConfigFromFileAmsThread()
DCompatModePackages.java306 } catch (java.io.IOException e1) { in CompatModePackages()
626 } catch (java.io.IOException e1) { in saveCompatModes()
627 Slog.w(TAG, "Error writing compat packages", e1); in saveCompatModes()
/frameworks/base/core/java/android/view/
DGestureDetector.java107 boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY); in onScroll() argument
130 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); in onFling() argument
200 public boolean onScroll(MotionEvent e1, MotionEvent e2, in onScroll() argument
205 public boolean onFling(MotionEvent e1, 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()
/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/native/libs/binder/rust/src/
Derror.rs291 (e1, e2) => e1 == e2 && self.get_description() == other.get_description(), in eq()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java90 } catch (InterruptedException e1) { in installCaCert()
91 Slogf.w(LOG_TAG, "installCaCertsToKeyChain(): ", e1); in installCaCert()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java351 } catch (IOException e1) { in run()
352 Log.e(TAG, "Failed to start proxy server", e1); in run()
/frameworks/base/libs/androidfw/
DIdmap.cpp120 [](const Idmap_overlay_entry& e1, const uint32_t overlay_id) { in lookupResourceId() argument
121 return dtohl(e1.overlay_id) < overlay_id; in lookupResourceId()

123