/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ContentCaptureEventTest.java | 63 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 …]
|
D | ViewNodeTest.java | 60 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()
|
D | ContentCaptureContextTest.java | 55 assertThat(newCtx.getExtras()).isNull(); in testConstructorAdditionalFlags() 56 assertThat(newCtx.getLocusId()).isNull(); in testConstructorAdditionalFlags() 57 assertThat(newCtx.getParentSessionId()).isNull(); in testConstructorAdditionalFlags()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 31 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/ |
D | ActionProxyReceiverTest.java | 29 import static org.mockito.ArgumentMatchers.isNull; 90 eq(mContext), anyInt(), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testPendingIntentSentWithoutStatusBar() 101 any(Runnable.class), isNull(), anyBoolean(), anyBoolean(), anyBoolean()); in testPendingIntentSentWithStatusBar() 107 any(Runnable.class), isNull(), eq(true), eq(true), eq(true)); in testPendingIntentSentWithStatusBar() 109 eq(mContext), anyInt(), isNull(), isNull(), isNull(), isNull(), any(Bundle.class)); in testPendingIntentSentWithStatusBar()
|
D | SmartActionsReceiverTest.java | 24 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/ |
D | KernelCpuThreadReaderDiffTest.java | 68 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 …]
|
D | UserPowerCalculatorTest.java | 58 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/ |
D | InflatedSmartRepliesTest.java | 123 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/ |
D | FullBackupRestoreObserverUtilsTest.java | 54 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/ |
D | ParseInputAndResultTest.kt | 84 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/services/tests/PackageManagerServiceTests/server/src/com/android/server/ |
D | UserDataPreparerTest.java | 21 import static org.mockito.Matchers.isNull; 95 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De() 97 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_De() 113 verify(mStorageManagerMock).prepareUserStorage(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce() 115 verify(mInstaller).createUserData(isNull(String.class), eq(TEST_USER_ID), in testPrepareUserData_Ce() 153 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De() 155 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_De() 171 verify(mInstaller).destroyUserData(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce() 173 verify(mStorageManagerMock).destroyUserStorage(isNull(String.class), eq(TEST_USER_ID), in testDestroyUserData_Ce() 196 verify(mInstaller).destroyUserData(isNull(String.class), eq(3), in testReconcileUsers()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuControllerTest.java | 132 assertThat(mController.mFloatingMenu).isNull(); in onUserUnlocked_keyguardShowing_destroyWidget() 145 assertThat(mController.mFloatingMenu).isNull(); in onKeyguardVisibilityChanged_showing_destroyWidget() 170 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitching_destroyWidget() 186 assertThat(mController.mFloatingMenu).isNull(); in onUserSwitch_onKeyguardVisibilityChangedToTrue_destroyWidget() 224 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_floatingModeAndNoButtonTargets_destroyWidget() 236 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndHasButtonTargets_destroyWidget() 247 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonModeChanged_navBarModeAndNoButtonTargets_destroyWidget() 271 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_floatingModeAndNoButtonTargets_destroyWidget() 283 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndHasButtonTargets_destroyWidget() 295 assertThat(mController.mFloatingMenu).isNull(); in onAccessibilityButtonTargetsChanged_navBarModeAndNoButtonTargets_destroyWidget()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
D | LockscreenCredentialTest.java | 204 .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/ |
D | AutofillManagerServiceTest.java | 33 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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SecurityEventTest.java | 117 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/servicestests/src/com/android/server/power/ |
D | PowerGroupTest.java | 45 import static org.mockito.ArgumentMatchers.isNull; 104 eq(UID), /* opUid= */anyInt(), /* opPackageName= */ isNull(), /* details= */ in testWakePowerGroup() 105 isNull()); in testWakePowerGroup() 113 /* opUid= */ anyInt(), /* opPackageName= */ isNull(), eq(details)); in testWakePowerGroup() 124 eq(UID), /* opUid= */anyInt(), /* opPackageName= */ isNull(), /* details= */ in testDreamPowerGroup() 125 isNull()); in testDreamPowerGroup() 136 eq(UID), /* opUid= */ anyInt(), /* opPackageName= */ isNull(), in testDozePowerGroup() 137 /* details= */ isNull()); in testDozePowerGroup() 145 eq(UID), /* opUid= */ anyInt(), /* opPackageName= */ isNull(), in testDozePowerGroupWhenNonInteractiveHasNoEffect() 146 /* details= */ isNull()); in testDozePowerGroupWhenNonInteractiveHasNoEffect() [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/ |
D | OverlayActorVisibilityTest.kt | 98 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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | AppIconCacheManagerTest.java | 60 assertThat(mAppIconCacheManager.get(/* packageName= */ null, /* uid= */ -1)).isNull(); in get_invalidPackageOrUid_shouldReturnNull() 73 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME, APP_UID)).isNull(); in put_invalidIcon_shouldNotCacheIcon() 83 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME, APP_UID)).isNull(); in put_invalidIconSize_shouldNotCacheIcon() 107 assertThat(mAppIconCacheManager.get(APP_PACKAGE_NAME, APP_UID)).isNull(); in release_existInstance_shouldClearCache()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 157 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock() 158 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginConnected_showSecondPluginClock() 176 assertThat(otherClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected() 177 assertThat(otherClock.getLargeClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected() 178 assertThat(mClock.getSmallClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected() 179 assertThat(mClock.getLargeClock().getView().getParent()).isNull(); in onPluginDisconnected_secondOfTwoDisconnected() 213 assertThat(mLargeClockFrame.getParent()).isNull(); in switchingToSmallClockWithAnimation_makesBigClockDisappear() 224 assertThat(mLargeClockFrame.getParent()).isNull(); in switchingToSmallClockNoAnimation_makesBigClockDisappear()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationLegacySettingsTest.kt | 82 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/ |
D | CustomTileStatePersisterTest.kt | 129 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/ |
D | MasterKeyTest.java | 54 assertThat(masterKey).isNull(); in generateTransientEapKeys_withoutImsiEap_getNull() 65 assertThat(masterKey).isNull(); in generateTransientEapKeys_withoutIk_getNull() 76 assertThat(masterKey).isNull(); in generateTransientEapKeys_withoutCk_getNull()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/ |
D | FooterActionsViewModelTest.kt | 88 assertThat(settings.iconTint).isNull() in <lambda>() 95 assertThat(underTestWithoutPower.power).isNull() in <lambda>() 155 assertThat(currentUserSwitcher()).isNull() in <lambda>() 164 assertThat(currentUserSwitcher()).isNull() in <lambda>() 183 assertThat(iconTint()).isNull() in <lambda>() 191 assertThat(iconTint()).isNull() in <lambda>() 196 assertThat(iconTint()).isNull() in <lambda>() 227 assertThat(currentSecurity()).isNull() in <lambda>() 239 assertThat(currentSecurity()).isNull() in <lambda>() 254 assertThat(security!!.onClick).isNull() in <lambda>() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 26 import static org.mockito.ArgumentMatchers.isNull; 224 /* selection= */ isNull(), in testSearchContacts_workContact_queriesWorkContactProvider() 225 /* selectionArgs= */ isNull(), in testSearchContacts_workContact_queriesWorkContactProvider() 226 /* sortOrder= */ isNull()); in testSearchContacts_workContact_queriesWorkContactProvider() 251 /* selection= */ isNull(), in testSearchContacts_personalContact_queriesPersonalContactProvider() 252 /* selectionArgs= */ isNull(), in testSearchContacts_personalContact_queriesPersonalContactProvider() 253 /* sortOrder= */ isNull()); in testSearchContacts_personalContact_queriesPersonalContactProvider() 286 isNull()); // sort order in testMergePhoneNumbers_noPhoneNumber() 312 isNull(), isNull(), isNull())).thenReturn(cursor); in testMergePhoneNumbers_hasNumber() 319 any(), isNull())).thenReturn(null); in testMergePhoneNumbers_hasNumber() [all …]
|