Home
last modified time | relevance | path

Searched refs:syncEvent (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audioflinger/timing/tests/
Dmediasyncevent_tests.cpp49 auto syncEvent = sp<SyncEvent>::make( in TEST() local
56 ASSERT_EQ(type, syncEvent->type()); in TEST()
57 ASSERT_EQ(triggerSession, syncEvent->triggerSession()); in TEST()
58 ASSERT_EQ(listenerSession, syncEvent->listenerSession()); in TEST()
59 ASSERT_EQ(cookie, std::any_cast<decltype(cookie)>(syncEvent->cookie())); in TEST()
62 syncEvent->trigger(); in TEST()
64 ASSERT_EQ(param, syncEvent); in TEST()
66 ASSERT_FALSE(syncEvent->isCancelled()); in TEST()
67 syncEvent->cancel(); in TEST()
68 ASSERT_TRUE(syncEvent->isCancelled()); in TEST()
Dsynchronizedrecordstate_tests.cpp50 auto syncEvent = sp<SyncEvent>::make( in TEST() local
56 recordState.startRecording(syncEvent); in TEST()
61 ASSERT_TRUE(syncEvent->isCancelled()); in TEST()
62 ASSERT_EQ(cookie, std::any_cast<decltype(cookie)>(syncEvent->cookie())); in TEST()
65 syncEvent = sp<SyncEvent>::make( in TEST()
71 recordState.startRecording(syncEvent); in TEST()
72 recordState.onPlaybackFinished(syncEvent, 10); in TEST()
77 ASSERT_TRUE(syncEvent->isCancelled()); in TEST()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DUinput.java139 case SYNC -> d.syncEvent(e.getSyncToken()); in process()
DDevice.java168 public void syncEvent(String syncToken) { in syncEvent() method in Device
/frameworks/base/media/java/android/media/
DAudioRecord.java1512 public void startRecording(MediaSyncEvent syncEvent) in startRecording() argument
1521 if (native_start(syncEvent.getType(), syncEvent.getAudioSessionId()) == SUCCESS) { in startRecording()
2469 private native final int native_start(int syncEvent, int sessionId); in native_start() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...