/frameworks/base/core/java/android/app/ |
Fragment.java | 90 if (mInstance != null) { 94 if (mArguments != null) { 100 if (mSavedFragmentState != null) { 349 static final int INVALID_STATE = -1; // Invalid state used as a null value. 359 // Non-null if the fragment's view hierarchy is currently animating away, 364 // If mAnimatingAway != null, this is the state we should move to once the 495 if (loader != null && mState != null) { 513 return new SavedState(in, null); 557 * Like {@link #instantiate(Context, String, Bundle)} but with a null [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 112 if (serverHeader != null) { 142 if (reasonPhrase != null) 145 if (serverHeader != null) { 176 if (serverHeader != null) { 205 if (serverHeader != null) { 235 if (MessageFactoryImpl.getDefaultServerHeader() != null) { 267 if (listeningPoint == null) { 277 if (sipProvider == null) { 283 if (sipStack == null) 289 if (transaction != null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
EclipseLintClient.java | 132 * @param resources the associated resources (project, file or null) 133 * @param document the associated document, or null if the {@code resource} 172 if (mNodeMap != null) { 176 return null; 189 if (mNodeMap != null) { 193 return null; 201 if (exception == null) { 215 if (mJavaParser == null) { 228 if (file == null || !file.exists()) { 231 return null; [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerTest.java | 83 if (mMediaFile != null) { 86 if (mFileDir != null) { 94 if (mMediaScannerConnection != null) { 96 mMediaScannerConnection = null; 124 Cursor c = res.query(audiouri, null, null, null, null); 139 c = res.query(audiouri, null, null, null, null) [all...] |
BassBoostTest.java | 35 private BassBoost mBassBoost = null; 36 private BassBoost mBassBoost2 = null; 42 private Looper mLooper = null; 44 private ListenerThread mEffectListenerLooper = null; 56 BassBoost eq = null; 71 if (eq != null) { 272 if (mBassBoost == null || session != mSession) { 273 if (session != mSession && mBassBoost != null) { 275 mBassBoost = null; 290 if (mBassBoost != null) { [all...] |
PresetReverbTest.java | 34 private PresetReverb mReverb = null; 35 private PresetReverb mReverb2 = null; 41 private Looper mLooper = null; 43 private ListenerThread mEffectListenerLooper = null; 55 PresetReverb reverb = null; 69 if (reverb != null) { 236 if (mReverb == null || session != mSession) { 237 if (session != mSession && mReverb != null) { 239 mReverb = null; 254 if (mReverb != null) { [all...] |
VirtualizerTest.java | 35 private Virtualizer mVirtualizer = null; 36 private Virtualizer mVirtualizer2 = null; 42 private Looper mLooper = null; 44 private ListenerThread mEffectListenerLooper = null; 56 Virtualizer eq = null; 70 if (eq != null) { 267 if (mVirtualizer == null || session != mSession) { 268 if (session != mSession && mVirtualizer != null) { 270 mVirtualizer = null; 285 if (mVirtualizer != null) { [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
DataTruncationTest.java | 55 Exception[] theExceptions = { null, null, null, null, null, null, null }; 63 if (theExceptions[i] != null) { 84 if (theExceptions[i] == null) { 139 Exception[] theExceptions = { null, null, null, null, null, null, null } [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBundle.java | 51 return value == null || !(value instanceof String) ? null : (String) value; 60 return value == null || !(value instanceof String) ? defaultValue : (String) value; 76 return value == null || !(value instanceof Long) ? defaultValue : (Long) value; 92 return value == null || !(value instanceof Integer) ? defaultValue : (Integer) value; 108 return value == null || !(value instanceof Double) ? defaultValue : (Double) value; 124 return value == null || !(value instanceof Byte) ? defaultValue : (Byte) value; 140 return value == null || !(value instanceof Boolean) ? defaultValue : (Boolean) value; 156 return value == null || !(value instanceof Character) ? defaultValue : (Character) value; 167 return value == null || !(value instanceof CharSequence) ? null : (CharSequence) value [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ClipboardManagerTest.java | 63 new ExpectedClipItem("Text", null, null)); 71 new ExpectedClipItem(null, intent, null)); 79 new ExpectedClipItem(null, null, uri)); 88 new ExpectedClipItem(null, null, contentUri)); 115 new ExpectedClipItem("Text", null, null), [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ResourceCursorAdapterTest.java | 46 mResourceCursorAdapter = null; 50 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null); 55 MockResourceCursorAdapter adapter = new MockResourceCursorAdapter(mContext, -1, null); 75 View result = mResourceCursorAdapter.newView(null, null, mParent); 81 result = mResourceCursorAdapter.newView(null, null, mParent); 90 View result = mResourceCursorAdapter.newDropDownView(null, null, mParent); 99 result = mResourceCursorAdapter.newDropDownView(null, null, mParent) [all...] |
/development/apps/Development/src/com/android/development/ |
AppHwPref.java | 64 if(pkgName == null) { 65 handleError("Null package name", true); 73 pInfo = null; 75 if(pInfo == null) { 82 if(appHwPref != null) { 94 if(appHwPref == null) { 122 if(displayStr != null) { 128 if((config == null) || (config.length < 1)) { 134 String str = null; 149 if(str != null) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentTabsFragment.java | 52 FragmentReceiveResult.ReceiveResultFragment.class, null); 54 LoaderCursor.CursorLoaderListFragment.class, null); 56 LoaderCustom.AppListFragment.class, null); 58 LoaderThrottle.ThrottledLoaderListFragment.class, null); 134 if (mTabHost != null) { 152 if (savedInstanceState != null) { 161 FragmentTransaction ft = null; 165 if (tab.fragment != null && !tab.fragment.isDetached()) { 174 if (ft == null) { 186 if (ft != null) { [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Configuration.java | 96 static Hashtable<String, String> props = null; 104 InputStream in = null; 108 if (System.getProperty("test.comm") != null) { 120 if (in == null) { 129 if (in != null) { 140 if (value != null) { 145 if (value != null) { 150 if (value != null) { 154 if (value != null) { 159 if (value != null) { [all...] |
/external/proguard/src/proguard/obfuscate/ |
ClassObfuscator.java | 109 if (flattenPackageHierarchy != null && 116 if (repackageClasses != null && 123 this.keepPackageNamesMatcher = keepPackageNames == null ? null : 143 if (newClassName == null) 153 String newPackagePrefix = newClassName != null ? 158 newClassName = newClassName != null && numericClassName ? 261 if (newClassName != null) 267 if (repackageClasses == null || 277 repackageClasses == null & [all...] |
/frameworks/base/core/java/android/widget/ |
CursorTreeAdapter.java | 102 if (cursorHelper == null) { 103 if (mGroupCursorHelper.moveTo(groupPosition) == null) return null; 118 * UI, it is possible to return null and at a later time call 129 * @return The cursor for the children of a particular group, or null. 178 return (mGroupCursorHelper.isValid() && helper != null) ? helper.getCount() : 0; 197 if (cursor == null) { 202 if (convertView == null) { 241 if (cursor == null) { 246 if (convertView == null) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
AbsActionBarView.java | 67 TypedArray a = getContext().obtainStyledAttributes(null, R.styleable.ActionBar, 75 if (mActionMenuPresenter != null) { 98 if (mMenuView != null) { 116 if (mVisibilityAnim != null) { 123 if (mVisibilityAnim != null) { 129 if (mSplitView != null && mMenuView != null) { 136 if (mSplitView != null && mMenuView != null) { 151 if (mSplitView != null && mMenuView != null) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
SignalClusterView.java | 54 this(context, null); 87 mWifiGroup = null; 88 mWifi = null; 89 mMobileGroup = null; 90 mMobile = null; 91 mMobileType = null; 92 mSpacer = null; 93 mAirplane = null; 131 if (mWifiVisible && mWifiGroup != null && mWifiGroup.getContentDescription() != null) [all...] |
/frameworks/base/services/java/com/android/server/display/ |
PersistentDataStore.java | 90 return null; 99 if (display != null) { 102 String alias = null; 117 if (results != null) { 198 parser.setInput(new BufferedInputStream(is), null); 250 String deviceAddress = parser.getAttributeValue(null, "deviceAddress"); 251 String deviceName = parser.getAttributeValue(null, "deviceName"); 252 String deviceAlias = parser.getAttributeValue(null, "deviceAlias"); 253 if (deviceAddress == null || deviceName == null) { [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
SELinuxMMAC.java | 62 null}; 86 return readInstallPolicy(new File[]{policyFile,null}); 91 FileReader policyFile = null; 93 while (policyFile == null && policyFiles != null && policyFiles[i] != null) { 103 if (policyFile == null) { 104 Slog.d(TAG, "No policy file found. All seinfo values will be null."); 125 String cert = parser.getAttributeValue(null, "signature"); 126 if (cert == null) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
NinePatch_Delegate.java | 82 ObjectOutputStream oos = null; 87 Bridge.getLog().error(null, "Failed to serialize NinePatchChunk.", e, null /*data*/); 88 return null; 90 if (oos != null) { 111 * @return the NinePatchChunk or null if deserialization failed. 116 if (chunk == null) { 118 ObjectInputStream ois = null; 124 if (chunk != null) { 129 "Failed to deserialize NinePatchChunk content.", e, null /*data*/) 226 assert chunkObject != null; local [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
BridgeInflater.java | 63 mProjectCallback = null; 80 View view = null; 87 if (view != null) { 98 if (view == null) { 107 if (view == null) { 129 View view = null; 160 ResourceValue value = null; 163 if (layoutInfo != null) { 169 if (layoutInfo != null) { 175 if (value != null) { [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptCThunker.java | 45 android.renderscript.Element nein = null; 46 android.renderscript.Element neout = null; 47 if (ein != null) { 50 if (eout != null) { 71 android.renderscript.Allocation nva = null; 72 if (va != null) { 101 android.renderscript.Allocation nin = null; 102 android.renderscript.Allocation nout = null; 103 android.renderscript.FieldPacker nfp = null; 104 if (ain != null) { [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
SSLParametersImpl.java | 69 private String[] enabledCipherSuiteNames = null; 84 if (enabledCipherSuites == null) { 107 // behave as for null arrays (i.e. use installed security providers) 110 if ((kms == null) || (kms.length == 0)) { 117 if ((tms == null) || (tms.length == 0)) { 124 // if (sr == null) { 125 // if (defaultSecureRandom == null) { 135 // null, we don't replace it by a new instance. The native code below 144 if (result == null) { 146 defaultParameters = result = new SSLParametersImpl(null, [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
AbstractSelectableChannelTest.java | 79 testChannel = new MockSelectableChannel(null); 115 SelectionKey.OP_READ, null); 121 acceptKey = sc.register(acceptSelector2, SelectionKey.OP_READ, null); 147 msc.register(acceptSelector, SelectionKey.OP_READ, null); 153 msc.register(null, 0, null); 161 msc.register(acceptSelector, SelectionKey.OP_READ, null); 167 msc.register(null, 0, null); 173 msc.register(acceptSelector, 0, null); [all...] |