/frameworks/wilhelm/src/itf/ |
D | IMuteSolo.cpp | 22 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/aidl/vts/ |
D | VtsHalSensorManagerTargetTest.cpp | 129 std::shared_ptr<IDirectReportChannel> chan; in TEST_P() local 130 ScopedAStatus res = manager_->createAshmemDirectChannel(ashmem, intendedSize, &chan); in TEST_P() 131 callback(chan, res); in TEST_P() 134 testOne(16, 16, [](const auto& chan, const ScopedAStatus& result) { in TEST_P() argument 137 EXPECT_EQ(chan, nullptr); in TEST_P() 140 testOne(1024, 1024, [](const auto& chan, const ScopedAStatus& result) { in TEST_P() argument 142 EXPECT_NE(chan, nullptr); in TEST_P() 145 testOne(1024, 2048, [](const auto& chan, const ScopedAStatus& result) { in TEST_P() argument 148 EXPECT_EQ(chan, nullptr); in TEST_P() 151 testOne(1024, 16, [](const auto& chan, const ScopedAStatus& result) { in TEST_P() argument [all …]
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 170 testOne(16, 16, [](const auto &chan, Result result) { in TEST_P() argument 172 EXPECT_EQ(chan, nullptr); in TEST_P() 175 testOne(1024, 1024, [](const auto &chan, Result result) { in TEST_P() argument 177 EXPECT_NE(chan, nullptr); in TEST_P() 180 testOne(1024, 2048, [](const auto &chan, Result result) { in TEST_P() argument 182 EXPECT_EQ(chan, nullptr); in TEST_P() 185 testOne(1024, 16, [](const auto &chan, Result result) { in TEST_P() argument 187 EXPECT_EQ(chan, nullptr); in TEST_P() 262 manager_->createAshmemDirectChannel(mem, memSize, [&](const auto &chan, Result result) { in TEST_P() argument 264 ASSERT_NE(chan, nullptr); in TEST_P() [all …]
|
/frameworks/native/libs/binder/trusty/include_mock/lib/tipc/ |
D | tipc_srv.h | 38 int (*on_connect)(const struct tipc_port* port, handle_t chan, const struct uuid* peer, 41 int (*on_message)(const struct tipc_port* port, handle_t chan, void* ctx); 43 void (*on_disconnect)(const struct tipc_port* port, handle_t chan, void* ctx);
|
/frameworks/native/libs/binder/trusty/include/binder/ |
D | RpcServerTrusty.h | 120 static int handleConnect(const tipc_port* port, handle_t chan, const uuid* peer, void** ctx_p); 121 static int handleMessage(const tipc_port* port, handle_t chan, void* ctx); 122 static void handleDisconnect(const tipc_port* port, handle_t chan, void* ctx); 125 static int handleConnectInternal(RpcServer* rpcServer, handle_t chan, const uuid* peer,
|
/frameworks/native/libs/binder/trusty/ |
D | RpcServerTrusty.cpp | 97 int RpcServerTrusty::handleConnect(const tipc_port* port, handle_t chan, const uuid* peer, in handleConnect() argument 100 return handleConnectInternal(server->mRpcServer.get(), chan, peer, ctx_p); in handleConnect() 103 int RpcServerTrusty::handleConnectInternal(RpcServer* rpcServer, handle_t chan, const uuid* peer, in handleConnectInternal() argument 132 handle_t chanDup = dup(chan); in handleConnectInternal()
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | README | 40 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;
|
D | ISensorManager.hal | 76 * @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/native/libs/binder/trusty/rust/binder_rpc_server_bindgen/cpp/ |
D | ARpcServerTrusty.cpp | 75 int ARpcServerTrusty_handleConnect(ARpcServerTrusty* rstr, handle_t chan, const uuid* peer, in ARpcServerTrusty_handleConnect() argument 77 return RpcServerTrusty::handleConnectInternal(rstr->mRpcServer.get(), chan, peer, ctx_p); in ARpcServerTrusty_handleConnect()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | NotificationChannelsTest.java | 67 list.forEach((chan) -> assertTrue(ALL_CHANNELS.contains(chan.getId()))); in testChannelSetup()
|
/frameworks/native/services/sensorservice/aidl/ |
D | SensorManager.cpp | 69 std::shared_ptr<IDirectReportChannel>* chan) { in createDirectChannel() argument 77 *chan = ndk::SharedRefBase::make<DirectReportChannel>(manager, channelId); in createDirectChannel()
|
/frameworks/native/libs/vr/libpdx/ |
D | service.cpp | 429 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/ |
D | DynamicSystemInstallationService.java | 494 NotificationChannel chan = new NotificationChannel(NOTIFICATION_CHANNEL_ID, in prepareNotification() local 501 mNM.createNotificationChannel(chan); in prepareNotification()
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 1932 SLuint8 chan, 1937 SLuint8 chan, 1942 SLuint8 chan, 1947 SLuint8 chan,
|