/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DeletedContactUtil.java | 40 Cursor cursor = resolver.query(uri, projection, null, null, null); 51 Cursor cursor = resolver.query(URI, projection, null, null, null); 65 Cursor cursor = resolver.query(URI, projection, null, null, null); 78 Cursor cursor = resolver.query(URI, projection, selection, args, null); [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairTest.java | 45 return null; 58 return null; 75 * parameters (both <code>null</code>) 78 Object kp = new KeyPair(null, null); 95 * Assertion: returns private key (<code>null</code> in this case) 98 KeyPair kp = new KeyPair(null, null); 109 KeyPair kp = new KeyPair(null, pk); 115 * Assertion: returns public key (<code>null</code> in this case [all...] |
/external/apache-http/src/org/apache/http/conn/params/ |
ConnRouteParams.java | 79 * {@link #NO_HOST} will be mapped to <code>null</code>, 85 * <code>null</code> if not set 88 if (params == null) { 89 throw new IllegalArgumentException("Parameters must not be null."); 93 if ((proxy != null) && NO_HOST.equals(proxy)) { 95 proxy = null; 106 * @param proxy the value to set, may be <code>null</code>. 108 * <code>null</code> by {@link #getDefaultProxy}, 113 if (params == null) { 114 throw new IllegalArgumentException("Parameters must not be null.") [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/extensions/ |
ExtensionNamespaceSupport.java | 36 String m_namespace = null; 37 String m_handlerClass = null; 38 Class [] m_sig = null; 39 Object [] m_args = null; 52 if (m_args[i] != null) 54 else // If an arguments is null, pick the constructor later. 56 m_sig = null; 73 ExtensionHandler handler = null; 77 Constructor con = null; 79 if (m_sig != null) [all...] |
/external/proguard/src/proguard/ |
ClassPathEntry.java | 103 this.filter = filter == null || filter.size() == 0 ? null : filter; 114 this.jarFilter = filter == null || filter.size() == 0 ? null : filter; 125 this.warFilter = filter == null || filter.size() == 0 ? null : filter; 136 this.earFilter = filter == null || filter.size() == 0 ? null : filter; 147 this.zipFilter = filter == null || filter.size() == 0 ? null : filter [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
zip_output_unittest.sh | 54 if unzip -h > /dev/null; then 57 grep 'testing: testzip\.pb\.cc *OK$' testzip.list > /dev/null \ 59 grep 'testing: testzip\.pb\.h *OK$' testzip.list > /dev/null \ 61 grep 'testing: testzip_pb2\.py *OK$' testzip.list > /dev/null \ 63 grep -i 'manifest' testzip.list > /dev/null \ 70 if jar c testzip.proto > /dev/null; then 73 grep '^test/jar/Foo\.java$' testzip.list > /dev/null \ 75 grep '^test/jar/Bar\.java$' testzip.list > /dev/null \ 77 grep '^test/jar/Outer\.java$' testzip.list > /dev/null \ 79 grep '^META-INF/MANIFEST\.MF$' testzip.list > /dev/null \ [all...] |
/external/smack/src/org/xbill/DNS/ |
Options.java | 43 if (s != null) { 62 table = null; 68 if (table == null) 76 if (table == null) 84 if (table == null) 92 if (table == null) 94 return (table.get(option.toLowerCase()) != null); 100 if (table == null) 101 return null; 111 if (s != null) { [all...] |
/external/webkit/LayoutTests/storage/ |
execute-sql-args.js | 11 'null', 15 '"", null', 22 '"", null, null', 23 '"", null, undefined', 24 '"", null, { }', 25 '"", null, null, null', 26 '"", null, null, undefined' [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.1.5-1.js | 51 if ( Object == null ) { 52 testcases[0].reason += " Object == null" ; 54 if ( Function == null ) { 55 testcases[0].reason += " Function == null"; 57 if ( String == null ) { 58 testcases[0].reason += " String == null"; 60 if ( Array == null ) { 61 testcases[0].reason += " Array == null"; 63 if ( Number == null ) { 64 testcases[0].reason += " Function == null"; [all...] |
10.1.5-3.js | 53 if ( Object == null ) { 54 testcases[0].reason += " Object == null" ; 56 if ( Function == null ) { 57 testcases[0].reason += " Function == null"; 59 if ( String == null ) { 60 testcases[0].reason += " String == null"; 62 if ( Array == null ) { 63 testcases[0].reason += " Array == null"; 65 if ( Number == null ) { 66 testcases[0].reason += " Function == null"; [all...] |
/frameworks/base/core/tests/coretests/src/android/webkit/ |
UrlInterceptRegistryTest.java | 48 return null; 58 return null; 63 PluginData data = new PluginData(null, 0 , null, 200); 68 data = new PluginData(null, 0 , null, 404); 76 data = UrlInterceptRegistry.getPluginData("url1", null); 77 assertTrue(data != null); 80 data = UrlInterceptRegistry.getPluginData("url2", null); 81 assertTrue(data != null); [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
OutputPort.java | 33 if (mTargetPort != null) { 41 return mTargetPort != null; 46 if (mTargetPort != null && !mTargetPort.isOpen()) { 53 if (mTargetPort != null && mTargetPort.isOpen()) { 63 return mTargetPort == null ? null : mTargetPort.getFilter(); 84 if (mTargetPort != null) { 91 if (mTargetPort == null) { 101 if (mTargetPort == null) { 115 return mTargetPort == null ? false : mTargetPort.hasFrame() [all...] |
/libcore/luni/src/main/java/java/lang/ref/ |
ReferenceQueue.java | 42 * @return the next available reference, or {@code null} if no reference is 47 if (head == null) { 48 return null; 56 head = null; 61 ret.queueNext = null; 84 * @return the next available reference, or {@code null} if no reference 95 if (head != null) { 103 } while (head == null); 115 if (head != null) { 136 if (head == null) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapLoader.java | 44 // mTask is not null only when a task is on the way 51 mTask = null; 54 if (mBitmap != null) { 56 mBitmap = null; 60 if (future.isCancelled() && mBitmap == null) { 64 mState = mBitmap == null ? STATE_ERROR : STATE_LOADED; 73 if (mTask == null) mTask = submitBitmapTask(this); 80 if (mTask != null) mTask.cancel(); 87 if (mBitmap != null) { 89 mBitmap = null; [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DeletedContactUtil.java | 40 Cursor cursor = resolver.query(uri, projection, null, null, null); 51 Cursor cursor = resolver.query(URI, projection, null, null, null); 65 Cursor cursor = resolver.query(URI, projection, null, null, null); 78 Cursor cursor = resolver.query(URI, projection, selection, args, null); [all...] |
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeSystemFacade.java | 16 Long mMaxBytesOverMobile = null; 17 Long mRecommendedMaxBytesOverMobile = null; 26 mMaxBytesOverMobile = null; 27 mRecommendedMaxBytesOverMobile = null; 46 if (mActiveNetworkType == null) { 47 return null; 49 final NetworkInfo info = new NetworkInfo(mActiveNetworkType, 0, null, null); 50 info.setDetailedState(DetailedState.CONNECTED, null, null); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GlobalCanvasDragInfo.java | 37 * off a canvas or its palette and then set back to null when the drag'n'drop is finished. 41 * and will be null. 47 private SimpleElement[] mCurrentElements = null; 49 private Object mSourceCanvas = null; 72 * @param selection The selection (which can be null, for example when the 76 * @param removeSourceHandler A runnable (or null) which can clean up the 93 mCurrentElements = null; 94 mCurrentSelection = null; 95 mSourceCanvas = null; 96 mRemoveSourceHandler = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
PropertyChangeTransform.java | 37 this(accessor, newValue, null); 50 mOldValue = null; 58 assert mOldValue == null : "Transform cannot be applied multiple times"; 59 if (mPredicate != null) { 60 // if predicate is not null, then first check if the current value 67 if (property != null) { 82 if (mOldValue != null) { 85 mOldValue = null; 92 if (mPredicate != null) { 93 Object value = mOldValue == null ? mNewValue : mOldValue [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
Sasl2Test.java | 60 if (mProv != null) { 108 assertNotNull("List of SaslClientFactories should not be null", en); 112 String[] mech01 = mm.getMechanismNames(null); 118 assertNull("Incorect SaslClient", f.createSaslClient(null, 119 null, null, null, null, null)); 120 String[] mech00 = f.getMechanismNames(null); [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
XmlKeyboardLoader.java | 308 // Make sure the default object is not null. 328 if (null == mContext || 0 == resourceId) { 329 return null; 349 Drawable skbBg = getDrawable(xrp, XMLATTR_SKB_BG, null); 351 XMLATTR_BALLOON_BG, null); 353 null); 354 if (null == skbBg || null == balloonBg 355 || null == popupBg) { 356 return null; [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.java | 69 if (this.inTransportMetric != null) { 77 if (this.outTransportMetric != null) { 101 Object value = null; 102 if (this.metricsCache != null) { 105 if (value == null) { 111 if (this.inTransportMetric != null) { 114 return null; 117 if (this.outTransportMetric != null) { 120 return null; 128 if (this.metricsCache == null) { [all...] |
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParams.java | 67 if (params == null) { 68 throw new IllegalArgumentException("HTTP parameters may not be null"); 72 if (charset == null) { 83 if (params == null) { 84 throw new IllegalArgumentException("HTTP parameters may not be null"); 95 if (params == null) { 96 throw new IllegalArgumentException("HTTP parameters may not be null"); 100 if (charset == null) { 112 if (params == null) { 113 throw new IllegalArgumentException("HTTP parameters may not be null"); [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
UniqueStack.java | 41 private T firstObject = null; 44 private LinkedList<T> objectStack = null; 46 private HashSet<T> objectsSet = null; 82 * @param object to be added. If it is {@code null} a {@code NullPointerException} will be thrown. 86 if (object == null) { 90 if (objectStack == null) { 91 if (firstObject == null) { 119 firstObject = null; 129 T returnedValue = null; 135 if (objectStack == null) { [all...] |
/external/smack/src/org/jivesoftware/smack/ |
XMPPException.java | 45 private StreamError streamError = null; 46 private XMPPError error = null; 47 private Throwable wrappedThrowable = null; 138 * Returns the XMPPError asscociated with this exception, or <tt>null</tt> if there 148 * Returns the StreamError asscociated with this exception, or <tt>null</tt> if there 159 * Returns the Throwable asscociated with this exception, or <tt>null</tt> if there 174 if (wrappedThrowable != null) { 182 if (wrappedThrowable != null) { 192 if (msg == null && error != null) { [all...] |
/frameworks/base/core/java/android/app/backup/ |
BackupManager.java | 65 if (sService == null) { 91 if (sService != null) { 113 if (sService != null) { 136 * operation. This must not be null. 143 if (sService != null) { 144 RestoreSession session = null; 147 null); 148 if (binder != null) { 155 if (session != null) { 169 RestoreSession session = null; [all...] |