Home
last modified time | relevance | path

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

12345678910>>...40

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DAdnRecordTest.java42 assertFalse(adn.isEmpty()); in testBasic()
52 assertTrue(adn.isEmpty()); in testBasic()
61 assertTrue(adn.isEmpty()); in testBasic()
71 assertFalse(adn.isEmpty()); in testBasic()
81 assertFalse(adn.isEmpty()); in testBasic()
91 assertFalse(adn.isEmpty()); in testBasic()
101 assertFalse(adn.isEmpty()); in testBasic()
111 assertFalse(adn.isEmpty()); in testBasic()
121 assertFalse(adn.isEmpty()); in testBasic()
132 assertFalse(adn.isEmpty()); in testBasic()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java111 public boolean isEmpty(); in isEmpty() method
150 return TextUtils.isEmpty(mFamily) && TextUtils.isEmpty(mGiven) in emptyStructuredName()
151 && TextUtils.isEmpty(mMiddle) && TextUtils.isEmpty(mPrefix) in emptyStructuredName()
152 && TextUtils.isEmpty(mSuffix); in emptyStructuredName()
156 return TextUtils.isEmpty(mPhoneticFamily) && TextUtils.isEmpty(mPhoneticGiven) in emptyPhoneticStructuredName()
157 && TextUtils.isEmpty(mPhoneticMiddle); in emptyPhoneticStructuredName()
168 if (!TextUtils.isEmpty(mGiven)) { in constructInsertOperation()
171 if (!TextUtils.isEmpty(mFamily)) { in constructInsertOperation()
174 if (!TextUtils.isEmpty(mMiddle)) { in constructInsertOperation()
177 if (!TextUtils.isEmpty(mPrefix)) { in constructInsertOperation()
[all …]
DVCardBuilder.java165 if (TextUtils.isEmpty(charset)) { in VCardBuilder()
175 if (TextUtils.isEmpty(charset)) { in VCardBuilder()
218 return !(TextUtils.isEmpty(familyName) && TextUtils.isEmpty(middleName) && in containsNonEmptyName()
219 TextUtils.isEmpty(givenName) && TextUtils.isEmpty(prefix) && in containsNonEmptyName()
220 TextUtils.isEmpty(suffix) && TextUtils.isEmpty(phoneticFamilyName) && in containsNonEmptyName()
221 TextUtils.isEmpty(phoneticMiddleName) && TextUtils.isEmpty(phoneticGivenName) && in containsNonEmptyName()
222 TextUtils.isEmpty(displayName)); in containsNonEmptyName()
280 if (contentValuesList == null || contentValuesList.isEmpty()) { in appendNamePropertiesV40()
298 if (TextUtils.isEmpty(familyName) in appendNamePropertiesV40()
299 && TextUtils.isEmpty(givenName) in appendNamePropertiesV40()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceSet.java93 if (!TextUtils.isEmpty(rruleStr) || !TextUtils.isEmpty(rdateStr)) { in init()
95 if (!TextUtils.isEmpty(rruleStr)) { in init()
105 if (!TextUtils.isEmpty(rdateStr)) { in init()
109 if (!TextUtils.isEmpty(exruleStr)) { in init()
119 if (!TextUtils.isEmpty(exdateStr)) { in init()
216 if ((TextUtils.isEmpty(dtstart))|| in populateContentValues()
217 (TextUtils.isEmpty(duration))|| in populateContentValues()
218 ((TextUtils.isEmpty(rrule))&& in populateContentValues()
219 (TextUtils.isEmpty(rdate)))) { in populateContentValues()
282 (TextUtils.isEmpty(duration))|| in populateComponent()
[all …]
/frameworks/base/libs/hwui/unit_tests/
DClipAreaTests.cpp62 EXPECT_TRUE(list.isEmpty()); in TEST()
68 EXPECT_FALSE(list.isEmpty()); in TEST()
72 EXPECT_FALSE(list.isEmpty()); in TEST()
79 EXPECT_FALSE(list.isEmpty()); in TEST()
85 EXPECT_FALSE(rgn.isEmpty()); in TEST()
90 EXPECT_FALSE(area.isEmpty()); in TEST()
101 EXPECT_FALSE(area.isEmpty()); in TEST()
/frameworks/av/drm/mediadrm/plugins/clearkey/tests/
DJsonWebKeyUnittest.cpp44 if (input.isEmpty()) { in stringFromVector()
54 if (keys.isEmpty()) { in verifyKeys()
78 EXPECT_TRUE(keys.isEmpty()); in TEST_F()
100 EXPECT_TRUE(keys.isEmpty()); in TEST_F()
195 EXPECT_TRUE(keys.isEmpty()); in TEST_F()
214 EXPECT_TRUE(keys.isEmpty()); in TEST_F()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDefaultItemAnimator.java98 boolean removalsPending = !mPendingRemovals.isEmpty(); in runPendingAnimations()
99 boolean movesPending = !mPendingMoves.isEmpty(); in runPendingAnimations()
100 boolean changesPending = !mPendingChanges.isEmpty(); in runPendingAnimations()
101 boolean additionsPending = !mPendingAdditions.isEmpty(); in runPendingAnimations()
450 if (changes.isEmpty()) { in endAnimation()
463 if (moves.isEmpty()) { in endAnimation()
475 if (additions.isEmpty()) { in endAnimation()
511 return (!mPendingAdditions.isEmpty() || in isRunning()
512 !mPendingChanges.isEmpty() || in isRunning()
513 !mPendingMoves.isEmpty() || in isRunning()
[all …]
/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()
303 return dstRegion.mArea.getBounds().isEmpty() == false; in nativeSetRect()
325 return dstRegion.mArea.getBounds().isEmpty() == false; in nativeSetPath()
336 if (bounds.isEmpty()) { in nativeGetBounds()
360 if (region.mArea.isEmpty()) { in nativeGetBoundaryPath()
[all …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java104 if (TextUtils.isEmpty(apiCallStack)) { in getApiCallStack()
251 public boolean isEmpty() { in isEmpty() method in InputMethodUtils.InputMethodListBuilder
252 return mInputMethodSet.isEmpty(); in isEmpty()
275 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
280 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
285 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
290 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
314 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithSystemLocale()
319 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithSystemLocale()
324 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithSystemLocale()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallTracker.java184 if (!TextUtils.isEmpty(testEn)) { in checkForTestEmergencyNumber()
223 if (!TextUtils.isEmpty(entry[0]) && dialNumber.equals(entry[0])) { in convertNumberIfNecessary()
224 if (tmpArray.length >= 2 && !TextUtils.isEmpty(tmpArray[1])) { in convertNumberIfNecessary()
228 } else if (outNumber.isEmpty()) { in convertNumberIfNecessary()
233 if(!TextUtils.isEmpty(tmpArray[0]) && tmpArray[0].endsWith("MDN")) { in convertNumberIfNecessary()
235 if (!TextUtils.isEmpty(mdn) ) { in convertNumberIfNecessary()
252 if (!TextUtils.isEmpty(outNumber)) { in convertNumberIfNecessary()
DTelephonyDevController.java206 if (mModems.isEmpty()) { in getModem()
237 if (mSims.isEmpty()) { in getSim()
257 if (mModems.isEmpty() || mSims.isEmpty()) { in getModemForSim()
285 if (mSims.isEmpty()) { in getAllSimsForModem()
314 if (mModems.isEmpty()) { in getAllModems()
332 if (mSims.isEmpty()) { in getAllSims()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DPerfMeasurement.java187 mCollectedTimestamps.add(mTimestampQueue.isEmpty() ? in stopTimer()
189 mCollectedCpuDurations.add(mCpuDurationsQueue.isEmpty() ? in stopTimer()
194 if (!mTimestampQueue.isEmpty()) { in stopTimer()
197 if (!mCpuDurationsQueue.isEmpty()) { in stopTimer()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteSelector.java75 if (mControlCategories == null || mControlCategories.isEmpty()) { in ensureControlCategories()
147 public boolean isEmpty() { in isEmpty() method in MediaRouteSelector
149 return mControlCategories.isEmpty(); in isEmpty()
231 if (!selector.mControlCategories.isEmpty()) { in Builder()
271 if (!categories.isEmpty()) { in addControlCategories()
/frameworks/base/core/java/android/os/
DBuild.java654 if (TextUtils.isEmpty(finger)) { in deriveFingerprint()
675 if (TextUtils.isEmpty(SystemProperties.get("ro.build.fingerprint"))) { in ensureFingerprintProperty()
702 if (TextUtils.isEmpty(system)) { in isBuildConsistent()
707 if (!TextUtils.isEmpty(vendor)) { in isBuildConsistent()
770 if (value.isEmpty()) { in getStringList()
/frameworks/native/libs/gui/tests/
DGLTest.cpp192 if (!msg.isEmpty()) { in checkPixel()
198 if (!msg.isEmpty()) { in checkPixel()
204 if (!msg.isEmpty()) { in checkPixel()
209 if (!msg.isEmpty()) { in checkPixel()
224 if (!msg.isEmpty()) { in assertRectEq()
230 if (!msg.isEmpty()) { in assertRectEq()
236 if (!msg.isEmpty()) { in assertRectEq()
241 if (!msg.isEmpty()) { in assertRectEq()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DBaseObservableTest.java50 assertTrue(mNotifications.isEmpty()); in testAddCallback()
53 assertFalse(mNotifications.isEmpty()); in testAddCallback()
65 assertTrue(mNotifications.isEmpty()); in testRemoveCallback()
/frameworks/base/services/core/java/com/android/server/am/
DUriPermissionOwner.java84 if (mReadPerms.isEmpty()) { in removeUriPermissionLocked()
99 if (mWritePerms.isEmpty()) { in removeUriPermissionLocked()
121 if (mReadPerms.isEmpty()) { in removeReadPermission()
128 if (mWritePerms.isEmpty()) { in removeWritePermission()
/frameworks/base/core/java/android/net/
DNetworkCapabilities.java519 if (TextUtils.isEmpty(networkSpecifier) == false && Long.bitCount(mTransportTypes) != 1) { in setNetworkSpecifier()
539 if (TextUtils.isEmpty(otherSpecifier)) return; in combineSpecifiers()
540 if (TextUtils.isEmpty(mNetworkSpecifier) == false) { in combineSpecifiers()
546 return (TextUtils.isEmpty(mNetworkSpecifier) || in satisfiedBySpecifier()
550 if (TextUtils.isEmpty(mNetworkSpecifier)) { in equalsSpecifier()
551 return TextUtils.isEmpty(nc.mNetworkSpecifier); in equalsSpecifier()
598 (TextUtils.isEmpty(mNetworkSpecifier) ? 0 : mNetworkSpecifier.hashCode() * 17)); in hashCode()
/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/base/libs/hwui/
DDamageAccumulator.cpp122 if (in.isEmpty()) return; in mapRect()
133 if (in.isEmpty()) return; in mapRect()
179 if (frame->pendingDirty.isEmpty()) { in applyRenderNodeTransform()
189 if (props.getClipDamageToBounds() && !frame->pendingDirty.isEmpty()) { in applyRenderNodeTransform()
199 if (props.getProjectBackwards() && !frame->pendingDirty.isEmpty()) { in applyRenderNodeTransform()
DClipArea.h38 bool isEmpty() const;
62 bool isEmpty() const;
88 bool isEmpty() const { in isEmpty() function
89 return mClipRect.isEmpty(); in isEmpty()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java151 return !((CameraMetadataNative) obj).isEmpty(); in matches()
168 assertTrue(metadata.isEmpty()); in createDefaultBuilder()
172 assertFalse(metadata.isEmpty()); in createDefaultBuilder()
176 assertFalse(request.isEmpty()); in createDefaultBuilder()
177 assertFalse(metadata.isEmpty()); in createDefaultBuilder()
242 assertTrue(metadata.isEmpty()); in testCreateDefaultRequest()
246 assertFalse(metadata.isEmpty()); in testCreateDefaultRequest()
359 assertFalse(info.isEmpty()); in testCameraInfo()
370 assertFalse(info.isEmpty()); in testCameraCharacteristics()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAction.java161 if (!TextUtils.isEmpty(mLabel1)) { in toString()
164 if (!TextUtils.isEmpty(mLabel2)) { in toString()
165 if (!TextUtils.isEmpty(mLabel1)) { in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java158 public boolean isEmpty() { in isEmpty() method in AdnRecord
159 return TextUtils.isEmpty(mAlphaTag) && TextUtils.isEmpty(mNumber) && mEmails == null; in isEmpty()
221 if (TextUtils.isEmpty(mNumber)) { in buildAdnString()
246 if (!TextUtils.isEmpty(mAlphaTag)) { in buildAdnString()

12345678910>>...40