Home
last modified time | relevance | path

Searched refs:mChannel (Results 1 – 3 of 3) sorted by relevance

/system/netd/client/
DFwmarkClient.cpp64 FwmarkClient::FwmarkClient() : mChannel(-1) { in FwmarkClient()
68 if (mChannel >= 0) { in ~FwmarkClient()
69 close(mChannel); in ~FwmarkClient()
74 mChannel = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in send()
75 if (mChannel == -1) { in send()
79 if (TEMP_FAILURE_RETRY(connect(mChannel, reinterpret_cast<const sockaddr*>(&FWMARK_SERVER_PATH), in send()
114 if (TEMP_FAILURE_RETRY(sendmsg(mChannel, &message, 0)) == -1) { in send()
120 if (TEMP_FAILURE_RETRY(recv(mChannel, &error, sizeof(error), 0)) == -1) { in send()
DFwmarkClient.h40 int mChannel;
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java68 private final FileChannel mChannel; field in ApkArchive
72 mChannel = mFile.getChannel(); in ApkArchive()
99 final long fileSize = mChannel.size(); in findEndOfCDRecord()
102 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, readOffset, in findEndOfCDRecord()
151 Location location = findCDRecord(mChannel.map(FileChannel.MapMode.READ_ONLY, eocdRecord, in getCDLocation()
169 ByteBuffer signature = mChannel.map(FileChannel.MapMode.READ_ONLY, signatureOffset, in getSignatureLocation()
189 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, loc.offset, loc.size); in readMetadata()