/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationPagerAdapter.java | 80 * We must be careful to null out this reference when the pager and adapter are decoupled to 120 return mAccount != null && mFolder != null && mAccount.matches(account) 141 * is null. 146 return mSingletonMode || mDetachedMode || cursor == null; 153 return null; 155 if (mController == null) { 156 // Happens when someone calls setActivityController(null) on us. This is done in 159 LogUtils.i(LOG_TAG, "Pager adapter has a null controller. If the conversation view" 161 return null; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
BinaryDictionaryFileDumper.java | 124 // on it. If this returns null, v2 is not supported. 130 if (null != contentProviderClient.getType(uriV2Builder.build())) return uriV2Builder; 144 if (null == client) return Collections.<WordListInfo>emptyList(); 157 Cursor c = client.query(queryUri, DICTIONARY_PROJECTION, null, null, null); 158 if (isProtocolV2 && null == c) { 160 c = client.query(queryUri, DICTIONARY_PROJECTION, null, null, null); [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CameraOps.java | 102 if (mCameraManager == null) { 136 if (mCameraCharacteristics == null) { 145 mCameraCharacteristics = null; 147 if (mCamera == null) return; 155 mCamera = null; 159 if (mCamera == null) { 162 if (devices == null || devices.length == 0) { 196 Size[] previewSizes = null; 198 if (properties != null) { 203 if (previewSizes != null && previewSizes.length != 0 & 224 mCamera.setRepeatingRequest(mPreviewRequestBuilder.build(), null, null); local 251 mCamera.setRepeatingRequest(mPreviewRequestBuilder.build(), null, null); local 340 mCamera.setRepeatingRequest(mRecordingRequestBuilder.build(), null, null); local 369 mCamera.setRepeatingRequest(mRecordingRequestBuilder.build(), null, null); local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GSMPhone.java | 163 mCi.registerForAvailable(this, EVENT_RADIO_AVAILABLE, null); 164 mCi.registerForOffOrNotAvailable(this, EVENT_RADIO_OFF_OR_NOT_AVAILABLE, null); 165 mCi.registerForOn(this, EVENT_RADIO_ON, null); 166 mCi.setOnUSSD(this, EVENT_USSD, null); 167 mCi.setOnSuppServiceNotification(this, EVENT_SSN, null); 168 mSST.registerForNetworkAttached(this, EVENT_REGISTERED_TO_NETWORK, null); 187 mCi.resetRadio(null); 238 mSimulatedRadioControl = null; 239 mSimPhoneBookIntManager = null; 240 mSubInfo = null; [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/ |
DOM2DTM.java | 82 private int m_last_kid=NULL; 113 * be null. 129 m_last_parent=m_last_kid=NULL; 130 m_last_kid=addNode(m_root, m_last_parent,m_last_kid, NULL); 146 int attrsize=(attrs==null) ? 0 : attrs.getLength(); 149 int attrIndex=NULL; // start with no previous sib 155 attrIndex=addNode(attrs.item(i),0,attrIndex,NULL); 156 m_firstch.setElementAt(DTM.NULL,attrIndex); 160 m_nextsib.setElementAt(DTM.NULL,attrIndex); 176 * @param forceNodeType If not DTM.NULL, overrides the DOM node type [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
SipProviderImpl.java | 152 if (transport == null) 153 throw new NullPointerException("Null transport param"); 225 if (sipStack.sipListener == null) { 249 return null; 276 if (request == null) 277 throw new NullPointerException("null request"); 282 if (sipRequest.getTransaction() != null) 290 if (sipRequest.getTopmostVia() == null) { 307 if (sipRequest.getTopmostVia().getBranch() != null 310 && sipStack.findTransaction((SIPRequest) request, false) != null) { [all...] |
/external/smack/src/com/kenai/jbosh/ |
BOSHClient.java | 126 * Message used whena null listener is detected. 260 * manager. Becomes null when session is terminated. 318 * @return replacement exchange instance, or {@code null} to skip 336 if (System.getProperty(prop) == null) { 363 if (clientCfg == null) { 365 "Client configuration may not be null")); 387 if (listener == null) { 400 if (listener == null) { 413 if (listener == null) { 427 if (listener == null) { [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPMetaImpl.java | 58 private String packetHeader = null; 67 tree = new XMPNode(null, null, null); 94 if (arrayOptions == null) 105 arrayOptions = XMPNodeUtils.verifySetOptions(arrayOptions, null); 115 XMPNode arrayNode = XMPNodeUtils.findNode(tree, arrayPath, false, null); 117 if (arrayNode != null) 125 // if (arrayOptions != null && !arrayOptions.equalArrayTypes(arrayNode.getOptions())) 136 if (arrayNode == null) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapbMessage.java | 47 private String status = null; // READ/UNREAD 48 protected TYPE type = null; // SMS/MMS/EMAIL 50 private String folder = null; 54 protected String encoding = null; 55 protected String charset = null; 56 private String language = null; 60 private ArrayList<vCard> originator = null; 61 private ArrayList<vCard> recipient = null; 67 private String name = null; 68 private String formattedName = null; [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
P2pLinkManager.java | 222 mEchoServer = null; 251 if (mEchoServer != null) { 260 if (mEchoServer != null) { 300 if (mEchoServer != null) { 312 if (mMessageToSend != null || 313 (mUrisToSend != null && mHandoverManager.isHandoverSupported())) { 397 mMessageToSend = null; 398 mUrisToSend = null; 402 String runningPackage = null; 408 if (runningPackage == null) { [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ActivityRecord.java | 116 ProcessRecord app; // if non-null, hosting application 174 if (resultTo != null || resultWho != null) { 179 if (results != null) { 182 if (pendingResults != null && pendingResults.size() > 0) { 185 PendingIntentRecord pir = wpir != null ? wpir.get() : null; 187 if (pir == null) { 188 pw.println("null"); 195 if (newIntents != null && newIntents.size() > 0) [all...] |
/cts/tests/tests/accounts/src/android/accounts/cts/ |
MockAccountAuthenticator.java | 80 mResponse = null; 81 mAccountType = null; 82 mAuthTokenType = null; 83 mRequiredFeatures = null; 84 mOptionsUpdateCredentials = null; 85 mOptionsAddAccount = null; 86 mOptionsGetAuthToken = null; 87 mOptionsConfirmCredentials = null; 88 mAccount = null; 89 mFeatures = null; [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
TypefaceTest.java | 38 private static final String DEFAULT = (String)null; 43 { (String) null, "monospace", "serif", "sans-serif", "cursive", "arial", "times" }; 48 * @return The typeface or null, if no typeface with the given style can be found. 57 return null; 63 if (typeface != null) { 70 if (typeface != null) { 77 if (typeface != null) { 84 if (typeface != null) { 127 Typeface.createFromAsset(null, null); [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
ImageSpanTest.java | 62 new ImageSpan((Bitmap) null); 63 new ImageSpan((Drawable) null); 64 new ImageSpan((Drawable) null, (String) null); 65 new ImageSpan((Context) null, -1); 66 new ImageSpan((Bitmap) null, -1); 67 new ImageSpan((Drawable) null, -1); 68 new ImageSpan((Drawable) null, (String) null, -1); 69 new ImageSpan((Context) null, -1, -1) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RemoteViewsActivityTest.java | 60 assertTrue("LinearLayout not inflated", result.findViewById(R.id.linear) != null); 61 assertTrue("TextView not inflated", result.findViewById(R.id.text) != null); 62 assertTrue("ImageView not inflated", result.findViewById(R.id.image) != null); 63 assertTrue("FrameLayout not inflated", result.findViewById(R.id.frame) != null); 64 assertTrue("RelateiveLayout not inflated", result.findViewById(R.id.relative) != null); 65 assertTrue("AbsoluteLayout not inflated", result.findViewById(R.id.absolute) != null); 66 assertTrue("ProgressBar not inflated", result.findViewById(R.id.progress) != null); 67 assertTrue("ImageButton not inflated", result.findViewById(R.id.image_button) != null); 68 assertTrue("Button not inflated", result.findViewById(R.id.button) != null); 83 View result = null; [all...] |
ToggleButtonTest.java | 58 new ToggleButton(null, null, -1); 65 new ToggleButton(null, null); 72 new ToggleButton(null); 84 mToggleButton.setTextOff(null); 97 // drawableStateChanged when CheckMarkDrawable is not null. 101 drawable.setState(null); 135 // Then set checked button, but textOn is null. 138 mToggleButton.setTextOn(null); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoEncoder.java | 58 /** {@code null-ok;} positions (line numbers) to encode */ 61 /** {@code null-ok;} local variables to encode */ 79 * if non-null: the output to write annotations to. No normal 84 /** if non-null: another possible output for annotations */ 87 /** if non-null: the prefix for each annotation or debugPrint line */ 99 * @param positions {@code null-ok;} positions (line numbers) to encode 100 * @param locals {@code null-ok;} local variables to encode 101 * @param file {@code null-ok;} may only be {@code null} if simply using 131 if (prefix != null) { [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoEncoder.java | 66 /** {@code null-ok;} positions (line numbers) to encode */ 69 /** {@code null-ok;} local variables to encode */ 87 * if non-null: the output to write annotations to. No normal 92 /** if non-null: another possible output for annotations */ 95 /** if non-null: the prefix for each annotation or debugPrint line */ 107 * @param positions {@code null-ok;} positions (line numbers) to encode 108 * @param locals {@code null-ok;} local variables to encode 109 * @param file {@code null-ok;} may only be {@code null} if simply using 139 if (prefix != null) { [all...] |
/developers/build/prebuilts/gradle/BasicMediaRouter/BasicMediaRouterSample/src/main/java/com/example/android/basicmediarouter/ |
MainActivity.java | 61 // Active Presentation, set to null if no secondary screen is enabled 156 Display selectedDisplay = null; 157 if (selectedRoute != null) { 167 if (mPresentation != null && mPresentation.getDisplay() != selectedDisplay) { 169 mPresentation = null; 180 if (mPresentation == null && selectedDisplay != null) { 196 mPresentation = null; 236 if (mPresentation != null) { 238 mPresentation = null; [all...] |
/developers/samples/android/content/LoaderCursor/src/com/example/android/content/loadercursor/ |
CursorLoaderListFragment.java | 52 // If non-null, this is the current filter the user has provided. 72 android.R.layout.simple_list_item_2, null, 87 getLoaderManager().initLoader(0, null, this); 114 mSearchView.setQuery(null, true); 136 String newFilter = !TextUtils.isEmpty(newText) ? newText : null; 140 if (mCurFilter == null && newFilter == null) { 143 if (mCurFilter != null && mCurFilter.equals(newFilter)) { 151 getLoaderManager().restartLoader(0, null, CursorLoaderListFragment.this); 187 if (mCurFilter != null) { [all...] |
/developers/samples/android/media/BasicMediaRouter/BasicMediaRouterSample/src/main/java/com/example/android/basicmediarouter/ |
MainActivity.java | 61 // Active Presentation, set to null if no secondary screen is enabled 156 Display selectedDisplay = null; 157 if (selectedRoute != null) { 167 if (mPresentation != null && mPresentation.getDisplay() != selectedDisplay) { 169 mPresentation = null; 180 if (mPresentation == null && selectedDisplay != null) { 196 mPresentation = null; 236 if (mPresentation != null) { 238 mPresentation = null; [all...] |
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/ |
MainActivity.java | 61 // Active Presentation, set to null if no secondary screen is enabled 156 Display selectedDisplay = null; 157 if (selectedRoute != null) { 167 if (mPresentation != null && mPresentation.getDisplay() != selectedDisplay) { 169 mPresentation = null; 180 if (mPresentation == null && selectedDisplay != null) { 196 mPresentation = null; 236 if (mPresentation != null) { 238 mPresentation = null; [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/ |
Krb5LoginModuleTest.java | 65 if (kdc == null) { 85 if (server != null) { 102 module.initialize(null, new MockCallbackHandler(), null, options); 105 TestUtils.setSystemProperty(ENV_KDC, null); 115 TestUtils.setSystemProperty(ENV_REALM, null); 130 if (server != null) { 138 module.initialize(null, null, null, options) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
AttributedCharacterIteratorTest.java | 42 it = attrString.getIterator(null, 2, 8); 54 it = attrString.getIterator(null, 0, 3); 56 it = attrString.getIterator(null, 2, 8); 58 it = attrString.getIterator(null, 11, 11); 68 AttributedCharacterIterator it = attrString.getIterator(null, 2, 6); 78 AttributedCharacterIterator it = attrString.getIterator(null, 2, 6); 107 it = attrString.getIterator(null, 0, 3); 109 it = attrString.getIterator(null, 2, 8); 111 it = attrString.getIterator(null, 0, 0); 128 it = attrString.getIterator(null, 2, 8) [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
SSLExceptionTest.java | 53 * <code>msg</code> is not null. 61 assertNull("getCause() must return null", tE.getCause()); 67 * constructs SSLException when <code>msg</code> is null 70 String msg = null; 72 assertNull("getMessage() must return null.", tE.getMessage()); 73 assertNull("getCause() must return null", tE.getCause()); 78 * constructs DigestException when <code>cause</code> is null 81 Throwable cause = null; 83 assertNull("getMessage() must return null.", tE.getMessage()); 84 assertNull("getCause() must return null", tE.getCause()) [all...] |