/frameworks/ex/common/java/com/android/common/ |
Search.java | 62 * @return a cursor with suggestions, or <code>null</null> the suggestion query failed. 75 * @return a cursor with suggestions, or <code>null</null> the suggestion query failed. 79 if (searchable == null) { 80 return null; 84 if (authority == null) { 85 return null; 96 if (contentPath != null) { 103 // get the query selection, may be null [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
PhotoBitmapLoaderInterface.java | 24 * Should return null if the drawable is not ready to be shown (for instance, if 25 * the underlying bitmap is null). 28 if (resources == null) { 29 throw new IllegalArgumentException("resources can not be null!"); 32 if (drawable != null) { 37 // a null drawable as a signal to keep showing the loading stuff. 39 if (bitmap == null) { 40 return null;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
PresenterSelector.java | 31 return null;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PipedReaderTest.java | 85 preader = new PipedReader(null, -1); 92 preader = new PipedReader(null, 0); 124 char[] c = null; 139 char[] c = null; 162 char[] c = null; 178 char[] c = null; 203 PipedReader obj = null; 214 PipedReader obj = null; 225 PipedReader obj = null; 238 pr.read(null, -1, 1) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
InterfaceAddressTest.java | 40 // RI may fail on this when both broadcast addresses are null 41 if (interfaceAddr != null) { 53 // RI may fail on this when both broadcast addresses are null 54 if (interfaceAddr != null) { 55 assertFalse(interfaceAddr.equals(null)); 68 if (interfaceAddr != null) { 83 if (interfaceAddr != null) { 97 if (interfaceAddr != null) { 115 if (interfaceAddr != null) { 128 NetworkInterface theInterface = null; [all...] |
/libcore/luni/src/main/java/javax/xml/parsers/ |
FactoryConfigurationError.java | 45 this.exception = null; 57 this.exception = null; 102 if (message == null && exception != null) { 113 * @return The encapsulated exception, or null if there is none.
|
/libcore/luni/src/main/java/javax/xml/transform/ |
TransformerException.java | 38 * @return A SourceLocator object, or null if none was specified. 48 * @param location A SourceLocator object, or null to clear the location. 54 /** Field containedException specifies a wrapped exception. May be null. */ 60 * @return An Throwable object, or null. 68 * Returns the cause of this throwable or <code>null</code> if the 75 ? null 91 * {@link #getCause()} method). (A <tt>null</tt> value is 105 if (this.containedException != null) { 128 this.containedException = null; 129 this.locator = null; [all...] |
TransformerFactoryConfigurationError.java | 41 this.exception = null; 54 this.exception = null; 97 if ((message == null) && (exception != null)) { 108 * @return The encapsulated exception, or null if there is none.
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
LeafNodeImpl.java | 46 if (parent == null || index + 1 >= parent.children.size()) { 47 return null; 58 if (parent == null || index == 0) { 59 return null;
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
SettableCharsetProvider.java | 37 delegate = null; 42 if (delegate != null) { 51 if (delegate != null) { 55 return null;
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
CallSite.java | 31 public MethodType type() { return null; }
|
/libcore/ojluni/src/main/java/java/io/ |
SequenceInputStream.java | 105 if (in != null) { 111 if (in == null) 114 else in = null; 138 if (in == null) { 163 while (in != null) { 190 * @exception NullPointerException If <code>b</code> is <code>null</code>. 197 if (in == null) { 199 } else if (b == null) { 212 } while (in != null); 233 } while (in != null); [all...] |
/libcore/ojluni/src/main/java/java/util/ |
AbstractQueue.java | 45 * the base implementation does <em>not</em> allow {@code null} 50 * {@code null} returns. 54 * insertion of {@code null} elements, along with methods {@link 89 * @throws NullPointerException if the specified element is null and 90 * this queue does not permit null elements 114 if (x != null) 133 if (x != null) 144 * returns {@code null}. 147 while (poll() != null) 162 * {@code null} element) may result in only some of the element [all...] |
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
AdaptableX509CertSelector.java | 115 * of the extension, or null if it is empty. The serialNumber criterion 116 * is set to the authorityCertSerialNumber field, or null if it is empty. 128 ski = null; 129 serial = null; 131 if (ext != null) { 135 if (asn != null) { 173 if (serial != null && version > 2) { 181 if (startDate != null) { 188 if (endDate != null) { 211 if (ski == null) { [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
SpiEngUtils.java | 51 if (provs == null) { 52 return null; 54 return (provs.length == 0 ? null : provs[0]); 56 return null;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/interfaces/ |
DSAKeyPairGeneratorImpl.java | 31 private KeyPairGenerator dsaKeyPairGenerator = null; 32 private SecureRandom secureRandom = null; 33 private DSAParams dsaParams = null; 37 dsaKeyPairGenerator = null; 41 dsaKeyPairGenerator = null; 48 if (random == null) { 51 if (params == null) { 76 if (random == null) { 79 if (genParams == false && dsaParams == null) {
|
/packages/apps/Contacts/src-bind/com/android/contactsbind/util/ |
UserAgentGenerator.java | 32 return null;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
DirectoryResult.java | 38 if (client != null && doc.isInArchive()) { 41 cursor = null; 42 client = null; 43 doc = null;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
FilterStackSource.java | 36 private SQLiteDatabase database = null; 52 database = null; 63 ret = (-1 != database.insert(FilterStack.TABLE, null, val)); 100 database.delete(FilterStack.TABLE, null, null); 108 byte[] ret = null; 109 Cursor c = null; 115 new String[] { stackName }, null, null, null, null) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
SharedPreset.java | 21 private volatile ImagePreset mProducerPreset = null; 22 private volatile ImagePreset mConsumerPreset = null; 23 private volatile ImagePreset mIntermediatePreset = null; 27 if (mProducerPreset == null || (!mProducerPreset.same(preset))) {
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/filtershow/filters/ |
FiltersManager.java | 30 private static FiltersManager sInstance = null; 31 private static FiltersManager sPreviewInstance = null; 32 private static FiltersManager sHighresInstance = null; 39 if (sPreviewInstance == null) { 46 if (sInstance == null) { 53 if (sHighresInstance == null) { 60 sInstance = null; 61 sPreviewInstance = null; 62 sHighresInstance = null;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
CheckLongPressHelper.java | 28 if ((mView.getParent() != null) && mView.hasWindowFocus() 45 if (mPendingCheckForLongPress == null) { 53 if (mPendingCheckForLongPress != null) { 55 mPendingCheckForLongPress = null;
|
/packages/apps/Settings/tests/robotests/src/android/content/om/ |
IOverlayManager.java | 23 return null;
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
run_tests.sh | 30 pushd $PWD > /dev/null 34 popd > /dev/null
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
HelpersTest.java | 45 "http://example.com/file.txt", null, null, null, 53 null, null, null, null, Downloads.Impl.DESTINATION_CACHE_PARTITION); 57 null, null, null, null, Downloads.Impl.DESTINATION_CACHE_PARTITION) [all...] |