/frameworks/base/core/java/android/view/ |
GLES20TextureLayer.java | 41 mFinalizer = null; 57 return null; 62 return null; 67 return null; 75 if (mSurface == null) { 82 if (mSurface != null) {
|
/frameworks/base/core/java/android/widget/ |
CursorAdapter.java | 168 boolean cursorPresent = c != null; 177 mChangeObserver = null; 178 mDataSetObserver = null; 182 if (mChangeObserver != null) c.registerContentObserver(mChangeObserver); 183 if (mDataSetObserver != null) c.registerDataSetObserver(mDataSetObserver); 199 if (mDataValid && mCursor != null) { 210 if (mDataValid && mCursor != null) { 214 return null; 222 if (mDataValid && mCursor != null) { 249 if (convertView == null) { [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
RSSurfaceView.java | 95 if (mRS != null) { 96 mRS.setSurface(null, 0, 0); 108 if (mRS != null) { 122 if(mRS != null) { 136 if(mRS != null) { 156 mRS = null;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
KeyValueMap.java | 53 return result != null ? (String)result : null; 58 return result != null ? (Integer)result : null; 63 return result != null ? (Float)result : null;
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyService.java | 35 private static ProxyServer server = null; 47 if (server == null) { 55 if (server != null) { 57 server = null; 66 if (server != null) { 68 if (portListener != null) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
GraphOutputTarget.java | 13 private Frame mFrame = null; 38 Frame result = null; 39 if (mFrame != null) { 41 mFrame = null; 49 if (mFrame != null) { 57 return super.canSchedule() && mFrame == null;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
MediaDecoder.java | 119 if (context == null) { 120 throw new NullPointerException("context cannot be null"); 124 if (uri == null) { 125 throw new NullPointerException("uri cannot be null"); 134 if (listener == null) { 135 throw new NullPointerException("listener cannot be null"); 194 if (event != null) { 200 if (mVideoTrackDecoder != null) { 229 mMediaExtractor.setDataSource(mContext, mUri, null); 284 mDefaultRotation = rotationString == null ? 0 : Integer.parseInt(rotationString) [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
RenameClassAdapter.java | 56 assert (mOldBase == null && mNewBase == null) || (mOldBase != null && mNewBase != null); 68 if (type == null) { 69 return null;
|
/frameworks/support/v4/ics/android/support/v4/text/ |
ICUCompatIcs.java | 34 if (clazz != null) { 48 if (sGetScriptMethod != null) { 50 return (String) sGetScriptMethod.invoke(null, args); 60 return null; 65 if (sAddLikelySubtagsMethod != null) { 67 return (String) sAddLikelySubtagsMethod.invoke(null, args);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
CursorAdapter.java | 170 boolean cursorPresent = c != null; 179 mChangeObserver = null; 180 mDataSetObserver = null; 184 if (mChangeObserver != null) c.registerContentObserver(mChangeObserver); 185 if (mDataSetObserver != null) c.registerDataSetObserver(mDataSetObserver); 201 if (mDataValid && mCursor != null) { 212 if (mDataValid && mCursor != null) { 216 return null; 224 if (mDataValid && mCursor != null) { 251 if (convertView == null) { [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteChooserDialogFragment.java | 50 * @return The selector, never null. 58 if (mSelector == null) { 60 if (args != null) { 63 if (mSelector == null) { 76 if (selector == null) { 77 throw new IllegalArgumentException("selector must not be null"); 85 if (args == null) { 92 if (dialog != null) {
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
DrawGLFunctor.java | 45 if (mCleanupReference != null) { 47 mCleanupReference = null; 48 mDestroyRunnable = null; 61 if (canvas != null) { 96 if (mNativeDrawGLFunctor != 0 && mViewRootImpl != null) { 99 mViewRootImpl = null;
|
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLServerSocketFactoryImpl.java | 62 if (instantiationException != null) { 73 if (instantiationException != null) { 84 if (instantiationException != null) { 96 if (instantiationException != null) { 109 if (instantiationException != null) { 122 if (instantiationException != null) {
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
SamplingProfiler.java | 183 * sampled, in which case the extra elements must be null. 206 if (threads == null) { 207 throw new NullPointerException("threads == null"); 235 if (threadGroup == null) { 236 throw new NullPointerException("threadGroup == null"); 264 Arrays.fill(threads, threadCount, lastThread, null); 280 if (sampler != null) { 293 if (sampler == null) { 305 sampler = null; 326 if (sampler != null) { [all...] |
/libcore/dex/src/main/java/com/android/dex/util/ |
ExceptionWithContext.java | 26 /** {@code non-null;} human-oriented context of the exception */ 35 * @param ex {@code non-null;} the exception to augment 36 * @param str {@code non-null;} context to add 37 * @return {@code non-null;} an appropriate instance 58 this(message, null); 64 * @param cause {@code null-ok;} exception that caused this one 67 this(null, cause); 74 * @param cause {@code null-ok;} exception that caused this one 77 super((message != null) ? message : 78 (cause != null) ? cause.getMessage() : null [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectableChannelTest.java | 38 // register(Selector, int, Object) being called with a null value 49 return null; 54 return null; 66 return null; 70 return null; 75 if (null == att) { 78 return null;
|
/libcore/luni/src/main/java/java/nio/channels/spi/ |
SelectorProvider.java | 41 private static SelectorProvider provider = null; 66 if (provider == null) { 68 if (provider == null) { 71 if (provider == null) { 82 return null; 133 * On Android, this method always returns null because stdin and stdout are 142 return null;
|
/libcore/luni/src/main/java/java/security/ |
SecureClassLoader.java | 79 * the {@code CodeSource}, or {@code null}. 93 return cs == null ? defineClass(name, b, off, len) : defineClass(name, 106 * the {@code CodeSource}, or {@code null}. 119 return cs == null ? defineClass(name, data, 0, data.length) 130 if (cs == null) { 131 return null; 137 if ((pd = pds.get(cs)) != null) { 141 pd = new ProtectionDomain(cs, perms, this, null);
|
/libcore/luni/src/main/java/java/util/ |
MapEntry.java | 57 return (key == null ? entry.getKey() == null : key.equals(entry 59 && (value == null ? entry.getValue() == null : value 75 return (key == null ? 0 : key.hashCode()) 76 ^ (value == null ? 0 : value.hashCode());
|
/libcore/luni/src/main/java/java/util/concurrent/ |
DelayQueue.java | 23 * will return {@code null}. Expiration occurs when an element's 29 * This queue does not permit null elements. 58 * field is invalidated by being reset to null, and some 63 private Thread leader = null; 83 * of its elements are null 94 * @throws NullPointerException if the specified element is null 105 * @throws NullPointerException if the specified element is null 113 leader = null; 148 * Retrieves and removes the head of this queue, or returns {@code null} 151 * @return the head of this queue, or {@code null} if thi [all...] |
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicReferenceFieldUpdater.java | 170 * setting vclass to null in constructor. The targetCheck and 188 // caller, tclass, null, modifiers); 191 // if ((ccl != null) && (ccl != cl) && 192 // ((cl == null) || !isAncestor(cl, ccl))) { 212 caller != tclass) ? caller : null; 215 this.vclass = null; 235 // } while (acl != null); 243 if (cclass != null) 249 (update != null && vclass != null && !vclass.isInstance(update)) [all...] |
/libcore/luni/src/main/java/javax/crypto/spec/ |
RC2ParameterSpec.java | 41 iv = null; 56 * if the initialization vector is null or shorter than 8 bytes. 59 if (iv == null) { 60 throw new IllegalArgumentException("iv == null"); 85 * if the initialization vector is null or starting at 89 if (iv == null) { 90 throw new IllegalArgumentException("iv == null"); 112 * @return a copy of the initialization vector, or null if none specified. 115 if (iv == null) { 116 return null; [all...] |
/libcore/luni/src/main/java/libcore/icu/ |
CollationKeyICU.java | 43 if (bytes == null || bytes.length == 0) { 44 if (rhsBytes == null || rhsBytes.length == 0) { 49 if (rhsBytes == null || rhsBytes.length == 0) { 96 if (bytes != null && bytes.length != 0) { 112 if (bytes == null || bytes.length == 0) { 113 return null;
|
/libcore/luni/src/main/java/libcore/net/url/ |
JarHandler.java | 59 if (file == null) { 86 setURL(url, "jar", "", -1, null, null, file, null, null); 102 if (ref != null) {
|
/libcore/luni/src/main/java/libcore/util/ |
BasicLruCache.java | 41 * head of the queue. This returns null if a value is not cached and cannot 45 if (key == null) { 46 throw new NullPointerException("key == null"); 50 if (result != null) { 56 if (result != null) { 71 if (key == null) { 72 throw new NullPointerException("key == null"); 73 } else if (value == null) { 74 throw new NullPointerException("value == null"); 102 * Returns the computed value or null if no value can be computed. Th [all...] |