/system/core/adb/ |
D | adb_listeners_test.cpp | 36 (serial.empty() || info[0] == serial) && in listener_is_installed() 37 (source.empty() || info[1] == source) && in listener_is_installed() 38 (dest.empty() || info[2] == dest)) { in listener_is_installed() 72 ASSERT_TRUE(error.empty()); in TEST_F() 82 ASSERT_TRUE(error.empty()); in TEST_F() 86 ASSERT_TRUE(error.empty()); in TEST_F() 96 ASSERT_TRUE(error.empty()); in TEST_F() 100 ASSERT_FALSE(error.empty()); in TEST_F() 111 ASSERT_TRUE(error.empty()); in TEST_F() 121 ASSERT_TRUE(error.empty()); in TEST_F() [all …]
|
D | bugreport.cpp | 76 if (!invalid_lines_.empty()) { in Done() 90 if (src_file_.empty()) { in Done() 96 if (dest_dir_.empty()) { in Done() 124 if (!dest_dir_.empty()) { in SetSrcFile() 132 if (line.empty()) return; in ProcessLine() 208 if (status != 0 || bugz_version.empty()) { in DoIt() 246 if (dest_file.empty()) { in DoIt()
|
/system/update_engine/payload_generator/ |
D | generate_delta_main.cc | 82 bool empty = channel.empty(); in ParseImageInfo() local 84 CHECK_EQ(channel.empty(), empty); in ParseImageInfo() 85 CHECK_EQ(board.empty(), empty); in ParseImageInfo() 86 CHECK_EQ(version.empty(), empty); in ParseImageInfo() 87 CHECK_EQ(key.empty(), empty); in ParseImageInfo() 89 if (empty) in ParseImageInfo() 98 build_channel.empty() ? channel : build_channel); in ParseImageInfo() 101 build_version.empty() ? version : build_version); in ParseImageInfo() 111 LOG_IF(FATAL, in_file.empty()) in CalculateHashForSigning() 113 LOG_IF(FATAL, out_hash_file.empty()) in CalculateHashForSigning() [all …]
|
D | payload_generation_config.cc | 32 return !run && path.empty() && filesystem_type.empty() && !optional; in IsEmpty() 36 TEST_AND_RETURN_FALSE(!path.empty()); in ValidateExists() 46 if (path.empty()) in OpenFilesystem() 59 if (!mapfile_path.empty()) { in OpenFilesystem() 76 return partitions.empty(); in ValidateIsEmpty() 81 if (part.path.empty()) in LoadImageSize() 111 return image_info.board().empty() in ImageInfoIsEmpty() 112 && image_info.key().empty() in ImageInfoIsEmpty() 113 && image_info.channel().empty() in ImageInfoIsEmpty() 114 && image_info.version().empty() in ImageInfoIsEmpty() [all …]
|
D | ext2_filesystem_unittest.cc | 94 EXPECT_FALSE(map_files["<free-space>"].extents.empty()); in TEST_F() 160 EXPECT_TRUE(map_files["/link-short_symlink"].extents.empty()); in TEST_F() 166 EXPECT_FALSE(map_files["/regular-16k"].extents.empty()); in TEST_F() 170 EXPECT_TRUE(map_files["/empty-file"].extents.empty()); in TEST_F() 173 EXPECT_TRUE(map_files["/sparse_empty-10k"].extents.empty()); in TEST_F() 174 EXPECT_TRUE(map_files["/sparse_empty-2blocks"].extents.empty()); in TEST_F()
|
/system/tools/hidl/utils/ |
D | FQName.cpp | 109 return !mPackage.empty() && !version().empty() && !mName.empty(); in isFullyQualified() 114 || (!mName.empty() && !mValueName.empty()); in isValidValueName() 169 CHECK(mValueName.empty() || !mName.empty()); in setTo() 172 CHECK(mPackage.empty() || !version().empty()); in setTo() 197 return v.empty() ? "" : ("@" + v); in atVersion() 201 if (v.empty()) { in setVersion() 256 CHECK(mPackage.empty() || !version().empty()); in applyDefaults() 258 if (mPackage.empty()) { in applyDefaults() 262 if (version().empty()) { in applyDefaults() 273 if (!mName.empty()) { in string() [all …]
|
/system/core/demangle/ |
D | Demangler.cpp | 292 if (!cur_state_.str.empty()) { in AppendCurrent() 299 if (!cur_state_.str.empty()) { in AppendCurrent() 315 if (saves_.empty()) { in ParseS() 352 if (parse_funcs_.empty()) { in ParseFunctionName() 360 if (!saves_.empty() && last_save_name_) { in ParseFunctionName() 365 while (!cur_state_.suffixes.empty()) { in ParseFunctionName() 379 if (parse_funcs_.empty()) { in ParseComplexArgument() 429 if (saves_.empty() || (*name != '0' && *name != '1' && *name != '2' in ParseComplexString() 439 if (saves_.empty() || (*name != '1' && *name != '2' && *name != '3' in ParseComplexString() 473 while (!cur_state_.suffixes.empty()) { in AppendArgument() [all …]
|
/system/bt/service/ |
D | settings.cc | 41 if (path.empty() || path.EndsWithSeparator()) { in Init() 51 if (suffix.empty()) { in Init() 77 if (!android_ipc_socket_suffix_.empty() && !create_ipc_socket_path_.empty()) { in Init()
|
D | settings.h | 59 return !android_ipc_socket_suffix().empty() || in UseSocketIPC() 60 !create_ipc_socket_path().empty(); in UseSocketIPC()
|
/system/core/init/ |
D | init_first_stage.cpp | 141 if (mount_fstab_recs_.empty()) return true; in DoFirstStageMount() 158 if (required_devices_partition_names_.empty()) { in InitRequiredDevices() 191 if (!required_devices_partition_names_.empty()) { in InitRequiredDevices() 200 if (!required_devices_partition_names_.empty()) { in InitRequiredDevices() 215 if (!uevent.partition_name.empty()) { in UeventCallback() 224 if (required_devices_partition_names_.empty()) { in UeventCallback() 298 if (verity_loc_device.empty()) { in GetRequiredDevices() 314 if (!verity_loc_device.empty()) { in GetRequiredDevices() 376 if (device_tree_vbmeta_parts_.empty()) { in GetRequiredDevices() 398 if (!uevent.partition_name.empty() && in UeventCallback() [all …]
|
D | action.cpp | 131 if (args[i].empty()) { in InitTriggers() 150 if (!event_trigger_.empty()) { in InitTriggers() 181 if (property_triggers_.empty()) { in CheckPropertyTriggers() 185 bool found = name.empty(); in CheckPropertyTriggers() 195 if (prop_val.empty() || (trigger_value != "*" && trigger_value != prop_val)) { in CheckPropertyTriggers() 209 return event_trigger_.empty() && CheckPropertyTriggers(name, value); in CheckEvent() 222 if (!event_trigger_.empty()) { in BuildTriggersString() 279 while (current_executing_actions_.empty() && !event_queue_.empty()) { in ExecuteOneCommand() 289 if (current_executing_actions_.empty()) { in ExecuteOneCommand() 320 return !current_executing_actions_.empty() || !event_queue_.empty(); in HasMoreCommands()
|
/system/tools/hidl/ |
D | AST.cpp | 64 if (mPackage.package().empty() in setPackage() 65 || mPackage.version().empty() in setPackage() 66 || !mPackage.name().empty()) { in setPackage() 93 if (fqName.name().empty()) { in addImport() 217 CHECK(!enumValueName.empty()); in lookupEnumValue() 241 if (fqName.name().empty()) { in lookupType() 248 if (fqName.package().empty() && fqName.version().empty()) { in lookupType() 271 CHECK(fqName.package().empty() && fqName.version().empty() in lookupTypeLocally() 272 && !fqName.name().empty() && fqName.valueName().empty()); in lookupTypeLocally() 292 CHECK(!fqName.isFullyQualified() && !fqName.name().empty() && fqName.valueName().empty()); in lookupAutofilledType()
|
/system/update_engine/ |
D | omaha_request_action.cc | 104 if (!ping_active.empty() || !ping_roll_call.empty()) { in GetPingXml() 146 if (!prev_version.empty()) { in GetAppBody() 184 if (!prefs->GetString(prefs_key, &cohort_value) || cohort_value.empty()) in GetCohortArgXml() 268 if (!params->os_build_fingerprint().empty()) { in GetAppXml() 274 if (!params->os_build_type().empty()) { in GetAppXml() 333 if (!params->system_app_id().empty()) { in GetRequestXml() 446 if (!data->apps.empty()) in ParserHandlerStart() 448 if (data->updatecheck_poll_interval.empty()) in ParserHandlerStart() 453 if (!attr.first.empty() && attr.first[0] == '_') in ParserHandlerStart() 462 if (!data->apps.empty()) in ParserHandlerStart() [all …]
|
D | update_engine_client.cc | 290 if (!positional_args.empty()) { in ProcessFlags() 313 if (!FLAGS_update_over_cellular.empty()) { in ProcessFlags() 360 if (!FLAGS_powerwash && !FLAGS_rollback && FLAGS_channel.empty()) { in ProcessFlags() 366 if (!FLAGS_p2p_update.empty()) { in ProcessFlags() 389 if (rollback_partition.empty()) { in ProcessFlags() 416 if (!FLAGS_channel.empty()) { in ProcessFlags() 442 if (!target_channel.empty()) in ProcessFlags() 447 !FLAGS_app_version.empty() | in ProcessFlags() 448 !FLAGS_omaha_url.empty(); in ProcessFlags() 469 if (FLAGS_update && app_version.empty()) { in ProcessFlags()
|
/system/bt/service/ipc/ |
D | ipc_handler_linux.cc | 41 if (!socket_path_.empty()) unlink(socket_path_.value().c_str()); in ~IPCHandlerLinux() 53 CHECK(android_suffix.empty() || path.empty()); in Run() 54 if (android_suffix.empty() && path.empty()) { in Run() 62 if (!android_suffix.empty()) { in Run()
|
/system/update_engine/common/ |
D | action_processor.cc | 44 if (!actions_.empty()) { in StartProcessing() 117 << (actions_.empty() ? "last action " : "") << old_type in ActionComplete() 120 if (!actions_.empty() && code != ErrorCode::kSuccess) { in ActionComplete() 135 if (actions_.empty()) { in StartNextActionOrFinish()
|
/system/netd/libnetdutils/ |
D | SliceTest.cpp | 73 EXPECT_FALSE(mRaw.empty()); in TEST_F() 74 EXPECT_TRUE(Slice().empty()); in TEST_F() 75 EXPECT_TRUE(Slice(nullptr, static_cast<size_t>(0)).empty()); in TEST_F() 76 EXPECT_TRUE(Slice(nullptr, nullptr).empty()); in TEST_F()
|
/system/chre/util/include/chre/util/ |
D | fixed_size_blocking_queue_impl.h | 42 while (mQueue.empty()) { in pop() 52 bool FixedSizeBlockingQueue<ElementType, kSize>::empty() { in empty() function 54 return mQueue.empty(); in empty()
|
/system/core/fastboot/ |
D | socket_mock.cpp | 36 if (!events_.empty()) { in ~SocketMock() 42 if (events_.empty()) { in Send() 74 if (events_.empty()) { in Receive() 95 if (message.empty()) { in Receive() 110 if (events_.empty()) { in Accept()
|
/system/sepolicy/reqd_mask/ |
D | seapp_contexts | 1 # empty seapp_contexts file - used to generate an empty seapp_contexts for
|
D | service_contexts | 1 # empty service_contexts file - this file is used to generate an empty
|
D | property_contexts | 1 # empty property_contexts file - this file is used to generate an empty
|
/system/chre/core/include/chre/core/ |
D | event_ref_queue.h | 37 bool empty() const { in empty() function 38 return mQueue.empty(); in empty()
|
/system/chre/core/ |
D | event_ref_queue.cc | 24 CHRE_ASSERT_LOG(empty(), "Potentially leaking events if queue not empty " in ~EventRefQueue() 40 CHRE_ASSERT(!mQueue.empty()); in pop()
|
/system/tools/aidl/ |
D | io_delegate_unittest.cpp | 31 EXPECT_TRUE(absolute_path.empty()); in TEST() 37 ASSERT_FALSE(absolute_path.empty()); in TEST()
|