Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 81) 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.h64 void FakeSetReturnAddressValid(bool valid) { fake_return_address_valid_ = valid; } in FakeSetReturnAddressValid() argument
DElfTest.cpp114 ASSERT_FALSE(elf.valid()); in TEST_F()
126 ASSERT_FALSE(elf.valid()); in TEST_F()
175 ASSERT_TRUE(elf.valid()); in TEST_F()
187 ASSERT_TRUE(elf.valid()); in TEST_F()
199 ASSERT_TRUE(elf.valid()); in TEST_F()
211 ASSERT_TRUE(elf.valid()); in TEST_F()
223 ASSERT_TRUE(elf.valid()); in TEST_F()
235 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/core/fs_mgr/libdm/
Ddm_table.cpp37 bool DmTable::valid() const { in valid() function in android::dm::DmTable
50 return valid() ? num_sectors_ : 0; in num_sectors()
60 if (!valid()) { in Serialize()
Ddm_test.cpp102 bool valid() const { return valid_; } in valid() function in TempDevice
133 ASSERT_TRUE(loop_a.valid()); in TEST()
135 ASSERT_TRUE(loop_b.valid()); in TEST()
142 ASSERT_TRUE(table.valid()); in TEST()
145 ASSERT_TRUE(dev.valid()); in TEST()
Dloop_control_test.cpp57 ASSERT_TRUE(loop.valid()); in TEST()
/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/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/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/update_engine/payload_generator/
Dgraph_types.h54 Vertex() : valid(true), index(-1), lowlink(-1) {} in Vertex()
55 bool valid; member
/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/nvram/messages/include/nvram/messages/
Doptional.h29 bool valid() const { return valid_; } in valid() function
/system/tools/xsdc/
DREADME.md97 values: any valid java name
115 values: any valid java name
127 values: any valid java name
151 values: any valid java name
/system/core/fs_mgr/libdm/include/libdm/
Ddm_table.h49 bool valid() const;
/system/extras/libfec/
Dfec_private.h68 bool valid; member
96 bool valid; member

1234