Home
last modified time | relevance | path

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

12345678910>>...19

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAdnRecordTest.java39 assertFalse(adn.isEmpty()); in testBasic()
49 assertTrue(adn.isEmpty()); in testBasic()
58 assertTrue(adn.isEmpty()); in testBasic()
68 assertFalse(adn.isEmpty()); in testBasic()
78 assertFalse(adn.isEmpty()); in testBasic()
88 assertFalse(adn.isEmpty()); in testBasic()
98 assertFalse(adn.isEmpty()); in testBasic()
108 assertFalse(adn.isEmpty()); in testBasic()
118 assertFalse(adn.isEmpty()); in testBasic()
129 assertFalse(adn.isEmpty()); in testBasic()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiNative.java150 if (TextUtils.isEmpty(name) || TextUtils.isEmpty(value)) return false; in setNetworkVariable()
155 if (TextUtils.isEmpty(name)) return null; in getNetworkVariable()
194 if (!TextUtils.isEmpty(ret)) { in getMacAddress()
290 if (!TextUtils.isEmpty(ret)) { in getBand()
344 if (TextUtils.isEmpty(bssid)) return false; in addToBlacklist()
397 if (TextUtils.isEmpty(bssid)) { in startWpsPbc()
405 if (TextUtils.isEmpty(bssid)) { in startWpsPbc()
413 if (TextUtils.isEmpty(pin)) return false; in startWpsPinKeypad()
418 if (TextUtils.isEmpty(pin)) return false; in startWpsPinKeypad()
424 if (TextUtils.isEmpty(bssid)) { in startWpsPinDisplay()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java110 public boolean isEmpty(); in isEmpty() method
149 return TextUtils.isEmpty(mFamily) && TextUtils.isEmpty(mGiven) in emptyStructuredName()
150 && TextUtils.isEmpty(mMiddle) && TextUtils.isEmpty(mPrefix) in emptyStructuredName()
151 && TextUtils.isEmpty(mSuffix); in emptyStructuredName()
155 return TextUtils.isEmpty(mPhoneticFamily) && TextUtils.isEmpty(mPhoneticGiven) in emptyPhoneticStructuredName()
156 && TextUtils.isEmpty(mPhoneticMiddle); in emptyPhoneticStructuredName()
167 if (!TextUtils.isEmpty(mGiven)) { in constructInsertOperation()
170 if (!TextUtils.isEmpty(mFamily)) { in constructInsertOperation()
173 if (!TextUtils.isEmpty(mMiddle)) { in constructInsertOperation()
176 if (!TextUtils.isEmpty(mPrefix)) { in constructInsertOperation()
[all …]
DVCardBuilder.java165 if (TextUtils.isEmpty(charset)) { in VCardBuilder()
201 if (TextUtils.isEmpty(charset)) { in VCardBuilder()
252 return !(TextUtils.isEmpty(familyName) && TextUtils.isEmpty(middleName) && in containsNonEmptyName()
253 TextUtils.isEmpty(givenName) && TextUtils.isEmpty(prefix) && in containsNonEmptyName()
254 TextUtils.isEmpty(suffix) && TextUtils.isEmpty(phoneticFamilyName) && in containsNonEmptyName()
255 TextUtils.isEmpty(phoneticMiddleName) && TextUtils.isEmpty(phoneticGivenName) && in containsNonEmptyName()
256 TextUtils.isEmpty(displayName)); in containsNonEmptyName()
314 if (contentValuesList == null || contentValuesList.isEmpty()) { in appendNamePropertiesV40()
332 if (TextUtils.isEmpty(familyName) in appendNamePropertiesV40()
333 && TextUtils.isEmpty(givenName) in appendNamePropertiesV40()
[all …]
DVCardUtils.java346 if (!TextUtils.isEmpty(prefix)) { in constructNameFromElements()
351 if (!TextUtils.isEmpty(namePart)) { in constructNameFromElements()
360 if (!TextUtils.isEmpty(suffix)) { in constructNameFromElements()
425 if (TextUtils.isEmpty(value)) { in containsOnlyPrintableAscii()
458 if (TextUtils.isEmpty(value)) { in containsOnlyNonCrLfPrintableAscii()
506 if (TextUtils.isEmpty(str)) { in containsOnlyAlphaDigitHyphen()
535 if (TextUtils.isEmpty(str)) { in containsOnlyWhiteSpaces()
558 if (TextUtils.isEmpty(value)) { in isV21Word()
604 if (TextUtils.isEmpty(value)) { in toStringAsParamValue()
628 return ((result.isEmpty() || VCardUtils.containsOnlyWhiteSpaces(result)) in toStringAsParamValue()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java92 if (!TextUtils.isEmpty(rruleStr) || !TextUtils.isEmpty(rdateStr)) { in init()
94 if (!TextUtils.isEmpty(rruleStr)) { in init()
104 if (!TextUtils.isEmpty(rdateStr)) { in init()
108 if (!TextUtils.isEmpty(exruleStr)) { in init()
118 if (!TextUtils.isEmpty(exdateStr)) { in init()
205 if ((TextUtils.isEmpty(dtstart))|| in populateContentValues()
206 (TextUtils.isEmpty(duration))|| in populateContentValues()
207 ((TextUtils.isEmpty(rrule))&& in populateContentValues()
208 (TextUtils.isEmpty(rdate)))) { in populateContentValues()
271 (TextUtils.isEmpty(duration))|| in populateComponent()
[all …]
/frameworks/base/core/java/android/webkit/
DByteArrayBuilder.java49 if (mChunks.isEmpty()) { in append()
74 if (mChunks.isEmpty()) return null; in getFirstChunk()
78 public synchronized boolean isEmpty() { in isEmpty() method in ByteArrayBuilder
79 return mChunks.isEmpty(); in isEmpty()
119 if (!sPool.isEmpty()) { in obtainChunk()
/frameworks/base/core/java/android/content/
DSyncAdapterType.java39 if (TextUtils.isEmpty(authority)) { in SyncAdapterType()
42 if (TextUtils.isEmpty(accountType)) { in SyncAdapterType()
61 if (TextUtils.isEmpty(authority)) { in SyncAdapterType()
64 if (TextUtils.isEmpty(accountType)) { in SyncAdapterType()
78 if (TextUtils.isEmpty(authority)) { in SyncAdapterType()
81 if (TextUtils.isEmpty(accountType)) { in SyncAdapterType()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DRegion_Delegate.java141 /*package*/ static boolean isEmpty(Region thisRegion) { in isEmpty() method in Region_Delegate
147 return regionDelegate.mArea.isEmpty(); in isEmpty()
200 return regionDelegate.mArea.isEmpty() || in quickReject()
216 return regionDelegate.mArea.isEmpty() || in quickReject()
234 if (regionDelegate.mArea.isEmpty()) { in translate()
256 if (regionDelegate.mArea.isEmpty()) { in scale()
304 return dstRegion.mArea.getBounds().isEmpty() == false; in nativeSetRect()
326 return dstRegion.mArea.getBounds().isEmpty() == false; in nativeSetPath()
337 if (bounds.isEmpty()) { in nativeGetBounds()
361 if (region.mArea.isEmpty()) { in nativeGetBoundaryPath()
[all …]
/frameworks/base/core/java/android/net/
DDhcpInfoInternal.java96 if (TextUtils.isEmpty(ipAddress)) { in makeLinkAddress()
110 if (TextUtils.isEmpty(dns1) == false) { in makeLinkProperties()
115 if (TextUtils.isEmpty(dns2) == false) { in makeLinkProperties()
130 if (TextUtils.isEmpty(dns1)) { in updateFromDhcpRequest()
134 if (TextUtils.isEmpty(dns2)) { in updateFromDhcpRequest()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java246 engine.label = TextUtils.isEmpty(label) ? engine.name : label.toString(); in getEngineInfo()
298 if (TextUtils.isEmpty(locale)) { in getLocalePrefForEngine()
315 if (!TextUtils.isEmpty(pref)) { in parseLocalePref()
340 if (TextUtils.isEmpty(lang)) { in getV1Locale()
345 if (!TextUtils.isEmpty(country)) { in getV1Locale()
351 if (!TextUtils.isEmpty(variant)) { in getV1Locale()
366 if (TextUtils.isEmpty(defaultLocale)) { in getDefaultLocale()
371 if (!TextUtils.isEmpty(locale.getISO3Country())) { in getDefaultLocale()
378 if (!TextUtils.isEmpty(locale.getVariant())) { in getDefaultLocale()
392 if (TextUtils.isEmpty(prefValue)) { in parseEnginePrefFromList()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DLineVerifierElem.java37 if (!TextUtils.isEmpty(line)) { in addExpected()
52 if (TextUtils.isEmpty(line)) { in verify()
95 if (!mExpectedLineList.isEmpty()) { in verify()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DAdnRecord.java153 public boolean isEmpty() { in isEmpty() method in AdnRecord
154 return TextUtils.isEmpty(alphaTag) && TextUtils.isEmpty(number) && emails == null; in isEmpty()
214 if (TextUtils.isEmpty(number)) { in buildAdnString()
239 if (!TextUtils.isEmpty(alphaTag)) { in buildAdnString()
DDataCallState.java130 if (addr.isEmpty()) continue; in setLinkProperties()
165 if (addr.isEmpty()) continue; in setLinkProperties()
182 if (dnsAddr.isEmpty()) continue; in setLinkProperties()
208 if (addr.isEmpty()) continue; in setLinkProperties()
/frameworks/testing/androidtestlib/src/com/android/test/runner/
DTestLoader.java102 public boolean isEmpty() { in isEmpty() method in TestLoader
103 return mLoadedClasses.isEmpty() && mLoadFailures.isEmpty(); in isEmpty()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardUtilsTests.java93 assertTrue(TextUtils.isEmpty(VCardUtils.toStringAsV30ParamValue(""))); in testToStringAvailableAsV30ParamValue()
94 assertTrue(TextUtils.isEmpty(VCardUtils.toStringAsV30ParamValue(null))); in testToStringAvailableAsV30ParamValue()
95 assertTrue(TextUtils.isEmpty(VCardUtils.toStringAsV30ParamValue(" \t"))); in testToStringAvailableAsV30ParamValue()
109 assertTrue(TextUtils.isEmpty( in testToStringAvailableAsV30ParamValue()
/frameworks/support/v4/java/android/support/v4/database/
DDatabaseUtilsCompat.java35 if (TextUtils.isEmpty(a)) { in concatenateWhere()
38 if (TextUtils.isEmpty(b)) { in concatenateWhere()
/frameworks/base/voip/java/com/android/server/sip/
DSipWakeupTimer.java101 if (mEventQueue.isEmpty()) return; in recalculatePeriods()
128 if (mEventQueue.isEmpty()) { in insertEvent()
189 if (stopped() || mEventQueue.isEmpty()) return; in cancel()
201 if (mEventQueue.isEmpty()) { in cancel()
219 if (stopped() || mEventQueue.isEmpty()) return; in scheduleNext()
267 if (stopped() || mEventQueue.isEmpty()) return; in execute()
/frameworks/base/core/java/android/provider/
DSearchRecentSuggestions.java132 if (TextUtils.isEmpty(authority) || in SearchRecentSuggestions()
162 if (TextUtils.isEmpty(queryString)) { in saveRecentQuery()
165 if (!mTwoLineDisplay && !TextUtils.isEmpty(line2)) { in saveRecentQuery()
/frameworks/base/keystore/java/android/security/
DKeyStore.java76 return (values == null || values.isEmpty()) ? null : values.get(0); in get()
155 public boolean isEmpty() { in isEmpty() method in KeyStore
180 return (values == null || values.isEmpty()) ? null : values.get(0); in getPubkey()
198 return (values == null || values.isEmpty()) ? null : values.get(0); in sign()
234 if (values == null || values.isEmpty()) { in getmtime()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientChip.java103 if (!TextUtils.isEmpty(text)) { in setOriginalText()
110 return !TextUtils.isEmpty(mOriginalText) ? mOriginalText : mEntry.getDestination(); in getOriginalText()
/frameworks/base/include/androidfw/
DKeyboard.h58 return !keyLayoutFile.isEmpty(); in haveKeyLayout()
62 return !keyCharacterMapFile.isEmpty(); in haveKeyCharacterMap()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java457 if (TextUtils.isEmpty(serviceInfo.getServiceName()) || in registerService()
458 TextUtils.isEmpty(serviceInfo.getServiceType())) { in registerService()
522 if (TextUtils.isEmpty(serviceType)) { in discoverServices()
567 if (TextUtils.isEmpty(serviceInfo.getServiceName()) || in resolveService()
568 TextUtils.isEmpty(serviceInfo.getServiceType())) { in resolveService()
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java165 && safeCharSeqToString(node.getContentDescription()).isEmpty() in nafCheck()
166 && safeCharSeqToString(node.getText()).isEmpty(); in nafCheck()
194 if (!safeCharSeqToString(childNode.getContentDescription()).isEmpty() in childNafCheck()
195 || !safeCharSeqToString(childNode.getText()).isEmpty()) in childNafCheck()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsManager.java76 if (TextUtils.isEmpty(destinationAddress)) { in sendTextMessage()
80 if (TextUtils.isEmpty(text)) { in sendTextMessage()
146 if (TextUtils.isEmpty(destinationAddress)) { in sendMultipartTextMessage()
207 if (TextUtils.isEmpty(destinationAddress)) { in sendDataMessage()

12345678910>>...19