Home
last modified time | relevance | path

Searched refs:pe (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/security/jni/
Dandroid_security_cts_NativeCodeTest.cpp73 struct perf_event_attr pe[2]; in android_security_cts_NativeCodeTest_doPerfEventTest2() local
75 memset(pe, 0, sizeof(pe)); in android_security_cts_NativeCodeTest_doPerfEventTest2()
76 pe[0].type = 2; in android_security_cts_NativeCodeTest_doPerfEventTest2()
77 pe[0].config = 72; in android_security_cts_NativeCodeTest_doPerfEventTest2()
78 pe[0].size = 80; in android_security_cts_NativeCodeTest_doPerfEventTest2()
79 pe[1].type = PERF_TYPE_RAW; in android_security_cts_NativeCodeTest_doPerfEventTest2()
80 pe[1].size = 80; in android_security_cts_NativeCodeTest_doPerfEventTest2()
81 fd[0]=syscall(__NR_perf_event_open, &pe[0], 0, 0, -1, 0); in android_security_cts_NativeCodeTest_doPerfEventTest2()
82 fd[1]=syscall(__NR_perf_event_open, &pe[1], 0, 0, fd[0], 0); in android_security_cts_NativeCodeTest_doPerfEventTest2()
/cts/hostsidetests/incident/src/com/android/server/cts/
DJobSchedulerIncidentTest.java124 for (DataSetProto.PackageEntryProto pe : ds.getPackageEntriesList()) { in testDataSetProto()
125 assertTrue(0 <= pe.getUid()); in testDataSetProto()
127 assertTrue(0 <= pe.getPendingState().getDurationMs()); in testDataSetProto()
128 assertTrue(0 <= pe.getPendingState().getCount()); in testDataSetProto()
129 assertTrue(0 <= pe.getActiveState().getDurationMs()); in testDataSetProto()
130 assertTrue(0 <= pe.getActiveState().getCount()); in testDataSetProto()
131 assertTrue(0 <= pe.getActiveTopState().getDurationMs()); in testDataSetProto()
132 assertTrue(0 <= pe.getActiveTopState().getCount()); in testDataSetProto()
134 for (DataSetProto.PackageEntryProto.StopReasonCount src : pe.getStopReasonsList()) { in testDataSetProto()