/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
ContactUtil.java | 36 resolver.update(uri, values, null, null); 41 resolver.delete(uri, null, null); 49 Cursor cursor = resolver.query(uri, projection, null, null, null); 62 Cursor cursor = resolver.query(uri, projection, null, null, null); [all...] |
/cts/libs/vogar-expect/src/vogar/util/ |
Log.java | 23 private static LogOutput sLogoutput = null; 30 if (sLogoutput != null) { 36 if (sLogoutput != null) { 45 if (sLogoutput != null) { 51 if (sLogoutput != null) { 57 if (sLogoutput != null) { 63 if (sLogoutput != null) {
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
ToolMessage.java | 45 super(msgID, null, null); 48 super(msgID, arg, null); 58 super(msgID,arg,null); 63 if ( arg!=null ) { 66 if ( arg2!=null ) { 69 if ( e!=null ) {
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
IntegerTest.java | 47 { new BigInteger("0"), null, null }, 48 { new BigInteger("1"), null, null }, 49 { new BigInteger("-1"), null, null }, 50 { new BigInteger("127"), null, null }, 51 { new BigInteger("-127"), null, null }, [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Connection1.java | 54 return null; 60 return null; 65 return null; 73 return null; 81 return null; 89 return null; 93 return null; 105 return null; 111 return null; 116 return null; [all...] |
/frameworks/base/core/java/android/view/ |
AbsSavedState.java | 35 mSuperState = null; 44 if (superState == null) { 45 throw new IllegalArgumentException("superState must not be null"); 47 mSuperState = superState != EMPTY_STATE ? superState : null; 57 Parcelable superState = source.readParcelable(null); 59 mSuperState = superState != null ? superState : EMPTY_STATE; 78 Parcelable superState = in.readParcelable(null); 79 if (superState != null) { 80 throw new IllegalStateException("superState must be null");
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
FilePartSource.java | 52 private File file = null; 55 private String fileName = null; 67 if (file != null) { 90 if (fileName != null) { 101 if (this.file != null) { 114 return (fileName == null) ? "noname" : fileName; 124 if (this.file != null) {
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
systemId01.java | 48 * @param factory document factory, may not be null 73 assertURIEquals("systemId", null, null, null, "staffNS.dtd", null, null, null, null, systemId);
|
importNode09.java | 51 * @param factory document factory, may not be null 92 assertURIEquals("dtdSystemId", null, null, null, "staffNS.dtd", null, null, null, null, system); 98 assertURIEquals("entitySystemId", null, null, null, "file", null, null, null, null, system) [all...] |
/libcore/luni/src/main/java/javax/xml/xpath/ |
XPathException.java | 45 * <p>If <code>message</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p> 51 if (message == null) { 52 throw new NullPointerException("message == null"); 54 this.cause = null; 60 * <p>If <code>cause</code> is <code>null</code>, then a <code>NullPointerException</code> is thrown.</p> 64 * @throws NullPointerException if <code>cause</code> is <code>null</code>. 67 super(cause == null ? null : cause.toString()); 69 if (cause == null) { 70 throw new NullPointerException("cause == null"); [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionCursorWrapper.java | 36 if (mCursor != null) { 42 return mCursor == null ? 0 : mCursor.getCount(); 46 return mCursor == null ? 0 : mCursor.getPosition(); 50 if (mCursor != null) { 56 if (mCursor != null) { 64 if (mCursor != null) { 70 if (mCursor != null) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
DelegateFileFilter.java | 45 if (filter == null) {
46 throw new IllegalArgumentException("The FilenameFilter must not be null");
49 this.fileFilter = null;
58 if (filter == null) {
59 throw new IllegalArgumentException("The FileFilter must not be null");
62 this.filenameFilter = null;
72 if (fileFilter != null) {
87 if (filenameFilter != null) {
100 String delegate = (fileFilter != null ? fileFilter.toString() : filenameFilter.toString());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/animator/ |
AnimatorDescriptors.java | 46 if (mDescriptor == null) { 59 if (nameToDescriptor == null) { 67 if (descriptor == null) { 74 if (styleMap == null) { 87 "set", "Animator Set", "AnimatorSet", null, //$NON-NLS-1$ //$NON-NLS-3$ 88 null /* tooltip */, sdkUrl, 89 xmlns, null, true /*mandatory*/); 94 null /* tooltip */, sdkUrl, 95 xmlns, null, true /*mandatory*/); 98 "animator", "Animator", "Animator", null, //$NON-NLS-1$ //$NON-NLS-3 [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Genres_MembersTest.java | 45 Cursor c = mContentResolver.query(uri, null, null, null, null); 51 c = mContentResolver.query(uri, null, null, null, null); 61 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mAudioIdOfJam, null); 63 null); 86 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, local 87 null)); local [all...] |
MediaStore_Audio_ArtistsTest.java | 40 Cursor c = null; 42 Artists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, 43 null, null)); 46 Artists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, 47 null, null)); 52 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null)) local [all...] |
MediaStore_Audio_PlaylistsTest.java | 42 Cursor c = null; 44 Playlists.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, 45 null, null)); 51 Playlists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, 52 null, null, null)); 60 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null local 61 null)); local [all...] |
MediaStore_Audio_AlbumsTest.java | 48 Cursor c = null; 50 Albums.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, 51 null, null)); 54 Albums.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, 55 null, null)); 60 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)) local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore3Test.java | 79 mockKeyStore.load(null); 84 mockKeyStore.store(null); 91 mockKeyStore.load(null, null); 92 mockKeyStore.store(null); 96 mockKeyStore.load(null, null); 98 mockKeyStore.setKeyEntry(null, null, null, null) [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
BCodec.java | 77 if (bytes == null) { 78 return null; 84 if (bytes == null) { 85 return null; 103 if (value == null) { 104 return null; 124 if (value == null) { 125 return null; 143 if (value == null) { 144 return null; [all...] |
/frameworks/base/services/java/com/android/server/firewall/ |
PortFilter.java | 48 if (uri != null) { 63 String equalsValue = parser.getAttributeValue(null, ATTR_EQUALS); 64 if (equalsValue != null) { 70 parser, null); 76 String lowerBoundString = parser.getAttributeValue(null, ATTR_MIN); 77 String upperBoundString = parser.getAttributeValue(null, ATTR_MAX); 78 if (lowerBoundString != null || upperBoundString != null) { 79 if (equalsValue != null) { 82 parser, null); [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
SearchRecentSuggestionsProviderTest.java | 51 s.attachInfo(mProviderContext, null); 58 String[] selArgs = new String[] { null }; 60 Cursor c = s.query(contentUri, null, null, selArgs, null); 64 c = s.query(contentUri, null, null, selArgs, null); 68 c = s.query(contentUri, null, null, selArgs, null) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderElementIterator.java | 56 private HeaderElement currentElement = null; 57 private CharArrayBuffer buffer = null; 58 private ParserCursor cursor = null; 66 if (headerIterator == null) { 67 throw new IllegalArgumentException("Header iterator may not be null"); 69 if (parser == null) { 70 throw new IllegalArgumentException("Parser may not be null"); 83 this.cursor = null; 84 this.buffer = null; 94 if (value != null) { [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SearchIndexManagerTest.java | 69 contactId, null, "John Doe Bob I Parr Helen I Parr PhD par helen parhelen", null); 85 contactId, null, "\u695A\u8FAD \u695A\u8FAD CI \u8FAD CHUCI CC C", null); 100 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippetColumns.SNIPPET, null); 101 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippetColumns.SNIPPET, null); 102 assertStoredValue(buildSearchUri("CI"), SearchSnippetColumns.SNIPPET, null); 103 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippetColumns.SNIPPET, null); 104 assertStoredValue(buildSearchUri("CC"), SearchSnippetColumns.SNIPPET, null); 105 assertStoredValue(buildSearchUri("C"), SearchSnippetColumns.SNIPPET, null); [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoftKeyToggle.java | 54 if (getToggleState() == null) { 96 if (null != state) return state.mKeyIcon; 103 if (null != state) { 104 if (null != state.mKeyIconPopup) { 116 if (null != state) return state.mKeyCode; 123 if (null != state) return state.mKeyLabel; 130 if (null != state && null != state.mKeyType) { 139 if (null != state && null != state.mKeyType) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContainer.java | 51 this(context, null); 57 setBackgroundDrawable(null); 72 setWillNotDraw(mIsSplit ? mSplitBackground == null : 73 mBackground == null && mStackedBackground == null); 83 if (mBackground != null) { 84 mBackground.setCallback(null); 88 if (bg != null) { 91 setWillNotDraw(mIsSplit ? mSplitBackground == null : 92 mBackground == null && mStackedBackground == null) [all...] |