/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowComponentName.java | 24 if (pkg == null) throw new NullPointerException("package name is null"); 25 if (cls == null) throw new NullPointerException("class name is null"); 31 if (cls == null) throw new NullPointerException("class name is null"); 54 return null; 70 if (c == null) { 79 if (o == null) return false; 81 if (o == null) return false [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
SyntheticAccessorResolver.java | 57 if (accessedMember != null) { 62 if (classDefItem == null) { 63 return null; 67 if (classDataItem == null) { 68 return null; 72 if (encodedMethod == null) { 73 return null; 78 return null; 90 return null; 95 return null; [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
HostApduService.java | 225 Messenger mNfcService = null; 235 if (dataBundle == null) { 238 if (mNfcService == null) mNfcService = msg.replyTo; 241 if (apdu != null) { 242 byte[] responseApdu = processCommandApdu(apdu, null); 243 if (responseApdu != null) { 244 if (mNfcService == null) { 248 Message responseMsg = Message.obtain(null, MSG_RESPONSE_APDU); 265 if (mNfcService == null) { 278 mNfcService = null; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeContentProvider.java | 39 * TODO: never return null when the method is not supposed to. Return fake data instead. 47 return null; 61 return null; 74 return null; 80 return null; 88 return null; 96 return null; 103 return null; 116 return null; 122 return null; [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
PhotoBitmapLoader.java | 53 if (context != null && mPhotoUri != null) { 58 if (result.bitmap != null) { 77 Bitmap bitmap = result != null ? result.bitmap : null; 81 if (bitmap != null) { 98 if (oldBitmap != null && oldBitmap != bitmap && !oldBitmap.isRecycled()) { 108 if (mBitmap != null) { 117 if (takeContentChanged() || mBitmap == null) { 141 if (result != null) { [all...] |
/libcore/luni/src/main/java/java/io/ |
PushbackInputStream.java | 47 * <p><strong>Warning:</strong> passing a null source creates an invalid 56 buf = (in == null) ? null : new byte[1]; 64 * <p><strong>Warning:</strong> passing a null source creates an invalid 80 buf = (in == null) ? null : new byte[size]; 86 if (buf == null) { 101 if (in != null) { 103 in = null; 104 buf = null; [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ObjectIdentifier.java | 53 * @throws IllegalArgumentException if oid is invalid or null 64 * @throws IllegalArgumentException if oid string is invalid or null 75 if (o == null || this.getClass() != o.getClass()) { 82 if (soid == null) { 101 * @throws IllegalArgumentException if oid is invalid or null 104 if (oid == null) { 105 throw new IllegalArgumentException("oid == null"); 156 * @throws IllegalArgumentException if oid string is invalid or null 172 return toIntArray(str, false) != null; 183 * @return oid as array of integers or null if the oid string i [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
FilterInputStreamNullSourceTest.java | 40 assertReadsFailWithIoException(new BufferedInputStream(null)); 41 assertReadsFailWithIoException(new BufferedInputStream(null, 1024)); 45 assertReadsFailWithNullPointerException(new CheckedInputStream(null, new CRC32())); 49 InputStream in = new CipherInputStream(null, new NullCipher()); 66 assertReadsFailWithNullPointerException(new DataInputStream(null)); 71 assertReadsFailWithNullPointerException(new DigestInputStream(null, md5)); 75 assertReadsFailWithNullPointerException(new FilterInputStream(null) {}); 80 new InflaterInputStream(null); 85 new InflaterInputStream(null, new Inflater()); 90 new InflaterInputStream(null, new Inflater(), 1024) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
TabControl.java | 76 if (t == null) { 77 return null; 89 if (t == null) { 90 return null; 97 * @return The subwindow of the current tab or null if it doesn't exist. 101 if (t == null) { 102 return null; 116 * @return The Tab for the specified position or null if the tab does not 123 return null; 148 if (tab == null) { [all...] |
/packages/apps/Mms/src/com/android/mms/dom/ |
ElementImpl.java | 47 if (attrNode != null) { 55 return null; 64 return null; 73 return null; 81 return (getAttributeNode(name) != null); 102 return null; 107 if (attribute == null) { 122 return null; 127 return null; 156 return null; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
AccountUtils.java | 46 if (inList != null) { 72 Cursor accountsCursor = null; 77 UIProvider.ACCOUNTS_PROJECTION, null, null, null); 78 if (accountsCursor != null) { 87 if (accountsCursor != null) { 101 Cursor accountsCursor = null; 105 UIProvider.ACCOUNTS_PROJECTION, null, null, null) [all...] |
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/ |
HoloSpiralView.java | 39 private RenderScriptGL mRenderScript = null; 40 private HoloSpiralRS mWallpaperRS = null; 43 if (mWallpaperRS != null) { 45 mWallpaperRS = null; 48 if (mRenderScript != null) { 49 mRenderScript.setSurface(null, 0, 0); 50 mRenderScript = null; 59 Surface surface = null; 60 while (surface == null) { 80 if (mRenderScript != null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
Locale.java | 96 Image image = null; 97 String languageCode = hasLanguage() ? language.getValue() : null; 98 String regionCode = hasRegion() ? region.getValue() : null; 99 if (languageCode == null && regionCode == null) { 104 if (image == null) { 135 result = prime * result + ((language == null) ? 0 : language.hashCode()); 136 result = prime * result + ((region == null) ? 0 : region.hashCode()); 144 if (obj == null) 149 if (language == null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeProxy.java | 76 * - <b>*or*</b> null (or an invalid rect) for a view that has just been added dynamically 77 * to the model. We never store a null bounds rectangle in the node, a null rectangle 84 if (bounds == null) { 100 if (view != null) { 102 if (margins != null) { 115 if (view != null) { 123 * Updates the bounds of this node proxy. Bounds cannot be null, but it can be invalid. 143 if (mNode != null) { 159 if (mNode != null) { [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 67 public static String defaultProviderName = null; 69 public static Provider defaultProvider = null; 93 KSSupported = (defaultProvider != null); 94 defaultProviderName = (KSSupported ? defaultProvider.getName() : null); 109 * Assertions: throw IllegalArgumentException if param is null; 119 kss[i].load(null); 120 fail("IOException or IllegalArgumentException should be thrown for null parameter"); 124 kss[i].load(null, null); 126 kss[i].store(null); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CRLImpl.java | 83 // indicates whether the signature algorithm parameters are null 142 if (encoding == null) { 163 if (issuer == null) { 174 if (issuer == null) { 204 if (rcerts == null) { 209 // null means that revoked certificate issuer is the same as CRL issuer 210 X500Principal rcertIssuer = null; 215 if (iss != null) { 239 if (certificate == null) { 240 throw new NullPointerException("certificate == null"); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLContextTest.java | 38 sslContext.init(null, null, null); 45 SSLContext.setDefault(null); 64 SSLContext.getInstance(null); 75 SSLContext.getInstance(null, (String) null); 80 SSLContext.getInstance(null, ""); 86 SSLContext.getInstance(protocol, (String) null); 92 SSLContext.getInstance(null, StandardNames.JSSE_PROVIDER_NAME) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 66 public static String defaultProviderName = null; 68 public static Provider defaultProvider = null; 92 KSSupported = (defaultProvider != null); 93 defaultProviderName = (KSSupported ? defaultProvider.getName() : null); 108 * Assertions: throw IllegalArgumentException if param is null; 118 kss[i].load(null); 119 fail("IOException or IllegalArgumentException should be thrown for null parameter"); 123 kss[i].load(null, null); 125 kss[i].store(null); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiElementNode.java | 98 /** The element descriptor for the node. Always present, never null. */ 100 /** The parent element node in the UI model. It is null for a root element or until 104 * root node. All children have the value set to null and query their parent. */ 107 * only for the root node. All children have the value set to null and query their parent. */ 109 /** The XML {@link Node} mirror by this UI node. This can be null for mandatory UI node which 112 /** The list of all UI children nodes. Can be empty but never null. There's one UI children 116 * The list is always defined and never null. Unlike the UiElementNode children list, this 130 * listeners attached, so the list is only created on demand and can be null. */ 141 * @param elementDescriptor The {@link ElementDescriptor} for the XML node. Cannot be null. 153 mUiParent != null ? mUiParent.toString() : "none", //$NON-NLS-1 [all...] |
/external/apache-http/src/org/apache/http/conn/ssl/ |
SSLSocketFactory.java | 188 if (algorithm == null) { 191 KeyManager[] keymanagers = null; 192 if (keystore != null) { 195 TrustManager[] trustmanagers = null; 196 if (truststore != null) { 211 this(TLS, keystore, keystorePassword, truststore, null, null); 217 this(TLS, keystore, keystorePassword, null, null, null); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
DTMException.java | 48 * @return A SourceLocator object, or null if none was specified. 58 * @param location A SourceLocator object, or null to clear the location. 64 /** Field containedException specifies a wrapped exception. May be null. 71 * @return An Throwable object, or null. 79 * Returns the cause of this throwable or <code>null</code> if the 86 ? null 102 * {@link #getCause()} method). (A <tt>null</tt> value is 116 if ((this.containedException == null) && (cause != null)) { 117 throw new IllegalStateException(XMLMessages.createXMLMessage(XMLErrorResources.ER_CANNOT_OVERWRITE_CAUSE, null)); //"Can't overwrite cause") [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 41 private ASN1Set sData = null; 43 private InputStream currentStream = null; 45 private ASN1Set sCrlData = null; 47 private InputStream currentCrlStream = null; 74 if (sData != null) 88 return null; 97 if (seq != null) 103 return null; 118 if (seq != null) 124 return null; [all...] |
/external/javasqlite/src/main/java/SQLite/JDBC2z/ |
JDBCResultSetMetaData.java | 14 return null; 19 if (r != null && r.tr != null) { 21 return null; 41 return null; 45 if (r != null && r.tr != null) { 57 String c = null; 58 if (r != null && r.tr != null) { [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
Shader.java | 102 String name = null;
103 String source = null;
104 String defines = null;
109 if (type == null)
127 oc.write(shaderType, "shaderType", null);
128 oc.write(name, "name", null);
129 oc.write(source, "source", null);
130 oc.write(defines, "defines", null);
135 shaderType = ic.readEnum("shaderType", ShaderType.class, null);
136 name = ic.readString("name", null);
[all...] |
/external/junit/src/junit/framework/ |
Assert.java | 27 assertTrue(null, condition); 41 assertFalse(null, condition); 47 if (message == null) { 56 fail(null); 63 if (expected == null && actual == null) 65 if (expected != null && expected.equals(actual)) 74 assertEquals(null, expected, actual); 80 if (expected == null && actual == null) [all...] |