Home
last modified time | relevance | path

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

12345678910

/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.java60 assertThat(structure.newChild(0)).isNull(); in testUnsupportedProperties()
63 assertThat(structure.asyncNewChild(0)).isNull(); in testUnsupportedProperties()
70 assertThat(node.getWebDomain()).isNull(); in testUnsupportedProperties()
72 assertThat(structure.newHtmlInfoBuilder("WHATEVER")).isNull(); in testUnsupportedProperties()
75 assertThat(node.getHtmlInfo()).isNull(); in testUnsupportedProperties()
79 assertThat(structure.getTempRect()).isNull(); in testUnsupportedProperties()
87 assertThat(node.getTransformation()).isNull(); in testUnsupportedProperties()
DContentCaptureContextTest.java53 assertThat(newCtx.getExtras()).isNull(); in testConstructorAdditionalFlags()
54 assertThat(newCtx.getLocusId()).isNull(); in testConstructorAdditionalFlags()
55 assertThat(newCtx.getParentSessionId()).isNull(); in testConstructorAdditionalFlags()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DArrayUtilsTest.java31 java.util.function.Predicate<Object> isNull = new java.util.function.Predicate<Object>() { in testUnstableRemoveIf() local
43 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
46 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
49 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
54 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
58 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
64 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
69 assertEquals(1, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
74 assertEquals(2, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
78 assertEquals(0, ArrayUtils.unstableRemoveIf(collection, isNull)); in testUnstableRemoveIf()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DActionProxyReceiverTest.java29 import static org.mockito.ArgumentMatchers.isNull;
89 eq(mContext), anyInt(), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testPendingIntentSentWithoutStatusBar()
100 any(Runnable.class), isNull(), anyBoolean(), anyBoolean(), anyBoolean()); in testPendingIntentSentWithStatusBar()
106 any(Runnable.class), isNull(), eq(true), eq(true), eq(true)); in testPendingIntentSentWithStatusBar()
108 eq(mContext), anyInt(), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testPendingIntentSentWithStatusBar()
DSmartActionsReceiverTest.java24 import static org.mockito.ArgumentMatchers.isNull;
75 eq(mContext), eq(0), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testSmartActionIntent()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
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 …]
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()
/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/servicestests/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/core/tests/coretests/src/android/content/pm/parsing/result/
DParseInputAndResultTest.kt82 assertThat(result.errorMessage).isNull() in errorCode()
83 assertThat(result.exception).isNull() in errorCode()
93 assertThat(result.exception).isNull() in errorMessage()
104 assertThat(result.exception).isNull() in errorCodeAndMessage()
166 assertThat(deferResult.exception).isNull() in deferErrorEnableFirstSdkR()
178 assertThat(result.exception).isNull() in deferErrorEnableLastSdkR()
209 assertThat(result.exception).isNull() in multipleDeferErrorKeepsFirst()
264 assertThat(result.errorMessage).isNull() in assertSuccess()
265 assertThat(result.exception).isNull() in assertSuccess()
271 assertThat(result.result).isNull() in assertError()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceTest.java117 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
121 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
131 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
138 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
142 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileConnectDisconnect()
173 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testMultipleProfileConnectDisconnect()
181 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
194 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
205 assertThat(mCachedDevice.getConnectionSummary()).isNull(); in getConnectionSummary_testSingleProfileActiveDeviceA2dp()
213 assertThat(mCachedDevice.getConnectionSummary(true /* shortSummary */)).isNull(); in getConnectionSummary_shortSummary_returnShortSummary()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuControllerTest.java115 assertThat(mController.mFloatingMenu).isNull(); in onUserUnlocked_keyguardShowing_destroyWidget()
128 assertThat(mController.mFloatingMenu).isNull(); in onKeyguardVisibilityChanged_showing_destroyWidget()
153 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitching_destroyWidget()
169 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitch_onKeyguardVisibilityChangedToTrue_destroyWidget()
207 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_floatingModeAndNoButtonTargets_destroyWidget()
219 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndHasButtonTargets_destroyWidget()
230 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndNoButtonTargets_destroyWidget()
254 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_floatingModeAndNoButtonTargets_destroyWidget()
266 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndHasButtonTargets_destroyWidget()
278 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndNoButtonTargets_destroyWidget()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java21 import static org.mockito.Matchers.isNull;
103 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
105 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De()
121 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
123 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce()
161 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De()
163 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De()
179 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce()
181 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce()
204 verify(mInstaller).destroyUserData(isNull(String.class), eq(3), in testReconcileUsers()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java204 .isNull(); in testPasswordToHistoryHashInvalidInput()
208 .isNull(); in testPasswordToHistoryHashInvalidInput()
212 .isNull(); in testPasswordToHistoryHashInvalidInput()
216 .isNull(); in testPasswordToHistoryHashInvalidInput()
221 .isNull(); in testPasswordToHistoryHashInvalidInput()
245 assertThat(credential.legacyPasswordToHash(/* salt= */ null)).isNull(); in testLegacyPasswordToHashInvalidInput()
247 password.getBytes(), /* salt= */ null)).isNull(); in testLegacyPasswordToHashInvalidInput()
252 .isNull(); in testLegacyPasswordToHashInvalidInput()
/frameworks/base/services/tests/servicestests/src/com/android/server/autofill/
DAutofillManagerServiceTest.java33 assertThat(getWhitelistedCompatModePackages(null)).isNull(); in testGetWhitelistedCompatModePackages_null()
38 assertThat(getWhitelistedCompatModePackages("")).isNull(); in testGetWhitelistedCompatModePackages_empty()
73 assertThat(result.get("one")).isNull(); in testGetWhitelistedCompatModePackages_multiplePackagesOneInvalid()
82 assertThat(result.get("p2")).isNull(); in testGetWhitelistedCompatModePackages_multiplePackagesMultipleUrls()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
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()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DOverlayActorVisibilityTest.kt98 assertThat(device.installJavaResourceApk(tempFolder, ACTOR_APK, false)).isNull() in testVisibilityByOverlayable()
99 assertThat(device.installJavaResourceApk(tempFolder, OVERLAY_APK, false)).isNull() in testVisibilityByOverlayable()
101 .isNull() in testVisibilityByOverlayable()
108 assertThat(device.installJavaResourceApk(tempFolder, TARGET_APK, true)).isNull() in testVisibilityByOverlayable()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationLegacySettingsTest.kt82 assertWithMessage(xml).that(newSettings.remove("com.test.one")).isNull() in writeAndReadBackNormal()
96 assertWithMessage(xml).that(newSettings.remove("com.test.two")).isNull() in writeAndReadBackNormal()
97 assertWithMessage(xml).that(newSettings.getUserStates("com.test.two")).isNull() in writeAndReadBackNormal()
99 assertWithMessage(xml).that(newSettings.remove("com.test.three")).isNull() in writeAndReadBackNormal()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DCustomTileStatePersisterTest.kt129 assertThat(customTileStatePersister.readState(KEY)).isNull() in testReadStateDefault()
134 assertThat(tile.label).isNull() in testStoreNulls()
140 assertThat(readTileFromString(stringCaptor.value).label).isNull() in testStoreNulls()
145 assertThat(tile.label).isNull() in testReadNulls()
150 assertThat(customTileStatePersister.readState(KEY)!!.label).isNull() in testReadNulls()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/eapaka/
DMasterKeyTest.java54 assertThat(masterKey).isNull(); in generateTransientEapKeys_withoutImsiEap_getNull()
65 assertThat(masterKey).isNull(); in generateTransientEapKeys_withoutIk_getNull()
76 assertThat(masterKey).isNull(); in generateTransientEapKeys_withoutCk_getNull()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/
DEapAkaHelperTest.java88 assertThat(result).isNull(); in getEapAkaRootNai_invalidMccMnc_returnNull()
124 assertThat(response).isNull(); in getEapAkaChallengeResponse_getIccAuthenticationFailed()
144 assertThat(response.synchronizationFailureResponse()).isNull(); in getEapAkaResponse()
163 assertThat(response.response()).isNull(); in getEapAkaResponse_synchronizationFailure()
181 assertThat(response).isNull(); in getEapAkaResponse_getIccAuthenticationFailed()
/frameworks/base/telephony/java/android/telephony/
DSmsCbMessage.java645 if (plmnColumn != -1 && !cursor.isNull(plmnColumn)) { in createFromCursor()
653 if (lacColumn != -1 && !cursor.isNull(lacColumn)) { in createFromCursor()
661 if (cidColumn != -1 && !cursor.isNull(cidColumn)) { in createFromCursor()
672 if (etwsWarningTypeColumn != -1 && !cursor.isNull(etwsWarningTypeColumn) in createFromCursor()
673 && etwsIsPrimaryColumn != -1 && !cursor.isNull(etwsIsPrimaryColumn)) { in createFromCursor()
683 if (cmasMessageClassColumn != -1 && !cursor.isNull(cmasMessageClassColumn)) { in createFromCursor()
688 if (cmasCategoryColumn != -1 && !cursor.isNull(cmasCategoryColumn)) { in createFromCursor()
696 if (cmasResponseTypeColumn != -1 && !cursor.isNull(cmasResponseTypeColumn)) { in createFromCursor()
704 if (cmasSeverityColumn != -1 && !cursor.isNull(cmasSeverityColumn)) { in createFromCursor()
712 if (cmasUrgencyColumn != -1 && !cursor.isNull(cmasUrgencyColumn)) { in createFromCursor()
[all …]
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DFullBackupJobTest.java86 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserOneId))).isNull(); in testCancel_afterCancelling_jobDoesntExist()
87 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserTwoId))).isNull(); in testCancel_afterCancelling_jobDoesntExist()
95 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserTwoId))).isNull(); in testSchedule_onlySchedulesForRequestedUser()
104 assertThat(mShadowJobScheduler.getPendingJob(getJobIdForUserId(mUserOneId))).isNull(); in testCancel_onlyCancelsForRequestedUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DMultiClientInputMethodManagerServiceTest.java51 emptyList())).isNull(); in testQueryInputMethod_noIMEFound()
57 asList(new ResolveInfo(), new ResolveInfo()))).isNull(); in testQueryInputMethod_multipleIMEsFound()
68 asList(imeService))).isNull(); in testQueryInputMethod_IMEFound_invalidPermission()

12345678910