/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 | 53 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/ |
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; 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()
|
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 | 82 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/ |
D | CachedBluetoothDeviceTest.java | 117 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/ |
D | AccessibilityFloatingMenuControllerTest.java | 115 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/ |
D | UserDataPreparerTest.java | 21 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/ |
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(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/ |
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/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/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/libs/service_entitlement/tests/src/com/android/libraries/entitlement/ |
D | EapAkaHelperTest.java | 88 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/ |
D | SmsCbMessage.java | 645 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/ |
D | FullBackupJobTest.java | 86 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/ |
D | MultiClientInputMethodManagerServiceTest.java | 51 emptyList())).isNull(); in testQueryInputMethod_noIMEFound() 57 asList(new ResolveInfo(), new ResolveInfo()))).isNull(); in testQueryInputMethod_multipleIMEsFound() 68 asList(imeService))).isNull(); in testQueryInputMethod_IMEFound_invalidPermission()
|