Home
last modified time | relevance | path

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

12345678910>>...157

/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipSessionTrackerTest.java158 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsEndedGracefullyBye()
165 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsEndedGracefullyBye()
172 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsEndedGracefullyBye()
173 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsEndedGracefullyBye()
188 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsCloseCleanupSession()
195 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsCloseCleanupSession()
200 assertTrue(mTrackerUT.getEarlyDialogs().isEmpty()); in testMetricsCloseCleanupSession()
201 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsCloseCleanupSession()
202 assertTrue(mTrackerUT.getClosedDialogs().isEmpty()); in testMetricsCloseCleanupSession()
217 assertTrue(mTrackerUT.getConfirmedDialogs().isEmpty()); in testMetricsCloseClearAllSessions()
[all …]
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DAtomParsingTests.java126 assertThat(attrChain.get(1).getTag()).isEmpty(); in testWriteExtensionTestAtom()
164 assertThat(atom.getRepeatedIntFieldList()).isEmpty(); in testWriteExtensionTestAtom()
165 assertThat(atom.getRepeatedLongFieldList()).isEmpty(); in testWriteExtensionTestAtom()
166 assertThat(atom.getRepeatedFloatFieldList()).isEmpty(); in testWriteExtensionTestAtom()
167 assertThat(atom.getRepeatedStringFieldList()).isEmpty(); in testWriteExtensionTestAtom()
168 assertThat(atom.getRepeatedBooleanFieldList()).isEmpty(); in testWriteExtensionTestAtom()
169 assertThat(atom.getRepeatedEnumFieldList()).isEmpty(); in testWriteExtensionTestAtom()
177 assertThat(attrChain.get(0).getTag()).isEmpty(); in testWriteExtensionTestAtom()
182 assertThat(atom.getStringField()).isEmpty(); in testWriteExtensionTestAtom()
186 assertThat(atom.getBytesField().getLongFieldList()).isEmpty(); in testWriteExtensionTestAtom()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiSsidTest.java72 assertThat(wifiSsidEmpty.getBytes()).isEmpty(); in testFromByteArray()
73 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromByteArray()
74 assertThat(wifiSsidEmpty.toString()).isEmpty(); in testFromByteArray()
78 assertThat(wifiSsidNull.getBytes()).isEmpty(); in testFromByteArray()
79 assertThat(wifiSsidNull.getUtf8Text().toString()).isEmpty(); in testFromByteArray()
80 assertThat(wifiSsidNull.toString()).isEmpty(); in testFromByteArray()
96 assertThat(wifiSsidEmpty.getBytes()).isEmpty(); in testFromUtf8String()
97 assertThat(wifiSsidEmpty.getUtf8Text().toString()).isEmpty(); in testFromUtf8String()
98 assertThat(wifiSsidEmpty.toString()).isEmpty(); in testFromUtf8String()
102 assertThat(wifiSsidNull.getBytes()).isEmpty(); in testFromUtf8String()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPostalSplitter.java71 if (!TextUtils.isEmpty(formattedAddress)) { in split()
100 final boolean hasStreet = !TextUtils.isEmpty(postal.street); in joinJaJp()
101 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox); in joinJaJp()
102 final boolean hasNeighborhood = !TextUtils.isEmpty(postal.neighborhood); in joinJaJp()
103 final boolean hasCity = !TextUtils.isEmpty(postal.city); in joinJaJp()
104 final boolean hasRegion = !TextUtils.isEmpty(postal.region); in joinJaJp()
105 final boolean hasPostcode = !TextUtils.isEmpty(postal.postcode); in joinJaJp()
106 final boolean hasCountry = !TextUtils.isEmpty(postal.country); in joinJaJp()
166 final boolean hasStreet = !TextUtils.isEmpty(postal.street); in joinEnUs()
167 final boolean hasPobox = !TextUtils.isEmpty(postal.pobox); in joinEnUs()
[all …]
DAccountResolver.java44 if (TextUtils.isEmpty(AccountWithDataSet.LOCAL.getAccountName())) { in getLocalAccount()
146 if (TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType)) { in validateAccountForContactAddition()
152 if (TextUtils.isEmpty(accountName)) { in validateAccountForContactAddition()
236 final boolean partialUri = TextUtils.isEmpty(accountName) ^ TextUtils.isEmpty(accountType); in resolveAccount()
248 final boolean partialValues = TextUtils.isEmpty(valueAccountName) in resolveAccount()
249 ^ TextUtils.isEmpty(valueAccountType); in resolveAccount()
259 final boolean validUri = !TextUtils.isEmpty(accountName); in resolveAccount()
260 final boolean validValues = !TextUtils.isEmpty(valueAccountName); in resolveAccount()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DInsertOrUpdateRecords.kt499 if (!mFieldNameToFieldInput["mDeltas"]!!.isEmpty()) { in createRecordObjectHelper()
505 if (!mFieldNameToFieldInput["mBaseline"]!!.isEmpty()) { in createRecordObjectHelper()
508 if (!mFieldNameToFieldInput["mMeasurementLocation"]!!.isEmpty()) { in createRecordObjectHelper()
523 if (!mFieldNameToFieldInput["mNotes"]!!.isEmpty()) { in createRecordObjectHelper()
526 if (!mFieldNameToFieldInput["mTitle"]!!.isEmpty()) { in createRecordObjectHelper()
529 if (!mFieldNameToFieldInput["mStages"]!!.isEmpty()) { in createRecordObjectHelper()
569 if (!mFieldNameToFieldInput["mNotes"]!!.isEmpty()) { in createRecordObjectHelper()
572 if (!mFieldNameToFieldInput["mTitle"]!!.isEmpty()) { in createRecordObjectHelper()
575 if (!mFieldNameToFieldInput["mExerciseRoute"]!!.isEmpty()) { in createRecordObjectHelper()
586 if (!mFieldNameToFieldInput["mSegments"]!!.isEmpty()) { in createRecordObjectHelper()
[all …]
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DSendGsmCmasMessages.java76 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasAlertWithServiceCategory()
77 TextUtils.isEmpty(messageBody) ? "This is an alert" : messageBody, in testSendCmasAlertWithServiceCategory()
95 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasPresAlert()
96 TextUtils.isEmpty(messageBody) ? PRES_ALERT : messageBody, in testSendCmasPresAlert()
115 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasExtremeAlert()
116 TextUtils.isEmpty(messageBody) ? EXTREME_ALERT : messageBody, in testSendCmasExtremeAlert()
135 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasSevereAlert()
136 TextUtils.isEmpty(messageBody) ? SEVERE_ALERT : messageBody, in testSendCmasSevereAlert()
155 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasAmberAlert()
156 TextUtils.isEmpty(messageBody) ? AMBER_ALERT : messageBody, in testSendCmasAmberAlert()
[all …]
DSendCdmaCmasMessages.java68 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasPresAlert()
69 TextUtils.isEmpty(messageBody) ? PRES_ALERT : messageBody, in testSendCmasPresAlert()
81 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasExtremeAlert()
82 TextUtils.isEmpty(messageBody) ? EXTREME_ALERT : messageBody, in testSendCmasExtremeAlert()
94 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasSevereAlert()
95 TextUtils.isEmpty(messageBody) ? SEVERE_ALERT : messageBody, in testSendCmasSevereAlert()
107 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasAmberAlert()
108 TextUtils.isEmpty(messageBody) ? AMBER_ALERT : messageBody, in testSendCmasAmberAlert()
120 TextUtils.isEmpty(languageCode) ? "en" : languageCode, in testSendCmasMonthlyTest()
121 TextUtils.isEmpty(messageBody) ? MONTHLY_TEST_ALERT : messageBody, in testSendCmasMonthlyTest()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataParser.java59 if (!TextUtils.isEmpty(name)) { in parseOneWordList()
64 if (TextUtils.isEmpty(arguments.get(ID_FIELD_NAME)) in parseOneWordList()
65 || TextUtils.isEmpty(arguments.get(LOCALE_FIELD_NAME)) in parseOneWordList()
66 || TextUtils.isEmpty(arguments.get(DESCRIPTION_FIELD_NAME)) in parseOneWordList()
67 || TextUtils.isEmpty(arguments.get(UPDATE_FIELD_NAME)) in parseOneWordList()
68 || TextUtils.isEmpty(arguments.get(FILESIZE_FIELD_NAME)) in parseOneWordList()
69 || TextUtils.isEmpty(arguments.get(CHECKSUM_FIELD_NAME)) in parseOneWordList()
70 || TextUtils.isEmpty(arguments.get(REMOTE_FILENAME_FIELD_NAME)) in parseOneWordList()
71 || TextUtils.isEmpty(arguments.get(VERSION_FIELD_NAME)) in parseOneWordList()
72 || TextUtils.isEmpty(arguments.get(FORMATVERSION_FIELD_NAME))) { in parseOneWordList()
[all …]
/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/internal/property/
DSubscriptionManagerUnitTest.java110 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testStageNewOptions_UpdateRateChangedToLowerRate()
133 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testStageNewOptions_resolutionChangedToDifferentValue()
134 expectThat(outDiffSubscribeOptions).isEmpty(); in testStageNewOptions_resolutionChangedToDifferentValue()
145 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testStageNewOptions_resolutionChangedToDifferentValue()
216 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testDiffBetweenCurrentAndStage_simpleAdd()
237 expectThat(outDiffSubscribeOptions).isEmpty(); in testDiffBetweenCurrentAndStage_simpleRemove()
260 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testDiffBetweenCurrentAndStage_updatedRate()
288 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testDiffBetweenCurrentAndStage_updatedResolution()
310 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testDiffBetweenCurrentAndStage_updateRateChangedToLowerRate()
333 expectThat(outPropertyIdsToUnsubscribe).isEmpty(); in testDiffBetweenCurrentAndStage_resolutionChangedToDifferentValue()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/domainselection/
DDynamicRoutingController.java81 if (TextUtils.isEmpty(countryIso)) {
83 if (TextUtils.isEmpty(countryIso)) {
210 if (TextUtils.isEmpty(iso)) { in isDynamicRoutingEnabled()
265 if (TextUtils.isEmpty(iso)) { in getNetworkCountryIso()
274 || TextUtils.isEmpty(number) in isDynamicNumber()
275 || mDynamicNumbers == null || mDynamicNumbers.isEmpty()) { in isDynamicNumber()
287 if (TextUtils.isEmpty(iso) in isDynamicNumber()
288 || emergencyNumbers == null || emergencyNumbers.isEmpty()) { in isDynamicNumber()
300 || dynamicNumbers.isEmpty() || emergencyNumbers.isEmpty()) { in isDynamicNumber()
313 || TextUtils.isEmpty(dynamicNumber.getMnc())))) { in isDynamicNumber()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/adselection/
DEncryptionKeyDaoTest.java102 .isEmpty(); in test_getLatestExpiryNKeysOfType_returnsEmptyListWhenKeyAbsent()
104 .isEmpty(); in test_getLatestExpiryNKeysOfType_returnsEmptyListWhenKeyAbsent()
106 .isEmpty(); in test_getLatestExpiryNKeysOfType_returnsEmptyListWhenKeyAbsent()
150 .isEmpty(); in test_getLatestExpiryNActiveKeyOfType_returnsEmptyWhenKeyAbsent()
154 .isEmpty(); in test_getLatestExpiryNActiveKeyOfType_returnsEmptyWhenKeyAbsent()
158 .isEmpty(); in test_getLatestExpiryNActiveKeyOfType_returnsEmptyWhenKeyAbsent()
201 .isEmpty(); in test_getExpiredKeysForType_noExpiredKeys_returnsEmpty()
203 .isEmpty(); in test_getExpiredKeysForType_noExpiredKeys_returnsEmpty()
207 .isEmpty(); in test_getExpiredKeysForType_noExpiredKeys_returnsEmpty()
247 assertThat(mEncryptionKeyDao.getExpiredKeys(Instant.now())).isEmpty(); in test_getExpiredKeys_noExpiredKeys_returnsEmpty()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommenderTest.java96 assertThat(mRecommender.recommendChannels()).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
97 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
98 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
99 assertThat(mRecommender.recommendChannels(3)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
100 assertThat(mRecommender.recommendChannels(4)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
101 assertThat(mRecommender.recommendChannels(5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveNoScore()
110 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
111 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_notIncludeRecommendedOnly_allChannelsHaveNoScore()
127 assertThat(mRecommender.recommendChannels(-5)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
128 assertThat(mRecommender.recommendChannels(0)).isEmpty(); in testRecommendChannels_includeRecommendedOnly_allChannelsHaveScore()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesShellCommandTest.java125 expect.withMessage("err").that(getErr()).isEmpty(); in testOnHelp()
158 expect.withMessage("err").that(getErr()).isEmpty(); in testExec_nullShowsHelp()
169 expect.withMessage("err").that(getErr()).isEmpty(); in testExec_emptyShowsHelp()
180 expect.withMessage("err").that(getErr()).isEmpty(); in testExec_help()
191 expect.withMessage("err").that(getErr()).isEmpty(); in testExec_helpShort()
208 expect.withMessage("out").that(getOut()).isEmpty(); in testExec_invalidCommand()
221 expect.withMessage("out").that(getOut()).isEmpty(); in testExec_adServicesCommand_throwsRemoteException()
232 expect.withMessage("out").that(getOut()).isEmpty(); in testExec_adServicesCommand_timeoutHappens()
245 expect.withMessage("err").that(getErr()).isEmpty(); in testExec_isSystemServiceEnabled_true()
257 expect.withMessage("err").that(getErr()).isEmpty(); in testExec_isSystemServiceEnabled_false()
[all …]
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataCategoryTest.kt44 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageCollected_nullPersistableBundle_emptyMap()
54 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageCollected_emptyPersistableBundle_emptyMap()
64 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageCollected_invalidBundle_emptyMap()
96 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageShared_nullPersistableBundle_emptyMap()
106 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageShared_emptyPersistableBundle_emptyMap()
116 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageShared_invalidBundle_emptyMap()
146 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_nullPersistableBundle_emptyMap()
155 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_emptyPersistableBundle_emptyMap()
165 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_invalidBundle_emptyMap()
175 assertThat(dataCategoryMap).isEmpty() in getDataCategoryMap_dataUsageInvalid_validBundle_emptyMap()
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DDvrScheduleManagerTest.java50 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_emptySchedule()
62 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_noConflict()
67 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_noConflict()
72 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_noConflict()
77 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 3)).isEmpty(); in testGetConflictingSchedules_noConflict()
82 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 3)).isEmpty(); in testGetConflictingSchedules_noConflict()
90 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 0)).isEmpty(); in testGetConflictingSchedules_noTuner()
113 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 1)).isEmpty(); in testGetConflictingSchedules_conflict()
122 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_conflict()
131 assertThat(DvrScheduleManager.getConflictingSchedules(schedules, 2)).isEmpty(); in testGetConflictingSchedules_conflict()
[all …]
/packages/modules/Bluetooth/service/src/airplane/
DModeListenerTest.kt178 assertThat(mode).isEmpty() in <lambda>()
190 assertThat(mode).isEmpty() in <lambda>()
204 assertThat(mode).isEmpty() in <lambda>()
213 assertThat(mode).isEmpty() in <lambda>()
225 assertThat(mode).isEmpty() in <lambda>()
239 assertThat(mode).isEmpty() in <lambda>()
274 assertThat(mode).isEmpty() in <lambda>()
299 assertThat(mode).isEmpty() in <lambda>()
311 assertThat(mode).isEmpty() in <lambda>()
337 assertThat(mode).isEmpty() in <lambda>()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DCallLogEntryText.java62 if (row.getIsVoicemailCall() && !TextUtils.isEmpty(row.getVoicemailCallTag())) { in buildPrimaryText()
67 if (!TextUtils.isEmpty(row.getNumberAttributes().getName())) { in buildPrimaryText()
72 if (!TextUtils.isEmpty(row.getFormattedNumber())) { in buildPrimaryText()
200 return !row.getFormattedNumber().isEmpty() in buildSecondaryTextForBottomSheet()
224 if (TextUtils.isEmpty(row.getNumberAttributes().getName())) { in buildSecondaryTextForBottomSheet()
228 if (TextUtils.isEmpty(row.getFormattedNumber())) { in buildSecondaryTextForBottomSheet()
267 if (TextUtils.isEmpty(numberTypeLabel) in getNumberTypeLabel()
272 !TextUtils.isEmpty(row.getNumberAttributes().getGeolocation()) in getNumberTypeLabel()
275 if (!TextUtils.isEmpty(location)) { in getNumberTypeLabel()
288 " • ", Collections2.filter(components, (text) -> !TextUtils.isEmpty(text))); in joinSecondaryTextComponents()
/packages/apps/Contacts/src/com/android/contacts/util/
DNameConverter.java85 if (!TextUtils.isEmpty(value)) { in appendQueryParameter()
109 if (!TextUtils.isEmpty(phoneticName)) { in parsePhoneticName()
140 if (!TextUtils.isEmpty(family) || !TextUtils.isEmpty(middle) in buildPhoneticName()
141 || !TextUtils.isEmpty(given)) { in buildPhoneticName()
143 if (!TextUtils.isEmpty(family)) { in buildPhoneticName()
146 if (!TextUtils.isEmpty(middle)) { in buildPhoneticName()
149 if (!TextUtils.isEmpty(given)) { in buildPhoneticName()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DArrayUtils.java60 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty() method in ArrayUtils
61 return array == null || array.isEmpty(); in isEmpty()
67 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() method in ArrayUtils
74 public static boolean isEmpty(@Nullable int[] array) { in isEmpty() method in ArrayUtils
81 public static boolean isEmpty(@Nullable long[] array) { in isEmpty() method in ArrayUtils
88 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty() method in ArrayUtils
95 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty() method in ArrayUtils
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DTransactionContextTest.java47 assertTrue(newDirty.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
48 assertTrue(newChanged.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
49 assertTrue(newInserted.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
50 assertTrue(newUpdated.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
51 assertTrue(newSync.isEmpty()); in testClearExceptSearchIndexUpdates_returnsNewSets()
74 assertTrue(context.getChangedRawContactIds().isEmpty()); in testRawContactInserted_affectsChangedContacts()
87 assertTrue(context.getChangedRawContactIds().isEmpty()); in testMarkRawContactChangedOrDeletedOrInserted_affectsChangedContacts()
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/net/module/util/
DBpfBitmapTest.java51 assertTrue(mTestBitmap.isEmpty()); in setUp()
58 assertFalse(mTestBitmap.isEmpty()); in testSet()
70 assertFalse(mTestBitmap.isEmpty()); in testSetThenUnset()
88 assertFalse(mTestBitmap.isEmpty()); in testSetAllThenUnsetAll()
91 assertTrue(mTestBitmap.isEmpty()); in testSetAllThenUnsetAll()
99 assertFalse(mTestBitmap.isEmpty()); in testClear()
101 assertTrue(mTestBitmap.isEmpty()); in testClear()
/packages/modules/Connectivity/bpf/headers/
DBpfMapTest.cpp100 Result<bool> isEmpty = map.isEmpty(); in expectMapEmpty() local
101 ASSERT_RESULT_OK(isEmpty); in expectMapEmpty()
102 ASSERT_TRUE(isEmpty.value()); in expectMapEmpty()
218 Result<bool> isEmpty = testMap.isEmpty(); in TEST_F() local
219 ASSERT_RESULT_OK(isEmpty); in TEST_F()
220 ASSERT_FALSE(isEmpty.value()); in TEST_F()
246 Result<bool> isEmpty = testMap.isEmpty(); in TEST_F() local
247 ASSERT_RESULT_OK(isEmpty); in TEST_F()
248 ASSERT_FALSE(*isEmpty); in TEST_F()
/packages/modules/UprobeStats/src/bpf/headers/
DBpfMapTest.cpp100 Result<bool> isEmpty = map.isEmpty(); in expectMapEmpty() local
101 ASSERT_RESULT_OK(isEmpty); in expectMapEmpty()
102 ASSERT_TRUE(isEmpty.value()); in expectMapEmpty()
218 Result<bool> isEmpty = testMap.isEmpty(); in TEST_F() local
219 ASSERT_RESULT_OK(isEmpty); in TEST_F()
220 ASSERT_FALSE(isEmpty.value()); in TEST_F()
246 Result<bool> isEmpty = testMap.isEmpty(); in TEST_F() local
247 ASSERT_RESULT_OK(isEmpty); in TEST_F()
248 ASSERT_FALSE(*isEmpty); in TEST_F()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/adservicesapi/
DDevSessionCommandTest.java81 assertThat(result.mOut).isEmpty(); in testRun_startDevSessionWithoutAcknowledgement_returnsErrorMessage()
97 assertThat(result.mOut).isEmpty(); in testRun_endDevSessionWithoutAcknowledgement_returnsErrorMessage()
114 assertThat(result.mErr).isEmpty(); in testRun_startDevSession_resetIsCalled()
131 assertThat(result.mOut).isEmpty(); in testRun_startDevSession_throwsErrorOnFailure()
163 assertThat(result.mOut).isEmpty(); in testRun_startDevSession_throwsErrorOnTimeout()
180 assertThat(result.mErr).isEmpty(); in testRun_endDevSession_resetIsCalled()
199 assertThat(result.mOut).isEmpty(); in testRun_startDevSessionInDevSession_returnsNoOpError()
218 assertThat(result.mOut).isEmpty(); in testRun_endDevSessionOutOfDevSession_returnsNoOpError()
234 assertThat(result.mOut).isEmpty(); in testRun_startDevSessionWithoutAcknowledgement_withServerTestKeysEnabled()
249 assertThat(result.mOut).isEmpty(); in testRun_endDevSessionWithoutAcknowledgement_withServerTestKeysEnabled()
[all …]

12345678910>>...157