Home
last modified time | relevance | path

Searched refs:isEmpty (Results 1 – 25 of 48) sorted by relevance

12

/system/core/healthd/
DBatteryMonitor.cpp250 if (!mHealthdConfig->batteryPresentPath.isEmpty()) in updateValues()
260 if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) in updateValues()
263 if (!mHealthdConfig->batteryFullChargePath.isEmpty()) in updateValues()
266 if (!mHealthdConfig->batteryCycleCountPath.isEmpty()) in updateValues()
269 if (!mHealthdConfig->batteryChargeCounterPath.isEmpty()) in updateValues()
272 if (!mHealthdConfig->batteryCurrentAvgPath.isEmpty()) in updateValues()
276 if (!mHealthdConfig->batteryChargeTimeToFullNowPath.isEmpty()) in updateValues()
280 if (!mHealthdConfig->batteryFullChargeDesignCapacityUahPath.isEmpty()) in updateValues()
362 if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) { in logValues()
367 if (!mHealthdConfig->batteryFullChargePath.isEmpty()) { in logValues()
[all …]
/system/bpf/libbpf_android/
DBpfMapTest.cpp103 Result<bool> isEmpty = map.isEmpty(); in expectMapEmpty() local
104 ASSERT_RESULT_OK(isEmpty); in expectMapEmpty()
105 ASSERT_TRUE(isEmpty.value()); in expectMapEmpty()
229 Result<bool> isEmpty = testMap.isEmpty(); in TEST_F() local
230 ASSERT_RESULT_OK(isEmpty); in TEST_F()
231 ASSERT_FALSE(isEmpty.value()); in TEST_F()
258 Result<bool> isEmpty = testMap.isEmpty(); in TEST_F() local
259 ASSERT_RESULT_OK(isEmpty); in TEST_F()
260 ASSERT_FALSE(*isEmpty); in TEST_F()
/system/timezone/input_tools/android/common/src/test/java/com/android/libcore/timezone/util/
DErrorsTest.java33 assertTrue(errors.isEmpty()); in warnings()
38 assertFalse(errors.isEmpty()); in warnings()
48 assertTrue(errors.isEmpty()); in error()
53 assertFalse(errors.isEmpty()); in error()
63 assertTrue(errors.isEmpty()); in fatal()
71 assertFalse(errors.isEmpty()); in fatal()
/system/core/libutils/
DBitSet_test.cpp59 EXPECT_TRUE(tmp.isEmpty()); in TEST_F()
64 EXPECT_TRUE(b2.isEmpty()); in TEST_F()
130 EXPECT_TRUE(b1.isEmpty()); in TEST_F()
136 EXPECT_TRUE(b1.isEmpty()); in TEST_F()
181 EXPECT_TRUE(tmp.isEmpty()); in TEST_F()
186 EXPECT_TRUE(b2.isEmpty()); in TEST_F()
252 EXPECT_TRUE(b1.isEmpty()); in TEST_F()
258 EXPECT_TRUE(b1.isEmpty()); in TEST_F()
DBitSet_fuzz.cpp38 [](T bs, uint32_t) -> void { bs.isEmpty(); }, in getOperationsForType()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneTreeTest.java53 assertTrue(zoneTree.validateNoPriorityClashes().isEmpty()); in testSimpleCountry()
76 assertFalse(zoneTree.validateNoPriorityClashes().isEmpty()); in testCountryRequiringPriority()
103 assertTrue(zoneTree.validateNoPriorityClashes().isEmpty()); in testCountryWithPriority()
150 assertTrue(zoneTree.validateNoPriorityClashes().isEmpty()); in australiaTreeTest()
/system/tools/xsdc/src/com/android/xsdc/java/
DUtils.java54 if (trimmed.isEmpty()) { in toVariableName()
67 if (trimmed.isEmpty() || Character.isDigit(trimmed.charAt(0))) { in toClassName()
76 if (trimmed.isEmpty()) { in toEnumName()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DUtils.java57 if (trimmed.isEmpty()) { in toVariableName()
70 if (trimmed.isEmpty() || Character.isDigit(trimmed.charAt(0))) { in toClassName()
79 if (trimmed.isEmpty()) { in toEnumName()
/system/nfc/utils/test/
Dconfig_test.cc115 EXPECT_TRUE(config.isEmpty()); in TEST()
117 EXPECT_FALSE(config.isEmpty()); in TEST()
119 EXPECT_TRUE(config.isEmpty()); in TEST()
/system/core/libutils/include/utils/
DBitSet.h57 inline bool isEmpty() const { return isEmpty(value); } in isEmpty() function
59 static inline bool isEmpty(uint32_t value) { return ! value; } in isEmpty() function
201 inline bool isEmpty() const { return isEmpty(value); } in isEmpty() function
203 static inline bool isEmpty(uint64_t value) { return ! value; } in isEmpty() function
DSortedVector.h68 inline bool isEmpty() const { return VectorImpl::isEmpty(); } in isEmpty() function
138 inline bool empty() const{ return isEmpty(); } in empty()
DKeyedVector.h57 inline bool isEmpty() const { return mVector.isEmpty(); } in isEmpty() function
DString8.h69 inline bool isEmpty() const;
277 inline bool String8::isEmpty() const in isEmpty() function
DVector.h89 inline bool isEmpty() const { return VectorImpl::isEmpty(); } in isEmpty() function
205 inline bool empty() const{ return isEmpty(); } in empty()
/system/timezone/input_tools/android/common/src/main/java/com/android/libcore/timezone/util/
DErrors.java87 public boolean isEmpty() { in isEmpty() method in Errors
88 return messages.isEmpty(); in isEmpty()
/system/tools/xsdc/src/com/android/xsdc/tag/
DXsdUnion.java29 if (memberTypes == null || memberTypes.isEmpty()) { in XsdUnion()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DBackwardFile.java51 .filter(s -> !(s.startsWith("#") || s.isEmpty())) in parse()
87 while (!searchIdQueue.isEmpty()) { in getAllAlternativeIds()
DZoneTabFile.java49 .filter(s -> !(s.startsWith("#") || s.isEmpty())) in parse()
/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneRulesTest.java345 nonIcuAvailableIds.isEmpty() in checkZoneIdsAreKnownToIcu()
346 && creationFailureIds.isEmpty() in checkZoneIdsAreKnownToIcu()
347 && nonSystemIds.isEmpty() in checkZoneIdsAreKnownToIcu()
348 && noCanonicalLookupIds.isEmpty()); in checkZoneIdsAreKnownToIcu()
/system/tools/xsdc/src/com/android/xsdc/
DCodeWriter.java58 if (startLine && !line.isEmpty()) { in print()
/system/nfc/utils/include/
Dconfig.h55 bool isEmpty();
/system/nfc/src/adaptation/
Dnfc_config.cc85 if (theInstance.config_.isEmpty()) { in getInstance()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java55 assertTrue(zoneTab.getCountryEntries().isEmpty()); in parseEmpty()
DBackwardFileTest.java57 assertTrue(backward.getDirectLinks().isEmpty()); in parseEmpty()
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DRecordOptions.java146 if (mThreads.isEmpty()) { in toRecordArgs()

12