Home
last modified time | relevance | path

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

12345678910>>...50

/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/base/core/java/android/view/inputmethod/
DInputConnectionInspector.java200 boolean isEmpty = true; in getMissingMethodFlagsAsString()
203 isEmpty = false; in getMissingMethodFlagsAsString()
206 if (!isEmpty) { in getMissingMethodFlagsAsString()
210 isEmpty = false; in getMissingMethodFlagsAsString()
213 if (!isEmpty) { in getMissingMethodFlagsAsString()
217 isEmpty = false; in getMissingMethodFlagsAsString()
220 if (!isEmpty) { in getMissingMethodFlagsAsString()
224 isEmpty = false; in getMissingMethodFlagsAsString()
227 if (!isEmpty) { in getMissingMethodFlagsAsString()
231 isEmpty = false; in getMissingMethodFlagsAsString()
[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/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/
DViewInfoStoreTest.java163 assertTrue(mCallback.disappeared.isEmpty()); in processAppear()
164 assertTrue(mCallback.unused.isEmpty()); in processAppear()
165 assertTrue(mCallback.persistent.isEmpty()); in processAppear()
175 assertTrue(mCallback.appeared.isEmpty()); in processDisappearNormal()
176 assertTrue(mCallback.unused.isEmpty()); in processDisappearNormal()
177 assertTrue(mCallback.persistent.isEmpty()); in processDisappearNormal()
188 assertTrue(mCallback.appeared.isEmpty()); in processDisappearMissingLayout()
189 assertTrue(mCallback.unused.isEmpty()); in processDisappearMissingLayout()
190 assertTrue(mCallback.persistent.isEmpty()); in processDisappearMissingLayout()
203 assertTrue(mCallback.appeared.isEmpty()); in processDisappearMoveOut()
[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/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
DSamsungRecommendationPlugin.java52 if (!TextUtils.isEmpty(model)) { in isSupportedModel()
81 if (TextUtils.isEmpty(usb_mfg)) { in getModelName()
86 if (TextUtils.isEmpty(usb_mdl)) { in getModelName()
91 if (!TextUtils.isEmpty(usb_mfg) && !TextUtils.isEmpty(usb_mdl)) { in getModelName()
95 if (TextUtils.isEmpty(modelName)) { in getModelName()
/frameworks/base/libs/hwui/tests/unit/
DMatrixTests.cpp32 ASSERT_TRUE(empty.isEmpty()); in TEST()
35 EXPECT_FALSE(empty.isEmpty()) in TEST()
46 ASSERT_TRUE(lineRect.isEmpty()); in TEST()
48 EXPECT_FALSE(lineRect.isEmpty()) in TEST()
/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()
455 if (changes.isEmpty()) { in endAnimation()
468 if (moves.isEmpty()) { in endAnimation()
480 if (additions.isEmpty()) { in endAnimation()
520 return (!mPendingAdditions.isEmpty() || in isRunning()
521 !mPendingChanges.isEmpty() || in isRunning()
522 !mPendingMoves.isEmpty() || in isRunning()
[all …]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DMultiSelectManager_SelectionTest.java68 assertTrue(new Selection().isEmpty()); in testIsEmpty()
70 assertTrue(selection.isEmpty()); in testIsEmpty()
110 assertTrue(testSelection.isEmpty()); in testIntersection_empty0()
116 assertTrue(testSelection.isEmpty()); in testIntersection_empty1()
120 assertFalse(selection.isEmpty()); in testIntersection_empty2()
122 assertTrue(selection.isEmpty()); in testIntersection_empty2()
137 assertTrue(testSelection.isEmpty()); in testIntersection_exclusive()
/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/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java112 if (TextUtils.isEmpty(apiCallStack)) { in getApiCallStack()
259 public boolean isEmpty() { in isEmpty() method in InputMethodUtils.InputMethodListBuilder
260 return mInputMethodSet.isEmpty(); in isEmpty()
283 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
288 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
293 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
298 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithoutSystemLocale()
322 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithSystemLocale()
327 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithSystemLocale()
332 if (!builder.isEmpty()) { in getMinimumKeyboardSetWithSystemLocale()
[all …]
/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/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/libs/hwui/
DBakedOpState.cpp58 if (CC_UNLIKELY(clipRect.isEmpty() || !clippedBounds.intersects(clipRect))) { in ResolvedRenderState()
112 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryConstruct()
115 if (bakedState->computedState.clippedBounds.isEmpty()) { in tryConstruct()
125 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryConstructUnbounded()
131 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryStrokeableOpConstruct()
138 if (bakedState->computedState.clippedBounds.isEmpty()) { in tryStrokeableOpConstruct()
149 if (CC_UNLIKELY(snapshot.getRenderTargetClip().isEmpty())) return nullptr; in tryShadowOpConstruct()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallTracker.java183 if (!TextUtils.isEmpty(testEn)) { in checkForTestEmergencyNumber()
225 if (!TextUtils.isEmpty(entry[0]) && dialNumber.equals(entry[0])) { in convertNumberIfNecessary()
226 if (tmpArray.length >= 2 && !TextUtils.isEmpty(tmpArray[1])) { in convertNumberIfNecessary()
230 } else if (outNumber.isEmpty()) { in convertNumberIfNecessary()
235 if(!TextUtils.isEmpty(tmpArray[0]) && tmpArray[0].endsWith("MDN")) { in convertNumberIfNecessary()
237 if (!TextUtils.isEmpty(mdn) ) { in convertNumberIfNecessary()
254 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/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java55 assertFalse(config.getTrustAnchors().isEmpty()); in testEmptyConfigFile()
57 assertTrue(pinSet.pins.isEmpty()); in testEmptyConfigFile()
74 assertTrue(config.getTrustAnchors().isEmpty()); in testEmptyAnchors()
76 assertTrue(pinSet.pins.isEmpty()); in testEmptyAnchors()
92 assertTrue(config.getTrustAnchors().isEmpty()); in testBasicDomainConfig()
94 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()
99 assertFalse(config.getTrustAnchors().isEmpty()); in testBasicDomainConfig()
101 assertTrue(pinSet.pins.isEmpty()); in testBasicDomainConfig()
126 assertFalse(pinSet.pins.isEmpty()); in testBasicPinning()
141 assertFalse(pinSet.pins.isEmpty()); in testExpiredPin()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DNoBandChannelHelperTest.java226 assertTrue(mChannelCollection.isEmpty()); in empty()
245 assertTrue(mChannelCollection.isEmpty()); in clear()
262 assertFalse(mChannelCollection.isEmpty()); in addBand()
281 assertFalse(mChannelCollection.isEmpty()); in addChannel_single()
301 assertFalse(mChannelCollection.isEmpty()); in addChannel_multiple()
320 assertFalse(mChannelCollection.isEmpty()); in addChannel_and_addBand_sameBand()
339 assertFalse(mChannelCollection.isEmpty()); in addChannel_and_addBand_withDifferentBandChannel()
358 assertFalse(mChannelCollection.isEmpty()); in addChannel_and_addBand_all()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DIconCache.java140 return mEntries.isEmpty() ? null : mEntries.getFirst(); in pop()
143 private boolean isEmpty() { in isEmpty() method in IconCache.QuerySet
144 return mEntries.isEmpty(); in isEmpty()
227 if (icons == null || icons.isEmpty()) { in startIconQuery()
249 } else if (queryEntries.isEmpty()) { in initiateQuery()
262 if (queryEntries.isEmpty()) { in initiateQuery()
284 if (querySets == null || querySets.isEmpty()) { in notifyIconReceived()
316 if (querySet.isEmpty()) { in notifyIconReceived()
335 if (bssEntries.getValue().isEmpty()) { in notifyIconReceived()
384 if (bssEntries.getValue().isEmpty()) { in tickle()
/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/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/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/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp68 if (mSamplingRates.isEmpty()) { in checkCompatibleSamplingRate()
103 if (mChannelMasks.isEmpty()) { in checkCompatibleChannelMask()
204 if (!mSamplingRates.isEmpty()) { in dump()
215 if (!mChannelMasks.isEmpty()) { in dump()
232 if (isEmpty()) { in checkExactProfile()
251 if (isEmpty()) { in checkCompatibleProfile()
/frameworks/base/core/java/android/os/
DBuild.java692 if (TextUtils.isEmpty(finger)) { in deriveFingerprint()
713 if (TextUtils.isEmpty(SystemProperties.get("ro.build.fingerprint"))) { in ensureFingerprintProperty()
743 if (TextUtils.isEmpty(system)) { in isBuildConsistent()
748 if (!TextUtils.isEmpty(vendor)) { in isBuildConsistent()
824 if (value.isEmpty()) { in getStringList()

12345678910>>...50