Home
last modified time | relevance | path

Searched refs:chan (Results 1 – 9 of 9) sorted by relevance

/frameworks/wilhelm/src/itf/
DIMuteSolo.cpp22 static SLresult IMuteSolo_SetChannelMute(SLMuteSoloItf self, SLuint8 chan, SLboolean mute) in IMuteSolo_SetChannelMute() argument
37 } else if (numChannels <= chan) { in IMuteSolo_SetChannelMute()
41 SLuint8 mask = 1 << chan; in IMuteSolo_SetChannelMute()
58 static SLresult IMuteSolo_GetChannelMute(SLMuteSoloItf self, SLuint8 chan, SLboolean *pMute) in IMuteSolo_GetChannelMute() argument
77 } else if (numChannels <= chan) { in IMuteSolo_GetChannelMute()
82 mute = (SLboolean) ((mask >> chan) & 1); in IMuteSolo_GetChannelMute()
94 static SLresult IMuteSolo_SetChannelSolo(SLMuteSoloItf self, SLuint8 chan, SLboolean solo) in IMuteSolo_SetChannelSolo() argument
109 } else if (numChannels <= chan) { in IMuteSolo_SetChannelSolo()
113 SLuint8 mask = 1 << chan; in IMuteSolo_SetChannelSolo()
130 static SLresult IMuteSolo_GetChannelSolo(SLMuteSoloItf self, SLuint8 chan, SLboolean *pSolo) in IMuteSolo_GetChannelSolo() argument
[all …]
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp153 testOne(16, 16, [](const auto &chan, Result result) { in TEST_F() argument
155 EXPECT_EQ(chan, nullptr); in TEST_F()
158 testOne(1024, 1024, [](const auto &chan, Result result) { in TEST_F() argument
160 EXPECT_NE(chan, nullptr); in TEST_F()
163 testOne(1024, 2048, [](const auto &chan, Result result) { in TEST_F() argument
165 EXPECT_EQ(chan, nullptr); in TEST_F()
168 testOne(1024, 16, [](const auto &chan, Result result) { in TEST_F() argument
170 EXPECT_EQ(chan, nullptr); in TEST_F()
230 … ASSERT_OK(manager_->createAshmemDirectChannel(mem, memSize, [&](const auto &chan, Result result) { in TEST_F() argument
232 ASSERT_NE(chan, nullptr); in TEST_F()
[all …]
/frameworks/hardware/interfaces/sensorservice/1.0/
DREADME40 sp<IDirectChannel> chan;
43 [&chan, &res] (const auto &c, auto r) {
44 chan = c; res = r;
47 chan->configure(sensorHandle, RateLevel::FAST, [&](auto token, auto result) {
55 chan->configure(sensorHandle, RateLevel::STOP, [&](auto token, auto result) {
66 chan = nullptr;
DISensorManager.hal76 * @return chan The created channel, or NULL if failure.
85 generates (IDirectReportChannel chan, Result result);
97 * @return chan The created channel, or NULL if failure.
104 generates (IDirectReportChannel chan, Result result);
/frameworks/base/tests/net/java/android/net/nsd/
DNsdManagerTest.java77 mServiceHandler.chan.disconnect(); in tearDown()
331 assertNotNull(mServiceHandler.chan); in makeManager()
345 mServiceHandler.chan.sendMessage(replyType, arg, key, obj); in sendResponse()
351 public AsyncChannel chan; field in NsdManagerTest.MockServiceHandler
372 chan = new AsyncChannel(); in handleMessage()
373 chan.connect(context, this, msg.replyTo); in handleMessage()
374 chan.sendMessage(AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED); in handleMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java68 list.forEach((chan) -> assertTrue(ALL_CHANNELS.contains(chan.getId()))); in testChannelSetup()
/frameworks/native/libs/vr/libpdx/
Dservice.cpp429 Status<void> Message::SetChannel(const std::shared_ptr<Channel>& chan) { in SetChannel() argument
430 channel_ = chan; in SetChannel()
433 status = svc->SetChannel(info_.cid, chan); in SetChannel()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DDynamicSystemInstallationService.java406 NotificationChannel chan = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in prepareNotification() local
413 mNM.createNotificationChannel(chan); in prepareNotification()
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1932 SLuint8 chan,
1937 SLuint8 chan,
1942 SLuint8 chan,
1947 SLuint8 chan,