Home
last modified time | relevance | path

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

12

/system/core/healthd/
DBatteryMonitor.cpp364 if (!mHealthdConfig->batteryPresentPath.isEmpty()) in updateValues()
374 if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) in updateValues()
377 if (!mHealthdConfig->batteryFullChargePath.isEmpty()) in updateValues()
380 if (!mHealthdConfig->batteryCycleCountPath.isEmpty()) in updateValues()
383 if (!mHealthdConfig->batteryChargeCounterPath.isEmpty()) in updateValues()
387 if (!mHealthdConfig->batteryCurrentAvgPath.isEmpty()) in updateValues()
391 if (!mHealthdConfig->batteryChargeTimeToFullNowPath.isEmpty()) in updateValues()
395 if (!mHealthdConfig->batteryFullChargeDesignCapacityUahPath.isEmpty()) in updateValues()
399 if (!mHealthdConfig->batteryHealthStatusPath.isEmpty()) in updateValues()
402 if (!mHealthdConfig->batteryStateOfHealthPath.isEmpty()) in updateValues()
[all …]
DBatteryMonitor_v1.cpp304 if (!mHealthdConfig->batteryPresentPath.isEmpty()) in updateValues()
314 if (!mHealthdConfig->batteryCurrentNowPath.isEmpty()) in updateValues()
317 if (!mHealthdConfig->batteryFullChargePath.isEmpty()) in updateValues()
320 if (!mHealthdConfig->batteryCycleCountPath.isEmpty()) in updateValues()
323 if (!mHealthdConfig->batteryChargeCounterPath.isEmpty()) in updateValues()
327 if (!mHealthdConfig->batteryCurrentAvgPath.isEmpty()) in updateValues()
331 if (!mHealthdConfig->batteryChargeTimeToFullNowPath.isEmpty()) in updateValues()
335 if (!mHealthdConfig->batteryFullChargeDesignCapacityUahPath.isEmpty()) in updateValues()
427 if (!healthd_config.batteryCurrentNowPath.isEmpty()) { in doLogValues()
432 if (!healthd_config.batteryFullChargePath.isEmpty()) { in doLogValues()
[all …]
/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()
152 assertTrue(zoneTree.validateNoPriorityClashes().isEmpty()); in australiaTreeTest()
/system/tools/xsdc/src/main/java/com/android/xsdc/java/
DUtils.java54 if (trimmed.isEmpty()) { in toVariableName()
67 if (trimmed.isEmpty() || Character.isDigit(trimmed.charAt(0))) { in toClassName()
79 if (trimmed.isEmpty()) { in toEnumName()
/system/tools/xsdc/src/main/java/com/android/xsdc/cpp/
DUtils.java57 if (trimmed.isEmpty()) { in toVariableName()
70 if (trimmed.isEmpty() || Character.isDigit(trimmed.charAt(0))) { in toClassName()
82 if (trimmed.isEmpty()) { in toEnumName()
/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;
266 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/nfc/utils/test/
Dconfig_test.cc121 EXPECT_TRUE(config.isEmpty()); in TEST()
123 EXPECT_FALSE(config.isEmpty()); in TEST()
125 EXPECT_TRUE(config.isEmpty()); in TEST()
/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/main/java/com/android/xsdc/tag/
DXsdUnion.java29 if (memberTypes == null || memberTypes.isEmpty()) { in XsdUnion()
/system/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneRulesTest.java348 nonIcuAvailableIds.isEmpty() in checkZoneIdsAreKnownToIcu()
349 && creationFailureIds.isEmpty() in checkZoneIdsAreKnownToIcu()
350 && nonSystemIds.isEmpty() in checkZoneIdsAreKnownToIcu()
351 && noCanonicalLookupIds.isEmpty()); in checkZoneIdsAreKnownToIcu()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzLookupGenerator.java187 if (!errors.isEmpty()) { in execute()
203 if (!absentInCountryZones.isEmpty()) { in validateCountryZones()
213 if (!countryZonesOnlyTimeZoneIds.isEmpty()) { in validateCountryZones()
392 if (timeZonesIn.isEmpty()) { in processCountry()
540 if (!missingInCountryZones.isEmpty()) { in validateCountryZonesTzIdsAgainstIana()
683 if (!countryIssues.isEmpty()) { in calculateCountryZoneUsage()
/system/nfc/utils/include/
Dconfig.h56 bool isEmpty();
/system/tools/xsdc/src/main/java/com/android/xsdc/
DCodeWriter.java64 if (startLine && !line.isEmpty()) { in print()
/system/nfc/src/adaptation/
Dnfc_config.cc85 if (theInstance.config_.isEmpty()) { in getInstance()
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java107 if (packageName.isEmpty()) { in ProfileSession()
284 if (!timeStr.isEmpty()) { in checkIfPerfEnabled()
DRecordOptions.java146 if (mThreads.isEmpty()) { in toRecordArgs()
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java55 assertTrue(zoneTab.getCountryEntries().isEmpty()); in parseEmpty()
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubChreApiTestExecutor.java106 return mRpcClients != null && !mRpcClients.isEmpty() ? mRpcClients.get(0) : null; in getRpcClient()

12