Home
last modified time | relevance | path

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

12345678910>>...18

/aosp14/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
H A 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()
103 assertThat(event.getId()).isNull(); in testSetAutofillIds()
113 assertThat(event.getId()).isNull(); in testAddAutofillId()
118 assertThat(event.getId()).isNull(); in testAddAutofillId()
133 assertThat(event.getId()).isNull(); in testAddAutofillId_afterSetId()
[all …]
H A 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()
H A DMainContentCaptureSessionTest.java88 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionEnabled_processorCreated()
105 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionDisabled_processorNotCreated()
121 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
132 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_noComponentName_processorNotCreated()
146 assertThat(session.mEvents).isNull(); in sendEvent_contentCaptureDisabled_contentProtectionDisabled()
160 assertThat(session.mEvents).isNull(); in sendEvent_contentCaptureDisabled_contentProtectionEnabled()
200 assertThat(session.mEvents).isNull(); in sendEvent_contentProtectionEnabled_processorNotCreated()
279 assertThat(session.mDirectServiceInterface).isNull(); in destroySession()
280 assertThat(session.mContentProtectionEventProcessor).isNull(); in destroySession()
292 assertThat(session.mDirectServiceInterface).isNull(); in resetSession()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/domain/interactor/
H A DBouncerMessageInteractorTest.kt122 assertThat(repository.customMessage.value).isNull()
123 assertThat(repository.faceAcquisitionMessage.value).isNull()
125 assertThat(repository.primaryAuthMessage.value).isNull()
139 assertThat(repository.customMessage.value).isNull()
140 assertThat(repository.faceAcquisitionMessage.value).isNull()
142 assertThat(repository.primaryAuthMessage.value).isNull()
158 assertThat(customMessage.value).isNull()
176 assertThat(faceAcquisitionMessage.value).isNull()
194 assertThat(fingerprintAcquisitionMessage.value).isNull()
231 assertThat(repository.customMessage.value).isNull()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DKernelCpuThreadReaderDiffTest.java68 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_empty()
79 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_simple()
94 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_failure()
100 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_failure()
116 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_twoFailures()
125 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_twoFailures()
137 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_negativeDiff()
151 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_threshold()
177 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_newThread()
199 assertThat(kernelCpuThreadReaderDiff.getProcessCpuUsageDiffed()).isNull(); in test_stoppedThread()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DInflatedSmartRepliesTest.java123 assertThat(smartReplyState.getSmartReplies()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions()
124 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noAppGeneratedSmartSuggestions()
141 assertThat(smartReplyState.getSmartReplies()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions()
142 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_smartRepliesOff_noSystemGeneratedSmartSuggestions()
158 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_appGeneratedSmartReplies()
199 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_sysGeneratedSmartReplies()
216 assertThat(smartReplyState.getSmartReplies()).isNull(); in chooseSmartRepliesAndActions_noSysGeneratedSmartRepliesIfNotAllowed()
217 assertThat(smartReplyState.getSmartActions()).isNull(); in chooseSmartRepliesAndActions_noSysGeneratedSmartRepliesIfNotAllowed()
235 assertThat(smartReplyState.getSmartReplies()).isNull(); in chooseSmartRepliesAndActions_sysGeneratedSmartActions()
268 assertThat(smartReplyState.getSmartReplies()).isNull(); in chooseSmartRepliesAndActions_sysGeneratedPhishingSmartAction()
[all …]
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DArrayUtilsTest.java281 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
284 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
287 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
292 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
296 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
302 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
307 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
312 assertEquals(2, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
316 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
323 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DActionProxyReceiverTest.java29 import static org.mockito.ArgumentMatchers.isNull;
86 any(Runnable.class), isNull(), anyBoolean(), anyBoolean(), anyBoolean()); in testPendingIntentSentWithStatusBar()
92 any(Runnable.class), isNull(), eq(true), eq(true), eq(true)); in testPendingIntentSentWithStatusBar()
94 eq(mContext), anyInt(), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testPendingIntentSentWithStatusBar()
H A DSmartActionsReceiverTest.java24 import static org.mockito.ArgumentMatchers.isNull;
75 eq(mContext), eq(0), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testSmartActionIntent()
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
H A DSettingsEntryTest.kt74 assertThat(entry.fromPage).isNull()
75 assertThat(entry.toPage).isNull()
112 assertThat(entryInject.fromPage).isNull()
126 assertThat(entryInject.fromPage).isNull()
144 assertThat(entry.fromPage).isNull()
145 assertThat(entry.toPage).isNull()
163 assertThat(entryDisabled.fromPage).isNull()
164 assertThat(entryDisabled.toPage).isNull()
179 assertThat(entry3.fromPage).isNull()
180 assertThat(entry3.toPage).isNull()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/parsing/result/
H A DParseInputAndResultTest.kt84 assertThat(result.errorMessage).isNull()
85 assertThat(result.exception).isNull()
95 assertThat(result.exception).isNull()
106 assertThat(result.exception).isNull()
180 assertThat(result.exception).isNull()
211 assertThat(result.exception).isNull()
266 assertThat(result.errorMessage).isNull()
267 assertThat(result.exception).isNull()
273 assertThat(result.result).isNull()
280 assertThat(this.errorMessage).isNull()
[all …]
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/
H A DPowerInteractorTest.kt107 assertThat(repository.lastWakeWhy).isNull()
108 assertThat(repository.lastWakeReason).isNull()
118 assertThat(repository.lastWakeWhy).isNull()
119 assertThat(repository.lastWakeReason).isNull()
147 assertThat(repository.lastWakeWhy).isNull()
148 assertThat(repository.lastWakeReason).isNull()
207 assertThat(repository.lastWakeWhy).isNull()
208 assertThat(repository.lastWakeReason).isNull()
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/
H A DParameterTest.kt80 assertThat(emptyArguments.normalize()).isNull()
140 ).isNull()
148 ).isNull()
150 assertThat(navArguments.getStringArg("string_param")).isNull()
174 ).isNull()
176 assertThat(navArguments.getIntArg("int_param")).isNull()
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
H A DSliceUtilTest.kt38 assertThat(Uri.EMPTY.getEntryId()).isNull()
39 assertThat(Uri.EMPTY.getDestination()).isNull()
41 assertThat(Uri.EMPTY.getSliceId()).isNull()
65 assertThat(Uri.EMPTY.createBroadcastPendingIntent()).isNull()
82 assertThat(Uri.EMPTY.createBrowsePendingIntent()).isNull()
85 assertThat(Intent().createBrowsePendingIntent()).isNull()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
H A DInternetTileViewModelTest.kt152 assertThat(latest?.secondaryLabel).isNull()
154 assertThat(latest?.iconId).isNull()
184 assertThat(latest?.secondaryLabel).isNull()
187 assertThat(latest?.icon).isNull()
205 assertThat(latest?.secondaryLabel).isNull()
207 assertThat(latest?.iconId).isNull()
218 assertThat(latest?.secondaryLabel).isNull()
222 assertThat(latest?.icon).isNull()
233 assertThat(latest?.secondaryLabel).isNull()
237 assertThat(latest?.icon).isNull()
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DUserDataPreparerTest.java23 import static org.mockito.Matchers.isNull;
97 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
99 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
115 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
117 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
149 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De()
151 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De()
173 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce()
175 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce()
203 verify(mInstaller).destroyUserData(isNull(String.class), eq(3), in testReconcileUsers()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DPowerGroupTest.java44 import static org.mockito.ArgumentMatchers.isNull;
104 isNull()); in testWakePowerGroup()
124 isNull()); in testDreamPowerGroup()
135 eq(UID), /* opUid= */ anyInt(), /* opPackageName= */ isNull(), in testDozePowerGroup()
136 /* details= */ isNull()); in testDozePowerGroup()
144 eq(UID), /* opUid= */ anyInt(), /* opPackageName= */ isNull(), in testDozePowerGroupWhenNonInteractiveHasNoEffect()
145 /* details= */ isNull()); in testDozePowerGroupWhenNonInteractiveHasNoEffect()
162 eq(UID), /* opUid= */ anyInt(), /* opPackageName= */ isNull(), in testSleepPowerGroup()
163 /* details= */ isNull()); in testSleepPowerGroup()
172 /* details= */ isNull()); in testDreamPowerGroupWhenNotAwakeHasNoEffect()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DUserPowerCalculatorTest.java58 assertThat(mStatsRule.getUserBatteryConsumer(USER1)).isNull(); in testAllUsers()
65 assertThat(mStatsRule.getUserBatteryConsumer(USER2)).isNull(); in testAllUsers()
82 assertThat(mStatsRule.getUserBatteryConsumer(USER1)).isNull(); in testSpecificUser()
88 assertThat(mStatsRule.getUidBatteryConsumer(UserHandle.getUid(USER1, APP_UID2))).isNull(); in testSpecificUser()
100 assertThat(mStatsRule.getUidBatteryConsumer(UserHandle.getUid(USER2, APP_UID1))).isNull(); in testSpecificUser()
101 assertThat(mStatsRule.getUidBatteryConsumer(UserHandle.getUid(USER2, APP_UID2))).isNull(); in testSpecificUser()
102 assertThat(mStatsRule.getUidBatteryConsumer(UserHandle.getUid(USER2, APP_UID3))).isNull(); in testSpecificUser()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
H A DRemoteLockscreenValidationSessionStorageTest.java48 assertThat(mStorage.get(USER_ID)).isNull(); in get_noStoredSessions_returnsNull()
56 assertThat(mStorage.get(USER_ID_2)).isNull(); in startSession()
65 assertThat(mStorage.get(USER_ID)).isNull(); in finishSession_removesSessionFromStorage()
81 assertThat(mStorage.get(USER_ID)).isNull(); in getLockscreenValidationCleanupTask()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DSecurityEventTest.java117 assertThat(event.redact(11)).isNull(); in testSecurityEventRedaction()
124 assertThat(event.redact(11)).isNull(); in testSecurityEventRedaction()
131 assertThat(event.redact(0)).isNull(); in testSecurityEventRedaction()
139 assertThat(event.redact(10)).isNull(); in testSecurityEventRedaction()
147 assertThat(event.redact(10)).isNull(); in testSecurityEventRedaction()
155 assertThat(event.redact(10)).isNull(); in testSecurityEventRedaction()
163 assertThat(event.redact(10)).isNull(); in testSecurityEventRedaction()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/
H A DAutofillManagerServiceTest.java33 assertThat(getAllowedCompatModePackages(null)).isNull(); in testGetAllowedCompatModePackages_null()
38 assertThat(getAllowedCompatModePackages("")).isNull(); in testGetAllowedCompatModePackages_empty()
73 assertThat(result.get("one")).isNull(); in testGetAllowedCompatModePackages_multiplePackagesOneInvalid()
82 assertThat(result.get("p2")).isNull(); in testGetAllowedCompatModePackages_multiplePackagesMultipleUrls()
/aosp14/frameworks/base/services/tests/BackgroundInstallControlServiceTests/host/src/com/android/server/pm/test/
H A DBackgroundInstallControlServiceHostTest.java55 assertThat(getDevice().uninstallPackage(MOCK_PACKAGE_NAME_1)).isNull(); in testGetMockBackgroundInstalledPackages()
56 assertThat(getDevice().uninstallPackage(MOCK_PACKAGE_NAME_2)).isNull(); in testGetMockBackgroundInstalledPackages()
58 assertThat(getDevice().getAppPackageInfo(MOCK_PACKAGE_NAME_1)).isNull(); in testGetMockBackgroundInstalledPackages()
59 assertThat(getDevice().getAppPackageInfo(MOCK_PACKAGE_NAME_2)).isNull(); in testGetMockBackgroundInstalledPackages()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuControllerTest.java153 assertThat(mController.mFloatingMenu).isNull(); in onUserUnlocked_keyguardShowing_destroyWidget()
167 assertThat(mController.mFloatingMenu).isNull(); in onKeyguardVisibilityChanged_showing_destroyWidget()
193 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitching_destroyWidget()
210 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitch_onKeyguardVisibilityChangedToTrue_destroyWidget()
248 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_floatingModeAndNoButtonTargets_destroyWidget()
260 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndHasButtonTargets_destroyWidget()
271 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndNoButtonTargets_destroyWidget()
295 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_floatingModeAndNoButtonTargets_destroyWidget()
307 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndHasButtonTargets_destroyWidget()
319 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndNoButtonTargets_destroyWidget()

12345678910>>...18