/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ValuesDelta.java | 73 entry.mBefore = null; 87 return ((mAfter != null && mAfter.containsKey(key)) || 88 (mBefore != null && mBefore.containsKey(key))); 92 if (mAfter != null && mAfter.containsKey(key)) { 94 } else if (mBefore != null && mBefore.containsKey(key)) { 97 return null; 102 if (mAfter != null && mAfter.containsKey(key)) { 104 } else if (mBefore != null && mBefore.containsKey(key)) { 107 return null; 112 if (mAfter != null && mAfter.containsKey(key)) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FilenameUtils.java | 174 * If the double dot has no parent path segment to work with, <code>null</code>
186 * /../ --> null
187 * ../foo --> null
189 * foo/../../bar --> null
192 * //server/../bar --> null
194 * C:\..\bar --> null
196 * ~/../bar --> null
200 * @param filename the filename to normalize, null returns null
201 * @return the normalized filename, or null if invalid [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextAction.java | 95 if (file == null) { 99 if (project == null) { 103 if (document == null) { 107 if (selection == null) { 113 if (resource == null) { 117 if (resource != null) { 123 RenameResourceWizard.renameResource(shell, project, type, name, null, canClear); 128 if (className != null) { 131 if (type != null) { 165 else if (mEditor != null) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothChatService.java | 120 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 123 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 128 if (secure && mSecureAcceptThread == null) { 132 if (!secure && mInsecureAcceptThread == null) { 148 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 152 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChatService.java | 106 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 109 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} 114 if (mSecureAcceptThread == null) { 118 if (mInsecureAcceptThread == null) { 134 if (mConnectThread != null) {mConnectThread.cancel(); mConnectThread = null;} 138 if (mConnectedThread != null) {mConnectedThread.cancel(); mConnectedThread = null;} [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
ObjectFactory.java | 67 * be null; if the file does not exist or we encounter some other error 70 private static Properties fXalanProperties = null; 92 * @return instance of factory, never null 97 * is found. Use null to mean no fallback. 103 return createObject(factoryId, null, fallbackClassName); 116 * @return instance of factory, never null 124 * is found. Use null to mean no fallback. 137 if (factoryClass == null) { 139 "Provider for " + factoryId + " cannot be found", null); 163 * @return Class object of factory, never null [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
ObjectFactory.java | 67 * be null; if the file does not exist or we encounter some other error 70 private static Properties fXalanProperties = null; 92 * @return instance of factory, never null 97 * is found. Use null to mean no fallback. 103 return createObject(factoryId, null, fallbackClassName); 116 * @return instance of factory, never null 124 * is found. Use null to mean no fallback. 137 if (factoryClass == null) { 139 "Provider for " + factoryId + " cannot be found", null); 163 * @return Class object of factory, never null [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
ObjectFactory.java | 66 * be null; if the file does not exist or we encounter some other error 69 private static Properties fXalanProperties = null; 91 * @return instance of factory, never null 96 * is found. Use null to mean no fallback. 102 return createObject(factoryId, null, fallbackClassName); 115 * @return instance of factory, never null 123 * is found. Use null to mean no fallback. 136 if (factoryClass == null) { 138 "Provider for " + factoryId + " cannot be found", null); 162 * @return Class object of factory, never null [all...] |
OutputPropertiesFactory.java | 204 private static Properties m_xml_properties = null; 207 private static Properties m_html_properties = null; 210 private static Properties m_text_properties = null; 213 private static Properties m_unknown_properties = null; 236 return null; 248 * @param method non-null reference to method name. 254 String fileName = null; 255 Properties defaultProperties = null; 262 if (null == m_xml_properties) // double check 265 m_xml_properties = loadPropertiesFile(fileName, null); [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
ObjectFactory.java | 67 * be null; if the file does not exist or we encounter some other error 70 private static Properties fXalanProperties = null; 92 * @return instance of factory, never null 97 * is found. Use null to mean no fallback. 103 return createObject(factoryId, null, fallbackClassName); 116 * @return instance of factory, never null 124 * is found. Use null to mean no fallback. 137 if (factoryClass == null) { 139 "Provider for " + factoryId + " cannot be found", null); 163 * @return Class object of factory, never null [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
ObjectFactory.java | 67 * be null; if the file does not exist or we encounter some other error 70 private static Properties fXalanProperties = null; 92 * @return instance of factory, never null 97 * is found. Use null to mean no fallback. 103 return createObject(factoryId, null, fallbackClassName); 116 * @return instance of factory, never null 124 * is found. Use null to mean no fallback. 137 if (factoryClass == null) { 139 "Provider for " + factoryId + " cannot be found", null); 163 * @return Class object of factory, never null [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothHealth.java | 109 mService = null; 118 if (mService == null) { 148 if (!isEnabled() || name == null) return false; 181 if (mService != null) { 205 if (mService != null && isEnabled() && config != null) { 233 if (mService != null && isEnabled() && isValidDevice(device) && 234 config != null) { 262 if (mService != null && isEnabled() && isValidDevice(device) && 263 config != null) { [all...] |
/frameworks/base/services/java/com/android/server/firewall/ |
StringFilter.java | 56 StringFilter filter = null; 60 if (newFilter != null) { 61 if (filter != null) { 68 if (filter == null) { 84 return null; 89 return null; 94 return null; 100 return null; 105 return null; 111 return null; [all...] |
/frameworks/base/services/java/com/android/server/search/ |
Searchables.java | 61 private HashMap<ComponentName, SearchableInfo> mSearchablesMap = null; 62 private ArrayList<SearchableInfo> mSearchablesList = null; 63 private ArrayList<SearchableInfo> mSearchablesInGlobalSearchList = null; 67 private ComponentName mCurrentGlobalSearchActivity = null; 68 private ComponentName mWebSearchActivity = null; 103 * <li>No searchability data is provided. We return null here and other 114 * @param activity The name of the current activity, or null if the 122 if (result != null) return result; 130 ActivityInfo ai = null; 135 return null; [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
SearchRecentSuggestionsTest.java | 59 Cursor c = mTestSRSProvider.query(mTestUri, null, null, null, null); 74 null, null, null); 85 waitForCursorCount(mTestUri, null, 2); 90 waitForCursorCount(mTestUri, null, 3); 99 null, null, null) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URITest.java | 31 if (uris != null) { 68 new URI("mailto", "user@domain.com", null), 72 new URI("news", "comp.infosystems.www.servers.unix", null), // 73 new URI(null, null, null, "fragment"), // only fragment 241 uri = new URI("http", "//myhost:-8096", null); 287 URI uri = new URI("mailto", "mduerst@ifi.unizh.ch", null); 298 // scheme specific part can not be null 300 uri = new URI("mailto", null, null) [all...] |
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
IdentityTest.java | 54 null, Boolean.FALSE, 93 i=new IdentityStub(null); 120 CertificateStub c1 = new CertificateStub("fff", null, null, pk1); 125 i.addCertificate(new CertificateStub("ccc", null, null, new PublicKeyStub("k2", "fff", new byte[]{6,7,8,9,0}))); 136 PublicKeyStub pk1 = new PublicKeyStub("kkk", "fff", null); 137 CertificateStub c1 = new CertificateStub("fff", null, null, pk1); 145 * verify addCertificate(Certificate certificate) throws KeyManagementException if certificate is null [all...] |
/external/apache-http/src/org/apache/http/conn/routing/ |
HttpRoute.java | 58 * <code>null</code> indicates that the default should be used. 78 * nor test it for <code>null</code> elements. This conversion and 84 * <code>null</code> for the default 87 * <code>null</code> for a direct route 91 * <code>null</code> for PLAIN 93 * <code>null</code> for PLAIN 99 if (target == null) { 101 ("Target host may not be null."); 103 if ((tunnelled == TunnelType.TUNNELLED) && (proxies == null)) { 109 if (tunnelled == null) [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AndroidProtocolHandler.java | 45 if (uri == null) { 46 return null; 58 return null; 66 int id = field.getInt(null); 78 assert uri.getPath() != null; 84 return null; 92 return null; 101 if (context.getApplicationContext() != null) { 110 return null; 114 return null; [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/ |
SigninManager.java | 104 if (sSigninManager == null) { 134 mSignInAccount == null && 135 ChromeSigninController.get(mContext).getSignedInUser() == null; 171 assert mSignInActivity == null; local 172 assert mSignInAccount == null; local 173 assert mSignInObserver == null; local 201 if (managementDomain == null) { 233 mPolicyConfirmationDialog = null; 243 mPolicyConfirmationDialog = null; 250 if (mPolicyConfirmationDialog != null) { 270 assert mSignInAccount != null; local [all...] |
/external/proguard/src/proguard/evaluation/value/ |
ReferenceValue.java | 31 * and a flag that indicates whether the value could be <code>null</code>. If 32 * the type is <code>null</code>, the value is <code>null</code>. 80 * Returns whether the type is <code>null</code>. 84 return type == null ? ALWAYS : 97 // If this type is null, it is never an instance of any class. 98 if (thisType == null) 152 // If this type may be null, it might not be an instance of any class. 179 return referencedClass != null && 180 otherReferencedClass != null & [all...] |
/external/smack/src/org/jivesoftware/smackx/packet/ |
MUCUser.java | 52 if (getInvite() != null) { 55 if (getDecline() != null) { 58 if (getItem() != null) { 61 if (getPassword() != null) { 64 if (getStatus() != null) { 67 if (getDestroy() != null) { 266 if (getTo() != null) { 269 if (getFrom() != null) { 273 if (getReason() != null) { 351 if (getTo() != null) { [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPIteratorImpl.java | 39 private String baseNS = null; 45 private Iterator nodeIterator = null; 61 this.options = options != null ? options : new IteratorOptions(); 64 XMPNode startNode = null; 65 String initialPath = null; 66 boolean baseSchema = schemaNS != null && schemaNS.length() > 0; 67 boolean baseProperty = propPath != null && propPath.length() > 0; 86 startNode = XMPNodeUtils.findNode(xmp.getRoot(), path, false, null); 103 if (startNode != null) 116 // create null iterato [all...] |
/frameworks/base/core/java/android/net/ |
Proxy.java | 57 * <li><em>EXTRA_PROXY_INFO</em> - The ProxyProperties for the proxy. Non-null, 69 private static ConnectivityManager sConnectivityManager = null; 97 * A null value means that no host is to be used. 102 if (url != null) { 108 if (sConnectivityManager == null) { 112 if (sConnectivityManager == null) return java.net.Proxy.NO_PROXY; 116 if (proxyProperties != null) { 130 * name it returns the default host. A null value means that no 136 java.net.Proxy proxy = getProxy(ctx, null); 137 if (proxy == java.net.Proxy.NO_PROXY) return null; [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsManager.java | 65 * @param scAddress is the service center address or null to use 68 * @param sentIntent if not NULL this <code>PendingIntent</code> is 79 * is NULL the caller will be checked against all unknown applications, 81 * @param deliveryIntent if not NULL this <code>PendingIntent</code> is 100 if (iccISms != null) { 113 * @param text the original message. Must not be null. 117 * @throws IllegalArgumentException if text is null 120 if (null == text) { 121 throw new IllegalArgumentException("text is null"); 141 * @param scAddress is the service center address or null to us [all...] |