/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportViewerActivity.java | 34 if (intent != null) { 36 if (reportContents != null) {
|
/cts/tests/src/android/text/method/cts/ |
TextMethodUtils.java | 32 if (expected == null || actual == null) {
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerRecentTaskInfoTest.java | 43 Intent baseIntent = null; 44 ComponentName origActivity = null; 55 assertEquals(null, values.baseIntent); 56 assertEquals(null, values.origActivity); 57 // test baseIntent,origActivity is not null, and id is -1(not running) 77 Intent baseIntent = null; 78 ComponentName origActivity = null; 89 assertEquals(null, values.baseIntent); 90 assertEquals(null, values.origActivity); 91 // test baseIntent,origActivity is not null, and id is -1(not running [all...] |
/cts/tests/tests/drm/src/android/drm/cts/ |
DrmEventTest.java | 36 checkGetAttributeWithEventType(null, "NotNull", true); 37 checkGetAttributeWithEventType(null, null, true); 38 checkGetAttributeWithEventType(attributes, null, true); 45 checkGetAttributeWithEventType(null, "NotNull", false); 46 checkGetAttributeWithEventType(null, null, false); 47 checkGetAttributeWithEventType(attributes, null, false); 56 checkGetMessageWithEventType(null, true); 61 checkGetMessageWithEventType(null, false) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
VisualizerTest.java | 35 private Visualizer mVisualizer = null; 38 private Looper mLooper = null; 40 private byte[] mWaveform = null; 41 private byte[] mFft = null; 56 Visualizer visualizer = null; 65 if (visualizer != null) { 170 while ((mWaveform == null) && (looperWaitCount-- > 0)) { 186 while ((mFft == null) && (looperWaitCount-- > 0)) { 234 if (mVisualizer == null || session != mSession) { 235 if (session != mSession && mVisualizer != null) { [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringTest.java | 29 new SpannableString(null); 45 SpannableString.valueOf(null); 55 spannable.setSpan(null, 1, 4, SpannableString.SPAN_POINT_POINT); 56 assertEquals(1, spannable.getSpanStart(null)); 57 assertEquals(4, spannable.getSpanEnd(null)); 58 assertEquals(SpannableString.SPAN_POINT_POINT, spannable.getSpanFlags(null)); 68 spannable.setSpan(null, 4, 1, SpannableString.SPAN_POINT_POINT); 84 spannable.removeSpan(null);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
BulletSpanTest.java | 63 bulletSpan.drawLeadingMargin(canvas, paint, 10, 0, 10, 0, 20, text, 0, 0, true, null); 72 bulletSpan.drawLeadingMargin(null, null, 0, 0, 0, 0, 0, text, 0, 0, true, null); 79 bulletSpan.drawLeadingMargin(null, null, 0, 0, 0, 0, 0, null, 0, 0, false, null); 80 fail("did not throw NullPointerException when text is null");
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ZoomButtonTest.java | 54 new ZoomButton(mActivity, null); 56 new ZoomButton(mActivity, null, 0); 65 new ZoomButton(null); 71 new ZoomButton(null, null); 77 new ZoomButton(null, null, 0); 104 assertFalse(mZoomButton.dispatchUnhandledMove(null, View.FOCUS_DOWN));
|
/cts/tools/dasm/src/java_cup/ |
non_terminal.java | 32 if (conflict != null) 50 this(nm, null); 68 if (with_name == null) 69 return null; 99 * the given string as a base for the name (or "NT$" if null is passed). 104 if (prefix == null) prefix = "NT$"; 113 return create_new(null); 222 if (prod == null || prod.lhs() == null || prod.lhs().the_symbol() != this)
|
reduce_action.java | 23 if (prod == null) 25 "Attempt to create a reduce_action with a null production"); 52 return other != null && other.reduce_with() == reduce_with();
|
shift_action.java | 23 if (shft_to == null) 25 "Attempt to create a shift_action to a null state"); 52 return other != null && other.shift_to() == shift_to();
|
/cts/tools/signature-tools/src/signature/model/util/ |
ModelUtil.java | 41 * @return the IClass instance or null; 50 return null; 61 return null; 71 return null; 80 return null; 90 return null; 101 * @return the IClass instance or null; 109 return null; 120 String packageName = null; 138 String className = null; [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
HeaderSection.java | 29 /** {@code non-null;} the list of the one item in the section */ 35 * @param file {@code non-null;} file that this instance is part of 38 super(null, file, 4); 49 return null;
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
LocalVariableInfo.java | 34 * {@code non-null;} {@link RegisterSpecSet} to use when indicating a block 41 * {@code non-null;} array consisting of register sets representing the 47 /** {@code non-null;} map from instructions to the variable each assigns */ 53 * @param method {@code non-null;} the method being represented by this instance 56 if (method == null) { 57 throw new NullPointerException("method == null"); 77 * @param specs {@code non-null;} the register set to associate with the block 82 if (specs == null) { 83 throw new NullPointerException("specs == null"); 102 * @param specs {@code non-null;} the register set to merge into the start se [all...] |
RegisterSpecSet.java | 28 /** {@code non-null;} no-element instance */ 32 * {@code non-null;} array of register specs, where each element is 33 * {@code null} or is an instance whose {@code reg} 77 if ((s1 == null) || !s1.equals(s2)) { 93 int oneHash = (spec == null) ? 0 : spec.hashCode(); 111 if (spec != null) { 149 if (specs[i] != null) { 164 * @return {@code null-ok;} the element with the given register number or 165 * {@code null} if there is none 181 * @param spec {@code non-null;} spec with the desired register numbe [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderSection.java | 28 /** {@code non-null;} the list of the one item in the section */ 34 * @param file {@code non-null;} file that this instance is part of 37 super(null, file, 4); 48 return null;
|
/dalvik/dx/src/com/android/dx/rop/code/ |
LocalVariableInfo.java | 33 * {@code non-null;} {@link RegisterSpecSet} to use when indicating a block 40 * {@code non-null;} array consisting of register sets representing the 46 /** {@code non-null;} map from instructions to the variable each assigns */ 52 * @param method {@code non-null;} the method being represented by this instance 55 if (method == null) { 56 throw new NullPointerException("method == null"); 76 * @param specs {@code non-null;} the register set to associate with the block 81 if (specs == null) { 82 throw new NullPointerException("specs == null"); 101 * @param specs {@code non-null;} the register set to merge into the start se [all...] |
RegisterSpecSet.java | 27 /** {@code non-null;} no-element instance */ 31 * {@code non-null;} array of register specs, where each element is 32 * {@code null} or is an instance whose {@code reg} 76 if ((s1 == null) || !s1.equals(s2)) { 92 int oneHash = (spec == null) ? 0 : spec.hashCode(); 110 if (spec != null) { 148 if (specs[i] != null) { 163 * @return {@code null-ok;} the element with the given register number or 164 * {@code null} if there is none 180 * @param spec {@code non-null;} spec with the desired register numbe [all...] |
/dalvik/dx/src/com/android/dx/ssa/ |
LocalVariableInfo.java | 35 * {@code non-null;} {@link com.android.dx.rop.code.RegisterSpecSet} to use when indicating a block 42 * {@code non-null;} array consisting of register sets representing the 48 /** {@code non-null;} map from instructions to the variable each assigns */ 54 * @param method {@code non-null;} the method being represented by this instance 57 if (method == null) { 58 throw new NullPointerException("method == null"); 77 * @param specs {@code non-null;} the register set to associate with the block 82 if (specs == null) { 83 throw new NullPointerException("specs == null"); 102 * @param specs {@code non-null;} the register set to merge into the start se [all...] |
/dalvik/dx/tests/034-dex-minimal/ |
run | 20 jasmin -d . blort.j >/dev/null
|
/dalvik/dx/tests/064-dex-array-access/ |
Blort.java | 60 x[0] = null; 65 x[0][0] = null;
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
DexMergeTest.java | 51 (byte[]) fillArrayData.getMethod("newByteArray").invoke(null))); 54 (char[]) fillArrayData.getMethod("newCharArray").invoke(null))); 57 (long[]) fillArrayData.getMethod("newLongArray").invoke(null))); 69 tryCatchFinally.getDeclaredMethod("method").invoke(null); 81 assertEquals((byte) 1, staticValues.getField("a").get(null)); 82 assertEquals((short) 2, staticValues.getField("b").get(null)); 83 assertEquals('C', staticValues.getField("c").get(null)); 84 assertEquals(0xabcd1234, staticValues.getField("d").get(null)); 85 assertEquals(4660046610375530309L,staticValues.getField("e").get(null)); 86 assertEquals(0.5f, staticValues.getField("f").get(null)); [all...] |
/dalvik/hit/src/com/android/hit/ |
StackTrace.java | 30 StackTrace mParent = null; 46 if (mParent != null) {
|
/dalvik/tests/085-old-style-inner-class/src/ |
Main.java | 34 return (clazz == null) ? "(null)" : clazz.getName(); 38 return (meth == null) ? "(null)" : meth.toString();
|
/dalvik/tools/ |
dexcheck | 59 errout=`adb shell "dexdump /data/dalvik-cache/$file > dev/null"` 60 errcount=`echo $errout | wc -w` > /dev/null
|