Home
last modified time | relevance | path

Searched refs:writeEvent (Results 1 – 7 of 7) sorted by relevance

/external/OpenCL-CTS/test_conformance/profiling/
DwriteImage.cpp413 cl_event writeEvent; in write_image() local
488 …clEnqueueWriteImage( queue, memobjs[0], false, origin, region, 0, 0, inptr, 0, NULL, &writeEvent ); in write_image()
500 err = clWaitForEvents( 1, &writeEvent ); in write_image()
504 clReleaseEvent(writeEvent); in write_image()
513 …while( ( err = clGetEventProfilingInfo( writeEvent, CL_PROFILING_COMMAND_QUEUED, sizeof( cl_ulong … in write_image()
517 clReleaseEvent(writeEvent); in write_image()
525 …while( ( err = clGetEventProfilingInfo( writeEvent, CL_PROFILING_COMMAND_SUBMIT, sizeof( cl_ulong … in write_image()
529 clReleaseEvent(writeEvent); in write_image()
537 …err = clGetEventProfilingInfo( writeEvent, CL_PROFILING_COMMAND_START, sizeof( cl_ulong ), &writeS… in write_image()
540 clReleaseEvent(writeEvent); in write_image()
[all …]
DwriteArray.cpp620 cl_event writeEvent; in test_stream_write() local
678 …teBuffer( queue, streams[ii], false, 0, ptrSizes[i]*num_elements, inptr[i], 0, NULL, &writeEvent ); in test_stream_write()
689 err = clWaitForEvents( 1, &writeEvent ); in test_stream_write()
693 clReleaseEvent(writeEvent); in test_stream_write()
701 …while( ( err = clGetEventProfilingInfo( writeEvent, CL_PROFILING_COMMAND_QUEUED, sizeof( cl_ulong … in test_stream_write()
705 clReleaseEvent(writeEvent); in test_stream_write()
712 …while( ( err = clGetEventProfilingInfo( writeEvent, CL_PROFILING_COMMAND_SUBMIT, sizeof( cl_ulong … in test_stream_write()
716 clReleaseEvent(writeEvent); in test_stream_write()
723 …err = clGetEventProfilingInfo( writeEvent, CL_PROFILING_COMMAND_START, sizeof( cl_ulong ), &writeS… in test_stream_write()
726 clReleaseEvent(writeEvent); in test_stream_write()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEventLog.java100 protected static int writeEvent(int tag, String str) { in writeEvent() method in ShadowEventLog
110 protected static int writeEvent(int tag, Object... list) { in writeEvent() method in ShadowEventLog
113 return writeEvent(tag, (String) null); in writeEvent()
121 protected static int writeEvent(int tag, int value) { in writeEvent() method in ShadowEventLog
128 protected static int writeEvent(int tag, float value) { in writeEvent() method in ShadowEventLog
135 protected static int writeEvent(int tag, long value) { in writeEvent() method in ShadowEventLog
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLoggerTest.java88 textClassifierEventLogger.writeEvent(sessionId, textSelectionEvent); in writeEvent_textSelectionEvent()
120 textClassifierEventLogger.writeEvent(sessionId, textSelectionEvent); in writeEvent_textSelectionEvent_autoToSingle()
138 textClassifierEventLogger.writeEvent(sessionId, textSelectionEvent); in writeEvent_textSelectionEvent_autoToMulti()
156 textClassifierEventLogger.writeEvent(sessionId, textSelectionEvent); in writeEvent_textSelectionEvent_keepAuto()
175 textClassifierEventLogger.writeEvent(sessionId, textLinkifyEvent); in writeEvent_textLinkifyEvent()
210 textClassifierEventLogger.writeEvent(sessionId, conversationActionsEvent); in writeEvent_textConversationActionEvent()
245 textClassifierEventLogger.writeEvent(sessionId, languageDetectionEvent); in writeEvent_languageDetectionEvent()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowEventLogTest.java120 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1); in testWriteEvent_string()
132 int bytes = EventLog.writeEvent(TEST_TAG, (String) null); in testWriteEvent_nullString()
144 int bytes = EventLog.writeEvent(TEST_TAG, TEST_INT); in testWriteEvent_int()
157 int bytes = EventLog.writeEvent(TEST_TAG, TEST_STRING1, TEST_STRING2); in testWriteEvent_list()
172 int bytes = EventLog.writeEvent(TEST_TAG, (Object[]) null); in testWriteEvent_nullList()
185 int bytes = EventLog.writeEvent(TEST_TAG, TEST_FLOAT); in testWriteEvent_float()
197 int bytes = EventLog.writeEvent(TEST_TAG, TEST_LONG); in testWriteEvent_long()
/external/libtextclassifier/java/src/com/android/textclassifier/common/statsd/
DTextClassifierEventLogger.java46 public void writeEvent( in writeEvent() method in TextClassifierEventLogger
/external/libtextclassifier/java/src/com/android/textclassifier/
DTextClassifierImpl.java392 textClassifierEventLogger.writeEvent( in onTextClassifierEvent()