/external/smack/src/org/apache/qpid/management/common/sasl/ |
PlainSaslClient.java | 52 if (authenticationID == null || password == null) 69 authorizationID == null ? null : authorizationID.getBytes("UTF8"); 76 (authzid != null ? authzid.length : 0) 79 if (authzid != null) { 146 return null; 158 if (password != null) 164 password = null; 190 if (pwchars != null) [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
IQ.java | 69 if (type == null) { 80 if (getPacketID() != null) { 83 if (getTo() != null) { 86 if (getFrom() != null) { 89 if (type == null) { 97 if (queryXML != null) { 102 if (error != null) { 110 * Returns the sub-element XML section of the IQ packet, or <tt>null</tt> if there 142 return null; 213 if (type == null) { [all...] |
/external/smack/src/org/jivesoftware/smackx/muc/ |
RoomListenerMultiplexor.java | 63 if (!monitors.containsKey(conn) || monitors.get(conn).get() == null) { 85 if (connection == null) { 86 throw new IllegalArgumentException("Connection is null"); 88 if (filter == null) { 89 throw new IllegalArgumentException("Filter is null"); 91 if (listener == null) { 92 throw new IllegalArgumentException("Listener is null"); 162 if (from == null) { 169 if (address == null) { 176 if (address == null) { [all...] |
/external/smack/src/org/xbill/DNS/ |
Cache.java | 93 if (soa != null) 192 while ((record = m.nextRecord()) != null) 220 Element found = null; 238 if (found == null) 239 return null; 242 return null; 245 return null; 252 if (types == null) 253 return null; 260 if (types == null) { [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothUuid.java | 144 if ((uuidArray == null || uuidArray.length == 0) && uuid == null) 147 if (uuidArray == null) 164 if (uuidA == null && uuidB == null) return true; 166 if (uuidA == null) { 170 if (uuidB == null) { 190 if (uuidA == null && uuidB == null) return true; 192 if (uuidA == null) { [all...] |
/frameworks/base/core/java/android/preference/ |
PreferenceScreen.java | 119 if (mRootAdapter == null) { 152 if (getIntent() != null || getFragment() != null || getPreferenceCount() == 0) { 156 showDialog(null); 161 if (mListView != null) { 162 mListView.setAdapter(null); 168 com.android.internal.R.layout.preference_list_fragment, null); 182 if (state != null) { 193 mDialog = null; 227 if (dialog == null || !dialog.isShowing()) [all...] |
/frameworks/base/core/java/android/util/ |
EventLog.java | 52 private static HashMap<String, Integer> sTagCodes = null; 53 private static HashMap<Integer, String> sTagNames = null; 103 /** @return one of Integer, Long, String, null, or Object[] of same. */ 111 return null; 114 return null; 136 return null; 198 * @return the name of the tag, or null if no tag has that number 213 return code != null ? code : -1; 220 if (sTagCodes != null && sTagNames != null) return [all...] |
/frameworks/base/core/java/android/widget/ |
Filter.java | 84 filter(constraint, null); 103 if (mThreadHandler == null) { 110 final long delay = (mDelayer == null) ? 0 : mDelayer.getPostingDelay(constraint); 117 args.constraint = constraint != null ? constraint.toString() : null; 136 * <p><strong>Contract:</strong> When the constraint is null, the original 166 * implementation returns an empty String for null values or the default 173 return resultValue == null ? "" : resultValue.toString(); 245 if (mThreadHandler != null) { 253 if (mThreadHandler != null) { [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 67 if (headerView != null) { 84 if (windowToken != null) { 97 if (win != null) { 99 if (decor != null) { 101 if (ds != null) { 109 if (win != null) { 111 if (decor != null) { 113 if (ds != null && ds.isTracking(event)) { 138 if (mDialog != null) { 153 if (mPresenterCallback != null) { [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseCursorTest.java | 60 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null); 112 Cursor c = mDatabase.query("test", null, null, null, null, null, null); 135 Cursor c = mDatabase.rawQuery("SELECT data FROM test", null); 146 Cursor c = mDatabase.query("test", null, null, null, null, null, null) [all...] |
/frameworks/base/media/java/android/media/ |
AsyncPlayer.java | 66 if (mPlayer != null) { 87 Command cmd = null; 101 if (mPlayer != null) { 108 mPlayer = null; 121 mThread = null; 145 if (tag != null) { 199 if (mThread == null) { 220 if (mWakeLock != null || mThread != null) { 231 if (mWakeLock != null) { [all...] |
MediaExtractor.java | 58 * extractor = null; 83 if(scheme == null || scheme.equals("file")) { 88 AssetFileDescriptor fd = null; 92 if (fd == null) { 110 if (fd != null) { 126 String[] keys = null; 127 String[] values = null; 129 if (headers != null) { 159 setDataSource(path, null, null); [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
SurfaceHolderTarget.java | 41 private SurfaceHolder mSurfaceHolder = null; 42 private RenderTarget mRenderTarget = null; 43 private ImageShader mShader = null; 72 if (holder == null) { 90 if (mRenderTarget != null) { 92 mRenderTarget = null; 121 mHasSurface = (surface != null) && surface.isValid(); 144 if (mRenderTarget == null) { 179 if (mRenderTarget != null) { 182 mRenderTarget = null; [all...] |
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
AppCompatibility.java | 76 if (appLaunchTimeoutMsecs != null) { 80 if (workspaceLaunchTimeoutMsecs != null) { 98 if (packageName != null) { 119 if (in == null) { 120 return null; 123 if (err != null) { 126 return null; 144 if (intent == null) { 146 return null; 185 if (preErr != null && postErr != null) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Path_Delegate.java | 103 // get the delegate to copy, which could be null if nPath is 0 105 if (pathDelegate != null) { 115 if (pathDelegate == null) { 132 if (pathDstDelegate == null) { 137 if (pathSrcDelegate == null) { 147 if (pathDelegate == null) { 157 if (pathDelegate == null) { 167 if (pathDelegate == null) { 177 if (pathDelegate == null) { 184 if (rect != null) { [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
BlockingStateListener.java | 127 mProxy = null; 137 if (mProxy != null) mProxy.onOpened(camera); 143 if (mProxy != null) mProxy.onDisconnected(camera); 149 if (mProxy != null) mProxy.onError(camera, error); 155 if (mProxy != null) mProxy.onUnconfigured(camera); 161 if (mProxy != null) mProxy.onIdle(camera); 167 if (mProxy != null) mProxy.onActive(camera); 173 if (mProxy != null) mProxy.onBusy(camera); 179 if (mProxy != null) mProxy.onClosed(camera); 223 Integer nextState = null; [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientEntry.java | 59 * Can be null when {@link #mDestinationType} is {@link #INVALID_DESTINATION_TYPE}. 91 mPhotoBytes = null; 119 INVALID_DESTINATION_TYPE, null, 120 INVALID_CONTACT, INVALID_CONTACT, null, true, isValid, false /* isGalContact */); 129 INVALID_DESTINATION_TYPE, null, 130 INVALID_CONTACT, INVALID_CONTACT, null, true, isValid, false /* isGalContact */); 152 null, GENERATED_CONTACT, GENERATED_CONTACT, null, true, isValid, 169 contactId, dataId, (thumbnailUriAsString != null ? Uri.parse(thumbnailUriAsString) 170 : null), true, isValid, isGalContact) [all...] |
/frameworks/ex/common/java/com/android/common/content/ |
SyncStateContentProviderHelper.java | 58 + SyncStateContract.Columns.ACCOUNT_NAME + " TEXT NOT NULL," 59 + SyncStateContract.Columns.ACCOUNT_TYPE + " TEXT NOT NULL," 75 null); 84 null, null, sortOrder); 114 Cursor c = db.query(SYNC_STATE_TABLE, ACCOUNT_PROJECTION, null, null, null, null, null); [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
FragmentActivity.java | 156 if (mFragments.mActive == null || index < 0 || index >= mFragments.mActive.size()) { 162 if (frag == null) { 198 mFragments.attachActivity(this, mContainer, null); 200 if (getLayoutInflater().getFactory() == null) { 208 if (nc != null) { 211 if (savedInstanceState != null) { 213 mFragments.restoreAllState(p, nc != null ? nc.fragments : null); 246 String fname = attrs.getAttributeValue(null, "class"); 248 if (fname == null) { [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuDialogHelper.java | 70 if (headerView != null) { 87 if (windowToken != null) { 100 if (win != null) { 102 if (decor != null) { 104 if (ds != null) { 112 if (win != null) { 114 if (decor != null) { 116 if (ds != null && ds.isTracking(event)) { 141 if (mDialog != null) { 156 if (mPresenterCallback != null) { [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProviderDescriptor.java | 54 if (mRoutes == null) { 56 if (routeBundles == null || routeBundles.isEmpty()) { 81 if (route == null || !route.isValid()) { 111 * @param bundle The bundle, or null if none. 112 * @return The new instance, or null if the bundle was null. 115 return bundle != null ? new MediaRouteProviderDescriptor(bundle, null) : null; 137 if (descriptor == null) { [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
CertPinManager.java | 54 if (path == null) { 55 throw new NullPointerException("path == null"); 77 if (entry != null) { 87 if (pinFileContents != null) { 114 return null; 129 return null; 139 if (cn != null) { 146 if (cn != null) { 153 return null; 183 if (hostName == null || hostName.isEmpty() || cn == null || cn.isEmpty()) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
JAXPDOMTestDocumentBuilderFactory.java | 37 * @param factory null for default JAXP provider. If not null, 40 * @param settings array of settings, may be null. 46 if (baseFactory == null) { 55 if (settings != null) { 64 throw new DOMTestIncompatibleException(ex, null); 77 if (newSettings == null) { 91 parseException = null; 98 if (parseException == null) { 108 if (parseException == null) { [all...] |
/libcore/libdvm/src/main/java/java/lang/reflect/ |
Proxy.java | 86 * {@code null} 91 if (interfaces == null) { 92 throw new NullPointerException("interfaces == null"); 94 String commonPackageName = null; 97 if (next == null) { 98 throw new NullPointerException("interfaces[" + i + "] == null"); 122 if (commonPackageName == null) { 135 if (interfaceCache == null) { 156 if (ref == null) { 158 if (commonPackageName != null && commonPackageName.length() > 0) [all...] |
/libcore/luni/src/main/java/java/io/ |
PipedInputStream.java | 142 if (buffer == null || in == -1) { 157 buffer = null; 185 if (buffer == null) { // We may already have allocated the buffer. 214 if (buffer == null) { 231 if ((attempts-- <= 0) && lastWriter != null && !lastWriter.isAlive()) { 280 * if {@code bytes} is {@code null}. 292 if (buffer == null) { 309 if ((attempts-- <= 0) && lastWriter != null && !lastWriter.isAlive()) { 378 if (buffer == null || isClosed) { 389 while (buffer != null && out == in) [all...] |