Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 20 of 20) sorted by relevance

/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/
DOffloadIntentStore.java236 final StringBuilder sb = new StringBuilder("OffloadIntent{"); in toString() local
237 sb.append("mNetworkInterface='").append(mNetworkInterface).append('\''); in toString()
238 sb.append(", mRecordKey=").append(mRecordKey); in toString()
239 sb.append(", mPriority=").append(mPriority); in toString()
240 sb.append(", mOwnerAppId=").append(mOwnerAppId); in toString()
241 sb.append('}'); in toString()
242 return sb.toString(); in toString()
275 final StringBuilder sb = new StringBuilder("PassthroughIntent{"); in toString() local
276 sb.append("mNetworkInterface='").append(mNetworkInterface).append('\''); in toString()
277 sb.append(", mOriginalQName='").append(mOriginalQName).append('\''); in toString()
[all …]
/device/generic/goldfish/camera/
DCachedStreamBuffer.cpp98 CachedStreamBuffer::CachedStreamBuffer(const StreamBuffer& sb) in CachedStreamBuffer() argument
99 : mBuffer(importAidlNativeHandle(sb.buffer)) in CachedStreamBuffer()
100 , mBufferId(sb.bufferId) in CachedStreamBuffer()
101 , mAcquireFence(importAidlNativeHandleFence(sb.acquireFence)) in CachedStreamBuffer()
102 , mStreamId(sb.streamId) { in CachedStreamBuffer()
152 StreamBuffer sb; in finish() local
153 sb.streamId = mStreamId; in finish()
154 sb.bufferId = mBufferId; in finish()
155 sb.status = success ? BufferStatus::OK : BufferStatus::ERROR; in finish()
156 sb.releaseFence = moveFenceToAidlNativeHandle(std::move(mAcquireFence)); in finish()
[all …]
DStreamBufferCache.cpp29 StreamBufferCache::update(const StreamBuffer& sb) { in update() argument
30 const auto bi = mCache.find(sb.bufferId); in update()
32 const auto r = mCache.insert({sb.bufferId, CachedStreamBuffer(sb)}); in update()
37 csb->importAcquireFence(sb.acquireFence); in update()
DQemuCamera.cpp348 StreamBuffer sb; in captureFrameRAW16() local
354 sb = csb->finish(convertRGBAtoRAW16(imageSize, mem, csb->getBuffer())); in captureFrameRAW16()
357 sb = csb->finish(FAILURE(false)); in captureFrameRAW16()
360 sb = csb->finish(false); in captureFrameRAW16()
367 return sb; in captureFrameRAW16()
383 StreamBuffer sb; in captureFrameJpeg() local
389 sb = csb->finish(compressJpeg(imageSize, imageYcbcr, metadata, in captureFrameJpeg()
393 sb = csb->finish(FAILURE(false)); in captureFrameJpeg()
396 sb = csb->finish(false); in captureFrameJpeg()
403 return sb; in captureFrameJpeg()
DFakeRotatingCamera.cpp600 StreamBuffer sb; in captureFrameJpeg() local
602 sb = csb->finish(compressNV21IntoJpeg(imageSize, nv21data.data(), metadata, in captureFrameJpeg()
605 sb = csb->finish(false); in captureFrameJpeg()
608 return sb; in captureFrameJpeg()
DStreamBufferCache.h36 CachedStreamBuffer* update(const StreamBuffer& sb);
DCachedStreamBuffer.h35 CachedStreamBuffer(const StreamBuffer& sb);
/device/linaro/dragonboard/shared/utils/rmtfs/
Dsharedmem.c58 struct stat sb; in rmtfs_mem_open_rfsa() local
73 ret = fstat(fd, &sb); in rmtfs_mem_open_rfsa()
88 dev = udev_device_new_from_devnum(udev, 'c', sb.st_rdev); in rmtfs_mem_open_rfsa()
128 struct stat sb; in rmtfs_mem_open_uio() local
143 ret = fstat(fd, &sb); in rmtfs_mem_open_uio()
158 dev = udev_device_new_from_devnum(udev, 'c', sb.st_rdev); in rmtfs_mem_open_uio()
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp531 struct stat sb; in readApp() local
532 if (fstat(fd, &sb) == 0) { in readApp()
533 void *buf = malloc(sb.st_size); in readApp()
534 if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size) { in readApp()
542 …int8_t *>(buf) + sizeof(struct nano_app_binary_t), static_cast<const uint8_t *>(buf) + sb.st_size); in readApp()
Dsystem_comms.cpp1139 struct stat sb; in readApp() local
1140 if (fstat(fd, &sb) == 0) { in readApp()
1141 *data = malloc(sb.st_size); in readApp()
1142 if (*data != nullptr && read(fd, *data, sb.st_size) == sb.st_size) in readApp()
1143 ret = sb.st_size; in readApp()
1171 struct stat sb; in cmpApp() local
1172 if (fstat(fd, &sb) == 0 && sb.st_size == len) { in cmpApp()
1174 … if (buf != nullptr && read(fd, buf, sb.st_size) == sb.st_size && memcmp(data, buf, len) == 0) in cmpApp()
/device/linaro/dragonboard/shared/utils/pd-mapper/
Djson.c320 struct stat sb; in json_parse_file() local
330 ret = fstat(fd, &sb); in json_parse_file()
335 input_len = sb.st_size; in json_parse_file()
336 input_buf = malloc(sb.st_size); in json_parse_file()
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/
DDfuProvider.java237 StringBuilder sb = new StringBuilder(); in md5() local
239 sb.append(String.format("%02x", b & 0xff)); in md5()
241 return sb.toString().toLowerCase(); in md5()
/device/google/cuttlefish/host/commands/process_sandboxer/
Dmain.cpp70 sandbox2::Sandbox2 sb(std::move(executor), PolicyForExecutable(host, exe)); in ProcessSandboxerMain() local
72 auto res = sb.Run(); in ProcessSandboxerMain()
/device/google/gs101/uwb/
Duwb.mk34 …$(LOCAL_UWB_CAL_DIR)/UWB-calibration-sb.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-sb.…
/device/linaro/dragonboard/shared/utils/tqftpserv/
Dtqftpserv.c206 struct stat sb; in handle_rrq() local
284 fstat(fd, &sb); in handle_rrq()
285 tsize = sb.st_size; in handle_rrq()
/device/google/trout/hal/sensors/2.1/
Diio_utils.cpp80 struct stat sb; in sysfs_opendir() local
81 if (stat(name.c_str(), &sb) == -1) { in sysfs_opendir()
/device/google/felix/uwb/
Duwb_calibration_country.mk74 …L_PATH)/UWB-calibration-restricted.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-sb.conf \
/device/google/tangorpro/uwb/
Duwb_calibration_country.mk74 …L_PATH)/UWB-calibration-restricted.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-sb.conf \
/device/google/pantah/uwb/
Duwb_calibration_country.mk74 …L_PATH)/UWB-calibration-restricted.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-sb.conf \
/device/google/raviole/uwb/
Duwb_calibration_country.mk74 …L_PATH)/UWB-calibration-restricted.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-sb.conf \