/external/guava/guava-tests/test/com/google/common/base/ |
ObjectsTest.java | 34 assertTrue(Objects.equal(null, null)); 41 assertFalse(Objects.equal(s1, null)); 42 assertFalse(Objects.equal(null, s1)); 55 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, 2)); 56 assertTrue(Objects.hashCode(1, 2, null) != Objects.hashCode(1, null, 2)); 57 assertTrue(Objects.hashCode(1, null, 2) != Objects.hashCode(1, 2)); 68 Long n2 = Objects.firstNonNull(null, n1); 74 Objects.firstNonNull(null, null) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
ShaderKey.java | 60 return "V="+name + " F=" + fragName + (defines != null ? defines : ""); 65 if (obj == null){ 75 if (defines != null && other.defines != null) 77 else if (defines != null || other.defines != null) 90 hash = 41 * hash + (defines != null ? defines.getCompiled().hashCode() : 0); 114 oc.write(fragName, "fragment_name", null); 115 oc.write(language, "language", null); 122 fragName = ic.readString("fragment_name", null); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
Accept.java | 70 if (mediaRange == null) 82 if (mediaRange == null) { 96 if (mediaRange != null) 98 if (parameters != null && !parameters.isEmpty()) { 116 if (mediaRange == null) 117 return null; 126 if (mediaRange == null) 127 return null; 160 if (mediaRange == null) 169 if (mediaRange == null) [all...] |
CallIdentifier.java | 76 * @throws IllegalArgumentException if cid is null or is not a token, 93 if (host != null) { 106 if (other == null ) return false; 116 if ((this.host == null && that.host != null) 117 || (this.host != null && that.host == null)) 127 if (this.localId == null ) { 157 * @throws IllegalArgumentException if cid is null or is not a token or 161 if (cid == null) [all...] |
To.java | 94 if (address != null) { 118 if (address == null) 119 return null; 129 if (address == null) 130 return null; 140 if (parameters == null) 141 return null; 152 if (parameters == null) 162 if (parameters != null) 183 if (address == null) [all...] |
/external/smack/src/org/jivesoftware/smackx/ |
MultipleRecipientManager.java | 61 * @param to the list of JIDs to include in the TO list or <tt>null</tt> if no TO 63 * @param cc the list of JIDs to include in the CC list or <tt>null</tt> if no CC 65 * @param bcc the list of JIDs to include in the BCC list or <tt>null</tt> if no BCC 72 send(connection, packet, to, cc, bcc, null, null, false); 84 * @param to the list of JIDs to include in the TO list or <tt>null</tt> if no TO 86 * @param cc the list of JIDs to include in the CC list or <tt>null</tt> if no CC 88 * @param bcc the list of JIDs to include in the BCC list or <tt>null</tt> if no BCC 90 * @param replyTo address to which all replies are requested to be sent or <tt>null</tt> 92 * @param replyRoom JID of a MUC room to which responses should be sent or <tt>null</tt [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BaseCommand.java | 44 mCurArgData = null; 87 * starts with '-'. If the next argument is not an option, null is returned. 90 if (mCurArgData != null) { 95 return null; 99 return null; 103 return null; 110 mCurArgData = null; 114 mCurArgData = null; 120 * no arguments left, return null. 123 if (mCurArgData != null) { [all...] |
/libcore/luni/src/main/java/java/net/ |
URL.java | 111 if (streamHandlerFactory != null) { 125 this((URL) null, spec, null); 131 * @param context the URL to which {@code spec} is relative, or null for 137 this(context, spec, null); 143 * @param context the URL to which {@code spec} is relative, or null for 145 * @param handler the stream handler for this URL, or null for the 151 if (spec == null) { 154 if (handler != null) { 160 int schemeSpecificPartStart = protocol != null ? (protocol.length() + 1) : 0 [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CRLEntryImpl.java | 63 * If specified issuer is null, it is supposed that issuer 82 if (encoding == null) { 119 return (extensions != null) && (extensions.size() != 0); 139 if (extensions == null) { 140 return null; 150 if (extensions == null) { 151 return null; 161 if (extensions == null) { 162 return null; 165 return (ext == null) ? null : ext.getRawExtnValue() [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
Device.java | 34 private static String sDeviceId = null; 44 if (sDeviceId == null) { 51 if (context == null) { 55 BufferedReader rdr = null; 62 if (id == null) { 63 // It's very bad if we read a null device id; let's delete that file 66 "Can't delete null deviceName file; try overwrite."); 81 if (consistentDeviceId != null) { 93 * @return Device's unique ID if available. null if the device has no unique ID. 100 if (tm == null) { [all...] |
/frameworks/base/core/java/android/content/ |
IntentFilter.java | 252 private ArrayList<String> mCategories = null; 253 private ArrayList<String> mDataSchemes = null; 254 private ArrayList<PatternMatcher> mDataSchemeSpecificParts = null; 255 private ArrayList<AuthorityEntry> mDataAuthorities = null; 256 private ArrayList<PatternMatcher> mDataPaths = null; 257 private ArrayList<String> mDataTypes = null; 265 if (set == null) return -1; 276 if (set == null) { 307 set[N-1] = null; 405 if (o.mCategories != null) { [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
Stylesheet.java | 93 if (null != parent) 242 if (null == m_ExtensionElementURIs) 256 return (null != m_ExtensionElementURIs) 271 if (null == m_ExtensionElementURIs) 320 if (null == m_ExcludeResultPrefixs) 334 return (null != m_ExcludeResultPrefixs) 343 * @param prefix non-null reference to prefix that might be excluded. 351 if (null == m_ExcludeResultPrefixs || uri == null ) 458 if (null == m_imports [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
CallCardPresenter.java | 72 // Call may be null if disconnect happened already. 73 if (call != null) { 83 updateContactEntry(null, true, true); 95 if (mPrimaryContactInfo != null) { 114 mPrimary = null; 115 mPrimaryContactInfo = null; 116 mSecondaryContactInfo = null; 129 if (ui == null) { 133 Call primary = null; 134 Call secondary = null; [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationsDirectoryItem.java | 43 /** {@code null-ok;} the class-level annotations, if any */ 46 /** {@code null-ok;} the annotated fields, if any */ 49 /** {@code null-ok;} the annotated methods, if any */ 52 /** {@code null-ok;} the annotated parameters, if any */ 61 classAnnotations = null; 62 fieldAnnotations = null; 63 methodAnnotations = null; 64 parameterAnnotations = null; 80 return (classAnnotations == null) && 81 (fieldAnnotations == null) & [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationsDirectoryItem.java | 42 /** {@code null-ok;} the class-level annotations, if any */ 45 /** {@code null-ok;} the annotated fields, if any */ 48 /** {@code null-ok;} the annotated methods, if any */ 51 /** {@code null-ok;} the annotated parameters, if any */ 60 classAnnotations = null; 61 fieldAnnotations = null; 62 methodAnnotations = null; 63 parameterAnnotations = null; 79 return (classAnnotations == null) && 80 (fieldAnnotations == null) & [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
AnnotationsDirectoryItem.java | 43 /** {@code null-ok;} the class-level annotations, if any */ 46 /** {@code null-ok;} the annotated fields, if any */ 49 /** {@code null-ok;} the annotated methods, if any */ 52 /** {@code null-ok;} the annotated parameters, if any */ 61 classAnnotations = null; 62 fieldAnnotations = null; 63 methodAnnotations = null; 64 parameterAnnotations = null; 80 return (classAnnotations == null) && 81 (fieldAnnotations == null) & [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 76 return mThumbnail != null; 87 mStripBytes.add(null); 125 * exists or null. 131 return null; 148 if (ifdData == null) { 157 * Otherwise returns null. 161 return (ifdData == null) ? null : ifdData.getTag(tag); 166 * with the same TID or null if none exist [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
PKIXParameters.java | 81 if (trustAnchors == null) { 82 throw new NullPointerException("trustAnchors == null"); 103 if (keyStore == null) { 104 throw new NullPointerException("keyStore == null"); 111 // keyStore is not null and loaded 122 trustAnchors.add(new TrustAnchor((X509Certificate)c, null)); 148 if (trustAnchors == null) { 149 throw new NullPointerException("trustAnchors == null"); 187 if (certPathCheckers == null) { 212 * null} to clear the checkers [all...] |
X509CRLSelector.java | 69 * null} if any issuer distinguished name will do. 72 if (issuers == null) { 73 issuerNames = null; 74 issuerPrincipals = null; 99 * null} if any issuer distinguished name will do. 104 if (names == null) { 105 issuerNames = null; 106 issuerPrincipals = null; 138 if (issuer == null) { 139 throw new NullPointerException("issuer == null"); [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 76 return mThumbnail != null; 87 mStripBytes.add(null); 125 * exists or null. 131 return null; 148 if (ifdData == null) { 157 * Otherwise returns null. 161 return (ifdData == null) ? null : ifdData.getTag(tag); 166 * with the same TID or null if none exist [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 76 return mThumbnail != null; 87 mStripBytes.add(null); 125 * exists or null. 131 return null; 148 if (ifdData == null) { 157 * Otherwise returns null. 161 return (ifdData == null) ? null : ifdData.getTag(tag); 166 * with the same TID or null if none exist [all...] |
/packages/apps/Launcher3/src/com/android/gallery3d/exif/ |
ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 76 return mThumbnail != null; 87 mStripBytes.add(null); 125 * exists or null. 131 return null; 148 if (ifdData == null) { 157 * Otherwise returns null. 161 return (ifdData == null) ? null : ifdData.getTag(tag); 166 * with the same TID or null if none exist [all...] |
/packages/apps/Mms/src/com/android/mms/exif/ |
ExifData.java | 56 * Gets the compressed thumbnail. Returns null if there is no compressed 76 return mThumbnail != null; 87 mStripBytes.add(null); 125 * exists or null. 131 return null; 148 if (ifdData == null) { 157 * Otherwise returns null. 161 return (ifdData == null) ? null : ifdData.getTag(tag); 166 * with the same TID or null if none exist [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/ |
ValuesDescriptors.java | 92 null /* nsUri */, 99 null, // no child nodes 109 null /* nsUri */, 116 null, // no child nodes 122 null, // TODO find javadoc 123 null, // TODO find link to javadoc 126 null /* nsUri */, 130 null /* nsUri */, 136 null /* nsUri */, 155 null, // no child node [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_FilesTest.java | 87 assertEquals(1, mResolver.update(fileUri, values, null, null)); 95 assertEquals(1, mResolver.delete(fileUri, null, null)); 99 Cursor cursor = mResolver.query(fileUri, null, null, null, null); 113 null, null, null) [all...] |