Home
last modified time | relevance | path

Searched refs:ipc (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java185 final IpClient ipc = new IpClient(mContext, ifname, mCb, mObserverRegistry, in makeIpClient() local
197 return ipc; in makeIpClient()
216 final IpClient ipc = new IpClient(mContext, null, mCb, mObserverRegistry, in testNullInterfaceNameMostDefinitelyThrows() local
218 ipc.shutdown(); in testNullInterfaceNameMostDefinitelyThrows()
230 final IpClient ipc = new IpClient(mContext, ifname, null, mObserverRegistry, in testNullCallbackMostDefinitelyThrows() local
232 ipc.shutdown(); in testNullCallbackMostDefinitelyThrows()
242 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInvalidInterfaceDoesNotThrow() local
245 ipc.shutdown(); in testInvalidInterfaceDoesNotThrow()
251 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mObserverRegistry, in testInterfaceNotFoundFailsImmediately() local
253 ipc.startProvisioning(new ProvisioningConfiguration()); in testInterfaceNotFoundFailsImmediately()
[all …]
/packages/modules/Bluetooth/system/service/
DAndroid.bp39 "ipc/ipc_handler.cc",
40 "ipc/ipc_manager.cc",
49 "ipc/ipc_handler_linux.cc",
50 "ipc/linux_ipc_host.cc",
54 "ipc/binder/bluetooth_a2dp_sink_binder_server.cc",
55 "ipc/binder/bluetooth_a2dp_source_binder_server.cc",
56 "ipc/binder/bluetooth_avrcp_control_binder_server.cc",
57 "ipc/binder/bluetooth_avrcp_target_binder_server.cc",
58 "ipc/binder/bluetooth_binder_server.cc",
59 "ipc/binder/bluetooth_gatt_client_binder_server.cc",
[all …]
Ddaemon.cc41 class DaemonImpl : public Daemon, public ipc::IPCManager::Delegate {
64 void OnIPCHandlerStarted(ipc::IPCManager::Type /* type */) override { in OnIPCHandlerStarted()
69 void OnIPCHandlerStopped(ipc::IPCManager::Type /* type */) override { in OnIPCHandlerStopped()
111 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, this)) { in SetUpIPC()
119 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_BINDER, this)) { in SetUpIPC()
124 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_DBUS, this)) { in SetUpIPC()
149 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init()
166 std::unique_ptr<ipc::IPCManager> ipc_manager_;
DBUILD.gn44 "ipc/ipc_handler.cc",
45 "ipc/ipc_manager.cc",
64 "ipc/ipc_handler_linux.cc",
65 "ipc/linux_ipc_host.cc",
66 "ipc/dbus/ipc_handler_dbus.cc",
67 "ipc/dbus/bluetooth_adapter.cc",
Ddaemon.h21 namespace ipc {
/packages/modules/Bluetooth/system/service/test/
Dipc_linux_unittest.cc70 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp()
112 std::unique_ptr<ipc::IPCManager> ipc_manager_;
131 class TestDelegate : public ipc::IPCManager::Delegate,
139 void OnIPCHandlerStarted(ipc::IPCManager::Type type) override { in OnIPCHandlerStarted()
140 ASSERT_EQ(ipc::IPCManager::TYPE_LINUX, type); in OnIPCHandlerStarted()
145 void OnIPCHandlerStopped(ipc::IPCManager::Type type) override { in OnIPCHandlerStopped()
146 ASSERT_EQ(ipc::IPCManager::TYPE_LINUX, type); in OnIPCHandlerStopped()
161 EXPECT_FALSE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F()
169 EXPECT_TRUE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F()
190 EXPECT_TRUE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F()
Dstub_ipc_handler_binder.cc23 namespace ipc { namespace
/packages/services/Car/cpp/evs/manager/1.0/
DEnumerator.cpp42 hardware::IPCThreadState *ipc = hardware::IPCThreadState::self(); in checkPermission() local
43 if (AID_AUTOMOTIVE_EVS != ipc->getCallingUid()) { in checkPermission()
44 ALOGE("EVS access denied: pid = %d, uid = %d", ipc->getCallingPid(), ipc->getCallingUid()); in checkPermission()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java386 final IpClient ipc = it.next().get(); in makeIpClient() local
387 if (ipc == null) { in makeIpClient()
448 final IpClient ipc = ipcRef.get(); in dump() local
449 if (ipc != null) { in dump()
450 ipClients.add(ipc); in dump()
455 for (IpClient ipc : ipClients) { in dump()
456 pw.println(ipc.getName()); in dump()
458 ipc.dump(fd, pw, args); in dump()
460 dumpedIpClientIfaces.add(ipc.getInterfaceName()); in dump()
/packages/modules/Bluetooth/system/service/ipc/dbus/
Dipc_handler_dbus.cc27 namespace ipc { namespace
59 ipc::dbus::BluetoothAdapter* bluetooth_adapter = in InitDbus()
60 new ipc::dbus::BluetoothAdapter(bus_, adapter()); in InitDbus()
Dipc_handler_dbus.h26 namespace ipc {
Dbluetooth_adapter.h32 namespace ipc {
/packages/services/Car/cpp/evs/sampleDriver/hidl/
DEvsEnumerator.cpp64 hardware::IPCThreadState *ipc = hardware::IPCThreadState::self(); in checkPermission() local
65 if (AID_AUTOMOTIVE_EVS != ipc->getCallingUid() && in checkPermission()
66 AID_ROOT != ipc->getCallingUid()) { in checkPermission()
68 << "pid = " << ipc->getCallingPid() in checkPermission()
69 << ", uid = " << ipc->getCallingUid(); in checkPermission()
/packages/modules/Bluetooth/system/service/ipc/
Dipc_handler.cc21 namespace ipc { namespace
Dipc_handler.h27 namespace ipc {
Dipc_handler_linux.h31 namespace ipc {
Dipc_manager.h27 namespace ipc {
Dipc_manager.cc26 namespace ipc { namespace
Dlinux_ipc_host.h31 namespace ipc {
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.cpp95 IPCThreadState* ipc = IPCThreadState::self(); in processHasPermissionsForEvs() local
96 const auto userId = ipc->getCallingUid() / AID_USER_OFFSET; in processHasPermissionsForEvs()
97 const auto appId = ipc->getCallingUid() % AID_USER_OFFSET; in processHasPermissionsForEvs()
100 << "pid = " << ipc->getCallingPid() << ", userId = " << userId in processHasPermissionsForEvs()
/packages/modules/Bluetooth/system/service/ipc/binder/
Dipc_handler_binder.h22 namespace ipc {
Dipc_handler_binder.cc34 namespace ipc { namespace
Dbluetooth_gatt_client_binder_server.h34 namespace ipc {
Dbluetooth_le_advertiser_binder_server.h38 namespace ipc {
Dinterface_with_instances_base.h26 namespace ipc {

123