Home
last modified time | relevance | path

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

12345678910>>...27

/system/core/adb/
Dadb_listeners_test.cpp36 (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 …]
/system/keymaster/tests/
Dkeymaster_enforcement_test.cpp94 AuthorizationSet empty; member in keymaster::test::KeymasterBaseTest
104 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(single_auth_set, empty)); in TEST_F()
117 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
121 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
132 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
145 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty))); in TEST_F()
149 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty))); in TEST_F()
161 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
174 kmen.AuthorizeOperation(KM_PURPOSE_SIGN, key_id, AuthProxy(auth_set, empty)); in TEST_F()
188 kmen.AuthorizeOperation(KM_PURPOSE_VERIFY, key_id, AuthProxy(auth_set, empty)); in TEST_F()
[all …]
/system/update_engine/payload_generator/
Dgenerate_delta_main.cc81 bool empty = channel.empty(); in ParseImageInfo() local
83 CHECK_EQ(channel.empty(), empty); in ParseImageInfo()
84 CHECK_EQ(board.empty(), empty); in ParseImageInfo()
85 CHECK_EQ(version.empty(), empty); in ParseImageInfo()
86 CHECK_EQ(key.empty(), empty); in ParseImageInfo()
88 if (empty) in ParseImageInfo()
96 image_info->set_build_channel(build_channel.empty() ? channel in ParseImageInfo()
99 image_info->set_build_version(build_version.empty() ? version in ParseImageInfo()
110 LOG_IF(FATAL, in_file.empty()) in CalculateHashForSigning()
112 LOG_IF(FATAL, out_hash_file.empty()) in CalculateHashForSigning()
[all …]
Dpayload_generation_config.cc41 return !run && path.empty() && filesystem_type.empty() && !optional; in IsEmpty()
46 hash_tree_extent.num_blocks() == 0 && hash_tree_algorithm.empty() && in IsEmpty()
47 hash_tree_salt.empty() && fec_data_extent.num_blocks() == 0 && in IsEmpty()
52 TEST_AND_RETURN_FALSE(!path.empty()); in ValidateExists()
62 if (path.empty()) in OpenFilesystem()
75 if (!mapfile_path.empty()) { in OpenFilesystem()
98 return partitions.empty(); in ValidateIsEmpty()
103 if (part.path.empty()) in LoadImageSize()
201 return image_info.board().empty() && image_info.key().empty() && in ImageInfoIsEmpty()
202 image_info.channel().empty() && image_info.version().empty() && in ImageInfoIsEmpty()
[all …]
/system/core/libprocessgroup/profiles/
Dtask_profiles_test.h41 EXPECT_FALSE(attribute.name().empty()) in TEST_P()
43 EXPECT_FALSE(attribute.controller().empty()) in TEST_P()
45 EXPECT_FALSE(attribute.file().empty()) in TEST_P()
53 EXPECT_FALSE(profile.name().empty()) in TEST_P()
57 EXPECT_FALSE(action.name().empty()) in TEST_P()
/system/netd/libnetdutils/
DMemBlockTest.cpp37 for (Slice slice = result.get(); !slice.empty(); slice = drop(slice, 1)) { in makeArbitraryMemBlock()
44 for (; !slice.empty(); slice = drop(slice, 1)) { in checkAllZeros()
53 for (; !slice.empty(); slice = drop(slice, 1)) { in checkArbitraryMemBlock()
72 MemBlock empty; in TEST() local
73 EXPECT_TRUE(empty.get().empty()); in TEST()
74 EXPECT_EQ(nullptr, empty.get().base()); in TEST()
79 EXPECT_TRUE(zero.get().empty()); in TEST()
106 EXPECT_TRUE(block.get().empty()); in TEST()
/system/core/property_service/libpropertyinfoserializer/
Dproperty_info_file.cpp34 if (type_strings.empty()) { in IsTypeValid()
63 if (property.empty()) { in ParsePropertyInfoLine()
69 if (context.empty()) { in ParsePropertyInfoLine()
80 while (!type.empty()) { in ParsePropertyInfoLine()
85 if (!type_strings.empty() && !IsTypeValid(type_strings)) { in ParsePropertyInfoLine()
105 if (trimmed_line.empty() || StartsWith(trimmed_line, "#")) { in ParsePropertyInfoFile()
/system/tools/hidl/utils/
DFQName.cpp74 return !mPackage.empty() && !version().empty() && !mName.empty(); in isFullyQualified()
79 || (!mName.empty() && !mValueName.empty()); in isValidValueName()
83 return !mName.empty() && mName[0] == 'I' && mName.find('.') == std::string::npos; in isInterfaceName()
155 CHECK(mValueName.empty() || !mName.empty()); in setTo()
158 CHECK(invalid || mPackage.empty() || !version().empty()); in setTo()
183 return v.empty() ? "" : ("@" + v); in atVersion()
211 if (v.empty()) { in parseVersion()
264 CHECK(mPackage.empty() || !version().empty()); in applyDefaults()
266 if (mPackage.empty()) { in applyDefaults()
270 if (version().empty()) { in applyDefaults()
[all …]
/system/core/healthd/
Danimation.h56 if (!animation_file.empty()) { in set_resource_root()
59 if (!fail_file.empty()) { in set_resource_root()
62 if (!text_clock.font_file.empty()) { in set_resource_root()
65 if (!text_percent.font_file.empty()) { in set_resource_root()
/system/bt/service/
Dsettings.cc41 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()
/system/bt/audio_bluetooth_hw/
Dutils_unittest.cc38 EXPECT_TRUE(map_.empty()); in TEST_F()
45 EXPECT_TRUE(map_.empty()); in TEST_F()
104 EXPECT_TRUE(map_.empty()); in TEST_F()
111 EXPECT_TRUE(map_.empty()); in TEST_F()
118 EXPECT_TRUE(map_.empty()); in TEST_F()
125 EXPECT_TRUE(map_.empty()); in TEST_F()
/system/libvintf/
Dutils.h87 static bool mergeField(T* dst, T* src, const T& empty = T{}) {
89 *src = empty;
92 if (*src == empty) {
95 if (*dst == empty) {
97 *src = empty;
/system/core/init/
Daction_manager.cpp58 while (current_executing_actions_.empty() && !event_queue_.empty()) { in ExecuteOneCommand()
68 if (current_executing_actions_.empty()) { in ExecuteOneCommand()
97 return !current_executing_actions_.empty() || !event_queue_.empty(); in HasMoreCommands()
Dfirst_stage_mount.cpp201 if (old_spl.empty() || new_spl.empty() || new_spl < old_spl) { in IsStandaloneImageRollback()
239 if (!IsDmLinearEnabled() && fstab_.empty()) { in DoFirstStageMount()
279 if (required_devices_partition_names_.empty()) { in InitRequiredDevices()
294 if (!required_devices_partition_names_.empty()) { in InitRequiredDevices()
303 if (!required_devices_partition_names_.empty()) { in InitRequiredDevices()
346 if (required_devices_partition_names_.empty()) { in InitDmLinearBackingDevices()
353 if (!required_devices_partition_names_.empty()) { in InitDmLinearBackingDevices()
365 if (lp_metadata_partition_.empty()) { in CreateLogicalPartitions()
395 if (required_devices_partition_names_.empty()) { in HandleBlockDevice()
410 if (!uevent.partition_name.empty()) { in UeventCallback()
[all …]
/system/core/demangle/
DDemangler.cpp292 if (!cur_state_.str.empty()) { in AppendCurrent()
299 if (!cur_state_.str.empty()) { in AppendCurrent()
315 if (saves_.empty()) { in ParseS()
351 if (template_saves_.empty()) { in ParseT()
379 if (parse_funcs_.empty()) { in ParseFunctionName()
387 if (!saves_.empty() && last_save_name_) { in ParseFunctionName()
392 while (!cur_state_.suffixes.empty()) { in ParseFunctionName()
425 if (parse_funcs_.empty()) { in ParseComplexArgument()
475 if (saves_.empty() || (*name != '0' && *name != '1' && *name != '2' in ParseComplexString()
485 if (saves_.empty() || (*name != '1' && *name != '2' && *name != '3' in ParseComplexString()
[all …]
/system/tools/sysprop/
DCppMain.cpp87 if (args->header_dir.empty() || args->system_header_dir.empty() || in ParseArgs()
88 args->source_dir.empty() || args->include_name.empty()) { in ParseArgs()
/system/update_engine/
Dupdate_engine_client.cc334 if (!positional_args.empty()) { in ProcessFlags()
357 if (!FLAGS_update_over_cellular.empty()) { in ProcessFlags()
404 if (!FLAGS_powerwash && !FLAGS_rollback && FLAGS_channel.empty()) { in ProcessFlags()
410 if (!FLAGS_p2p_update.empty()) { in ProcessFlags()
433 if (rollback_partition.empty()) { in ProcessFlags()
460 if (!FLAGS_channel.empty()) { in ProcessFlags()
486 if (!target_channel.empty()) in ProcessFlags()
491 !FLAGS_app_version.empty() || in ProcessFlags()
492 !FLAGS_omaha_url.empty(); in ProcessFlags()
513 if (!FLAGS_dlc_module_ids.empty()) { in ProcessFlags()
[all …]
/system/bt/service/ipc/
Dipc_handler_linux.cc41 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/tools/aidl/
Doptions.cpp312 } else if (output_dir_.empty()) { in Options()
368 if (output_dir_.empty()) { in Options()
372 if (output_header_dir_.empty()) { in Options()
379 if (output_dir_.empty()) { in Options()
383 if (!output_header_dir_.empty()) { in Options()
397 if (!output_file_.empty() && input_files_.size() > 1) { in Options()
403 if (!dependency_file_.empty() && input_files_.size() > 1) { in Options()
429 if (output_dir_.empty()) { in Options()
435 CHECK(output_dir_.empty() || output_dir_.back() == OS_PATH_SEPARATOR); in Options()
436 CHECK(output_header_dir_.empty() || output_header_dir_.back() == OS_PATH_SEPARATOR); in Options()
/system/bt/btif/test/
Dbtif_keystore_test.cc46 EXPECT_FALSE(encrypted_hash.empty()); in TEST_F()
55 EXPECT_TRUE(encrypted_hash.empty()); in TEST_F()
63 EXPECT_TRUE(decrypted_hash.empty()); in TEST_F()
/system/core/libunwindstack/tests/
DLocalUnwinderTest.cpp61 if (!frame.map_info->name.empty()) { in ErrorMsg()
71 if (!frame.function_name.empty()) { in ErrorMsg()
118 if (expected_function_names.empty()) { in LocalInnerFunction()
124 ASSERT_TRUE(expected_function_names.empty()) << ErrorMsg(expected_function_names, frame_info); in LocalInnerFunction()
198 if (expected_function_names.empty()) { in TEST_F()
204 ASSERT_TRUE(expected_function_names.empty()) << ErrorMsg(expected_function_names, frame_info); in TEST_F()
/system/sepolicy/reqd_mask/
Dseapp_contexts1 # empty seapp_contexts file - used to generate an empty seapp_contexts for
Dservice_contexts1 # empty service_contexts file - this file is used to generate an empty
/system/bt/main/
Dbte_conf.cc60 std::string empty = ""; in bte_load_did_conf() local
63 config_get_string(*config, section_name, "clientExecutableURL", &empty) in bte_load_did_conf()
68 config_get_string(*config, section_name, "serviceDescription", &empty) in bte_load_did_conf()
72 config_get_string(*config, section_name, "documentationURL", &empty) in bte_load_did_conf()
/system/update_engine/common/
Daction_processor.cc48 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()

12345678910>>...27