/packages/apps/TV/tests/robotests/src/com/android/tv/audio/ |
D | AudioManagerHelperTest.java | 60 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_none_noTimeShift() 71 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_none_TimeShift() 80 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_gain_noTimeShift() 91 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_gain_timeShift() 100 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_loss_noTimeShift() 111 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_loss_timeShift() 120 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_lossTransient_noTimeShift() 131 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_lossTransient_timeShift() 140 assertThat(mTvView.mPaused).isNull(); in onAudioFocusChange_lossTransientCanDuck_noTimeShift() 151 assertThat(mTvView.mVolume).isNull(); in onAudioFocusChange_lossTransientCanDuck_timeShift() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/ |
D | ImageTest.java | 198 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArt() 212 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArt() 226 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithDisplayIcon() 240 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithArtUri() 254 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithAlbumArtUri() 269 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithDisplayIconUri() 279 assertThat(artwork.getImage()).isNull(); in testCreateImageFromMediaMetadataWithoutArtwork() 281 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaMetadataWithoutArtwork() 294 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaDescriptionWithImage() 307 assertThat(artwork.getImageHandle()).isNull(); in testCreateImageFromMediaDescriptionWithUri() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/ |
D | PolicyReaderUnitTest.java | 199 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertValidPolicyPart() 207 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_NOT_EXIST)).isNull(); in assertNoPolicyPart() 208 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_OFF)).isNull(); in assertNoPolicyPart() 209 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_UNTOUCHED)).isNull(); in assertNoPolicyPart() 210 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_ON)).isNull(); in assertNoPolicyPart() 211 assertThat(mPolicyReader.getPowerPolicy(POLICY_ID_OTHER_NONE)).isNull(); in assertNoPolicyPart() 216 VehicleApPowerStateReport.WAIT_FOR_VHAL)).isNull(); in assertValidPolicyGroupPart() 222 VehicleApPowerStateReport.DEEP_SLEEP_ENTRY)).isNull(); in assertValidPolicyGroupPart() 224 VehicleApPowerStateReport.SHUTDOWN_START)).isNull(); in assertValidPolicyGroupPart() 226 VehicleApPowerStateReport.WAIT_FOR_VHAL)).isNull(); in assertValidPolicyGroupPart() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/ |
D | HidDeviceTest.java | 282 isNull(), isNull()); in testRegistration() 285 anyString(), anyByte(), any(byte[].class), isNull(), isNull()); in testRegistration() 292 anyByte(), any(byte[].class), isNull(), isNull()); in testRegistration() 322 isNull(), isNull()); in testSendReport() 359 isNull(), isNull()); in testReplyReport() 394 isNull(), isNull()); in testReportError() 425 isNull(), isNull()); in testOutgoingConnectDisconnectSuccess() 491 isNull(), isNull()); in testCallbacks() 494 anyString(), anyByte(), any(byte[].class), isNull(), isNull()); in testCallbacks() 501 anyByte(), any(byte[].class), isNull(), isNull()); in testCallbacks()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarPropertyConfigTest.java | 57 assertThat(config.getMinValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig() 58 assertThat(config.getMaxValue(WINDOW_DRIVER)).isNull(); in createFloatPropertyConfig() 79 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadFloat() 80 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadFloat() 103 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerValue() 104 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadIntegerValue() 127 assertThat(configRead.getMinValue(WINDOW_DRIVER)).isNull(); in testWriteReadLongValue() 128 assertThat(configRead.getMaxValue(WINDOW_DRIVER)).isNull(); in testWriteReadLongValue() 152 assertThat(configRead.getMinValue(WINDOW_PASSENGER)).isNull(); in testWriteReadIntegerArray() 153 assertThat(configRead.getMaxValue(WINDOW_PASSENGER)).isNull(); in testWriteReadIntegerArray() [all …]
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 37 import static org.mockito.ArgumentMatchers.isNull; 237 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover() 238 eq(INADDR_ANY) /* relayAddr */, isNull() /* reqAddr */, isNull() /* hostname */)) in testDiscover() 257 when(mRepository.getCommittedLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_RapidCommit() 258 eq(INADDR_ANY) /* relayAddr */, isNull() /* hostname */)).thenReturn(TEST_LEASE); in testDiscover_RapidCommit() 275 when(mRepository.getOffer(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testDiscover_OutOfAddresses() 276 eq(INADDR_ANY) /* relayAddr */, isNull() /* reqAddr */, isNull() /* hostname */)) in testDiscover_OutOfAddresses() 303 when(mRepository.requestLease(isNull() /* clientId */, eq(TEST_CLIENT_MAC), in testRequest_Selecting_Ack() 323 when(mRepository.requestLease(isNull(), eq(TEST_CLIENT_MAC), in testRequest_Selecting_Nak() 325 eq(TEST_CLIENT_ADDR) /* reqAddr */, eq(true) /* sidSet */, isNull() /* hostname */)) in testRequest_Selecting_Nak() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastCursorAdapter.java | 89 if (plmnColumn != -1 && !cursor.isNull(plmnColumn)) { in createFromCursor() 97 if (lacColumn != -1 && !cursor.isNull(lacColumn)) { in createFromCursor() 105 if (cidColumn != -1 && !cursor.isNull(cidColumn)) { in createFromCursor() 116 if (etwsWarningTypeColumn != -1 && !cursor.isNull(etwsWarningTypeColumn)) { in createFromCursor() 126 if (cmasMessageClassColumn != -1 && !cursor.isNull(cmasMessageClassColumn)) { in createFromCursor() 132 if (cmasCategoryColumn != -1 && !cursor.isNull(cmasCategoryColumn)) { in createFromCursor() 141 if (cmasResponseTypeColumn != -1 && !cursor.isNull(cmasResponseTypeColumn)) { in createFromCursor() 150 if (cmasSeverityColumn != -1 && !cursor.isNull(cmasSeverityColumn)) { in createFromCursor() 159 if (cmasUrgencyColumn != -1 && !cursor.isNull(cmasUrgencyColumn)) { in createFromCursor() 168 if (cmasCertaintyColumn != -1 && !cursor.isNull(cmasCertaintyColumn)) { in createFromCursor()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserManagerUnitTest.java | 234 assertThat(result.getErrorMessage()).isNull(); in testSwitchUser_remoteException() 246 assertThat(result.getErrorMessage()).isNull(); in testSwitchUser_runtimeException() 302 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_withType_success() 323 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_withType_remoteException() 324 assertThat(result.getUser()).isNull(); in testCreateUser_withType_remoteException() 338 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_withType_runtimeException() 339 assertThat(result.getUser()).isNull(); in testCreateUser_withType_runtimeException() 353 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_success() 374 assertThat(result.getErrorMessage()).isNull(); in testCreateUser_remoteException() 375 assertThat(result.getUser()).isNull(); in testCreateUser_remoteException() [all …]
|
D | UserIdentificationAssociationResponseTest.java | 37 assertThat(response.getErrorMessage()).isNull(); in testFailure_noMessage() 38 assertThat(response.getValues()).isNull(); in testFailure_noMessage() 48 assertThat(response.getValues()).isNull(); in testFailure_withMessage() 77 assertThat(response.getErrorMessage()).isNull(); in testSuccess_noMessage()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 309 assertThat(callback.response).isNull(); in testGetUserInfo_halSetTimedOut() 325 assertThat(callback.response).isNull(); in testGetUserInfo_halDidNotReply() 341 assertThat(callback1.response).isNull(); in testGetUserInfo_secondCallFailWhilePending() 345 assertThat(callback1.response).isNull(); in testGetUserInfo_secondCallFailWhilePending() 363 assertThat(callback.response).isNull(); in testGetUserInfo_halReplyWithWrongRequestId() 386 assertThat(callback.response).isNull(); in testGetUserInfo_halReturnedInvalidAction() 544 assertThat(callback.response).isNull(); in testSwitchUser_halSetTimedOut() 561 assertThat(callback.response).isNull(); in testSwitchUser_halDidNotReply() 580 assertThat(callback.response).isNull(); in testSwitchUser_halReplyWithWrongRequestId() 605 assertThat(callback.response).isNull(); in testSwitchUser_halReturnedInvalidMessageType() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/ |
D | RotaryCacheTest.java | 66 assertThat(view).isNull(); in testGetFocusedView_notInTheCache() 73 assertThat(view).isNull(); in testGetFocusedView_expiredCache() 90 assertThat(focusArea).isNull(); in testGetCachedFocusArea_notInTheCache() 92 assertThat(focusArea).isNull(); in testGetCachedFocusArea_notInTheCache() 100 assertThat(focusArea).isNull(); in testGetCachedFocusArea_expiredCache() 110 assertThat(mRotaryCache.getCachedFocusArea(View.FOCUS_UP, mValidTime)).isNull(); in testClearFocusAreaHistory()
|
D | FocusParkingViewTouchModeTest.java | 53 assertThat(mFpv.getRootView().findFocus()).isNull(); in testRestoreDefaultFocus_doesNothing() 59 .that(mFpv.getRootView().findFocus()).isNull(); in testRestoreDefaultFocus_doesNothing() 66 assertThat(mFpv.getRootView().findFocus()).isNull(); in testRequestFocus_doesNothing() 72 .that(mFpv.getRootView().findFocus()).isNull(); in testRequestFocus_doesNothing() 79 assertThat(mFpv.getRootView().findFocus()).isNull(); in testPerformActionRestoreDefaultFocus_exitsTouchMode()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DataStatus.java | 56 final boolean hasStatus = !isNull(cursor, Data.STATUS); in possibleUpdate() 57 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); in possibleUpdate() 154 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt() 159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong() 162 private static boolean isNull(Cursor cursor, String columnName) { in isNull() method in DataStatus 163 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
|
/packages/apps/KeyChain/robotests/src/com/android/keychain/ |
D | KeyChainServiceRoboTest.java | 245 assertThat(privateKey).isNull(); in testRequestPrivateKeyReturnsNullForNonExistingAlias() 251 assertThat(certificate).isNull(); in testGetCertificateReturnsNullForNonExistingAlias() 257 assertThat(certificate).isNull(); in testGetCaCertificatesReturnsNullForNonExistingAlias() 270 assertThat(mKeyChain.getCredentialManagementAppPackageName()).isNull(); in testGetCredentialManagementAppPackageName_noManagementApp_returnsNull() 277 assertThat(mKeyChain.getCredentialManagementAppPolicy()).isNull(); in testGetCredentialManagementAppPolicy_noManagementApp_returnsNull() 285 TEST_URI_1)).isNull(); in testGetPredefinedAliasForPackageAndUri_noManagementApp_returnsNull() 333 assertThat(mKeyChain.getCredentialManagementAppPackageName()).isNull(); in testRemoveCredentialManagementApp_hasManagementApp_removesManagementApp() 334 assertThat(mKeyChain.getCredentialManagementAppPolicy()).isNull(); in testRemoveCredentialManagementApp_hasManagementApp_removesManagementApp()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | NotificationClickHandlerFactoryTest.java | 27 import static org.mockito.ArgumentMatchers.isNull; 223 isNull(), isNull(), isNull(), isNull()); in onClickActionClickHandler_isReplyAction_sendsPendingIntent() 258 verify(mActionIntent).sendAndReturnResult(isNull(), eq(0), isNull(), isNull(), in onClickActionClickHandler_notCarCompatibleMessage_sendsPendingIntent() 259 isNull(), isNull(), isNull()); in onClickActionClickHandler_notCarCompatibleMessage_sendsPendingIntent()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 32 import static org.mockito.ArgumentMatchers.isNull; 192 any(String[].class), any(String.class),isNull(), isNull())).thenReturn(cursor); in testHandleRemovedUidEntries() 202 isNull()); in testHandleRemovedUidEntries() 206 isNull()); in testHandleRemovedUidEntries() 219 any(String[].class), any(String.class),isNull(), isNull())).thenReturn(cursor2); in testHandleRemovedUidEntries() 229 isNull()); in testHandleRemovedUidEntries() 233 isNull()); in testHandleRemovedUidEntries()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | ActiveDeviceManagerTest.java | 142 verify(mA2dpService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in lastA2dpDisconnected_clearA2dpActive() 193 verify(mHeadsetService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in lastHeadsetDisconnected_clearHeadsetActive() 229 verify(mA2dpService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in hearingAidActive_clearA2dpAndHeadsetActive() 230 verify(mHeadsetService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in hearingAidActive_clearA2dpAndHeadsetActive() 265 verify(mHearingAidService).setActiveDevice(isNull()); in hearingAidActive_setA2dpActiveExplicitly() 286 verify(mHearingAidService).setActiveDevice(isNull()); in hearingAidActive_setHeadsetActiveExplicitly() 304 verify(mA2dpService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in wiredAudioDeviceConnected_setAllActiveDevicesNull() 305 verify(mHeadsetService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in wiredAudioDeviceConnected_setAllActiveDevicesNull() 306 verify(mHearingAidService, timeout(TIMEOUT_MS)).setActiveDevice(isNull()); in wiredAudioDeviceConnected_setAllActiveDevicesNull()
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 74 private static boolean isNull(Cursor cursor, String columnName) { in isNull() method in MtpDatabaseTest 75 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull() 99 assertTrue(isNull(cursor, COLUMN_OBJECT_HANDLE)); in testPutSingleStorageDocuments() 103 assertTrue(isNull(cursor, COLUMN_SUMMARY)); in testPutSingleStorageDocuments() 104 assertTrue(isNull(cursor, COLUMN_LAST_MODIFIED)); in testPutSingleStorageDocuments() 135 assertTrue(isNull(cursor, Root.COLUMN_SUMMARY)); in testPutSingleStorageDocuments() 162 assertTrue(isNull(cursor, COLUMN_OBJECT_HANDLE)); in testPutStorageDocuments() 165 assertTrue(isNull(cursor, COLUMN_SUMMARY)); in testPutStorageDocuments() 166 assertTrue(isNull(cursor, COLUMN_LAST_MODIFIED)); in testPutStorageDocuments() 215 assertTrue(isNull(cursor, COLUMN_SUMMARY)); in testPutChildDocuments() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | ChannelNumberTest.java | 43 assertThat(parseChannelNumber("")).isNull(); in parseChannelNumber_empty() 48 assertThat(parseChannelNumber("-")).isNull(); in parseChannelNumber_dash() 53 assertThat(parseChannelNumber("abcd12")).isNull(); in parseChannelNumber_abcd12() 58 assertThat(parseChannelNumber("12abcd")).isNull(); in parseChannelNumber_12abcd() 63 assertThat(parseChannelNumber("-12")).isNull(); in parseChannelNumber_dash12()
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | TreeTraverserTest.java | 126 assertThat(result).isNull(); in testFindNodeOrAncestor() 133 assertThat(result).isNull(); in testFindNodeOrAncestor() 140 assertThat(result).isNull(); in testFindNodeOrAncestor() 167 assertThat(result).isNull(); in testDepthFirstSearch() 202 assertThat(result).isNull(); in testDepthFirstSearch() 212 assertThat(result).isNull(); in testDepthFirstSearch() 238 assertThat(result).isNull(); in testReverseDepthFirstSearch()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 105 assertThat(entry.extraInfo).isNull(); in androidPackagesIgnored() 118 assertThat(entry.extraInfo).isNull(); in selfPackageIgnored() 134 assertThat(entry.extraInfo).isNull(); in packagesNotRequestingPermissionIgnored() 149 assertThat(entry.extraInfo).isNull(); in unavailablePackageIgnored() 159 assertThat(entry.extraInfo).isNull(); in loadsAppOpsExtraInfo_modeAllowed_isPermissible() 174 assertThat(entry.extraInfo).isNull(); in loadsAppOpsExtraInfo_modeDefault_isPermissible() 189 assertThat(entry.extraInfo).isNull(); in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible() 263 assertThat(entry.extraInfo).isNull(); in appEntryNotIncluded_extraInfoCleared()
|
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/ |
D | EditInfoActivityTest.java | 84 .isNull(); in testInitialState() 176 assertThat(clearAllDialogFragment).isNull(); in testClearAllPreferences() 194 assertThat(addressPreference.getSummary()).isNull(); in testClearAllPreferences() 196 assertThat(allergiesPreference.getSummary()).isNull(); in testClearAllPreferences() 197 assertThat(medicationsPreference.getSummary()).isNull(); in testClearAllPreferences() 198 assertThat(medicalConditionsPreference.getSummary()).isNull(); in testClearAllPreferences() 207 .isNull(); in testClearAllPreferences()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 125 if (!cursor.isNull(artistIdColumn)) { in load() 164 if (!cursor.isNull(artistIdColumn)) { in load() 171 if (!cursor.isNull(albumIdColumn)) { in load() 260 if (!cursor.isNull(titleColumn)) { in loadData() 264 if (!cursor.isNull(artistIdColumn)) { in loadData() 270 if (!cursor.isNull(albumIdColumn)) { in loadData() 299 if (!cursor.isNull(artistColumn)) { in loadData() 332 if (!cursor.isNull(albumColumn)) { in loadData() 336 if (!cursor.isNull(artistIdColumn)) { in loadData() 373 if (!cursor.isNull(nameColumn)) { in loadData() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
D | FilterStackSource.java | 116 if (c != null && c.moveToFirst() && !c.isNull(0)) { in getStack() 145 String name = (c.isNull(1)) ? null : c.getString(1); in getAllUserPresets() 146 byte[] b = (c.isNull(2)) ? null : c.getBlob(2); in getAllUserPresets() 179 String name = (c.isNull(0)) ? null : c.getString(0); in getAllStacks() 180 byte[] b = (c.isNull(1)) ? null : c.getBlob(1); in getAllStacks()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/ |
D | CreateUserResultTest.java | 35 assertThat(result.getUserHandle()).isNull(); in testNullConstructor() 58 assertThat(result.getUserHandle()).isNull(); in testFailure_nullUserInfo() 76 assertThat(result.getUserHandle()).isNull(); in testFailure_nullUserHandle() 94 assertThat(result.getUserHandle()).isNull(); in failureTest()
|