Home
last modified time | relevance | path

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

123

/system/libhwbinder/
DBpHwBinder.cpp258 IPCThreadState* ipc = IPCThreadState::self(); in ~BpHwBinder() local
263 if (ipc) ipc->clearDeathNotification(mHandle, this); in ~BpHwBinder()
275 if (ipc) { in ~BpHwBinder()
276 ipc->expungeHandle(mHandle, this); in ~BpHwBinder()
277 ipc->decWeakHandle(mHandle); in ~BpHwBinder()
284 IPCThreadState* ipc = IPCThreadState::self(); in onFirstRef() local
285 if (ipc) ipc->incStrongHandle(mHandle, this); in onFirstRef()
294 IPCThreadState* ipc = IPCThreadState::self(); in onLastStrongRef() local
295 if (ipc) { in onLastStrongRef()
296 ipc->decStrongHandle(mHandle); in onLastStrongRef()
[all …]
/system/bt/service/
DAndroid.bp24 "ipc/ipc_handler.cc",
25 "ipc/ipc_manager.cc",
34 "ipc/ipc_handler_linux.cc",
35 "ipc/linux_ipc_host.cc",
39 "ipc/binder/bluetooth_binder_server.cc",
40 "ipc/binder/bluetooth_gatt_client_binder_server.cc",
41 "ipc/binder/bluetooth_gatt_server_binder_server.cc",
42 "ipc/binder/bluetooth_le_advertiser_binder_server.cc",
43 "ipc/binder/bluetooth_le_scanner_binder_server.cc",
44 "ipc/binder/bluetooth_low_energy_binder_server.cc",
[all …]
Ddaemon.cc38 class DaemonImpl : public Daemon, public ipc::IPCManager::Delegate {
58 void OnIPCHandlerStarted(ipc::IPCManager::Type /* type */) override { in OnIPCHandlerStarted()
63 void OnIPCHandlerStopped(ipc::IPCManager::Type /* type */) override { in OnIPCHandlerStopped()
97 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, this)) { in SetUpIPC()
105 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_BINDER, this)) { in SetUpIPC()
110 if (!ipc_manager_->Start(ipc::IPCManager::TYPE_DBUS, this)) { in SetUpIPC()
135 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init()
152 std::unique_ptr<ipc::IPCManager> ipc_manager_;
DBUILD.gn36 "ipc/dbus/bluetooth_adapter.cc",
37 "ipc/dbus/ipc_handler_dbus.cc",
40 "ipc/ipc_handler.cc",
41 "ipc/ipc_handler_linux.cc",
42 "ipc/ipc_manager.cc",
43 "ipc/linux_ipc_host.cc",
Ddaemon.h22 namespace ipc {
/system/bt/service/test/
Dipc_linux_unittest.cc66 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp()
108 std::unique_ptr<ipc::IPCManager> ipc_manager_;
129 class TestDelegate : public ipc::IPCManager::Delegate,
134 void OnIPCHandlerStarted(ipc::IPCManager::Type type) override { in OnIPCHandlerStarted()
135 ASSERT_EQ(ipc::IPCManager::TYPE_LINUX, type); in OnIPCHandlerStarted()
140 void OnIPCHandlerStopped(ipc::IPCManager::Type type) override { in OnIPCHandlerStopped()
141 ASSERT_EQ(ipc::IPCManager::TYPE_LINUX, type); in OnIPCHandlerStopped()
158 EXPECT_FALSE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F()
166 EXPECT_TRUE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F()
187 EXPECT_TRUE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); in TEST_F()
Dstub_ipc_handler_binder.cc23 namespace ipc { namespace
/system/core/gatekeeperd/
Dgatekeeperd.cpp146 IPCThreadState* ipc = IPCThreadState::self(); in enroll() local
147 const int calling_pid = ipc->getCallingPid(); in enroll()
148 const int calling_uid = ipc->getCallingUid(); in enroll()
249 IPCThreadState* ipc = IPCThreadState::self(); in verifyChallenge() local
250 const int calling_pid = ipc->getCallingPid(); in verifyChallenge()
251 const int calling_uid = ipc->getCallingUid(); in verifyChallenge()
345 IPCThreadState* ipc = IPCThreadState::self(); in clearSecureUserId() local
346 const int calling_pid = ipc->getCallingPid(); in clearSecureUserId()
347 const int calling_uid = ipc->getCallingUid(); in clearSecureUserId()
360 IPCThreadState* ipc = IPCThreadState::self(); in reportDeviceSetupComplete() local
[all …]
/system/bt/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 {
/system/sepolicy/prebuilts/api/26.0/private/
Daccess_vectors63 # Define a common prefix for ipc access vectors.
66 common ipc
323 # Define the access vector interpretation for ipc-related objects
326 class ipc
327 inherits ipc
330 inherits ipc
333 inherits ipc
345 inherits ipc
/system/sepolicy/reqd_mask/
Daccess_vectors65 # Define a common prefix for ipc access vectors.
68 common ipc
335 # Define the access vector interpretation for ipc-related objects
338 class ipc
339 inherits ipc
342 inherits ipc
345 inherits ipc
357 inherits ipc
Dsecurity_classes40 # sysv-ipc-related classes
45 class ipc
/system/sepolicy/private/
Daccess_vectors65 # Define a common prefix for ipc access vectors.
68 common ipc
335 # Define the access vector interpretation for ipc-related objects
338 class ipc
339 inherits ipc
342 inherits ipc
345 inherits ipc
357 inherits ipc
/system/sepolicy/prebuilts/api/28.0/private/
Daccess_vectors65 # Define a common prefix for ipc access vectors.
68 common ipc
335 # Define the access vector interpretation for ipc-related objects
338 class ipc
339 inherits ipc
342 inherits ipc
345 inherits ipc
357 inherits ipc
Dsecurity_classes40 # sysv-ipc-related classes
45 class ipc
/system/sepolicy/prebuilts/api/27.0/private/
Daccess_vectors65 # Define a common prefix for ipc access vectors.
68 common ipc
326 # Define the access vector interpretation for ipc-related objects
329 class ipc
330 inherits ipc
333 inherits ipc
336 inherits ipc
348 inherits ipc
/system/bt/service/ipc/
Dipc_handler.cc21 namespace ipc { namespace
Dipc_handler.h28 namespace ipc {
Dipc_handler_linux.h33 namespace ipc {
Dipc_manager.h28 namespace ipc {
/system/bt/service/ipc/binder/
Dipc_handler_binder.h24 namespace ipc {
Dbluetooth_gatt_client_binder_server.h36 namespace ipc {
Dipc_handler_binder.cc34 namespace ipc { namespace

123