/libcore/dom/src/test/java/org/w3c/domts/ |
BatikTestDocumentBuilderFactory.java | 48 * @param settings array of settings, may be null. 55 domImpl = null; 65 throw new DOMTestIncompatibleException(ex, null); 76 // throw new DOMTestIncompatibleException(null,settings[i]); 100 null); local 102 throw new DOMTestIncompatibleException(ex, null); 117 if (newSettings == null) { 147 * @return DOM implementation, may be null 153 if (domImpl == null) { 163 (DOMImplementation) getImpl.invoke(null, new Object[0]) [all...] |
DOM4JTestDocumentBuilderFactory.java | 48 * @param factory null for default JAXP provider. If not null, 51 * @param XMLReader if null use default XMLReader. If provided, 54 * @param settings array of settings, may be null. 72 domFactory = getInstance.invoke(null, new Object[] {}); 86 throw new DOMTestIncompatibleException(ex.getTargetException(), null); local 89 throw new DOMTestIncompatibleException(ex, null); 98 if (newSettings == null) { 106 if (url == null) { 109 if (saxReader == null) { [all...] |
/libcore/luni/src/main/java/org/apache/xalan/processor/ |
ProcessorKey.java | 105 if (null == attrDef) 111 + " element!", null); local 121 XSLTErrorResources.ER_INVALID_KEY_CALL, null), null); local 138 if (null != defVal) 152 attrDef.getName() }), null); 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/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
FileExplorerView.java | 78 null /*apk image*/, local
|
/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 159 imageSwitcher.setImageURI(null); 187 imageSwitcher.setImageDrawable(null); 191 InputStream source = null; 192 OutputStream target = null; 206 if (source != null) { 209 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...] |
/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...] |
/device/samsung/crespo/alsa-lib/src/pcm/ |
pcm_null.c | 4 * \brief PCM Null Plugin Interface 9 * PCM - Null plugin 51 snd_pcm_null_t *null = pcm->private_data; local 52 close(null->poll_fd); 53 free(null); 83 snd_pcm_null_t *null = pcm->private_data; local 85 status->state = null->state; 86 status->trigger_tstamp = null->trigger_tstamp; 95 snd_pcm_null_t *null = pcm->private_data; local 96 return null->state 112 snd_pcm_null_t *null = pcm->private_data; local 128 snd_pcm_null_t *null = pcm->private_data; local 140 snd_pcm_null_t *null = pcm->private_data; local 148 snd_pcm_null_t *null = pcm->private_data; local 156 snd_pcm_null_t *null = pcm->private_data; local 171 snd_pcm_null_t *null = pcm->private_data; local 186 snd_pcm_null_t *null = pcm->private_data; local 331 snd_pcm_null_t *null; local [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
|