/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
NameFileFilter.java | 57 * @param name the name to allow, must not be null
58 * @throws IllegalArgumentException if the name is null
61 this(name, null);
67 * @param name the name to allow, must not be null
68 * @param caseSensitivity how to handle case sensitivity, null means case-sensitive
69 * @throws IllegalArgumentException if the name is null
72 if (name == null) {
73 throw new IllegalArgumentException("The wildcard must not be null");
76 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity);
85 * @param names the names to allow, must not be null
[all...] |
WildcardFileFilter.java | 63 * @throws IllegalArgumentException if the pattern is null
66 this(wildcard, null);
72 * @param wildcard the wildcard to match, not null
73 * @param caseSensitivity how to handle case sensitivity, null means case-sensitive
74 * @throws IllegalArgumentException if the pattern is null
77 if (wildcard == null) {
78 throw new IllegalArgumentException("The wildcard must not be null");
81 this.caseSensitivity = (caseSensitivity == null ? IOCase.SENSITIVE : caseSensitivity);
91 * @throws IllegalArgumentException if the pattern array is null
94 this(wildcards, null);
[all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
AccountWithDataSet.java | 28 public static final AccountWithDataSet LOCAL = new AccountWithDataSet(null, null, null); 41 return TextUtils.isEmpty(text) ? null : text; 49 return new AccountWithDataSet(account.name, account.type, null); 65 return (mAccountName == null) && (mAccountType == null); 81 int result = mAccountName != null ? mAccountName.hashCode() : 0; 82 result = 31 * result + (mAccountType != null ? mAccountType.hashCode() : 0); 83 result = 31 * result + (mDataSet != null ? mDataSet.hashCode() : 0) [all...] |
/external/doclava/src/com/google/doclava/ |
LinkReference.java | 43 /** Non-null for federated links */ 142 ref = null; 149 mem = null; 153 String[] params = null; 154 String[] paramDimensions = null; 156 if (mem != null) { 237 ClassInfo cl = null; 243 if (ref == null) { 244 if (DBG) System.out.println("-- ref == null"); 246 if (cl != null) { [all...] |
/external/emma/core/java12/com/vladium/emma/rt/ |
AppRunner.java | 77 if (appProperties == null) appProperties = EMMAProperties.getAppProperties (); // don't use combine() 81 if ($assert.ENABLED) $assert.ASSERT (toolProperties != null, "toolProperties is null"); // can be empty, though 101 if (m_log != null) 104 m_log = null; 111 * @param path [null is equivalent to empty array] 116 if ((path == null) || (path.length == 0)) 130 * @param path [null is equivalent to no source path] 134 if (path == null) 135 m_sourcePath = null; [all...] |
/frameworks/base/drm/java/android/drm/ |
DrmManagerClient.java | 135 DrmEvent event = null; 136 DrmErrorEvent error = null; 147 if (null != status && DrmInfoStatus.STATUS_OK == status.statusCode) { 149 getEventType(status.infoType), null, attributes); 151 int infoType = (null != status) ? status.infoType : drmInfo.getInfoType(); 153 getErrorType(infoType), null, attributes); 159 event = new DrmEvent(mUniqueId, DrmEvent.TYPE_ALL_RIGHTS_REMOVED, null); 162 DrmErrorEvent.TYPE_REMOVE_ALL_RIGHTS_FAILED, null); 170 if (null != mOnEventListener && null != event) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
BstOperationsTest.java | 55 SimpleNode a = new SimpleNode('a', null, null); 56 SimpleNode b = new SimpleNode('b', a, null); 57 SimpleNode g = new SimpleNode('g', null, null); 58 SimpleNode f = new SimpleNode('f', null, g); 75 SimpleNode c = new SimpleNode('c', null, null); 76 SimpleNode b = new SimpleNode('b', null, c); 77 SimpleNode e = new SimpleNode('e', null, null) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
TestAttributeSetTest.java | 36 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false); 43 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false); 49 attributes.put("id", "@null"); 50 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false); 58 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, true); 66 TestAttributeSet testAttributeSet = new TestAttributeSet(attributes, resourceExtractor, null, null, false) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
NewProjectWizardState.java | 96 /** The minimum SDK version to use with the project (may be null or blank) */ 174 * List of projects to be imported. Null if not importing projects. 206 if (manifestData == null) { 210 String newPackageName = null; 211 Activity activity = null; 212 String newActivityName = null; 213 String minSdkVersion = null; 220 if (activity == null) { 222 if (activities != null && activities.length > 0) { 230 if (newPackageName != null && newPackageName.length() > 0) [all...] |
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 50 return null; 65 return null; 86 if (files != null) { 94 if (jars != null) 97 if (is != null) 101 return null; // not found 105 if (jars != null) 108 if (url != null) 112 return null; // not found 116 if (jars != null) [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Thumbnail.java | 62 if (mBitmap == null) throw new IllegalArgumentException("null bitmap"); 104 FileOutputStream f = null; 105 BufferedOutputStream b = null; 106 DataOutputStream d = null; 126 // Returns null if failure. 128 Uri uri = null; 129 Bitmap bitmap = null; 130 FileInputStream f = null; 131 BufferedInputStream b = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/otherxml/descriptors/ |
OtherXmlDescriptors.java | 50 private DocumentDescriptor mDescriptor = new DocumentDescriptor("xml_doc", null /* children */); //$NON-NLS-1$ 53 private DocumentDescriptor mSearchDescriptor = new DocumentDescriptor("xml_doc", null /* children */); //$NON-NLS-1$ 56 private DocumentDescriptor mPrefDescriptor = new DocumentDescriptor("xml_doc", null /* children */); //$NON-NLS-1$ 59 private DocumentDescriptor mAppWidgetDescriptor = new DocumentDescriptor("xml_doc", null /* children */); //$NON-NLS-1$ 152 if (searchable != null) { 156 if (appWidget != null) { 160 if (preferences != null) { 185 null, // sdk url 186 null, // extraAttribute 187 null, // childrenElement [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
DefaultRequestDirectorTest.java | 55 requestDirector = new DefaultRequestDirector(null, null, null, connectionKeepAliveStrategy, null, null, null, null, null, null, null, null) [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
BroadcastTest.java | 82 private String[] mExpectedReceivers = null; 85 private String[] mExpectedData = null; 86 private boolean[] mReceivedData = null; 102 if (mExpectedReceivers != null && mNextReceiver < mExpectedReceivers.length) { 109 Intent intent = new Intent(action, null); 128 if (mExpectedData != null) { 180 getContext().registerReceiver(mReceiver, filter, permission, null); 206 gotReceive(name, null); 281 null, broadcastReceiver, null, 1, "foo", map) 393 null, finish, null, Activity.RESULT_CANCELED, null, null); local 420 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, local 421 null, null); local 442 null, finish, null, Activity.RESULT_CANCELED, local 443 null, null); local 466 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, local 467 null, null); local 488 null, finish, null, Activity.RESULT_CANCELED, local 489 null, null); local 512 PERMISSION_DENIED, finish, null, Activity.RESULT_CANCELED, local 513 null, null); local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 87 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); 141 int count = mResolver.update(uri, values, null, null); 149 mResolver.delete(uri, null, null); 156 + ContentUris.parseId(uri), null); 158 assertEquals(0, getCount(uri, null, null)); 166 Cursor c = mResolver.query(filterUri, null, null, null, null) [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertificateTest.java | 95 return null; 99 return null; 103 return null; 107 return null; 111 return null; 117 return null; 121 return null; 125 return null; 129 return null; 133 return null; [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemTemplateElement.java | 161 return (null==m_parentNode) ? null : m_parentNode.getStylesheet(); 195 m_hasTextLitOnly = ((t != null) 197 && (t.getNextSiblingElem() == null)); 236 error(msg, null); 257 if (null == newChild) 259 error(XSLTErrorResources.ER_NULL_CHILD, null); //"Trying to add a null child!"); 264 if (null == m_firstChild) 295 if (null == elem [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
ChainedData.java | 66 return newDelegate == null ? null : new ChainedData(newDelegate); 74 if (first == null) { 75 throw new IllegalArgumentException("ChainedData does not accept null Data objects."); 85 if (first == null) { 86 throw new IllegalArgumentException("ChainedData does not accept null Data objects."); 93 ArrayList<Data> children = null; 94 Data first = null; 97 if (child != null) { 104 if (first == null) { [all...] |
/libcore/luni/src/main/java/java/security/ |
Identity.java | 76 if (scope != null) { 92 if (publicKey != null) { 99 if (certificates == null) { 112 // assert(pk1 != null); 113 // assert(pk2 != null); 117 if ((pk2 == null) 118 || (((format2 = pk2.getFormat()) != null) ^ (format1 != null)) 119 || ((format1 != null) && !format1.equals(format2))) { 138 if (certificates != null) { [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLTest.java | 83 return null; 91 return null; 95 return null; 99 return null; 107 return null; 129 return null; 133 return null; 137 return null; 141 return null; 145 return null; [all...] |
/external/dexmaker/src/test/java/com/google/dexmaker/ |
DexMakerTest.java | 90 Constructable constructed = (Constructable) getMethod().invoke(null, 5L, false); 137 assertEquals(10, getMethod().invoke(null, 4)); 143 * Method method = null; 150 code.loadConstant(localMethod, null); 183 assertEquals(9, getMethod().invoke(null, this, 4)); 223 assertEquals(5, method.invoke(null, instance)); 278 assertEquals("abc", getMethod().invoke(null, callable)); 294 code.invokeStatic(voidMethod, null); 297 assertEquals(5, getMethod().invoke(null)); 343 assertEquals(false, getMethod().invoke(null, this)) 369 dexMaker.declare(GENERATED.getField(TypeId.OBJECT, "b"), PROTECTED | STATIC, null); local 389 dexMaker.declare(GENERATED.getField(TypeId.INT, "a"), PUBLIC, null); local 390 dexMaker.declare(GENERATED.getField(TypeId.OBJECT, "b"), PROTECTED, null); local 427 code.invokeDirect(TypeId.OBJECT.getConstructor(), null, thisRef); local 1800 code.invokeDirect(TypeId.OBJECT.getConstructor(), null, thisRef); local [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/analysis/ |
DepthFirstAdapter.java | 77 if(node.getPosition() != null) 81 if(node.getComment() != null) 102 if(node.getData() != null) 123 if(node.getPosition() != null) 127 if(node.getExpression() != null) 148 if(node.getPosition() != null) 152 if(node.getExpression() != null) 173 if(node.getPosition() != null) 177 if(node.getExpression() != null) 198 if(node.getPosition() != null) [all...] |
ReversedDepthFirstAdapter.java | 78 if(node.getComment() != null) 82 if(node.getPosition() != null) 103 if(node.getData() != null) 124 if(node.getExpression() != null) 128 if(node.getPosition() != null) 149 if(node.getExpression() != null) 153 if(node.getPosition() != null) 174 if(node.getExpression() != null) 178 if(node.getPosition() != null) 199 if(node.getExpression() != null) [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
ClientParamsStack.java | 69 * Each stack entry may be <code>null</code>. That is preferable over 82 /** The application parameter collection, or <code>null</code>. */ 85 /** The client parameter collection, or <code>null</code>. */ 88 /** The request parameter collection, or <code>null</code>. */ 91 /** The override parameter collection, or <code>null</code>. */ 100 * @param aparams application parameters, or <code>null</code> 101 * @param cparams client parameters, or <code>null</code> 102 * @param rparams request parameters, or <code>null</code> 103 * @param oparams override parameters, or <code>null</code> 132 * For elements where the explicit argument is <code>null</code> [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
TransformerHandlerImpl.java | 84 * @param transformer Non-null reference to the Xalan transformer impl. 98 DTM dtm = xctxt.getDTM(null, true, transformer, true, true); 118 clearCoRoutine(null); 126 if(null != ex) 136 if(null != m_contentHandler 146 m_contentHandler = null; 147 m_dtdHandler = null; 148 m_entityResolver = null; 149 m_errorHandler = null; 150 m_lexicalHandler = null; [all...] |