Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 25 of 654) sorted by relevance

12345678910>>...27

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccFileHandlerTest.java27 import static org.mockito.ArgumentMatchers.isNull;
110 isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed_WithNullPath()
115 anyInt(), anyInt(), anyInt(), isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed_WithNullPath()
129 isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed()
134 anyInt(), anyInt(), anyInt(), isNull(), isNull(), isNull(), any(Message.class)); in loadEFLinearFixed()
148 isNull(), isNull(), isNull(), any(Message.class)); in loadEFImgLinearFixed()
153 anyInt(), anyInt(), anyInt(), isNull(), isNull(), isNull(), any(Message.class)); in loadEFImgLinearFixed()
167 isNull(), isNull(), isNull(), any(Message.class)); in getEFLinearRecordSize_WithNullPath()
172 anyInt(), anyInt(), anyInt(), isNull(), isNull(), isNull(), any(Message.class)); in getEFLinearRecordSize_WithNullPath()
186 isNull(), isNull(), isNull(), any(Message.class)); in getEFLinearRecordSize()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureEventTest.java63 assertThat(event.getId()).isNull(); in testSetAutofillId_null()
64 assertThat(event.getIds()).isNull(); in testSetAutofillId_null()
72 assertThat(event.getId()).isNull(); in testSetAutofillIds_null()
73 assertThat(event.getIds()).isNull(); in testSetAutofillIds_null()
81 assertThat(event.getId()).isNull(); in testAddAutofillId_null()
82 assertThat(event.getIds()).isNull(); in testAddAutofillId_null()
92 assertThat(event.getIds()).isNull(); in testSetAutofillId()
103 assertThat(event.getId()).isNull(); in testSetAutofillIds()
113 assertThat(event.getId()).isNull(); in testAddAutofillId()
118 assertThat(event.getId()).isNull(); in testAddAutofillId()
[all …]
DViewNodeTest.java61 assertThat(mViewStructure.newChild(0)).isNull(); in testUnsupportedProperties()
64 assertThat(mViewStructure.asyncNewChild(0)).isNull(); in testUnsupportedProperties()
71 assertThat(mViewNode.getWebDomain()).isNull(); in testUnsupportedProperties()
73 assertThat(mViewStructure.newHtmlInfoBuilder("WHATEVER")).isNull(); in testUnsupportedProperties()
76 assertThat(mViewNode.getHtmlInfo()).isNull(); in testUnsupportedProperties()
80 assertThat(mViewStructure.getTempRect()).isNull(); in testUnsupportedProperties()
88 assertThat(mViewNode.getTransformation()).isNull(); in testUnsupportedProperties()
93 assertThat(mViewNode.getTextIdEntry()).isNull(); in testGetSet_textIdEntry()
DMainContentCaptureSessionTest.java107 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionEnabled_processorCreated()
126 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionDisabled_processorNotCreated()
147 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
168 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionNoGroups_processorNotCreated()
180 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_noComponentName_processorNotCreated()
195 assertThat(session.mEvents).isNull(); in sendEvent_contentCaptureDisabled_contentProtectionDisabled()
210 assertThat(session.mEvents).isNull(); in sendEvent_contentCaptureDisabled_contentProtectionEnabled()
253 assertThat(session.mEvents).isNull(); in sendEvent_contentProtectionEnabled_processorNotCreated()
337 assertThat(session.mDirectServiceInterface).isNull(); in destroySession()
338 assertThat(session.mContentProtectionEventProcessor).isNull(); in destroySession()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/analytics/
DSmsMmsAnalyticsProviderTest.java27 import static org.mockito.ArgumentMatchers.isNull;
105 isNull(), in mockAndVerifyCall()
106 isNull(), in mockAndVerifyCall()
107 isNull(), in mockAndVerifyCall()
108 isNull())) in mockAndVerifyCall()
117 isNull(), in mockAndVerifyCall()
118 isNull(), in mockAndVerifyCall()
119 isNull(), in mockAndVerifyCall()
120 isNull()); in mockAndVerifyCall()
319 isNull(), in testAggregate()
[all …]
DCallAnalyticsProviderTest.java28 import static org.mockito.ArgumentMatchers.isNull;
119 isNull(), in testAggregate()
120 isNull(), in testAggregate()
121 isNull(), in testAggregate()
122 isNull())) in testAggregate()
130 isNull(), in testAggregate()
150 isNull(), in testAggregate()
151 isNull(), in testAggregate()
152 isNull(), in testAggregate()
153 isNull()); in testAggregate()
[all …]
DServiceStateAnalyticsProviderTest.java29 import static org.mockito.ArgumentMatchers.isNull;
142 isNull(), in testInsertDataToDb()
143 isNull(), in testInsertDataToDb()
144 isNull(), in testInsertDataToDb()
145 isNull())) in testInsertDataToDb()
155 isNull(), in testInsertDataToDb()
156 isNull(), in testInsertDataToDb()
157 isNull(), in testInsertDataToDb()
158 isNull()); in testInsertDataToDb()
265 isNull(), in setWhenClauseForGetCursor()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DPrimaryBouncerToAodTransitionViewModelTest.kt102 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
105 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
108 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
111 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
114 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
126 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
129 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
132 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
135 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
138 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
DOccludedToAodTransitionViewModelTest.kt106 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
109 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
112 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
115 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
118 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled_noUpdates()
131 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
134 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
137 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
140 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
143 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DGroupedAggregatedLogRecordsTest.java58 assertThat(records.add(createRecord(GROUP_1, KEY_1, createTime++))).isNull(); in record_noAggregation_keepsIndividualRecords()
73 assertThat(records.add(firstRecord)).isNull(); in record_sizeLimit_dropsOldestEntriesForNewOnes()
74 assertThat(records.add(createRecord(GROUP_1, KEY_1, createTime++))).isNull(); in record_sizeLimit_dropsOldestEntriesForNewOnes()
95 assertThat(records.add(createRecord(GROUP_1, KEY_1, createTime))).isNull(); in record_timeAggregation_aggregatesCloseRecordAndPrintsOnlyFirstAndLast()
96 assertThat(records.add(createRecord(GROUP_1, KEY_1, createTime + 1))).isNull(); in record_timeAggregation_aggregatesCloseRecordAndPrintsOnlyFirstAndLast()
98 createTime + AGGREGATION_TIME_LIMIT - 2))).isNull(); in record_timeAggregation_aggregatesCloseRecordAndPrintsOnlyFirstAndLast()
100 createTime + AGGREGATION_TIME_LIMIT - 1))).isNull(); in record_timeAggregation_aggregatesCloseRecordAndPrintsOnlyFirstAndLast()
116 assertThat(records.add(createRecord(GROUP_1, KEY_1, createTime++))).isNull(); in record_differentGroups_recordsKeptSeparate()
117 assertThat(records.add(createRecord(GROUP_1, KEY_1, createTime++))).isNull(); in record_differentGroups_recordsKeptSeparate()
118 assertThat(records.add(createRecord(GROUP_2, KEY_2, createTime++))).isNull(); in record_differentGroups_recordsKeptSeparate()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DAppIconCacheManagerTest.java93 assertThat(mAppIconCacheManager.get(/* packageName= */ null, /* uid= */ -1)).isNull(); in get_invalidPackageOrUid_shouldReturnNull()
106 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME, APP_UID)).isNull(); in put_invalidIcon_shouldNotCacheIcon()
116 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME, APP_UID)).isNull(); in put_invalidIconSize_shouldNotCacheIcon()
140 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME, APP_UID)).isNull(); in release_existInstance_shouldClearCache()
155 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME1, APP_UID)).isNull(); in trimMemory_levelSatisfied_shouldNotCacheIcon()
156 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME2, APP_UID)).isNull(); in trimMemory_levelSatisfied_shouldNotCacheIcon()
157 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME3, APP_UID)).isNull(); in trimMemory_levelSatisfied_shouldNotCacheIcon()
176 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME2, APP_UID)).isNull(); in trimMemory_levelSatisfied_shouldCacheAtLeastHalf()
177 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME3, APP_UID)).isNull(); in trimMemory_levelSatisfied_shouldCacheAtLeastHalf()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DUserDataPreparerTest.java23 import static org.mockito.Matchers.isNull;
101 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
103 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
118 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
120 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
132 .prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_forNewUser_destroysOnFailure()
135 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_forNewUser_destroysOnFailure()
143 .prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_forExistingUser_doesNotDestroyOnFailure()
146 verify(mStorageManagerMock, never()).destroyUserStorage(isNull(String.class), in testPrepareUserData_forExistingUser_doesNotDestroyOnFailure()
174 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DGoneToAodTransitionViewModelTest.kt166 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled()
169 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled()
172 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled()
175 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled()
178 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_rearFpEnrolled()
191 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
194 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
197 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
200 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
203 assertThat(deviceEntryParentViewAlpha).isNull() in deviceEntryParentViewAlpha_udfpsNotEnrolled_noUpdates()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuThreadReaderDiffTest.java74 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_empty()
85 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_simple()
100 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_failure()
106 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_failure()
122 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_twoFailures()
131 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_twoFailures()
143 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_negativeDiff()
157 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_threshold()
183 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_newThread()
205 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_stoppedThread()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/ui/viewmodel/
DDeviceBasedSatelliteViewModelTest.kt102 assertThat(latest).isNull() in icon_nullWhenShouldNotShow_satelliteNotAllowed()
122 assertThat(latest).isNull() in icon_nullWhenShouldNotShow_notAllOos()
152 assertThat(latest).isNull() in icon_nullWhenShouldNotShow_isEmergencyOnly()
172 assertThat(latest).isNull() in icon_nullWhenShouldNotShow_apmIsEnabled()
217 assertThat(latest).isNull() in icon_hysteresisWhenEnablingIcon()
229 assertThat(latest).isNull() in icon_hysteresisWhenEnablingIcon()
253 assertThat(latest).isNull() in icon_deviceIsProvisioned()
289 assertThat(latest).isNull() in icon_wifiIsActive()
318 assertThat(latest).isNull() in carrierText_nullWhenShouldNotShow_satelliteNotAllowed()
339 assertThat(latest).isNull() in carrierText_nullWhenShouldNotShow_notAllOos()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DA11yShortcutAutoAddableTest.kt51 assertThat(signal).isNull() // null means no emitted value in settingNotSet_noSignal()
58 assertThat(signal).isNull() in settingSetWithTarget_addSignal()
72 assertThat(signal).isNull() in settingSetWithoutTarget_removeSignal()
86 assertThat(signal).isNull() in settingSetWithMultipleComponents_containsTarget_addSignal()
100 assertThat(signal).isNull() in settingSetWithMultipleComponents_doesNotContainTarget_removeSignal()
150 assertThat(signalTargetUser).isNull() in settingSetWithTargetForUsers_onlySignalInThatUser()
151 assertThat(signalOtherUser).isNull() in settingSetWithTargetForUsers_onlySignalInThatUser()
159 assertThat(signalOtherUser).isNull() in settingSetWithTargetForUsers_onlySignalInThatUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DInflatedSmartRepliesTest.java123 assertThat(smartReplyState.getSmartReplies()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions()
124 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions()
125 assertThat(smartReplyState.getSuppressedActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions()
141 assertThat(smartReplyState.getSmartReplies()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions()
142 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions()
143 assertThat(smartReplyState.getSuppressedActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions()
158 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_appGeneratedSmartReplies()
159 assertThat(smartReplyState.getSuppressedActions()).isNull(); in chooseSmartRepliesAndActions_appGeneratedSmartReplies()
179 assertThat(smartReplyState.getSuppressedActions()).isNull(); in chooseSmartRepliesAndActions_appGeneratedSmartRepliesAndActions()
199 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_sysGeneratedSmartReplies()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DFullBackupRestoreObserverUtilsTest.java54 assertThat(result).isNull(); in sendStartRestore_observerIsNull_returnsNull()
73 assertThat(result).isNull(); in sendStartRestore_observerThrows_returnsNull()
82 assertThat(result).isNull(); in sendOnRestorePackage_observerIsNull_returnsNull()
102 assertThat(result).isNull(); in sendOnRestorePackage_observerThrows_returnsNull()
110 assertThat(result).isNull(); in sendEndRestore_observerIsNull_returnsNull()
129 assertThat(result).isNull(); in sendEndRestore_observerThrows_returnsNull()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DSmartActionsReceiverTest.java24 import static org.mockito.ArgumentMatchers.isNull;
75 eq(mContext), eq(0), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testSmartActionIntent()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryTest.kt74 assertThat(entry.fromPage).isNull() in testBuildBasic()
75 assertThat(entry.toPage).isNull() in testBuildBasic()
112 assertThat(entryInject.fromPage).isNull() in testBuildInject()
126 assertThat(entryInject.fromPage).isNull() in testBuildRoot()
144 assertThat(entry.fromPage).isNull() in testSetAttributes()
145 assertThat(entry.toPage).isNull() in testSetAttributes()
163 assertThat(entryDisabled.fromPage).isNull() in testSetAttributes()
164 assertThat(entryDisabled.toPage).isNull() in testSetAttributes()
179 assertThat(entry3.fromPage).isNull() in testSetAttributes()
180 assertThat(entry3.toPage).isNull() in testSetAttributes()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt84 assertThat(result.errorMessage).isNull() in errorCode()
85 assertThat(result.exception).isNull() in errorCode()
95 assertThat(result.exception).isNull() in errorMessage()
106 assertThat(result.exception).isNull() in errorCodeAndMessage()
168 assertThat(deferResult.exception).isNull() in deferErrorEnableFirstSdkR()
180 assertThat(result.exception).isNull() in deferErrorEnableLastSdkR()
211 assertThat(result.exception).isNull() in multipleDeferErrorKeepsFirst()
266 assertThat(result.errorMessage).isNull() in assertSuccess()
267 assertThat(result.exception).isNull() in assertSuccess()
273 assertThat(result.result).isNull() in assertError()
[all …]
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
DParameterTest.kt80 assertThat(emptyArguments.normalize()).isNull() in normalizeTest()
140 ).isNull() in getArgTest()
148 ).isNull() in getArgTest()
150 assertThat(navArguments.getStringArg("string_param")).isNull() in getArgTest()
174 ).isNull() in getArgTest()
176 assertThat(navArguments.getIntArg("int_param")).isNull() in getArgTest()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
DSliceUtilTest.kt38 assertThat(Uri.EMPTY.getEntryId()).isNull() in sliceUriTest()
39 assertThat(Uri.EMPTY.getDestination()).isNull() in sliceUriTest()
41 assertThat(Uri.EMPTY.getSliceId()).isNull() in sliceUriTest()
65 assertThat(Uri.EMPTY.createBroadcastPendingIntent()).isNull() in createBroadcastPendingIntentTest()
82 assertThat(Uri.EMPTY.createBrowsePendingIntent()).isNull() in createBrowsePendingIntentTest()
85 assertThat(Intent().createBrowsePendingIntent()).isNull() in createBrowsePendingIntentTest()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuControllerTest.java149 assertThat(mController.mFloatingMenu).isNull(); in onUserUnlocked_keyguardShowing_destroyWidget()
163 assertThat(mController.mFloatingMenu).isNull(); in onKeyguardVisibilityChanged_showing_destroyWidget()
189 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitching_destroyWidget()
206 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitch_onKeyguardVisibilityChangedToTrue_destroyWidget()
243 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_floatingModeAndNoButtonTargets_destroyWidget()
254 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndHasButtonTargets_destroyWidget()
264 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndNoButtonTargets_destroyWidget()
286 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_floatingModeAndNoButtonTargets_destroyWidget()
297 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndHasButtonTargets_destroyWidget()
308 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndNoButtonTargets_destroyWidget()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java313 java.util.function.Predicate<Object> isNull = new java.util.function.Predicate<Object>() { in testUnstableRemoveIf() local
325 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
328 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
331 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
336 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
340 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
346 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
351 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
356 assertEquals(2, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
360 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
[all …]

12345678910>>...27