/device/google/contexthub/util/nanotool/ |
D | contexthub.cpp | 170 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in CalibrateSensors() local 174 if (success) { in CalibrateSensors() 175 success = SaveCalibration(); in CalibrateSensors() 177 return success; in CalibrateSensors() 181 bool success = ForEachSensor(sensors, [this](const SensorSpec &spec) -> bool { in TestSensors() local 185 return success; in TestSensors() 250 bool success = true; in DisableAllSensors() local 253 success &= DisableSensor(sensor_names_[i].sensor_type); in DisableAllSensors() 256 return success; in DisableAllSensors() 260 bool success = true; in DisableActiveSensors() local [all …]
|
D | androidcontexthub.cpp | 98 bool success = true; in GetCalibrationBytes() local 108 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes() 112 success = CopyFloatArray(key, json, bytes); in GetCalibrationBytes() 118 success = json->getFloat(key, &value); in GetCalibrationBytes() 119 if (success) { in GetCalibrationBytes() 128 success = CopyInt32Array(key, json, bytes); in GetCalibrationBytes() 129 if (!success) { in GetCalibrationBytes() 131 success = json->getInt32(key, &value); in GetCalibrationBytes() 132 if (success) { in GetCalibrationBytes() 144 success = false; in GetCalibrationBytes() [all …]
|
D | nanotool.cpp | 440 bool success = true; in main() local 443 success = hub->DisableSensors(args->sensors); in main() 446 success = hub->DisableAllSensors(); in main() 457 success = hub->EnableSensors(args->sensors); in main() 458 if (success) { in main() 465 success = hub->CalibrateSensors(args->sensors); in main() 476 success = hub->TestSensors(args->sensors); in main() 480 success = hub->LoadCalibration(); in main() 484 success = hub->Flash(args->filename); in main() 488 success = hub->PrintBridgeVersion(); in main() [all …]
|
/device/generic/goldfish/network/wifi_forwarder/ |
D | netlink_socket.cpp | 49 return Result::success(); in init() 58 return Result::success(); in setBufferSizes() 66 return Result::success(); in setOnMsgInCallback() 75 return Result::success(); in setOnMsgOutCallback() 85 return Result::success(); in setOnSeqCheckCallback() 93 return Result::success(); in setOnAckCallback() 103 return Result::success(); in setOnErrorCallback() 112 return Result::success(); in connectGeneric()
|
D | wifi_forwarder.cpp | 55 return Result::success(); in init() 64 return Result::success(); in init() 102 bool success = true; in onTimeout() local 105 success = res.isSuccess(); in onTimeout() 117 return success; in onTimeout() 131 void WifiForwarder::onAck(FrameInfo& info, bool success) { in onAck() argument 137 success ? "true" : "false"); in onAck() 139 if (!mRemoteConnection.ackFrame(info, success)) { in onAck() 146 success ? "true" : "false"); in onAck() 148 if (!mLocalConnection.ackFrame(info, success)) { in onAck()
|
D | result.h | 25 static Result success() { in success() function 47 explicit Result(bool success) : mSuccess(success) { } in Result() argument
|
/device/generic/goldfish/network/netmgr/ |
D | bridge.cpp | 48 return Result::success(); in init() 68 return Result::success(); in createSocket() 100 return Result::success(); in createBridge() 111 return Result::success(); in createBridge() 134 return Result::success(); in doInterfaceOperation()
|
D | result.h | 25 static Result success() { in success() function 47 explicit Result(bool success) : mSuccess(success) { } in Result() argument
|
/device/generic/goldfish/dhcp/client/ |
D | interface.cpp | 82 return Result::success(); in init() 106 return Result::success(); in setMtu() 168 return Result::success(); in setAddress() 189 return Result::success(); in populateIndex() 201 return Result::success(); in populateMacAddress() 219 return Result::success(); in setInterfaceUp() 228 return Result::success(); in setInterfaceUp()
|
D | router.cpp | 43 return Result::success(); in init() 85 return Result::success(); in sendNetlinkMessage()
|
/device/generic/goldfish/dhcp/common/include/ |
D | result.h | 25 static Result success() { in success() function 47 explicit Result(bool success) : mSuccess(success) { } in Result() argument
|
/device/generic/goldfish-opengl/android-emu/android/base/synchronization/ |
D | AndroidMessageChannel.cpp | 75 void MessageChannelBase::afterWrite(bool success) { in afterWrite() argument 76 if (success) { in afterWrite() 110 void MessageChannelBase::afterRead(bool success) { in afterRead() argument 111 if (success) { in afterRead()
|
D | AndroidMessageChannel.h | 68 void afterWrite(bool success); 91 void afterRead(bool success);
|
/device/google/cuttlefish/host/commands/secure_env/ |
D | hmac_serializable.cpp | 77 bool success = in Deserialize() local 80 if (!success) { in Deserialize() 86 success = in Deserialize() 89 if (!success) { in Deserialize()
|
/device/google/cuttlefish/host/commands/assemble_cvd/ |
D | boot_config.cc | 77 int success = cmd.Start().Wait(); in InitBootloaderEnvPartition() local 78 if (success != 0) { in InitBootloaderEnvPartition() 79 LOG(ERROR) << "Unable to run mkenvimage. Exited with status " << success; in InitBootloaderEnvPartition()
|
/device/generic/goldfish/dhcp/common/ |
D | socket.cpp | 83 return Result::success(); in open() 98 return Result::success(); in bind() 163 return Result::success(); in sendOnInterface() 231 return Result::success(); in sendRawUdp() 264 return Result::success(); in receiveFromInterface() 288 return Result::success(); in receiveRawUdp() 296 return Result::success(); in receiveRawUdp() 314 return Result::success(); in enableOption()
|
/device/google/contexthub/firmware/os/core/ |
D | nanohubCommand.c | 582 resp->respLegacy.success = valid; in firmwareWrite() 1234 resp->success = doStartFirmwareUpload(&hwReq, true); in halLegacyStartUpload() 1256 cookie->respLegacy.success = false; in halLegacyContUpload() 1288 resp->success = (reply == NANOHUB_FIRMWARE_UPLOAD_SUCCESS); in halLegacyFinishUpload() 1390 bool success = osEraseShared(); in deferHalSysMgmtErase() local 1392 if (success) in deferHalSysMgmtErase() 1485 bool success = true; in processAppTags() local 1510 for (i=0; i<cnt && success; i++) { in processAppTags() 1513 success = copyTLV64(data, &offset, max_len, tags[i], app->hdr.appId); in processAppTags() 1517 success = copyTLV32(data, &offset, max_len, tags[i], crc); in processAppTags() [all …]
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | modem_simulator.cpp | 105 bool success = false; in DispatchCommand() local 107 success = service.second->HandleModemCommand(client, command); in DispatchCommand() 108 if (success) { in DispatchCommand() 113 if (!success && client.type != Client::REMOTE) { in DispatchCommand()
|
/device/generic/goldfish/radio/ril/ |
D | reference-ril.c | 509 if (err < 0 || p_response->success == 0) goto error; in requestRadioPower() 513 if (err < 0|| p_response->success == 0) { in requestRadioPower() 643 if (err != 0 || p_response->success == 0) { in requestOrSendDataCallList() 697 if (err != 0 || p_response->success == 0) { in requestOrSendDataCallList() 900 if (err < 0 || p_response == NULL || p_response->success == 0) { in setNetworkSelectionAutomatic() 919 if (err < 0 || p_response->success == 0) { in requestQueryNetworkSelectionMode() 974 if (err != 0 || p_response->success == 0) { 1125 if (err != 0 || p_response->success == 0) goto error; 1177 if (err < 0 || p_response->success == 0) { 1246 if (err || !p_response->success) { [all …]
|
D | atchannel.c | 243 sp_response->success = 1; in processLine() 246 sp_response->success = 0; in processLine() 804 && (*pp_outResponse)->success > 0 in at_send_command_singleline() 826 && (*pp_outResponse)->success > 0 in at_send_command_numeric() 850 && (*pp_outResponse)->success > 0 in at_send_command_sms() 951 if (p_response->success > 0) { in at_get_cme_error()
|
/device/google/cuttlefish/guest/hals/ril/reference-ril/ |
D | reference-ril.c | 601 if (err < 0 || p_response->success == 0) goto error; in requestRadioPower() 605 if (err < 0|| p_response->success == 0) { in requestRadioPower() 733 if (err != 0 || p_response->success == 0) { in requestOrSendDataCallList() 787 if (err != 0 || p_response->success == 0) { in requestOrSendDataCallList() 902 if (err < 0 || p_response->success == 0) { in requestOrSendDataCallList() 966 if (err < 0 || p_response->success == 0) { in requestQueryNetworkSelectionMode() 1021 if (err != 0 || p_response->success == 0) { 1172 if (err != 0 || p_response->success == 0) goto error; 1224 if (err < 0 || p_response->success == 0) { 1317 if (err || !p_response->success) { [all …]
|
D | atchannel.c | 242 sp_response->success = 1; in processLine() 245 sp_response->success = 0; in processLine() 800 && (*pp_outResponse)->success > 0 in at_send_command_singleline() 822 && (*pp_outResponse)->success > 0 in at_send_command_numeric() 846 && (*pp_outResponse)->success > 0 in at_send_command_sms() 947 if (p_response->success > 0) { in at_get_cme_error()
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | kasa.c | 114 int success = 0; in kasaFit() local 116 success = 1; in kasaFit() 119 return success; in kasaFit()
|
/device/generic/goldfish-opengl/android-emu/android/base/ |
D | ring_buffer.c | 556 bool success = __atomic_compare_exchange_n( in ring_buffer_producer_acquire() local 563 return success; in ring_buffer_producer_acquire() 568 bool success = __atomic_compare_exchange_n( in ring_buffer_producer_acquire_from_hangup() local 575 return success; in ring_buffer_producer_acquire_from_hangup() 591 bool success = __atomic_compare_exchange_n( in ring_buffer_consumer_hangup() local 598 return success; in ring_buffer_consumer_hangup()
|
/device/google/cuttlefish/host/libs/vm_manager/ |
D | crosvm_manager.cpp | 64 bool success = true; in ReleaseDhcpLeases() local 70 success = false; in ReleaseDhcpLeases() 75 return success; in ReleaseDhcpLeases()
|