/aosp12/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | AvatarUriUtil.java | 245 Assert.notNull(name); in fromName() 268 Assert.notNull(uri); in isAvatarUri() 274 Assert.notNull(uri); in getAvatarType() 280 Assert.notNull(uri); in getIdentifier() 285 Assert.notNull(uri); in getName() 290 Assert.notNull(uri); in getGroupParticipantUris() 295 Assert.notNull(uri); in getSimColor() 300 Assert.notNull(uri); in getSimSelected() 305 Assert.notNull(uri); in getSimIncoming() 310 Assert.notNull(uri); in getPrimaryUri() [all …]
|
H A 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()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
H A 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 …]
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A 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() 146 Assert.notNull(conversationId); in processMessageDownloadFastFailed() 147 Assert.notNull(participantId); in processMessageDownloadFastFailed() 169 Assert.notNull(messageId); in processDownloadActionFailure() 171 Assert.notNull(participantId); in processDownloadActionFailure() [all …]
|
H A 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()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
H A 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()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | SyncEngineTests.java | 32 import static org.mockito.ArgumentMatchers.notNull; 82 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testTrivialSyncCallback() 110 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testWaitingSyncCallback() 133 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testInvisibleSyncCallback() 166 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testWaitForChildrenCallback() 195 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testWaitForParentCallback() 225 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testFillsParent() 262 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testReparentOut() 297 verify(listener, times(1)).onTransactionReady(eq(id), notNull()); in testReparentIn()
|
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/ |
H A 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()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A 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()
|
H A D | CameraPreview.java | 48 Assert.notNull(host); in CameraPreview() 49 Assert.notNull(host.getView()); in CameraPreview()
|
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/av/media/libmedia/ |
H A D | OMXBuffer.cpp | 140 bool notNull; in readFromParcel() local 141 status_t err = parcel->readBool(¬Null); in readFromParcel() 145 if (notNull) { in readFromParcel()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/ |
H A D | BasePreferenceControllerTestCase.java | 22 import static org.mockito.ArgumentMatchers.notNull; 109 verify(preference).setIcon(notNull()); in verifyPreferenceIconSet() 113 verify(preference, never()).setIcon(notNull()); in verifyPreferenceIconNeverSet()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
H A D | MobileNetworkSummaryControllerTest.java | 23 import static org.mockito.ArgumentMatchers.notNull; 233 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_noSubscriptionsNoEuiccMgr_noAddClickListener() 243 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_oneSubscriptionNoEuiccMgr_noAddClickListener() 250 verify(mPreference, never()).setOnAddClickListener(notNull()); in addButton_noSubscriptions_noAddClickListener() 259 verify(mPreference).setOnAddClickListener(notNull()); in addButton_oneSubscription_hasAddClickListener() 269 verify(mPreference).setOnAddClickListener(notNull()); in addButton_twoSubscriptions_hasAddClickListener()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | SimSelectorItemView.java | 61 Assert.notNull(simEntry); in bind() 71 Assert.notNull(mData); in updateViewAppearance()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/ |
H A D | BrightnessSliderControllerTest.kt | 41 import org.mockito.Mockito.notNull 92 verify(brightnessSliderView).setOnSeekBarChangeListener(notNull()) 133 verify(brightnessSliderView).setOnDispatchTouchEventListener(notNull())
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | SnackBar.java | 92 Assert.notNull(anchorView); in Placement() 136 Assert.notNull(snackBarManager); in Builder() 137 Assert.notNull(parentView); in Builder()
|
H A D | VCardDetailActivity.java | 43 Assert.notNull(vCardUri); in onAttachFragment()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | PoolableImageCache.java | 144 Assert.notNull(inputStream); in decodeSampledBitmapFromInputStream() 185 Assert.notNull(bytes); in decodeByteArray() 186 Assert.notNull(optionsTmp); in decodeByteArray()
|
H A D | DecodedImageResource.java | 111 Assert.notNull(mBitmap); in getMediaSize() 139 Assert.notNull(mBitmap); in getDrawable()
|
H A D | VCardRequestDescriptor.java | 27 Assert.notNull(vCardUri); in VCardRequestDescriptor()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
H A D | DisplayInsetsControllerTest.java | 24 import static org.mockito.ArgumentMatchers.notNull; 82 verify(mWm).setDisplayWindowInsetsController(eq(SECOND_DISPLAY), notNull()); in testOnDisplayAdded_setsDisplayWindowInsetsControllerOnWMService()
|
/aosp12/packages/apps/Car/libs/car-qc-lib/tests/unit/src/com/android/car/qc/controller/ |
H A D | RemoteQCControllerTest.java | 30 import static org.mockito.ArgumentMatchers.notNull; 75 verify(spiedController).onQCItemUpdated(notNull()); in updateListening_listen_updatesQCItem()
|
/aosp12/frameworks/base/tests/vcn/java/android/net/vcn/ |
H A D | VcnManagerTest.java | 27 import static org.mockito.ArgumentMatchers.notNull; 154 .registerVcnStatusCallback(eq(SUB_GROUP), notNull(), any()); in testRegisterVcnStatusCallback()
|