Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/device/google/cuttlefish/host/commands/assemble_cvd/
Ddisk_builder.cpp145 CF_EXPECT(!partitions_.empty() ^ !entire_disk_.empty(), in TextConfig()
150 if (!entire_disk_.empty()) { in TextConfig()
161 CF_EXPECT(!config_path_.empty(), "No config path"); in WillRebuildCompositeDisk()
167 CF_EXPECT(!partitions_.empty() ^ !entire_disk_.empty(), in WillRebuildCompositeDisk()
169 if (!entire_disk_.empty()) { in WillRebuildCompositeDisk()
175 CF_EXPECT(!composite_disk_path_.empty(), "No composite disk path"); in WillRebuildCompositeDisk()
190 if (!entire_disk_.empty()) { in BuildCompositeDiskIfNecessary()
200 CF_EXPECT(!header_path_.empty(), "No header path"); in BuildCompositeDiskIfNecessary()
201 CF_EXPECT(!footer_path_.empty(), "No footer path"); in BuildCompositeDiskIfNecessary()
223 CF_EXPECT(!overlay_path_.empty(), "Overlay path missing"); in BuildOverlayIfNecessary()
[all …]
Dflags.cc723 auto proto_result = FLAGS_displays_textproto.empty() ? \ in ParseDisplaysProto()
762 if (webrtc_device_id_flag.empty()) { in CreateNumToWebrtcDeviceIdMap()
776 CF_EXPECT(!tokens.empty(), "--webrtc_device_ids is ill-formatted"); in CreateNumToWebrtcDeviceIdMap()
955 if (!snapshot_path.empty()) { in InitializeCuttlefishConfiguration()
1051 if ((FLAGS_ap_rootfs_image.empty()) != (FLAGS_ap_kernel_image.empty())) { in InitializeCuttlefishConfiguration()
1058 if (!FLAGS_ap_rootfs_image.empty()) { in InitializeCuttlefishConfiguration()
1217 if (!FLAGS_displays_textproto.empty() || !FLAGS_displays_binproto.empty()) { in InitializeCuttlefishConfiguration()
1226 const bool restore_from_snapshot = !std::string(FLAGS_snapshot_path).empty(); in InitializeCuttlefishConfiguration()
1328 FLAGS_vhost_user_mac80211_hwsim.empty() && in InitializeCuttlefishConfiguration()
1382 if (!extra_bootconfig_args_base64_vec[instance_index].empty()) { in InitializeCuttlefishConfiguration()
[all …]
Dbootconfig_args.cpp95 if (!display_configs.empty()) { in BootconfigArgsFromConfig()
186 if (!instance.kernel_path().empty()) { in BootconfigArgsFromConfig()
189 if (!instance.initramfs_path().empty()) { in BootconfigArgsFromConfig()
215 if (kv.empty()) { in BootconfigArgsFromConfig()
232 CF_EXPECT(!v.empty(), "Found empty bootconfig value for " << k); in BootconfigArgsString()
Dassemble_cvd.cc200 const bool resume_requested = FLAGS_resume || !snapshot_path.empty(); in PreservingOnResume()
204 CF_EXPECT(snapshot_path.empty() || !creating_os_disk, in PreservingOnResume()
254 if (!snapshot_path.empty()) { in PreservingOnResume()
306 if (!snapshot_path.empty()) { in InitFilesystemAndCreateConfig()
387 if (!snapshot_path.empty()) { in InitFilesystemAndCreateConfig()
497 if (snapshot_path.empty()) { in VerifyConditionsOnSnapshotRestore()
502 CF_EXPECT(snapshot_path.empty() || FLAGS_resume, in VerifyConditionsOnSnapshotRestore()
589 if (help || !help_str.empty()) { in AssembleCvdMain()
Dgraphics_flags.cc108 !availability.vulkan().physical_devices().empty() && in GetNeededAngleFeaturesBasedOnQuirks()
145 !availability.vulkan().physical_devices().empty() && in ShouldEnableAcceleratedRendering()
218 !availability.vulkan().physical_devices().empty() && in GetNeededVhostUserGpuHostRendererFeatures()
385 !availability.vulkan().physical_devices().empty() && in IsAmdGpu()
401 if (feature.empty()) { in ParseGfxstreamRendererFlag()
476 if (!features_string.empty()) { in SetGfxstreamFlags()
/device/google/trout/hal/dumpstate/1.1/config/
Ddumpstate_hal_configuration_V1_0.cpp132 return !(service_.empty()); in hasService()
136 if (service_.empty()) { in getFirstService()
162 return !(service_.empty()); in hasService()
166 if (service_.empty()) { in getFirstService()
195 return !(services_.empty()); in hasServices()
199 if (services_.empty()) { in getFirstServices()
210 return !(systemLogs_.empty()); in hasSystemLogs()
214 if (systemLogs_.empty()) { in getFirstSystemLogs()
/device/google/zuma/radio/config/empty/
DAndroid.bp32 relative_install_path: "radio/log_masks/empty"
39 src: "empty.cfg",
40 relative_install_path: "radio/log_masks/empty"
47 src: "empty.nprf",
48 relative_install_path: "radio/log_masks/empty"
56 relative_install_path: "radio/log_masks/empty"
/device/google/cuttlefish/host/libs/config/
Dcustom_actions.cpp218 if (!match.value.empty() && in INJECT()
221 } else if (!match.value.empty() && !FileExists(match.value)) { in INJECT()
253 if (instance_actions_.empty()) { in CustomShellActions()
258 if (!id_str.empty()) { in CustomShellActions()
270 if (instance_actions_.empty()) { in CustomActionServers()
275 if (!id_str.empty()) { in CustomActionServers()
287 if (instance_actions_.empty()) { in CustomDeviceStateActions()
292 if (!id_str.empty()) { in CustomDeviceStateActions()
332 if (custom_action_config_.empty()) { in Process()
Desp.cpp209 if (image_path_.empty()) { in Build()
336 if (efi_loader_path_.empty()) { in Build()
396 if (root_.empty()) { in Build()
400 if (kernel_.empty()) { in Build()
426 if (!initrd_.empty()) { in Build()
447 if (!initrd_.empty()) { in DumpConfig()
473 if (multiboot_bin_.empty()) { in Build()
477 if (zedboot_.empty()) { in Build()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
DSimpleC2Component.cpp50 bool SimpleC2Component::WorkQueue::empty() const { return mQueue.empty(); } in empty() function in android::SimpleC2Component::WorkQueue
244 queueWasEmpty = queue->empty(); in queue_nb()
245 while (!items->empty()) { in queue_nb()
276 while (!queue->empty()) { in flush_sm()
282 while (!queue->pending().empty()) { in flush_sm()
304 queueWasEmpty = queue->empty(); in drain_nb()
458 if (queue->empty()) { in processQueue()
466 hasQueuedWork = !queue->empty(); in processQueue()
541 if (!updates.empty()) { in processQueue()
555 if (!work->input.buffers.empty() && !work->input.buffers[0]) { in processQueue()
/device/google/gs101/usb/gadget/
DUsbGadget.cpp376 if (i2cPath.empty()) { in updateSdpEnumTimeout()
506 if (!mI2cClientPath.empty()) { in getI2cClientPath()
553 if (!i2cPath.empty()) { in setCurrentUsbFunctions()
561 if (mGadgetIrqPath.empty()) in setCurrentUsbFunctions()
598 if (!mGadgetIrqPath.empty()) { in setCurrentUsbFunctions()
603 if (!mGadgetIrqPath.empty()) { in setCurrentUsbFunctions()
619 …if (accessoryCurrentLimitPath.empty() || !WriteStringToFile("1300000", accessoryCurrentLimitPath))… in setCurrentUsbFunctions()
622 if (accessoryCurrentLimitEnablePath.empty() || in setCurrentUsbFunctions()
628 if (accessoryCurrentLimitEnablePath.empty() || in setCurrentUsbFunctions()
/device/google/cuttlefish/host/commands/secure_env/
Dsecure_env_windows_main.cpp30 if (keymaster_pipe.empty()) { in main()
34 if (gatekeeper_pipe.empty()) { in main()
39 if (keymaster_pipe.empty() || gatekeeper_pipe.empty()) { in main()
/device/generic/goldfish-opengl/system/hwc3/
DDrmConnector.cpp123 if (mModes.empty()) { in getWidth()
132 if (mModes.empty()) { in getHeight()
141 if (mModes.empty()) { in getDpiX()
160 if (mModes.empty()) { in getDpiY()
179 if (!mModes.empty()) { in getRefreshRate()
DDevice.cpp44 if (path.empty()) { in loadPersistentKeyValues()
55 if (content.empty() || content[0] == '\0') { in loadPersistentKeyValues()
72 if (path.empty()) { in savePersistentKeyValues()
165 bool Device::persistentKeyValueEnabled() const { return !getPmemPath().empty(); } in persistentKeyValueEnabled()
/device/google/cuttlefish/host/commands/gnss_grpc_proxy/
Dgnss_grpc_proxy.cpp243 while (!cached_line.empty() || std::getline(file, line)) { in ReadGnssRawMeasurement()
244 if (!cached_line.empty()) { in ReadGnssRawMeasurement()
250 if (header.empty() && android::base::StartsWith(line, "# Raw")) { in ReadGnssRawMeasurement()
358 if (!fixed_locations_queue_.empty()) { in WriteFixedLocationFromQueue()
380 return !inputStr.empty() && android::base::StartsWith(inputStr, "# Raw"); in isGnssRawMeasurement()
449 if (!FLAGS_gnss_file_path.empty()) { in RunServer()
462 if (!FLAGS_gnss_grpc_socket.empty()) { in RunServer()
/device/google/cuttlefish/host/frontend/adb_connector/
Dadb_connection_maintainer.cpp98 return !str.empty() && std::all_of(str.begin(), str.end(), in IsHexInteger()
103 return !str.empty() && std::all_of(str.begin(), str.end(), in IsInteger()
131 } while (!just_read.empty()); in RecvUptimeResult()
133 if (uptime_vec.empty()) { in RecvUptimeResult()
174 if (response.empty()) { in WaitForAdbAuthorization()
/device/google/gs201/usb/gadget/
DUsbGadget.cpp374 if (mI2cClientPath.empty()) { in updateSdpEnumTimeout()
376 if (mI2cClientPath.empty()) { in updateSdpEnumTimeout()
484 if (mI2cClientPath.empty()) { in setCurrentUsbFunctions()
486 if (mI2cClientPath.empty()) { in setCurrentUsbFunctions()
495 if (mGadgetIrqPath.empty()) in setCurrentUsbFunctions()
532 if (!mGadgetIrqPath.empty()) { in setCurrentUsbFunctions()
537 if (!mGadgetIrqPath.empty()) { in setCurrentUsbFunctions()
/device/google/cuttlefish/host/commands/start/
Dmain.cc113 if (my_own_dir.empty() || !cuttlefish::FileExists(subtool_path)) { in SubtoolPath()
182 char ch = !use_metrics.empty() ? tolower(use_metrics.at(0)) : -1; in ValidateMetricsConfirmation()
184 if (use_metrics.empty()) { in ValidateMetricsConfirmation()
357 } else if (!image_dir.empty()) { in main()
416 CHECK(!previous_config->Instances().empty()); in main()
429 CHECK(!instance_nums->empty()) << "Expected at least one instance"; in main()
/device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller/
Dandroid_audio_controller.cpp129 if (addr.empty()) { in SetServerAddr()
178 if (mServiceAddr.empty()) { in AcquireFocus()
233 return !mAudioFocusRequests.empty() || !mSessionsReleaseRequests.empty() || in RequestWorker()
234 (current_timestamp > nextHeartbeatTime && !mActiveSessions.empty()); in RequestWorker()
/device/amlogic/yukawa/hal/bootctrl/
Dbootloader_message.cpp127 if (misc_blk_device.empty()) return ""; in get_bootloader_message_blk_device()
140 if (misc_blk_device.empty()) { in read_bootloader_message()
160 if (misc_blk_device.empty()) { in write_bootloader_message()
227 if (misc_blk_device.empty()) { in read_wipe_package()
237 if (misc_blk_device.empty()) { in write_wipe_package()
/device/google/cuttlefish/guest/hals/camera/
Dvsock_camera_provider_2_7.cpp73 hidl_vec<VendorTagSection> empty; in getVendorTags() local
74 _hidl_cb(Status::OK, empty); in getVendorTags()
82 hidl_vec<hidl_string> empty; in getCameraIdList() local
83 _hidl_cb(Status::OK, empty); in getCameraIdList()
/device/google/trout/hal/sensors/2.1/
DSensor.cpp117 if (!events.empty()) { in sendAdditionalInfoReport()
270 if (config->empty()) return std::nullopt; in getOrientation()
278 if (config->empty()) return std::nullopt; in getLocation()
287 if (sensorOrientationList->empty()) return OK; in checkOrientation()
315 if (sensorOrientationList && !sensorOrientationList->empty()) { in setOrientation()
358 if (sensorLocationList->empty()) return BAD_VALUE; in getSensorPlacement()
362 if (sensorOrientationList->empty()) return BAD_VALUE; in getSensorPlacement()
/device/google/cuttlefish/host/libs/vm_manager/
Dgem5_manager.cpp258 if (!instance.gpu_angle_feature_overrides_enabled().empty()) { in ConfigureGraphics()
262 if (!instance.gpu_angle_feature_overrides_disabled().empty()) { in ConfigureGraphics()
312 if(!config.gem5_debug_flags().empty()) { in StartCommands()
314 if(!instance.gem5_debug_file().empty()) { in StartCommands()
/device/google/cuttlefish/common/libs/utils/
Dproc_file_utils.cpp81 CF_EXPECT(!uids.empty(), "The \"Uid:\" line was not found"); in OwnerUids()
124 if (input.empty()) { in TokenizeByNullChar()
133 if (token.empty()) { in TokenizeByNullChar()
140 if (!token.empty()) { in TokenizeByNullChar()
255 if (argv_result->empty()) { in CollectPidsByArgv0()
/device/google/atv/audio_proxy/service/
DServiceConfig.cpp70 if (streamConfig.first.empty()) { in parseServiceConfigFromCommandLine()
87 if (config.name.empty() || config.streams.empty()) { in parseServiceConfigFromCommandLine()

12345678910>>...16