/packages/apps/ContactsCommon/src/com/android/contacts/common/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/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | DataStatus.java | 54 final boolean hasStatus = !isNull(cursor, Data.STATUS); in possibleUpdate() 55 final boolean hasTimestamp = !isNull(cursor, Data.STATUS_TIMESTAMP); in possibleUpdate() 148 return cursor.isNull(columnIndex) ? missingValue : cursor.getInt(columnIndex); in getInt() 153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex); in getLong() 156 private static boolean isNull(Cursor cursor, String columnName) { in isNull() method in DataStatus 157 return cursor.isNull(cursor.getColumnIndex(columnName)); in isNull()
|
/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/apps/TV/tests/unit/src/com/android/tv/menu/ |
D | MenuTest.java | 81 Matchers.isNull(String.class), Matchers.isNull(Runnable.class)); in testShowHide_ReasonNone() 101 Matchers.eq(ChannelsRow.ID), Matchers.isNull(Runnable.class)); in testShowHide_ReasonGuide() 121 Matchers.eq(PlayControlsRow.ID), Matchers.isNull(Runnable.class)); in testShowHide_ReasonPlayControlsFastForward()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSuggestionProviderCursor.java | 86 public boolean isNull(int column) { in isNull() method in MockSuggestionProviderCursor 87 return mRows.get(getPosition()).isNull(column); in isNull() 150 public boolean isNull(int column) { in isNull() method in MockSuggestionProviderCursor.Row
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | AccountSetupOptionsTests.java | 129 boolean isNull = mBackgroundAttachmentsView == null; in checkBackgroundAttachments() 130 boolean isVisible = !isNull && (mBackgroundAttachmentsView.getVisibility() == View.VISIBLE); in checkBackgroundAttachments() 135 assertTrue(!isNull); in checkBackgroundAttachments()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | NewOutgoingCallIntentBroadcasterTest.java | 51 import static org.mockito.Matchers.isNull; 241 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in emergencyCallTestHelper() 264 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(handle), isNull(GatewayInfo.class), in testUnmodifiedRegularCall() 281 verify(mCallsManager).placeOutgoingCall(eq(mCall), eq(encHandle), isNull(GatewayInfo.class), in testUnmodifiedSipCall() 377 isNull(Handler.class), in verifyBroadcastSent() 380 isNull(Bundle.class)); in verifyBroadcastSent()
|
D | ContactsAsyncHelperTest.java | 37 import static org.mockito.Matchers.isNull; 107 isNull(Drawable.class), isNull(Bitmap.class), eq(COOKIE)); in testNullReturnFromOpenInputStream()
|
D | MissedCallNotifierImplTest.java | 53 import static org.mockito.Matchers.isNull; 144 verify(mNotificationManager, times(2)).notifyAsUser(isNull(String.class), in cancelNotificationTestInternal() 182 verify(mNotificationManager, times(2)).notifyAsUser(isNull(String.class), eq(1), in testNotifyMultipleMissedCalls() 269 verify(mNotificationManager).notifyAsUser(isNull(String.class), eq(1), in notifySingleCallTestInternal()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ReorderingCursorWrapper.java | 102 public boolean isNull(int column) { in isNull() method in ReorderingCursorWrapper 103 return mCursor.isNull(column); in isNull()
|
D | ContactDirectoryManager.java | 428 if (!cursor.isNull(DirectoryQuery.TYPE_RESOURCE_ID)) { in queryDirectoriesForAuthority() 431 if (!cursor.isNull(DirectoryQuery.EXPORT_SUPPORT)) { in queryDirectoriesForAuthority() 444 if (!cursor.isNull(DirectoryQuery.SHORTCUT_SUPPORT)) { in queryDirectoriesForAuthority() 457 if (!cursor.isNull(DirectoryQuery.PHOTO_SUPPORT)) { in queryDirectoriesForAuthority()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Assert.java | 168 public static void isNull(final Object obj) { in isNull() method in Assert 179 public static void isNull(final Object obj, final String failureMessage) { in isNull() method in Assert
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ThreadSafeCursorWrapper.java | 122 public boolean isNull(int column){ in isNull() method in ThreadSafeCursorWrapper 125 return super.isNull(column); in isNull()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 245 && !cursor.isNull(PhotoQuery.PHOTO)) { in onQueryComplete() 645 if (!c.isNull(ContactQuery.CONTACT_PRESENCE_STATUS)) { in bindContactInfo() 655 final Long statusTimestamp = c.isNull(ContactQuery.CONTACT_STATUS_TIMESTAMP) in bindContactInfo() 658 final Integer statusLabel = c.isNull(ContactQuery.CONTACT_STATUS_LABEL) in bindContactInfo()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | PostalAddressListAdapter.java | 137 if (!cursor.isNull(PostalQuery.POSTAL_TYPE)) { in bindPostalAddress() 164 if (!cursor.isNull(PostalQuery.POSTAL_PHOTO_ID)) { in bindPhoto()
|
D | EmailAddressListAdapter.java | 146 if (!cursor.isNull(EmailQuery.EMAIL_TYPE)) { in bindEmailAddress() 173 if (!cursor.isNull(EmailQuery.EMAIL_PHOTO_ID)) { in bindPhoto()
|
/packages/apps/Music/src/com/android/music/ |
D | SortCursor.java | 226 public boolean isNull(int column) in isNull() method in SortCursor 228 return mCursor.isNull(column); in isNull()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ContactLoader.java | 515 if (!cursor.isNull(ContactQuery.DATA_ID)) { in loadContactEntity() 519 if (!cursor.isNull(ContactQuery.PRESENCE) in loadContactEntity() 520 || !cursor.isNull(ContactQuery.STATUS)) { in loadContactEntity() 654 final Integer presence = cursor.isNull(ContactQuery.CONTACT_PRESENCE) in loadContactHeaderData() 873 final boolean defaultGroup = cursor.isNull(GroupQuery.AUTO_ADD) in loadGroupMetaData() 876 final boolean favorites = cursor.isNull(GroupQuery.FAVORITES) in loadGroupMetaData()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/ |
D | DetachableBinding.java | 43 Assert.isNull(mDetachedData); in detach()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
D | EmptyCursor.java | 77 public boolean isNull(int column) { in isNull() method in EmptyCursor
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | JsonBackedSuggestionExtras.java | 56 if (mExtras.isNull(columnName)) { in getExtra()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.java | 345 if (c.isNull(RINGTONE_INDEX)) { in AlarmInstance() 353 if (!c.isNull(ALARM_ID_INDEX)) { in AlarmInstance()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | GroupMembershipView.java | 248 if (!mGroupMetaData.isNull(GroupMetaDataLoader.FAVORITES) in updateView() 251 } else if (!mGroupMetaData.isNull(GroupMetaDataLoader.AUTO_ADD) in updateView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | GroupMmsSettingDialog.java | 50 Assert.isNull(mDialog); in show()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactTileAdapter.java | 257 if (!cursor.isNull(mPresenceIndex)) { in createContactEntryFromCursor() 264 if (mStatusIndex != 0 && !cursor.isNull(mStatusIndex)) { in createContactEntryFromCursor()
|