Home
last modified time | relevance | path

Searched refs:success (Results 1 – 23 of 23) sorted by relevance

/device/google/contexthub/util/nanotool/
Dcontexthub.cpp165 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in CalibrateSensors() local
169 if (success) { in CalibrateSensors()
170 success = SaveCalibration(); in CalibrateSensors()
172 return success; in CalibrateSensors()
237 bool success = true; in DisableAllSensors() local
242 success &= DisableSensor(static_cast<SensorType>(sensor_type)); in DisableAllSensors()
245 return success; in DisableAllSensors()
249 bool success = true; in DisableActiveSensors() local
256 success &= DisableSensor(static_cast<SensorType>(sensor_type)); in DisableActiveSensors()
260 return success; in DisableActiveSensors()
[all …]
Dandroidcontexthub.cpp82 bool success = true; in GetCalibrationBytes() local
88 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
94 success = json->getFloat(key, &value); in GetCalibrationBytes()
95 if (success) { in GetCalibrationBytes()
104 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes()
105 if (!success) { in GetCalibrationBytes()
107 success = json->getInt32(key, &value); in GetCalibrationBytes()
108 if (success) { in GetCalibrationBytes()
120 success = false; in GetCalibrationBytes()
123 return success; in GetCalibrationBytes()
[all …]
Dnanotool.cpp428 bool success = true; in main() local
431 success = hub->DisableSensors(args->sensors); in main()
434 success = hub->DisableAllSensors(); in main()
445 success = hub->EnableSensors(args->sensors); in main()
446 if (success) { in main()
453 success = hub->CalibrateSensors(args->sensors); in main()
457 success = hub->LoadCalibration(); in main()
461 success = hub->Flash(args->filename); in main()
469 if (!success) { in main()
/device/google/contexthub/firmware/inc/
DnanohubPacket.h372 uint8_t success; member
388 uint8_t success; member
397 uint8_t success; member
DsyscallDo.h112 bool success = eOsEnqueueEvt(evtType, evtData, tidOfWhoWillFreeThisEvent); in eOsEnqueueEvtOrFree() local
113 if (!success && evtFreeF) in eOsEnqueueEvtOrFree()
115 return success; in eOsEnqueueEvtOrFree()
/device/google/contexthub/contexthubhal/
Dnanohubhal.cpp124 bool success = false; in init_inotify() local
135 success = true; in init_inotify()
138 return success; in init_inotify()
Dsystem_comms.cpp379 const bool success = rsp.status != 0; in handleFinish() local
382 if (success) { in handleFinish()
/device/google/contexthub/firmware/src/algos/
Dmag_cal.c104 int success = 0; in moc_fit() local
106 success = 1; in moc_fit()
109 return success; in moc_fit()
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.h50 bool success) = 0;
/device/google/dragon/crash_collector/
Dcrash_collector.cc165 bool success = google_breakpad::WriteMinidump( in ConvertCoredumpToMinidump() local
169 return success; in ConvertCoredumpToMinidump()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraParameters.cpp302 int success = parse_pair(sizeStartPtr, &width, &height, 'x', in parseSizesList() local
304 if (success == -1 || (*sizeStartPtr != ',' && *sizeStartPtr != '\0')) { in parseSizesList()
/device/generic/goldfish/camera/
DEmulatedFakeCamera3.h242 virtual void onJpegDone(const StreamBuffer &jpegBuffer, bool success);
DEmulatedFakeCamera2.cpp771 bool success = false;; in threadLoop() local
774 success = setupCapture(); in threadLoop()
777 success = setupReprocess(); in threadLoop()
785 if (!success) return false; in threadLoop()
1400 const StreamBuffer &jpegBuffer, bool success) { in onJpegDone() argument
1402 if (!success) { in onJpegDone()
1924 bool success = ((double)rand() / RAND_MAX) < kAfSuccessRate; in updateAfScan() local
1925 if (success) { in updateAfScan()
DEmulatedFakeCamera2.h275 void onJpegDone(const StreamBuffer &jpegBuffer, bool success);
DEmulatedFakeCamera3.cpp2483 const StreamBuffer &jpegBuffer, bool success) { in onJpegDone() argument
2488 mJpegHalBuffer.status = success ? in onJpegDone()
2500 if (!success) { in onJpegDone()
/device/google/contexthub/firmware/src/
DnanohubCommand.c534 resp->success = valid; in firmwareWrite()
1107 resp->success = doStartFirmwareUpload(&hwReq); in halStartUpload()
1137 resp->success = false; in halContUpload()
1159 resp->success = (reply == NANOHUB_FIRMWARE_UPLOAD_SUCCESS); in halFinishUpload()
Dseos.c1144 bool success = osEnqueueEvt(evtType, evtData, evtFreeF); in osEnqueueEvtOrFree() local
1146 if (!success && evtFreeF) in osEnqueueEvtOrFree()
1149 return success; in osEnqueueEvtOrFree()
/device/google/dragon/
Dinit.dragon.rc244 service fwtool /system/bin/fwtool mark_boot success
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c1704 bool success = false; in flushData() local
1707 success = osEnqueueEvtOrFree(eventId, sensor->data_evt, dataEvtFree); in flushData()
1711 return success; in flushData()
/device/lge/bullhead/wifi/
DWCNSS_qcom_cfg.ini321 #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try…
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp4664 int success = parse_pair(sizeStartPtr, &width, &height, 'x', in parseSizesList() local
4666 if (success == -1 || (*sizeStartPtr != ',' && *sizeStartPtr != '\0')) { in parseSizesList()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp5580 int success = parse_pair(sizeStartPtr, &width, &height, 'x', in parseSizesList() local
5582 if (success == -1 || (*sizeStartPtr != ',' && *sizeStartPtr != '\0')) { in parseSizesList()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp5580 int success = parse_pair(sizeStartPtr, &width, &height, 'x', in parseSizesList() local
5582 if (success == -1 || (*sizeStartPtr != ',' && *sizeStartPtr != '\0')) { in parseSizesList()