/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaDataConnection.java | 77 if ((cp.apn != null) && (cp.apn.types.length > 0) && (cp.apn.types[0] != null) && 89 Integer.toString(dataProfile), null, null, local 90 null, Integer.toString(RILConstants.SETUP_DATA_AUTH_PAP_CHAP), msg); local
|
/packages/apps/AccountsAndSyncSettings/src/com/android/settings/ |
ManageAccountsSettings.java | 70 getResources().getDrawable(R.drawable.ic_list_syncerror), null, null, null); local 81 AccountManager.get(this).addOnAccountsUpdatedListener(this, null, true); 135 .setNegativeButton(android.R.string.cancel, null) 139 return null; 183 if (authorities != null) { 191 boolean activelySyncing = currentSync != null 194 boolean lastSyncFailed = status != null 231 if (mAuthorities != null && auths != null) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
DownloadTouchIcon.java | 58 mTab = null; 60 mOriginalUrl = null; 62 mUserAgent = null; 69 if (mCursor != null && mCursor.getCount() > 0) { 84 if (entity != null) { 86 if (content != null) { 88 content, null, null); 101 if (mCursor != null) { 104 return null; 135 values, null, null); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
CanvasSelection.java | 31 /** Current selected view info. Can be null. */ 34 /** Current selection border rectangle. Null when mCanvasViewInfo is null . */ 37 /** The node proxy for drawing the selection. Null when mCanvasViewInfo is null. */ 40 /** The name displayed over the selection, typically the widget class name. Can be null. */ 46 * @param canvasViewInfo The view info being selected. Must not be null. 53 assert canvasViewInfo != null; local 57 if (canvasViewInfo == null) { 58 mRect = null; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
UiActions.java | 53 * @param uiNode The node to select. Can be null (in which case nothing should happen) 66 doAdd(uiNode, null /* descriptorFilters */, shell, new UiModelTreeLabelProvider()); 91 if (results != null && results.length > 0) { 92 addElement(dlg.getChosenRootNode(), null, (ElementDescriptor) results[0], local 109 * @param uiParent An existing UI node or null to add to the tree root 110 * @param uiSibling An existing UI node before which to insert the new node. Can be null. 113 * @return The new {@link UiElementNode} or null. 122 if (uiSibling != null && uiSibling.getUiParent() != uiParent) { 123 uiSibling = null; 141 if (nodes == null || nodes.size() == 0) [all...] |
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/ |
AdbWrapper.java | 44 * @param osSdkPath The root OS path of the SDK. Cannot be null.
45 * @param monitor A logger object. Cannot be null.
65 if (mAdbOsLocation == null) {
107 if (mAdbOsLocation == null) {
142 * @param errorOutput The array to store the stderr output. cannot be null.
143 * @param stdOutput The array to store the stdout output. cannot be null.
151 assert errorOutput != null;
local 152 assert stdOutput != null;
local 153 // read the lines as they come. if null is returned, it's
165 if (line != null) {
[all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
BitmapDrawableTest.java | 116 new BitmapDrawable((Bitmap) null); 118 new BitmapDrawable((String) null); 120 new BitmapDrawable((InputStream) null); 342 bitmapDrawable.setColorFilter(null); 426 "1. not clear what is supposed to happen if the Resource is null.") 445 // when parser is null 446 bitmapDrawable.inflate(mContext.getResources(), null, attrs); local 474 bitmapDrawable.inflate(null, parser, attrs); 475 fail("Should throw NullPointerException if resource is null"); 480 bitmapDrawable.inflate(mContext.getResources(), parser, null); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_AlbumsTest.java | 53 Albums.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, local 54 null, null)); local 56 Albums.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, local 57 null, null)); local 61 assertNull(mContentResolver.query(Albums.getContentUri(volume), null, null, null, null)) local [all...] |
MediaStore_Audio_Genres_MembersTest.java | 50 Cursor c = mContentResolver.query(uri, null, null, null, null); 56 c = mContentResolver.query(uri, null, null, null, null); 64 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mAudioIdOfJam, null); 66 null); 80 Members.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME, 1), null, local 81 null, null, null)); local 85 Members.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME, 1), null, local 86 null, null, null)); local 94 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, local 95 null)); local [all...] |
MediaStore_Audio_MediaTest.java | 52 Media.getContentUri(MediaStoreAudioTestHelper.INTERNAL_VOLUME_NAME), null, null, local 53 null, null)); local 55 Media.getContentUri(MediaStoreAudioTestHelper.EXTERNAL_VOLUME_NAME), null, null, local 56 null, null)); local 60 assertNull(mContentResolver.query(Media.getContentUri(volume), null, null, null, null)) local 70 assertNotNull(mContentResolver.query(Media.getContentUriForPath(externalPath), null, null, local 71 null, null)); local 75 assertNotNull(mContentResolver.query(Media.getContentUriForPath(internalPath), null, null, local 76 null, null)); local [all...] |
MediaStore_Audio_Playlists_MembersTest.java | 106 Cursor c = mContentResolver.query(uri, null, null, null, null); 112 c = mContentResolver.query(uri, null, null, null, null); 120 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio1, null); 121 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio2, null); 155 mMembersProjection, null, null, Members.DEFAULT_SORT_ORDER); local 162 assertNull(mContentResolver.query(Members.getContentUri(volume, 1), null, null, null, local 163 null)); local [all...] |
MediaStore_Images_ThumbnailsTest.java | 56 mContentResolver.delete(row, null, null); 92 Thumbnails.INTERNAL_CONTENT_URI, Thumbnails.MICRO_KIND, null); 102 if (uri != null) { 107 c = Thumbnails.queryMiniThumbnails(mContentResolver, uri, Thumbnails.MINI_KIND, null); 115 Thumbnails.MICRO_KIND, null); 120 c = Thumbnails.query(mContentResolver, uri, null); 143 String stringUrl = null; 145 stringUrl = Media.insertImage(mContentResolver, src, null, null); 190 assertNull(mContentResolver.query(Thumbnails.getContentUri(volume), null, null, null, local 191 null)); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageSwitcherTest.java | 65 " should check whether the input Context is null") 69 new ImageSwitcher(getContext(), null); local 157 imageSwitcher.setImageURI(null); 185 imageSwitcher.setImageDrawable(null); 189 InputStream source = null; 190 OutputStream target = null; 204 if (source != null) { 207 if (target != null) {
|
RelativeLayout_LayoutParamsTest.java | 68 new RelativeLayout.LayoutParams(getActivity(), null); local
|
/dalvik/dx/src/com/android/dx/dex/file/ |
CatchStructs.java | 45 /** {@code non-null;} code that contains the catches */ 49 * {@code null-ok;} the underlying table; set in 55 * {@code null-ok;} the encoded handler list, if calculated; set in 67 * {@code null-ok;} map from handler lists to byte offsets, if calculated; set in 75 * @param code {@code non-null;} code that contains the catches 79 this.table = null; 80 this.encodedHandlers = null; 82 this.handlerOffsets = null; 89 if (table == null) { 107 * @param out {@code non-null;} where to dum 132 handlerOffsets.put(table.get(i).getHandlers(), null); local [all...] |
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
PriorityBlockingQueue.java | 22 * <tt>null</tt> elements. A priority queue relying on {@linkplain 95 q = new PriorityQueue<E>(initialCapacity, null); 105 * priority queue. If {@code null}, the {@linkplain Comparable 129 * of its elements are null 143 * @throws NullPointerException if the specified element is null 158 * @throws NullPointerException if the specified element is null 181 * @throws NullPointerException if the specified element is null 198 * @throws NullPointerException if the specified element is null 226 assert x != null; local 240 if (x != null) [all...] |
/dalvik/libcore/dom/src/test/java/org/w3c/domts/ |
LSDocumentBuilderFactory.java | 96 throw new DOMTestIncompatibleException(null, setting); 218 setParameter(null, parser, "schema-type", schemaType); 228 if (schemaType == null || schemaType.equals(parserSchemaType)) { 264 * @param settings array of settings, may be null. 275 Method newInstanceMethod = domImplRegistryClass.getMethod("newInstance", (Class<?>) null); 276 Object domRegistry = newInstanceMethod.invoke(null, (Class<?>) null); 284 new Object[] {new Short( (short) 1), null}); 289 throw new DOMTestIncompatibleException(ex.getTargetException(), null); local 292 throw new DOMTestIncompatibleException(ex, null); [all...] |
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
StackTraceElementTest.java | 53 StackTraceElement ste2 = null; 73 new StackTraceElement(null, 83 null, local 93 null, local
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/ |
XSLTElementProcessor.java | 83 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 84 * @param publicId The public identifer, or null if none is 88 * @return The new input source, or null to require the 95 return null; 102 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 104 * @param publicId The notation public identifier, or null if not 120 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 122 * @param publicId The entity public identifier, or null if not 140 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 151 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates 377 attrDef.getName() }), null); local [all...] |
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader5.java | 62 null, 63 null, 76 if(savedInstanceState != null && savedInstanceState.containsKey("lastIndexItem")){ 124 menu.add(0, 0, R.string.menu_option_start, null); 125 menu.add(0, 1, R.string.menu_option_stop, null); 126 menu.add(0, 2, R.string.menu_option_add, null); 127 menu.add(0, 3, R.string.menu_option_delete, null); 128 menu.add(0, 4, R.string.menu_option_update, null); 167 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); local 177 showAlert(null, "I have no idea what you clicked!", "ok", null, false, null) [all...] |
/external/elfutils/libebl/ |
eblgstrtab.c | 65 struct Ebl_GStrent null; member in struct:Ebl_GStrtab 86 if (ret != NULL) 93 ret->null.len = 1; 94 ret->null.string = (char *) calloc (1, width); 110 if (newmem == NULL) 125 while (mb != NULL) 132 if (st->null.string != NULL) 133 free ((char *) st->null.string); 165 newstr->next = NULL; [all...] |
eblstrtab.c | 64 struct Ebl_Strent null; member in struct:Ebl_Strtab 85 if (ret != NULL) 91 ret->null.len = 1; 92 ret->null.string = ""; 108 if (newmem == NULL) 125 while (mb != NULL) 153 return NULL; 162 newstr->next = NULL; 163 newstr->left = NULL; 164 newstr->right = NULL; [all...] |
/external/emma/core/java12/com/vladium/emma/rt/ |
InstrClassLoader.java | 52 // setting ClassLoader.parent to null disables the standard delegation 55 super (filesToURLs (classpath), null); local 60 m_cache = cache; // can be null 84 Class c = null; 90 if (c == null) 92 Class parentsVersion = null; 93 if (m_parent != null) 100 ((m_forcedDelegationFilter == null) || m_forcedDelegationFilter.included (name))) 111 if ((m_forcedDelegationFilter == null) || m_forcedDelegationFilter.included (name)) 116 if (c == null) [all...] |
/external/webkit/JavaScriptCore/jit/ |
ExecutableAllocatorFixedVMPool.cpp | 89 static handle null() { return 0; } function in struct:JSC::AVLTreeAbstractorForFreeList
|
/external/webkit/JavaScriptCore/runtime/ |
UString.h | 85 UString(const char*); // Constructor for null-terminated string. 129 * In strict mode, error is returned as null CString. 161 static const UString& null() { return *s_nullUString; } function in class:JSC::UString
|