Home
last modified time | relevance | path

Searched refs:isNull (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/packages/apps/TV/tests/robotests/src/com/android/tv/audio/
DAudioManagerHelperTest.java60 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/hid/
DHidDeviceTest.java281 isNull(), isNull()); in testRegistration()
284 anyString(), anyByte(), any(byte[].class), isNull(), isNull()); in testRegistration()
291 anyByte(), any(byte[].class), isNull(), isNull()); in testRegistration()
321 isNull(), isNull()); in testSendReport()
358 isNull(), isNull()); in testReplyReport()
393 isNull(), isNull()); in testReportError()
424 isNull(), isNull()); in testOutgoingConnectDisconnectSuccess()
490 isNull(), isNull()); in testCallbacks()
493 anyString(), anyByte(), any(byte[].class), isNull(), isNull()); in testCallbacks()
500 anyByte(), any(byte[].class), isNull(), isNull()); in testCallbacks()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java37 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/
DCellBroadcastCursorAdapter.java82 if (plmnColumn != -1 && !cursor.isNull(plmnColumn)) { in createFromCursor()
90 if (lacColumn != -1 && !cursor.isNull(lacColumn)) { in createFromCursor()
98 if (cidColumn != -1 && !cursor.isNull(cidColumn)) { in createFromCursor()
109 if (etwsWarningTypeColumn != -1 && !cursor.isNull(etwsWarningTypeColumn)) { in createFromCursor()
119 if (cmasMessageClassColumn != -1 && !cursor.isNull(cmasMessageClassColumn)) { in createFromCursor()
125 if (cmasCategoryColumn != -1 && !cursor.isNull(cmasCategoryColumn)) { in createFromCursor()
134 if (cmasResponseTypeColumn != -1 && !cursor.isNull(cmasResponseTypeColumn)) { in createFromCursor()
143 if (cmasSeverityColumn != -1 && !cursor.isNull(cmasSeverityColumn)) { in createFromCursor()
152 if (cmasUrgencyColumn != -1 && !cursor.isNull(cmasUrgencyColumn)) { in createFromCursor()
161 if (cmasCertaintyColumn != -1 && !cursor.isNull(cmasCertaintyColumn)) { in createFromCursor()
/packages/services/Car/EncryptionRunner/test/android/car/encryptionrunner/
DEncryptionRunnerTest.java63 assertThat(finalServerMessage.getNextMessage()).isNull(); in verifyRunners()
69 assertThat(finalClientMessage.getNextMessage()).isNull(); in verifyRunners()
85 assertThat(initialClientMessage.getKey()).isNull(); in verifyHandshake()
98 assertThat(initialServerMessage.getKey()).isNull(); in verifyHandshake()
109 assertThat(clientMessage.getKey()).isNull(); in verifyHandshake()
120 assertThat(serverMessage.getKey()).isNull(); in verifyHandshake()
121 assertThat(serverMessage.getNextMessage()).isNull(); in verifyHandshake()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java56 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/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java142 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/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java126 if (!cursor.isNull(artistIdColumn)) { in load()
165 if (!cursor.isNull(artistIdColumn)) { in load()
172 if (!cursor.isNull(albumIdColumn)) { in load()
261 if (!cursor.isNull(titleColumn)) { in loadData()
265 if (!cursor.isNull(artistIdColumn)) { in loadData()
271 if (!cursor.isNull(albumIdColumn)) { in loadData()
300 if (!cursor.isNull(artistColumn)) { in loadData()
336 if (!cursor.isNull(albumColumn)) { in loadData()
340 if (!cursor.isNull(albumArtColumn)) { in loadData()
344 if (!cursor.isNull(artistIdColumn)) { in loadData()
[all …]
DVideoStore.java247 if (!cursor.isNull(titleColumn)) { in loadData()
251 if (!cursor.isNull(durationColumn)) { in loadData()
255 if (!cursor.isNull(dateTakenColumn)) { in loadData()
259 if (!cursor.isNull(latitudeColumn) && !cursor.isNull(longitudeColumn)) { in loadData()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java140 assertThat(mKeyChainService.requestPrivateKey(ALIAS_1)).isNull(); in testCanAccessKeyAfterGettingGrant()
151 assertThat(mKeyChainService.requestPrivateKey(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
152 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
153 assertThat(mKeyChainService.getCaCertificates(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
163 assertThat(mKeyChainService.requestPrivateKey(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
164 assertThat(mKeyChainService.getCertificate(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
165 assertThat(mKeyChainService.getCaCertificates(ALIAS_IMPORTED)).isNull(); in testInstallAndRemoveKeyPair()
242 assertThat(mKeyChainService.requestPrivateKey(ALIAS_GENERATED)).isNull(); in testGenerateKeyPairSucceeds()
287 assertThat(mKeyChainService.getCaCertificates(ALIAS_GENERATED)).isNull(); in testSetKeyPairCertificate()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java105 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/TV/tests/robotests/src/com/android/tv/data/
DChannelNumberTest.java43 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/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditInfoActivityTest.java84 .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/Gallery2/src/com/android/gallery3d/filtershow/data/
DFilterStackSource.java116 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/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacyFeatureProviderImplTest.java126 assertThat(mProvider.getDeviceOwnerOrganizationName()).isNull(); in testGetDeviceOwnerOrganizationName()
135 assertThat(mProvider.getDeviceOwnerDisclosure()).isNull(); in testGetDeviceOwnerDisclosure()
159 assertThat(mProvider.getLastSecurityLogRetrievalTime()).isNull(); in testGetLastSecurityLogRetrievalTime()
169 assertThat(mProvider.getLastBugReportRequestTime()).isNull(); in testGetLastBugReportRequestTime()
178 assertThat(mProvider.getLastNetworkLogRetrievalTime()).isNull(); in testGetLastNetworkLogRetrievalTime()
275 assertThat(mProvider.getImeLabelIfOwnerSet()).isNull(); in testGetImeLabelIfOwnerSet()
280 assertThat(mProvider.getImeLabelIfOwnerSet()).isNull(); in testGetImeLabelIfOwnerSet()
286 assertThat(mProvider.getImeLabelIfOwnerSet()).isNull(); in testGetImeLabelIfOwnerSet()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageSizeBasePreferenceControllerTest.java79 assertThat(mStorageAppDetailPreference.getDetailText()).isNull(); in refreshUi_defaultState_nothingIsSet()
82 assertThat(mController.getAppStorageStats()).isNull(); in refreshUi_defaultState_nothingIsSet()
105 assertThat(mController.getAppStorageStats()).isNull(); in onDataLoaded_appStorageStatsNotSet_shouldNotUpdateDetailText()
106 assertThat(mStorageAppDetailPreference.getDetailText()).isNull(); in onDataLoaded_appStorageStatsNotSet_shouldNotUpdateDetailText()
/packages/apps/Car/libs/car-arch-common/tests/robotests/src/com/android/car/arch/common/
DLiveDataFunctionsTest.java65 assertThat(observer.getObservedValue()).isNull(); in testNullLiveData()
66 assertThat(nullLiveData().getValue()).isNull(); in testNullLiveData()
286 assertThat(observer.getObservedValue()).isNull(); in testIff_changePredicate()
298 assertThat(observer.getObservedValue()).isNull(); in testIff_changePredicate()
315 assertThat(observer.getObservedValue()).isNull(); in testIff_changeValue()
419 assertThat(observer.getObservedValue()).isNull(); in testIfThenElse_liveDataParams_changePredicate()
441 assertThat(observer.getObservedValue()).isNull(); in testIfThenElse_liveDataParams_changeValue_value()
527 assertThat(observer.getObservedValue()).isNull(); in testIfThenElse_valueParams_changePredicate()
605 assertThat(observer.getObservedValue()).isNull(); in testCoalesceNull_liveDataParams_changeFallback()
754 assertThat(observedValues[0]).isNull(); in testSplit_null()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DCachedStorageValuesHelperTest.java168 assertThat(info).isNull(); in getCachedPrivateStorageInfo_nullIfDataIsStale()
195 assertThat(result).isNull(); in getCachedAppsStorageResult_nullIfDataIsStale()
221 assertThat(info).isNull(); in getCachedPrivateStorageInfo_nullIfWrongUser()
248 assertThat(result).isNull(); in getCachedAppsStorageResult_nullIfWrongUser()
254 assertThat(info).isNull(); in getCachedPrivateStorageInfo_nullIfEmpty()
261 assertThat(result).isNull(); in getCachedAppsStorageResult_nullIfEmpty()
/packages/modules/ExtServices/tests/src/android/ext/services/autofill/
DAutofillFieldClassificationServiceImplTest.java45 assertThat(mService.onCalculateScores(null, null, null, null, null, null, null)).isNull(); in testOnCalculateScores_nullActualValues()
51 null, null, null, null, null)).isNull(); in testOnCalculateScores_emptyActualValues()
57 null, null, null, null, null, null)).isNull(); in testOnCalculateScores_nullUserDataValues()
64 .isNull(); in testOnCalculateScores_emptyUserDataValues()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java109 assertThat(data.getUri()).isNull(); in testGetSliceDataFromKey_validKey_validSliceReturned()
111 assertThat(data.getUnavailableSliceSubtitle()).isNull(); in testGetSliceDataFromKey_validKey_validSliceReturned()
129 assertThat(data.getUri()).isNull(); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
242 assertThat(data.getUri()).isNull(); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
244 assertThat(data.getUnavailableSliceSubtitle()).isNull(); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
262 assertThat(data.getUri()).isNull(); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
DSliceDataConverterTest.java120 assertThat(fakeSlice.getKeywords()).isNull(); in assertFakeSlice()
122 assertThat(fakeSlice.getUri()).isNull(); in assertFakeSlice()
134 assertThat(fakeSlice.getSummary()).isNull(); in assertFakeA11ySlice()
138 assertThat(fakeSlice.getUri()).isNull(); in assertFakeA11ySlice()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceControllerTest.java95 assertThat(mController.getCurrentDefaultAppInfo()).isNull(); in getCurrentDefaultAppInfo_noAssistant_returnsNull()
111 assertThat(mController.getSettingIntent(info)).isNull(); in getSettingIntent_noAssistant_returnsNull()
136 assertThat(mController.getSettingIntent(info)).isNull(); in getSettingIntent_hasAssistant_noAssistSupport_returnsNull()
160 assertThat(mController.getSettingIntent(info)).isNull(); in getSettingIntent_hasAssistant_supportsAssist_noSettingsActivity_returnsNull()
227 assertThat(actual).isNull(); in performClick_permissionControllerDoesntExist_doesNotStartPermissionController()
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DMenuTest.java92 Matchers.isNull(String.class), in testShowHide_ReasonNone()
93 Matchers.isNull(Runnable.class)); in testShowHide_ReasonNone()
117 Matchers.isNull(Runnable.class)); in testShowHide_ReasonGuide()
141 Matchers.isNull(Runnable.class)); in testShowHide_ReasonPlayControlsFastForward()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DPasswordUtilsTest.java86 assertThat(getCallingAppLabel(mContext, mActivityToken)).isNull(); in getCallingAppLabel_getCallingAppPackageNameReturnsNull_returnsNull()
95 assertThat(getCallingAppLabel(mContext, mActivityToken)).isNull(); in getCallingAppLabel_getCallingAppPackageNameReturnsSettingsApp_returnsNull()
105 assertThat(getCallingAppLabel(mContext, mActivityToken)).isNull(); in getCallingAppLabel_packageManagerThrowsNameNotFound_returnsNull()
125 assertThat(getCallingAppPackageName(mActivityToken)).isNull(); in getCallingAppPackageName_activityServiceThrowsRemoteException_returnsNull()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageUtilsTest.java90 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_noSubscriptions_returnsNull()
101 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataLimitBytesIsZero_returnsNull()
114 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_dataUsageBytesIsHuge_returnsNull()
127 assertThat(DataUsageUtils.getPrimaryPlan(subscriptionManager, SUBSCRIPTION_ID)).isNull(); in getPrimaryPlan_cycleRuleIsNull_returnsNull()

12345678910>>...12