Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java217 final IpClient ipc = in makeIpClient() local
230 return ipc; in makeIpClient()
324 final IpClient ipc = new IpClient(mContext, null, mCb, mNetworkStackServiceManager, in testNullInterfaceNameMostDefinitelyThrows() local
326 ipc.shutdown(); in testNullInterfaceNameMostDefinitelyThrows()
338 final IpClient ipc = new IpClient(mContext, ifname, null, mNetworkStackServiceManager, in testNullCallbackMostDefinitelyThrows() local
340 ipc.shutdown(); in testNullCallbackMostDefinitelyThrows()
350 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mNetworkStackServiceManager, in testInvalidInterfaceDoesNotThrow() local
353 ipc.shutdown(); in testInvalidInterfaceDoesNotThrow()
359 final IpClient ipc = new IpClient(mContext, TEST_IFNAME, mCb, mNetworkStackServiceManager, in testInterfaceNotFoundFailsImmediately() local
361 ipc.startProvisioning(new ProvisioningConfiguration()); in testInterfaceNotFoundFailsImmediately()
[all …]
/packages/services/Car/cpp/evs/manager/1.0/
DEnumerator.cpp41 hardware::IPCThreadState* ipc = hardware::IPCThreadState::self(); in checkPermission() local
42 if (AID_AUTOMOTIVE_EVS != ipc->getCallingUid()) { in checkPermission()
43 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()
462 final IpClient ipc = ipcRef.get(); in dump() local
463 if (ipc != null) { in dump()
464 ipClients.add(ipc); in dump()
469 for (IpClient ipc : ipClients) { in dump()
470 pw.println(ipc.getName()); in dump()
472 ipc.dump(fd, pw, args); in dump()
474 dumpedIpClientIfaces.add(ipc.getInterfaceName()); in dump()
/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() && AID_ROOT != ipc->getCallingUid()) { in checkPermission()
66 LOG(ERROR) << "EVS access denied: " << "pid = " << ipc->getCallingPid() in checkPermission()
67 << ", uid = " << ipc->getCallingUid(); in checkPermission()
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.cpp97 IPCThreadState* ipc = IPCThreadState::self(); in processHasPermissionsForEvs() local
98 const auto userId = ipc->getCallingUid() / AID_USER_OFFSET; in processHasPermissionsForEvs()
99 const auto appId = ipc->getCallingUid() % AID_USER_OFFSET; in processHasPermissionsForEvs()
101 LOG(ERROR) << "EVS access denied? " << "pid = " << ipc->getCallingPid() in processHasPermissionsForEvs()
/packages/services/Car/
D.clang-format30 …lity|cdefs|endian|epoll|errno|eventfd|fcntl|file|fsuid|ifunc|inotify|ioctl|ipc|klog|limits|mman|mo…
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java948 IpClient ipc =
954 HandlerUtils.waitForIdle(ipc.getHandler(), TEST_TIMEOUT_MS);
955 return ipc;