Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 94) sorted by relevance

1234

/system/chre/apps/chqts/src/general_test/
Dcell_info_cdma.cc22 bool valid = false; in validateIdentity() local
39 valid = true; in validateIdentity()
42 return valid; in validateIdentity()
47 bool valid = false; in validateSignalStrengthCdma() local
55 valid = true; in validateSignalStrengthCdma()
58 return valid; in validateSignalStrengthCdma()
63 bool valid = false; in validateSignalStrengthEvdo() local
75 valid = true; in validateSignalStrengthEvdo()
78 return valid; in validateSignalStrengthEvdo()
Dcell_info_gsm.cc22 bool valid = false; in validateIdentity() local
41 valid = true; in validateIdentity()
45 valid = false; in validateIdentity()
50 if (!valid) { in validateIdentity()
56 return valid; in validateIdentity()
61 bool valid = false; in validateSignalStrength() local
70 valid = true; in validateSignalStrength()
73 return valid; in validateSignalStrength()
Dwwan_cell_info_test.cc92 bool valid = true; in validateCellInfo() local
94 for (int i = 0; (i < count) && valid; ++i) { in validateCellInfo()
96 valid = false; in validateCellInfo()
103 valid = false; in validateCellInfo()
118 valid = false; in validateCellInfo()
124 valid &= CellInfoGsm::validate(cells[i].CellInfo.gsm); in validateCellInfo()
126 valid &= CellInfoCdma::validate(cells[i].CellInfo.cdma); in validateCellInfo()
128 valid &= CellInfoLte::validate(cells[i].CellInfo.lte); in validateCellInfo()
130 valid &= CellInfoWcdma::validate(cells[i].CellInfo.wcdma); in validateCellInfo()
132 valid &= CellInfoTdscdma::validate(cells[i].CellInfo.tdscdma); in validateCellInfo()
[all …]
Dcell_info_tdscdma.cc22 bool valid = false; in validateIdentity() local
40 valid = true; in validateIdentity()
43 return valid; in validateIdentity()
48 bool valid = false; in validateSignalStrength() local
54 valid = true; in validateSignalStrength()
57 return valid; in validateSignalStrength()
Dcell_info_wcdma.cc22 bool valid = false; in validateIdentity() local
42 valid = true; in validateIdentity()
45 return valid; in validateIdentity()
50 bool valid = false; in validateSignalStrength() local
59 valid = true; in validateSignalStrength()
62 return valid; in validateSignalStrength()
Dcell_info_lte.cc22 bool valid = false; in validateIdentity() local
41 valid = true; in validateIdentity()
44 return valid; in validateIdentity()
49 bool valid = false; in validateSignalStrength() local
73 valid = true; in validateSignalStrength()
76 return valid; in validateSignalStrength()
Dbasic_audio_test.cc98 bool valid = false; in validateAudioSource() local
119 valid = true; in validateAudioSource()
122 return valid; in validateAudioSource()
156 bool valid = validateAudioSource(handle, audioSource); in validateAudioSources() local
157 if (valid && !minimumRequirementMet) { in validateAudioSources()
/system/core/libunwindstack/tests/
DElfCacheTest.cpp85 ASSERT_TRUE(elf1->valid()); in VerifySameMap()
87 ASSERT_TRUE(elf2->valid()); in VerifySameMap()
135 ASSERT_TRUE(elf0_1->valid()); in VerifyWithinSameMap()
138 ASSERT_TRUE(elf0_2->valid()); in VerifyWithinSameMap()
149 ASSERT_TRUE(elf100_1->valid()); in VerifyWithinSameMap()
152 ASSERT_TRUE(elf100_2->valid()); in VerifyWithinSameMap()
163 ASSERT_TRUE(elf200_1->valid()); in VerifyWithinSameMap()
166 ASSERT_TRUE(elf200_2->valid()); in VerifyWithinSameMap()
177 ASSERT_TRUE(elf300_1->valid()); in VerifyWithinSameMap()
180 ASSERT_TRUE(elf300_2->valid()); in VerifyWithinSameMap()
[all …]
DMapInfoGetElfTest.cpp76 ASSERT_FALSE(elf->valid()); in TEST_F()
88 ASSERT_TRUE(elf->valid()); in TEST_F()
96 ASSERT_FALSE(elf->valid()); in TEST_F()
108 ASSERT_TRUE(elf->valid()); in TEST_F()
122 ASSERT_FALSE(elf->valid()); in TEST_F()
135 ASSERT_TRUE(elf->valid()); in TEST_F()
151 ASSERT_TRUE(elf->valid()); in TEST_F()
166 ASSERT_FALSE(elf->valid()); in TEST_F()
172 ASSERT_FALSE(elf->valid()); in TEST_F()
179 ASSERT_TRUE(elf->valid()); in TEST_F()
[all …]
DRegsFake.h62 void FakeSetReturnAddressValid(bool valid) { fake_return_address_valid_ = valid; } in FakeSetReturnAddressValid() argument
DElfTest.cpp116 ASSERT_FALSE(elf.valid()); in TEST_F()
128 ASSERT_FALSE(elf.valid()); in TEST_F()
177 ASSERT_TRUE(elf.valid()); in TEST_F()
189 ASSERT_TRUE(elf.valid()); in TEST_F()
201 ASSERT_TRUE(elf.valid()); in TEST_F()
213 ASSERT_TRUE(elf.valid()); in TEST_F()
225 ASSERT_TRUE(elf.valid()); in TEST_F()
237 ASSERT_TRUE(elf.valid()); in TEST_F()
/system/netd/netutils_wrappers/
DNetUtilsWrapperTest-1.0.cpp31 bool valid; member
67 EXPECT_EQ(cmd.valid, checkExpectedCommand(pieces.size(), argv)) << in TEST()
69 (cmd.valid ? "valid" : "invalid") << ", but was " << in TEST()
70 (cmd.valid ? "invalid" : "valid") << ": '" << cmd.cmdString << "'"; in TEST()
/system/libhwbinder/
DDebug.cpp101 bool valid; in typetostring() local
105 valid = true; in typetostring()
108 while (valid && i<3) { in typetostring()
110 if (!zero) valid = false; in typetostring()
118 if (zero) valid = false; in typetostring()
120 valid = isident(c[3]) ? true : false; in typetostring()
123 while (valid && i<3) { in typetostring()
125 if (!zero) valid = false; in typetostring()
128 if (!isident(c[i])) valid = false; in typetostring()
133 if( valid && (!fullContext || c[0] != '0' || c[1] != 'x') ) { in typetostring()
/system/chre/platform/slpi/
Dnanoapp_load_manager.cc65 bool valid = false; in validateFragment() local
70 valid = (info.hostClientId == hostClientId in validateFragment()
73 if (!valid) { in validateFragment()
82 return valid; in validateFragment()
/system/core/fs_mgr/libdm/
Ddm_test.cpp64 ASSERT_TRUE(loop_a.valid()); in TEST()
66 ASSERT_TRUE(loop_b.valid()); in TEST()
73 ASSERT_TRUE(table.valid()); in TEST()
77 ASSERT_TRUE(dev.valid()); in TEST()
132 ASSERT_TRUE(loop_a.valid()); in TEST()
136 ASSERT_TRUE(table.valid()); in TEST()
140 ASSERT_TRUE(dev.valid()); in TEST()
246 ASSERT_TRUE(base_loop_->valid()); in SetupImpl()
248 ASSERT_TRUE(cow_loop_->valid()); in SetupImpl()
253 ASSERT_TRUE(origin_table.valid()); in SetupImpl()
[all …]
Ddm_table.cpp38 bool DmTable::valid() const { in valid() function in android::dm::DmTable
51 return valid() ? num_sectors_ : 0; in num_sectors()
61 if (!valid()) { in Serialize()
Ddm_linear_fuzzer.cpp91 ASSERT_TRUE(loop_a.valid()); in LLVMFuzzerTestOneInput()
93 ASSERT_TRUE(loop_b.valid()); in LLVMFuzzerTestOneInput()
100 ASSERT_TRUE(table.valid()); in LLVMFuzzerTestOneInput()
104 ASSERT_TRUE(dev.valid()); in LLVMFuzzerTestOneInput()
/system/chre/platform/shared/
Dhost_protocol_common.cc56 bool valid = false; in verifyMessage() local
62 valid = fbs::VerifyMessageContainerBuffer(verifier); in verifyMessage()
65 return valid; in verifyMessage()
/system/bt/gd/l2cap/
Dsignal_id_test.cc26 int valid = 0; in TEST() local
31 valid++; in TEST()
34 ASSERT_TRUE(valid == 255); in TEST()
/system/core/logcat/tests/
Dlogcat_benchmark.cpp72 bool valid(void) { in BM_logcat_sorted_order() function in BM_logcat_sorted_order::timestamp
87 if (!last.valid()) { in BM_logcat_sorted_order()
100 if (next.valid()) { in BM_logcat_sorted_order()
/system/bt/btif/co/
Dbta_dm_co.cc140 void bta_dm_co_loc_oob(bool valid, const Octet16& c, const Octet16& r) { in bta_dm_co_loc_oob() argument
141 BTIF_TRACE_DEBUG("bta_dm_co_loc_oob, valid = %d", valid); in bta_dm_co_loc_oob()
143 btif_dm_proc_loc_oob(valid, c, r); in bta_dm_co_loc_oob()
/system/core/adb/fastdeploy/deploypatchgenerator/
Dapk_archive_test.cpp46 EXPECT_TRUE(cdLoc.valid); in TEST()
52 EXPECT_TRUE(sigLoc.valid); in TEST()
Dapk_archive.cpp93 if (!cdLoc.valid) { in ExtractMetadata()
102 if (sigLoc.valid) { in ExtractMetadata()
148 location.valid = true; in FindCDRecord()
167 if (!location.valid) { in GetCDLocation()
199 location.valid = true; in GetSignatureLocation()
/system/extras/libfec/
Dfec_private.h69 bool valid; member
128 bool valid = false; member
148 return avb.valid ? avb.hashtree : verity.hashtree; in hashtree()
/system/nvram/messages/include/nvram/messages/
Doptional.h29 bool valid() const { return valid_; } in valid() function

1234