/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 can't be 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 can't be null"); [all...] |
/packages/apps/Email/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());
|
/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) {
|
/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/ |
ValuesDescriptors.java | 95 null /* nsUri */, 102 null, // no child nodes 112 null /* nsUri */, 119 null, // no child nodes 125 null, // TODO find javadoc 126 null, // TODO find link to javadoc 129 null /* nsUri */, 133 null /* nsUri */, 139 null /* nsUri */, 158 null, // no child node [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/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/ |
ForwardService.java | 50 if (inst == null) { 58 if (fs8000 != null) 60 if (fs8080 != null) 62 if (fs8443 != null) 71 if (fs8000 != null) { 73 fs8000 = null; 75 if (fs8080 != null) { 77 fs8080 = null; 79 if (fs8443 != null) { 81 fs8443 = null; [all...] |
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/packages/ |
MockEmptyPackage.java | 43 null /*source*/, 44 null /*props*/, 46 null /*license*/, 47 null /*description*/, 48 null /*descUrl*/, 64 null /*source*/, 65 null /*props*/, 67 null /*license*/, 68 null /*description*/, 69 null /*descUrl*/ [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...] |
/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); 69 Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, 1), null, local 70 null, null, null)); local 74 Members.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME, 1), null, local 75 null, null, null)); local 83 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, local 84 null)); local [all...] |
MediaStore_Audio_ArtistsTest.java | 41 Artists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, local 42 null, null)); local 44 Artists.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, local 45 null, null)); local 49 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null)) local [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 | 66 contactId, null, "John Doe Bob I Parr Helen I Parr PhD par helen parhelen", null); 82 contactId, null, "\u695A\u8FAD \u695A\u8FAD CI \u8FAD CHUCI CC C", null); 96 assertStoredValue(buildSearchUri("\u695A\u8FAD"), SearchSnippetColumns.SNIPPET, null); 97 assertStoredValue(buildSearchUri("\u8FAD"), SearchSnippetColumns.SNIPPET, null); 98 assertStoredValue(buildSearchUri("CI"), SearchSnippetColumns.SNIPPET, null); 99 assertStoredValue(buildSearchUri("CHUCI"), SearchSnippetColumns.SNIPPET, null); 100 assertStoredValue(buildSearchUri("CC"), SearchSnippetColumns.SNIPPET, null); 101 assertStoredValue(buildSearchUri("C"), SearchSnippetColumns.SNIPPET, null); [all...] |
/frameworks/base/core/java/android/view/textservice/ |
TextServicesManager.java | 72 if (sService == null) { 84 if (sInstance != null) { 94 * @param locale the locale for the spell checker. If {@code locale} is null and 96 * returned. If {@code locale} is not null and referToSpellCheckerLanguageSettings is true, 108 if (listener == null) { 111 if (!referToSpellCheckerLanguageSettings && locale == null) { 112 throw new IllegalArgumentException("Locale should not be null if you don't refer" 117 return null; 122 sci = sService.getCurrentSpellChecker(null); 124 return 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...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarEventModel.java | 50 return (mEmail == null) ? 0 : mEmail.hashCode(); 83 this(name, email, Attendees.ATTENDEE_STATUS_NONE, null, null); 196 * The uri of the event in the db. This should only be null for new events. 198 public String mUri = null; 208 public String mSyncId = null; 209 public String mSyncAccount = null; 210 public String mSyncAccountType = null; 213 public String mOwnerAccount = null; 214 public String mTitle = null; [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLRSAPrivateCrtKey.java | 55 if (modulus == null) { 56 throw new InvalidKeySpecException("modulus == null"); 57 } else if (privateExponent == null) { 58 throw new InvalidKeySpecException("privateExponent == null"); 77 publicExponent == null ? null : publicExponent.toByteArray(), 79 primeP == null ? null : primeP.toByteArray(), 80 primeQ == null ? null : primeQ.toByteArray() [all...] |
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/x500/ |
X500PrivateCredentialTest.java | 56 return null; 60 return null; 64 return null; 68 return null; 72 return null; 76 return null; 80 return null; 84 return null; 88 return null; 92 return null; [all...] |
/external/apache-http/src/org/apache/http/util/ |
VersionInfo.java | 91 * @param module the module, or <code>null</code> 92 * @param release the release, or <code>null</code> 93 * @param time the build time, or <code>null</code> 94 * @param clsldr the class loader, or <code>null</code> 98 if (pckg == null) { 100 ("Package identifier must not be null."); 104 infoModule = (module != null) ? module : UNAVAILABLE; 105 infoRelease = (release != null) ? release : UNAVAILABLE; 106 infoTimestamp = (time != null) ? time : UNAVAILABLE; 107 infoClassloader = (clsldr != null) ? clsldr : UNAVAILABLE [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
BstNodeTest.java | 53 SimpleNode leaf = new SimpleNode('a', null, null); 59 SimpleNode leaf = new SimpleNode('a', null, null); 60 SimpleNode node = new SimpleNode('b', leaf, null); 66 SimpleNode leaf = new SimpleNode('c', null, null); 67 SimpleNode node = new SimpleNode('b', null, leaf); 73 SimpleNode left = new SimpleNode('a', null, null); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
SuggestionSpanUtils.java | 60 .getFieldValue(null, null, FIELD_FLAG_EASY_CORRECT); 62 .getFieldValue(null, null, FIELD_FLAG_MISSPELLED); 64 .getFieldValue(null, null, FIELD_FLAG_AUTO_CORRECTION); 66 .getFieldValue(null, null, FIELD_SUGGESTIONS_MAX_SIZE); 70 CLASS_SuggestionSpan != null && CONSTRUCTOR_SuggestionSpan != null; [all...] |