Home
last modified time | relevance | path

Searched refs:it (Results 1 – 25 of 43) sorted by relevance

12

/device/generic/goldfish/camera/
DEmulatedCameraHotplugThread.cpp70 Vector<SubscriberInfo>::iterator it; in requestExit() local
71 for (it = mSubscribers.begin(); it != mSubscribers.end(); ++it) { in requestExit()
73 if (inotify_rm_watch(mInotifyFd, it->WatchID) == -1) { in requestExit()
77 __FUNCTION__, it->CameraID, strerror(errno), in requestExit()
83 __FUNCTION__, it->CameraID); in requestExit()
119 Vector<int>::const_iterator it, end; in readyToRun() local
120 it = mSubscribedCameraIds.begin(); in readyToRun()
122 for (; it != end; ++it) { in readyToRun()
123 int cameraId = *it; in readyToRun()
251 Vector<int>::const_iterator it, end; in getCameraId() local
[all …]
DCallbackNotifier.cpp173 List<camera_memory_t*>::iterator it = mCameraMemoryTs.begin(); in releaseRecordingFrame() local
174 for( ; it != mCameraMemoryTs.end(); ++it ) { in releaseRecordingFrame()
175 if ( (*it)->data == opaque ) { in releaseRecordingFrame()
176 (*it)->release( *it ); in releaseRecordingFrame()
177 mCameraMemoryTs.erase(it); in releaseRecordingFrame()
/device/google/contexthub/firmware/src/
Dseos.c426 void osSegmentIteratorInit(struct SegmentIterator *it) in osSegmentIteratorInit() argument
431 it->shared = (const struct Segment *)(start); in osSegmentIteratorInit()
432 it->sharedEnd = (const struct Segment *)(start + sz); in osSegmentIteratorInit()
433 it->seg = NULL; in osSegmentIteratorInit()
519 struct SegmentIterator it; in osAppSegmentCreate() local
523 osSegmentIteratorInit(&it); in osAppSegmentCreate()
524 while (osSegmentIteratorNext(&it)) { in osAppSegmentCreate()
525 if (osSegmentGetState(it.seg) == SEG_ST_EMPTY) { in osAppSegmentCreate()
526 storageSeg = it.seg; in osAppSegmentCreate()
530 if (!storageSeg || osSegmentSizeGetNext(storageSeg, size) > it.sharedEnd) in osAppSegmentCreate()
[all …]
/device/google/contexthub/firmware/inc/
Dseos.h238 void osSegmentIteratorInit(struct SegmentIterator *it);
240 static inline bool osSegmentIteratorNext(struct SegmentIterator *it) in osSegmentIteratorNext() argument
242 const struct Segment *seg = it->shared; in osSegmentIteratorNext()
243 const struct Segment *next = seg < it->sharedEnd ? osSegmentGetNext(seg) : it->sharedEnd; in osSegmentIteratorNext()
245 it->shared = next; in osSegmentIteratorNext()
246 it->seg = seg; in osSegmentIteratorNext()
248 return seg < it->sharedEnd; in osSegmentIteratorNext()
/device/google/contexthub/
DCodingStandard.txt1 In the interest of a clean and concise codebase that looks readable, it is hereby established that …
2 …obey these guidelines is not a cause for also disobeying them (it is a cause for fixing it, howeve…
19 make it easier to identify them
23 names - makes it easy to appreciate the cost (struct GpioHandle, union PwmDeviceData)
33 16. Do not ever return structs or unions from functions. Pass a pointer and fill it in. Gcc will
34 optimize this better and it is better C
38 (it converts to double)
41 20. You may use whatever comment style suits your heart, as long as the compiler can live with it
46 code, it wil lwarn you if you accidentally try to derefernce it, or on purpiose try to access
/device/generic/mini-emulator-arm64/
Dinit.mini-emulator.rc46 # it is created (ie, after a data wipe).
67 # might read them (e.g. surface flinger), so define it in
81 # program to check wether it runs on the emulator
82 # if it does, it redirects its output to the device
/device/generic/mini-emulator-armv7-a-neon/
Dinit.mini-emulator.rc46 # it is created (ie, after a data wipe).
67 # might read them (e.g. surface flinger), so define it in
81 # program to check wether it runs on the emulator
82 # if it does, it redirects its output to the device
/device/google/atv/
Dinit.goldfish.rc54 # it is created (ie, after a data wipe).
75 # might read them (e.g. surface flinger), so define it in
89 # program to check wether it runs on the emulator
90 # if it does, it redirects its output to the device
Dinit.ranchu.rc61 # might read them (e.g. surface flinger), so define it in
71 # program to check wether it runs on the emulator
72 # if it does, it redirects its output to the device
/device/generic/goldfish/
Dinit.goldfish.rc54 # it is created (ie, after a data wipe).
75 # might read them (e.g. surface flinger), so define it in
89 # program to check wether it runs on the emulator
90 # if it does, it redirects its output to the device
Dinit.ranchu.rc62 # might read them (e.g. surface flinger), so define it in
72 # program to check wether it runs on the emulator
73 # if it does, it redirects its output to the device
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraMem.cpp489 List<struct QCameraMemory::QCameraMemInfo>::iterator it; in clear() local
490 it = mPools[i].begin(); in clear()
491 for( ; it != mPools[i].end() ; it++) { in clear()
492 QCameraMemory::deallocOneBuffer(*it); in clear()
530 List<struct QCameraMemory::QCameraMemInfo>::iterator it; in findBufferLocked() local
531 it = mPools[streamType].begin(); in findBufferLocked()
532 for ( ; it != mPools[streamType].end() ; it++) { in findBufferLocked()
533 if ( ((*it).size >= size) && in findBufferLocked()
534 ((*it).heap_id == heap_id) && in findBufferLocked()
535 ((*it).cached == cached) ) { in findBufferLocked()
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp328 for (List<stream_info_t *>::iterator it = mStreamInfo.begin(); in ~QCamera3HardwareInterface() local
329 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
330 QCamera3Channel *channel = (*it)->channel; in ~QCamera3HardwareInterface()
338 for (List<stream_info_t *>::iterator it = mStreamInfo.begin(); in ~QCamera3HardwareInterface() local
339 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
340 QCamera3Channel *channel = (*it)->channel; in ~QCamera3HardwareInterface()
343 free (*it); in ~QCamera3HardwareInterface()
849 for (List<stream_info_t*>::iterator it = mStreamInfo.begin(); in configureStreams() local
850 it != mStreamInfo.end(); it++) { in configureStreams()
851 QCamera3Channel *channel = (QCamera3Channel*)(*it)->stream->priv; in configureStreams()
[all …]
DQCamera3Channel.cpp1728 List<uint32_t>::iterator it = mFreeBufferList.begin(); in request() local
1729 uint32_t freeBuffer = *it; in request()
1731 mFreeBufferList.erase(it); in request()
2932 List<OfflineBuffer>::iterator it = mOfflineBuffers.begin(); in unmapOfflineBuffers() local
2933 for (; it != mOfflineBuffers.end(); it++) { in unmapOfflineBuffers()
2934 stream = (*it).stream; in unmapOfflineBuffers()
2936 rc = stream->unmapBuf((*it).type, in unmapOfflineBuffers()
2937 (*it).index, in unmapOfflineBuffers()
2943 CDBG("%s: Unmapped buffer with index %d", __func__, (*it).index); in unmapOfflineBuffers()
2946 mOfflineBuffers.erase(it); in unmapOfflineBuffers()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraMem.cpp629 List<struct QCameraMemory::QCameraMemInfo>::iterator it; in clear() local
630 it = mPools[i].begin(); in clear()
631 for( ; it != mPools[i].end() ; it++) { in clear()
632 QCameraMemory::deallocOneBuffer(*it); in clear()
667 List<struct QCameraMemory::QCameraMemInfo>::iterator it; in findBufferLocked() local
668 it = mPools[streamType].begin(); in findBufferLocked()
669 for ( ; it != mPools[streamType].end() ; it++) { in findBufferLocked()
670 if ( ((*it).size >= size) && in findBufferLocked()
671 ((*it).heap_id == heap_id) && in findBufferLocked()
672 ((*it).cached == cached) ) { in findBufferLocked()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraMem.cpp629 List<struct QCameraMemory::QCameraMemInfo>::iterator it; in clear() local
630 it = mPools[i].begin(); in clear()
631 for( ; it != mPools[i].end() ; it++) { in clear()
632 QCameraMemory::deallocOneBuffer(*it); in clear()
667 List<struct QCameraMemory::QCameraMemInfo>::iterator it; in findBufferLocked() local
668 it = mPools[streamType].begin(); in findBufferLocked()
669 for ( ; it != mPools[streamType].end() ; it++) { in findBufferLocked()
670 if ( ((*it).size >= size) && in findBufferLocked()
671 ((*it).heap_id == heap_id) && in findBufferLocked()
672 ((*it).cached == cached) ) { in findBufferLocked()
[all …]
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp425 for (List<stream_info_t *>::iterator it = mStreamInfo.begin(); in ~QCamera3HardwareInterface() local
426 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
427 QCamera3ProcessingChannel *channel = (*it)->channel; in ~QCamera3HardwareInterface()
447 for (List<stream_info_t *>::iterator it = mStreamInfo.begin(); in ~QCamera3HardwareInterface() local
448 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
449 QCamera3ProcessingChannel *channel = (*it)->channel; in ~QCamera3HardwareInterface()
452 free (*it); in ~QCamera3HardwareInterface()
1126 for (List<stream_info_t*>::iterator it = mStreamInfo.begin(); in configureStreamsPerfLocked() local
1127 it != mStreamInfo.end(); it++) { in configureStreamsPerfLocked()
1128 QCamera3ProcessingChannel *channel = (QCamera3ProcessingChannel*)(*it)->stream->priv; in configureStreamsPerfLocked()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp425 for (List<stream_info_t *>::iterator it = mStreamInfo.begin(); in ~QCamera3HardwareInterface() local
426 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
427 QCamera3ProcessingChannel *channel = (*it)->channel; in ~QCamera3HardwareInterface()
447 for (List<stream_info_t *>::iterator it = mStreamInfo.begin(); in ~QCamera3HardwareInterface() local
448 it != mStreamInfo.end(); it++) { in ~QCamera3HardwareInterface()
449 QCamera3ProcessingChannel *channel = (*it)->channel; in ~QCamera3HardwareInterface()
452 free (*it); in ~QCamera3HardwareInterface()
1126 for (List<stream_info_t*>::iterator it = mStreamInfo.begin(); in configureStreamsPerfLocked() local
1127 it != mStreamInfo.end(); it++) { in configureStreamsPerfLocked()
1128 QCamera3ProcessingChannel *channel = (QCamera3ProcessingChannel*)(*it)->stream->priv; in configureStreamsPerfLocked()
[all …]
/device/google/dragon/crash_collector/
Dcoredump_writer.cc402 const auto it = file_mappings.find(range); in WriteMaps() local
403 const long offset = it != file_mappings.end() ? it->second.offset : 0; in WriteMaps()
404 const std::string path = it != file_mappings.end() ? it->second.path : ""; in WriteMaps()
/device/moto/shamu/sepolicy/
Dbluetooth.te2 # TODO: label it sysfs_bluetooth_writable instead
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini187 #Checking is disabled if set to Zero.Otherwise it will use this value as to how better
321 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try…
325 #gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
422 #If Set to 0 it will not enable the feature
458 #Disable split scan, the FW will take care of it
531 # to disable set it to zero. ssdp = 0
592 # we need to change it, though it is uncommon.
618 # device will accept TDLS connection if it is initiated from any other peer,
661 # builds only since it will be ignored in performance/release builds.
/device/google/contexthub/firmware/misc/cpu/cortexm4f/
Dapp.lkr31 …contains sections taht GCC simply feel like it MUST produce (link error otherwise) but we have no …
66 /* things we need to run it */
/device/htc/flounder/
Dinit.recovery.flounder.rc5 # Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 second margin
/device/sample/sdk_addon/
Dmanifest.ini35 # if it wishes to override the default skin of the base platform.
41 # of USB Vendor IDs it knows. After installing an add-on the command
/device/asus/fugu/sepolicy/
Dbtfwloader.te7 # Allow it to execute /system/bin/sh

12