/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
BaseCursorPagerAdapter.java | 69 // TODO: This shouldn't just return null - maybe it needs to wait for a cursor to be supplied? 73 if (mCursor != null && moveCursorTo(position)) { 76 return null; 81 if (mCursor != null) { 90 if (mCursor == null) { 98 rowId = null; 103 if (obj != null) { 119 if (rowId == null || mItemPosition == null) { 131 return mCursor != null; [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
CommandParams.java | 54 if (icon != null && mTextMsg != null) { 77 if (icon != null && mConfirmMsg != null) { 98 if (icon != null && mTextMsg != null) { 119 if (icon == null) { 122 if (mConfirmMsg != null && mConfirmMsg.icon == null) { 125 } else if (mCallMsg != null && mCallMsg.icon == null) [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
StreamHandler.java | 64 initProperties("INFO", null, "java.util.logging.SimpleFormatter", null); 65 this.os = null; 66 this.writer = null; 91 this.os = null; 92 this.writer = null; 105 * if {@code os} or {@code formatter} is {@code null}. 109 if (os == null) { 110 throw new NullPointerException("os == null"); 112 if (formatter == null) { [all...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
AttributeListImplTest.java | 54 ai = new AttributeListImpl(null); 79 // null case 81 attrs.setAttributeList(null); 104 // null case 105 multi.addAttribute(null, null, null); 106 assertEquals(null, multi.getName(5)); 107 assertEquals(null, multi.getType(5)); 108 assertEquals(null, multi.getValue(5)) [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
X509KeyManagerImpl.java | 22 private X509Certificate[] cert = null; 93 keyTest.load(null, null); 99 //keyTest.load(null, null); 108 //keyTest.load(null, null); 117 if (s == null || s.equals("")) { 118 return null; 134 } else return null; [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
SparseArrayBitmapPool.java | 37 private Node mPoolNodesHead = null; 38 private Node mPoolNodesTail = null; 56 * @param nodePool Shared pool to use for recycling linked list nodes, or null. 60 if (nodePool == null) { 80 while (mPoolNodesTail != null && mSizeBytes > targetSize) { 87 if (n.prevInBucket != null) { 94 if (n.nextInBucket != null) { 100 if (n.prevInPool != null) { 107 if (n.nextInPool != null) { 116 n.nextInBucket = null; [all...] |
/frameworks/base/core/java/android/os/ |
MessageQueue.java | 49 // Barriers are indicated by messages with a null target whose arg1 field carries the token. 84 if (handler == null) { 85 throw new NullPointerException("Can't add a null IdleHandler"); 143 Message prevMsg = null; 145 if (msg != null && msg.target == null) { 150 } while (msg != null && !msg.isAsynchronous()); 152 if (msg != null) { 159 if (prevMsg != null) { 164 msg.next = null; [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ImportNode.java | 46 * ownerElement is set to null. Specified flag is set to true. Children is 80 factory = null; 81 builder = null; 120 assertURIEquals("systemId", null, null, null, "staffNS.dtd", null, 121 null, null, null, system) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
LayoutDescriptors.java | 62 new DocumentDescriptor("layout_doc", null); //$NON-NLS-1$ 110 if (mBaseViewDescriptor == null) { 139 if (views != null) { 152 if (layouts != null) { 189 if (gestureView != null) { 212 mBaseViewDescriptor = null; 245 null, //nsUri 248 null); // overrides 253 null, // elementName 256 null, // requiredAttribute [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
BstRangeOpsTest.java | 50 SimpleNode a = new SimpleNode('a', null, null); 51 SimpleNode c = new SimpleNode('c', null, null); 53 SimpleNode e = new SimpleNode('e', null, null); 54 SimpleNode g = new SimpleNode('g', null, null); 123 SimpleNode empty = null; 134 SimpleNode a = new SimpleNode('a', null, null) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
StubPackageManager.java | 26 return null; 38 return null; 47 return null; 52 return null; 57 return null; 61 return null; 66 return null; 71 return null; 76 return null; 81 return null; [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
Packet.java | 57 private static String DEFAULT_XML_NS = null; 62 * answer will be <tt>null</tt>. 107 private String packetID = null; 108 private String to = null; 109 private String from = null; 114 private XMPPError error = null; 133 * Returns the unique ID of the packet. The returned value could be <tt>null</tt> when 136 * @return the packet's unique ID or <tt>null</tt> if the packet's id is not available. 140 return null; 143 if (packetID == null) { [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
QueryController.java | 40 private String mLastActivityName = null; 65 if (event.getText() != null && event.getText().size() > 0) { 66 if(event.getText().get(0) != null) 72 if (event.getText() != null && event.getText().size() > 0) 73 if(event.getText().get(0) != null) 98 return null; 151 if (rootNode == null) { 152 Log.e(LOG_TAG, "Cannot proceed when root node is null. Aborted search"); 153 return null; 165 * @return null if no root node is obtaine [all...] |
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
QueryController.java | 40 private String mLastActivityName = null; 65 if (event.getText() != null && event.getText().size() > 0) { 66 if(event.getText().get(0) != null) 72 if (event.getText() != null && event.getText().size() > 0) 73 if(event.getText().get(0) != null) 98 return null; 150 if (rootNode == null) { 151 Log.e(LOG_TAG, "Cannot proceed when root node is null. Aborted search"); 152 return null; 163 * @return null if no root node is obtaine [all...] |
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
DictionaryMaker.java | 90 if (null == mInputUnigramXml && null == mInputBinary && null == mInputCombined) { 92 } else if ((null != mInputUnigramXml && null != mInputBinary) 93 || (null != mInputUnigramXml && null != mInputCombined) 94 || (null != mInputBinary && null != mInputCombined)) { 96 } else if ((null != mInputBinary || null != mInputCombined [all...] |
/art/test/052-verifier-fun/src/ |
Main.java | 43 default: return null; 60 default: return null; 77 default: return null; 91 default: return null; 99 if(this == null) { 100 return (Class<?>[])null; 102 return (Type[])null; 110 BlahFeature feature = null; // interface ref
|
/cts/libs/vogar-expect/src/vogar/util/ |
IoUtils.java | 26 if (c != null) { 35 if (c != null) {
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
CameraTestThread.java | 34 private Looper mLooper = null; 35 private Handler mHandler = null; 42 if (mLooper != null || mHandler !=null) { 73 if (mLooper == null || mHandler == null) { 81 mLooper = null; 82 mHandler = null;
|
/cts/tests/tests/location/src/android/location/cts/ |
GpsSatelliteTest.java | 36 GpsStatus gpsStatus = lm.getGpsStatus(null); 45 if (mGpsSatellite != null) { 51 if (mGpsSatellite != null) { 57 if (mGpsSatellite != null) { 64 if (mGpsSatellite != null) { 71 if (mGpsSatellite != null) { 78 if (mGpsSatellite != null) { 85 if (mGpsSatellite != null) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_DumpFileProviderTest.java | 79 mResolver.query(uri, null, null, null, null); 85 mResolver.query(uri, null, null, null, null);
|
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstInterfaceMethodRef.java | 25 * {@code null-ok;} normal {@link CstMethodRef} that corresponds to this 33 * @param definingClass {@code non-null;} the type of the defining class 34 * @param nat {@code non-null;} the name-and-type 38 methodRef = null; 51 * @return {@code non-null;} an appropriate instance 54 if (methodRef == null) {
|
StdConstantPool.java | 29 /** {@code non-null;} array of entries */ 33 * Constructs an instance. All indices initially contain {@code null}. 68 return null; 79 if (result == null) { 94 * @param cst {@code null-ok;} the constant to store 99 boolean cat2 = (cst != null) && cst.isCategory2(); 111 entries[n + 1] = null; 114 if ((cst != null) && (entries[n] == null)) { 120 if ((prev != null) && prev.isCategory2()) [all...] |
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfOptions.java | 39 public String optimizeListFile = null; 42 public String dontOptimizeListFile = null;
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstInterfaceMethodRef.java | 25 * {@code null-ok;} normal {@link CstMethodRef} that corresponds to this 33 * @param definingClass {@code non-null;} the type of the defining class 34 * @param nat {@code non-null;} the name-and-type 38 methodRef = null; 51 * @return {@code non-null;} an appropriate instance 54 if (methodRef == null) {
|
StdConstantPool.java | 29 /** {@code non-null;} array of entries */ 33 * Constructs an instance. All indices initially contain {@code null}. 68 return null; 79 if (result == null) { 94 * @param cst {@code null-ok;} the constant to store 99 boolean cat2 = (cst != null) && cst.isCategory2(); 111 entries[n + 1] = null; 114 if ((cst != null) && (entries[n] == null)) { 120 if ((prev != null) && prev.isCategory2()) [all...] |