/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
HostEmulationManager.java | 122 if (name != null) { 130 if (service != null) { 157 ComponentName resolvedService = null; 166 if (selectAid != null) { 172 if (resolveInfo == null || resolveInfo.services.size() == 0) { 178 if (resolveInfo.defaultService != null) { 198 } else if (mActiveServiceName != null) { 206 if (resolvedService == null) { 213 launchResolver((ArrayList<ApduServiceInfo>)resolveInfo.services, null, category); 219 if (selectAid != null) { 270 mAidCache.setDefaultForNextTap(ActivityManager.getCurrentUser(), null); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 48 Cursor c = null; 49 assertNotNull(c = mContentResolver.query(Media.getContentUri("internal"), null, null, null, 50 null)); 52 assertNotNull(c = mContentResolver.query(Media.getContentUri("external"), null, null, null, 53 null)); 58 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)) local 211 mContentResolver.delete(builder.build(), null, null); local [all...] |
/development/samples/NotePad/tests/src/com/example/android/notepad/ |
NotePadProviderTest.java | 152 NotePad.Notes.COLUMN_NAME_TITLE, // column set to null if empty values map 185 * stream data for the URI, the MIME type is returned. Otherwise, the provider returns null. 189 // Tests the notes table URI. This should return null, since the content provider does 193 // Tests the live folders URI. This should return null, since the content provider does not 209 // Tests that the result is not null and is equal to the expected value. Also tests that 223 * filter that returns all types. The result should still be null. 257 null // the "opts" argument 266 // Tests that the asset file handle is not null. 269 // Tests that the parcel file handle is not null. 272 // Tests that the file handle is not null [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
TreeWizard.cs | 104 if (label != null) { 149 * If this is INDEX_ALL, then all token types are tracked. If null, 153 protected HashSet<int> tokenTypesToReverseIndex = null; 171 this(null, tokenNames) { 181 if (tokenNames == null) { 193 if (tokenNameToTypeMap == null) { 223 if (t == null) { 228 if (!m.TryGetValue(ttype, out elements) || elements == null) { 260 if (_outer.ParseCore(t, _tpattern, null)) { 282 if (tpattern == null || [all...] |
/external/javassist/src/main/javassist/bytecode/analysis/ |
Type.java | 67 * Represents an unknown, or null type. This occurs when aconst_null is used. 68 * It is important not to treat this type as java.lang.Object, since a null can 72 * be null, and the type information is simply not available. Any attempts to 75 public static final Type UNINIT = new Type(null); 81 public static final Type RETURN_ADDRESS = new Type(null, true); 84 public static final Type TOP = new Type(null, true); 93 public static final Type BOGUS = new Type(null, true); 127 return type != null ? type : new Type(clazz); 163 * Returns the class this type represents. If the type is special, null will be returned. 165 * @return the class for this type, or null if specia [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
SceneLoader.java | 94 // NOTE: Setting some of those to null is only needed 97 root = null; 98 node = null; 99 entityNode = null; 100 light = null; 110 if (attribs.getValue("x") != null){ 117 }else if (attribs.getValue("qx") != null){ 124 }else if (attribs.getValue("angle") != null){ 166 if (quadraticStr == null) 200 if (node == null || node.getParent() == null [all...] |
SkeletonLoader.java | 150 axis = null; 153 bone = null; 154 position = null; 155 rotation = null; 156 scale = null; 169 animation = null; 171 if (track != null) { // if track has keyframes 173 track = null; 181 assert position != null; local 182 assert rotation != null; local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GameObjectCollisionSystem.java | 75 * If null, the intersection will still occur and no notification will be sent. 78 * @param attackVolumes A list of volumes that can hit other game objects. May be null. 80 * May be null. 88 if (record != null && object != null && boundingVolume != null 89 && (attackVolumes != null || vulnerabilityVolumes != null)) { 113 if (sSystemRegistry.debugSystem != null) { 132 final boolean testRequired = (record.attackVolumes != null && other.vulnerabilityVolumes != null) | [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
BundleTest.java | 113 bundle.putString(null, "value"); 114 assertEquals("value", bundle.getString(null)); 119 bundle.putString("key", null); 177 bundle.putString(null, "value"); 178 assertEquals("value", bundle.getString(null, "defaultValue")); 192 bundle.putString("key", null); 204 assertEquals(null, bundle.getCharArray("foo")); 206 assertEquals(null, bundle.getIntArray("foo")); 207 assertEquals(null, bundle.getIntegerArrayList("foo")); 209 assertEquals(null, bundle.getShortArray("foo")) [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPNode.java | 47 private List children = null; 49 private List qualifier = null; 51 private PropertyOptions options = null; 89 this(name, null, options); 98 options = null; 99 name = null; 100 value = null; 101 children = null; 102 qualifier = null; 201 children = null; [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuItemImpl.java | 119 if (sPrependShortcutLabel == null || !lang.equals(sLanguage)) { 147 if (mClickListener != null && 156 if (mItemCallback != null) { 161 if (mIntent != null) { 170 if (mActionProvider != null && mActionProvider.onPerformDefaultAction()) { 322 return mSubMenu != null; 344 return ((itemView != null) && itemView.prefersCondensedTitle()) 354 if (mSubMenu != null) { 366 return mTitleCondensed != null ? mTitleCondensed : mTitle; 373 if (title == null) { [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 144 if (sUri == null) { 156 if (sUri == null) { 219 String resultType = null; 253 * @return extension, or null if not found (or null/empty filename) 256 String extension = null; 279 null, null, null); 280 if (c != null) { 469 ContentUris.withAppendedId(Body.CONTENT_URI, body.mId), cv, null, null); local [all...] |
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasOutboxSync.java | 77 mSmartSendInfo = null; 85 if (mSmartSendInfo != null) { 111 // the To header is null) or the disk is too full to handle the temporary message. 139 if (httpStatus == HttpStatus.SC_INTERNAL_SERVER_ERROR && mSmartSendInfo != null) { 154 if (mTmpFile != null && mTmpFile.exists()) { 173 mSmartSendInfo != null) { 195 ContentUris.withAppendedId(Message.CONTENT_URI, mMessage.mId), null, null); local 217 final boolean smartSend = smartSendInfo != null; 219 smartSend ? smartSendInfo.mRequiredAtts : null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
ConfigurationChooser.java | 321 if (mEditedFile != null) { 324 return null; 409 if (target == null) { 417 * Returns the current device string, or null if no device is selected 419 * @return the device name, or null 424 if (device != null) { 428 return null; 432 * Returns the current theme, or null if none has been selected 434 * @return the theme name, or null 439 if (theme != null) { [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
Parameter.java | 225 assert typeName != null && !typeName.isEmpty() : TemplateHandler.ATTR_TYPE; 234 if (constraintString != null && !constraintString.isEmpty()) { 235 EnumSet<Constraint> constraintSet = null; 238 if (constraintSet == null) { 250 if (initial != null && !initial.isEmpty() && type == Type.BOOLEAN) { 266 element = null; 267 initial = null; 268 suggest = null; 270 help = null; 275 if (element != null) { [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXParametersTest.java | 79 if (taSet == null) { 96 if (taSet == null) { 114 * if the specified <code>Set</code> is null 118 // pass null 119 new PKIXParameters((Set)null); 148 if (taSet == null) { 164 * if the <code>keystore</code> is <code>null</code> 170 // pass null 171 new PKIXParameters((KeyStore)null); 186 if (taSet == null) { [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ActionBarImpl.java | 127 if (mContentAnimations && mContentView != null) { 131 if (mSplitView != null && mContextDisplayMode == CONTEXT_DISPLAY_SPLIT) { 136 mCurrentShowAnim = null; 138 if (mOverlayLayout != null) { 147 mCurrentShowAnim = null; 181 if (mOverlayLayout != null) { 192 if (mActionView == null || mContextView == null || mContainerView == null) { 221 mActionView.setEmbeddedTabView(null); [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Element.java | 75 if (mElements == null) { 198 if (mElements == null) { 202 if (mElements[ct].mElements != null) { 217 if (mVisibleElementMap == null) { 230 if (mVisibleElementMap == null) { 246 if (mVisibleElementMap == null) { 263 if (mVisibleElementMap == null) { 279 if (mVisibleElementMap == null) { 310 if(rs.mElement_BOOLEAN == null) { 324 if(rs.mElement_U8 == null) { [all...] |
/packages/apps/Music/src/com/android/music/ |
ArtistAlbumBrowserActivity.java | 91 if (icicle != null) { 113 if (mAdapter == null) { 118 null, // cursor 127 getArtistCursor(mAdapter.getQueryHandler(), null); local 132 if (mArtistCursor != null) { 135 getArtistCursor(mAdapter.getQueryHandler(), null); local 161 if (lv != null) { 164 if (cv != null) { 171 // close its cursor, which we do by assigning a null cursor to it. Doing this 174 if (!mAdapterSent && mAdapter != null) { 502 getArtistCursor(mAdapter.getQueryHandler(), null); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 89 /** The set of nodes being dragged (may be null) */ 178 * The current match on the left edge, or null if no match or if the left edge is not 184 * The current match on the top edge, or null if no match or if the top edge is not 190 * The current match on the right edge, or null if no match or if the right edge is 196 * The current match on the bottom edge, or null if no match or if the bottom edge is 248 return mCurrentLeftMatch != null || mCurrentTopMatch != null 249 || mCurrentRightMatch != null || mCurrentBottomMatch != null; 255 * @return the closest match, or null if nothing matche [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
RFC3280CertPathUtilities.java | 101 IssuingDistributionPoint idp = null; 113 if (idp != null) 115 if (idp.getDistributionPoint() != null) 152 if (dp.getDistributionPoint() != null) 155 GeneralName[] genNames = null; 162 if (dp.getCRLIssuer() != null) 192 if (genNames != null) 214 if (dp.getCRLIssuer() == null) 235 BasicConstraints bc = null; 249 if (idp.onlyContainsUserCerts() && (bc != null && bc.isCA()) [all...] |
/frameworks/base/cmds/pm/src/com/android/commands/pm/ |
Pm.java | 91 if (mPm == null) { 222 if (op != null) { 242 if (type == null) { 276 while ((opt=nextOption()) != null) { 315 if (filter != null && !info.packageName.contains(filter)) { 368 if (o1.name == null) return -1; 369 if (o2.name == null) return 1; 374 int count = (list != null) ? list.size() : 0; 378 if (fi.name != null) System.out.println(fi.name); 406 if (o1 == null) return -1 [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
WindowStateAnimator.java | 167 mAttachedWinAnimator = win.mAttachedWindow == null 168 ? null : win.mAttachedWindow.mWinAnimator; 169 mAppAnimator = win.mAppToken == null ? null : win.mAppToken.mAppAnimator; 191 if (mAnimation != null) { 195 mAnimation = null; 201 return mAnimation != null 202 || (mAttachedWinAnimator != null && mAttachedWinAnimator.mAnimation != null) 203 || (mAppAnimator != null & [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
BrowserProvider2.java | 121 Accounts.ACCOUNT_NAME + " IS NOT NULL DESC, " 145 "WHERE url IS NOT NULL AND deleted == 0) AND url_key NOT IN " + 146 "(SELECT url FROM history WHERE url IS NOT NULL)"; 339 " IS NOT NULL THEN 1 ELSE 0 END AS " + Combined.IS_BOOKMARK); 344 map.put(Combined.USER_ENTERED, "NULL AS " + Combined.USER_ENTERED); 352 map.put(Combined.DATE_LAST_VISITED, "NULL AS " + Combined.DATE_LAST_VISITED); 358 map.put(Combined.USER_ENTERED, "NULL AS " + Combined.USER_ENTERED); 373 return "CASE WHEN bookmarks." + column + " IS NOT NULL THEN " + 379 return "CASE WHEN bookmarks." + column + " IS NOT NULL THEN \"" + bookmarkValue + 390 ContentObserver mWidgetObserver = null; [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
ImageReaderTest.java | 72 private ImageReader mReader = null; 73 private Handler mHandler = null; 74 private SimpleImageListener mListener = null; 75 private CameraTestThread mLooperThread = null; 95 if (mCamera != null) { 97 mCamera = null; 99 if (mReader != null) { 101 mReader = null; 104 mHandler = null; 245 mCamera.capture(request, null, null) [all...] |