/packages/apps/Messaging/src/com/android/messaging/util/ |
D | AvatarUriUtil.java | 98 Assert.notNull(participants); in createAvatarUri() 120 Assert.notNull(avatarUris); in joinAvatarUriToGroup() 136 Assert.notNull(uri); in joinAvatarUriToGroup() 149 Assert.notNull(participant); in createAvatarUri() 198 Assert.notNull(participantData); in createAvatarUri() 233 Assert.notNull(profilePhotoUri); in fromLocalResourceWithFallback() 234 Assert.notNull(fallbackUri); in fromLocalResourceWithFallback() 245 Assert.notNull(name); in fromName() 268 Assert.notNull(uri); in isAvatarUri() 274 Assert.notNull(uri); in getAvatarType() [all …]
|
D | ImeUtil.java | 61 Assert.notNull(context); in hideImeKeyboard() 62 Assert.notNull(v); in hideImeKeyboard() 72 Assert.notNull(context); in showImeKeyboard() 73 Assert.notNull(v); in showImeKeyboard()
|
D | UiUtils.java | 118 Assert.notNull(context); in showSnackBar() 141 Assert.notNull(context); in showSnackBarWithCustomAction() 143 Assert.notNull(action); in showSnackBarWithCustomAction()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | CarDevicePolicyManagerUnitTest.java | 23 import static org.mockito.ArgumentMatchers.notNull; 75 doThrow(new RemoteException("D'OH!")).when(mService).removeUser(eq(100), notNull()); in testRemoveUser_remoteException() 86 doThrow(new SecurityException("D'OH!")).when(mService).removeUser(eq(100), notNull()); in testRemoveUser_securityException() 112 notNull()); in testCreateUser_remoteException() 125 notNull()); in testCreateUser_securityException() 143 .when(mService).startUserInBackground(eq(100), notNull()); in testStartUserInBackground_remoteException() 170 doThrow(new RemoteException("D'OH!")).when(mService).stopUser(eq(100), notNull()); in testStopUser_remoteException() 191 }).when(mService).removeUser(eq(userId), notNull()); in mockRemoveUser() 201 }).when(mService).createUser(eq(name), eq(user.id), notNull()); in mockCreateUser() 211 }).when(mService).startUserInBackground(eq(userId), notNull()); in mockStartUserInBackground() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ProcessDownloadedMmsAction.java | 103 Assert.notNull(messageId); in processMessageDownloaded() 104 Assert.notNull(contentUri); in processMessageDownloaded() 105 Assert.notNull(notificationUri); in processMessageDownloaded() 106 Assert.notNull(conversationId); in processMessageDownloaded() 107 Assert.notNull(participantId); in processMessageDownloaded() 144 Assert.notNull(messageId); in processMessageDownloadFastFailed() 145 Assert.notNull(notificationUri); in processMessageDownloadFastFailed() 146 Assert.notNull(conversationId); in processMessageDownloadFastFailed() 147 Assert.notNull(participantId); in processMessageDownloadFastFailed() 169 Assert.notNull(messageId); in processDownloadActionFailure() [all …]
|
D | UpdateConversationOptionsAction.java | 40 Assert.notNull(conversationId); in enableConversationNotifications() 52 Assert.notNull(conversationId); in setConversationNotificationSound() 64 Assert.notNull(conversationId); in enableVibrationForConversationNotification() 81 Assert.notNull(conversationId); in UpdateConversationOptionsAction()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BitmapPool.java | 189 Assert.notNull(resources); in decodeSampledBitmapFromResource() 190 Assert.notNull(optionsTmp); in decodeSampledBitmapFromResource() 229 Assert.notNull(inputStream); in decodeSampledBitmapFromInputStream() 268 Assert.notNull(bytes); in decodeByteArray() 269 Assert.notNull(optionsTmp); in decodeByteArray() 328 Assert.notNull(b); in reclaimBitmap()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TestTelephonyConnection.java | 28 import static org.mockito.ArgumentMatchers.notNull; 172 when(mTelecomAccountRegistry.isMergeCallSupported(notNull(PhoneAccountHandle.class))) in TestTelephonyConnection() 174 when(mTelecomAccountRegistry.isMergeImsCallSupported(notNull(PhoneAccountHandle.class))) in TestTelephonyConnection() 177 .isVideoConferencingSupported(notNull(PhoneAccountHandle.class))).thenReturn(false); in TestTelephonyConnection() 179 .isMergeOfWifiCallsAllowedWhenVoWifiOff(notNull(PhoneAccountHandle.class))) in TestTelephonyConnection() 288 when(mTelecomAccountRegistry.isMergeImsCallSupported(notNull(PhoneAccountHandle.class))) in setIsImsConnection()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserManagerUnitTest.java | 28 import static org.mockito.ArgumentMatchers.notNull; 330 eq(42), anyInt(), notNull()); in testCreateUser_withType_runtimeException() 510 .setUserIdentificationAssociation(anyInt(), same(types), same(values), notNull()); in testSetUserIdentificationAssociation_remoteException() 528 .setUserIdentificationAssociation(anyInt(), same(types), same(values), notNull()); in testSetUserIdentificationAssociation_runtimeException() 555 .setUserIdentificationAssociation(anyInt(), same(types), same(values), notNull()); in testSetUserIdentificationAssociation_ok() 600 }).when(mService).switchUser(eq(userId), anyInt(), notNull()); in expectServiceSwitchUserSucceeds() 604 doThrow(e).when(mService).switchUser(eq(userId), anyInt(), notNull()); in expectServiceSwitchUserFails() 614 }).when(mService).removeUser(eq(userId), notNull()); in expectServiceRemoveUserSucceeds() 628 }).when(mService).createUser(eq(name), eq(userType), eq(flags), anyInt(), notNull()); in expectServiceCreateUserSucceeds() 634 .createUser(eq(name), eq(userType), eq(flags), anyInt(), notNull()); in expectServiceCreateUserFails()
|
D | ExperimentalCarUserManagerUnitTest.java | 25 import static org.mockito.ArgumentMatchers.notNull; 216 }).when(mService).switchDriver(eq(userId), notNull()); in expectSwitchDriverSucceed() 221 .switchDriver(eq(userId), notNull()); in expectSwitchDriverFail()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
D | BaseDeviceAdminAddPreferenceControllerTestCase.java | 19 import static org.mockito.ArgumentMatchers.notNull; 47 verify(mPreference).setIcon(notNull()); in verifyPreferenceIconSet() 51 verify(mPreference, never()).setIcon(notNull()); in verifyPreferenceIconNeverSet()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | ImagePersistTask.java | 58 Assert.notNull(bytes); in ImagePersistTask() 59 Assert.notNull(context); in ImagePersistTask() 60 Assert.notNull(callback); in ImagePersistTask() 168 Assert.notNull(mException); in onPostExecute()
|
D | CameraPreview.java | 48 Assert.notNull(host); in CameraPreview() 49 Assert.notNull(host.getView()); in CameraPreview()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | MobileNetworkSummaryControllerTest.java | 23 import static org.mockito.ArgumentMatchers.notNull; 315 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_noSubscriptionsNoEuiccMgr_noAddClickListener() 325 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener() 332 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_noSubscriptions_noAddClickListener() 341 verify(mPreference).setOnAddClickListener(notNull()); in addButton_oneSubscription_hasAddClickListener() 351 verify(mPreference).setOnAddClickListener(notNull()); in addButton_twoSubscriptions_hasAddClickListener()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBar.java | 92 Assert.notNull(anchorView); in Placement() 136 Assert.notNull(snackBarManager); in Builder() 137 Assert.notNull(parentView); in Builder()
|
D | AudioAttachmentView.java | 194 Assert.notNull(mMediaPlayer); in playAudio() 222 Assert.notNull(mDataSourceUri); in setupMediaPlayer()
|
D | SnackBarManager.java | 135 Assert.notNull(snackBar); in show() 377 Assert.notNull(placement); in getRelativeOffset()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | SimSelectorItemView.java | 61 Assert.notNull(simEntry); in bind() 71 Assert.notNull(mData); in updateViewAppearance()
|
D | ConversationActivity.java | 293 Assert.notNull(mUiState); in updateUiState() 306 Assert.notNull(conversationId); in updateUiState()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | PoolableImageCache.java | 144 Assert.notNull(inputStream); in decodeSampledBitmapFromInputStream() 185 Assert.notNull(bytes); in decodeByteArray() 186 Assert.notNull(optionsTmp); in decodeByteArray()
|
D | DecodedImageResource.java | 111 Assert.notNull(mBitmap); in getMediaSize() 139 Assert.notNull(mBitmap); in getDrawable()
|
D | MediaResourceManager.java | 171 Assert.notNull(decodeRequest); in processMediaRequestInternal() 208 Assert.notNull(resource); in loadMediaFromRequest()
|
D | VCardRequestDescriptor.java | 27 Assert.notNull(vCardUri); in VCardRequestDescriptor()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigStoreTest.java | 668 .deserializeDataForSection(notNull(), anyInt(), anyInt(), any(), anyString()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 690 .deserializeDataForSection(notNull(), anyInt(), anyInt(), any(), anyString()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 710 .deserializeDataForSection(notNull(), anyInt(), anyInt(), any(), anyString()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 713 .deserializeDataForSection(notNull(), anyInt(), anyInt(), any(), anyString()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 734 .deserializeDataForSection(notNull(), anyInt(), anyInt(), any(), anyString()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem() 737 .deserializeDataForSection(notNull(), anyInt(), anyInt(), any(), anyString()); in testReadWifiConfigStoreDataIndicateClientsThatThereIsNoDataForThem()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | ApnsXmlProcessor.java | 93 Assert.notNull(parser); in get() 232 Assert.notNull(apnValues); in processApn()
|