Home
last modified time | relevance | path

Searched refs:assertNotNull (Results 1 – 25 of 535) sorted by relevance

12345678910>>...22

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java93 assertNotNull(typeface); in testCreate()
95 assertNotNull(typeface); in testCreate()
97 assertNotNull(typeface); in testCreate()
100 assertNotNull(typeface); in testCreate()
102 assertNotNull(typeface); in testCreate()
107 assertNotNull(typeface); in testDefaultFromStyle()
109 assertNotNull(typeface); in testDefaultFromStyle()
111 assertNotNull(typeface); in testDefaultFromStyle()
113 assertNotNull(typeface); in testDefaultFromStyle()
117 assertNotNull(Typeface.DEFAULT); in testConstants()
[all …]
DBlurMaskFilter_BlurTest.java41 assertNotNull(new BlurMaskFilter(10.24f, Blur.INNER)); in testValues()
42 assertNotNull(new BlurMaskFilter(10.24f, Blur.NORMAL)); in testValues()
43 assertNotNull(new BlurMaskFilter(10.24f, Blur.OUTER)); in testValues()
44 assertNotNull(new BlurMaskFilter(10.24f, Blur.SOLID)); in testValues()
DBitmap_ConfigTest.java41 assertNotNull(Bitmap.createBitmap(10, 24, Config.ALPHA_8)); in testValues()
42 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_4444)); in testValues()
43 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_8888)); in testValues()
44 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565)); in testValues()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DSettingsIntentsTest.java44 assertNotNull(mPackageManager.resolveActivity( in testSettings()
49 assertNotNull(mPackageManager.resolveActivity( in testAccounts()
54 assertNotNull(mPackageManager.resolveActivity( in testApps()
60 assertNotNull(mPackageManager.resolveActivity( in testSecurity()
66 assertNotNull(mPackageManager.resolveActivity( in testNfc()
72 assertNotNull(mPackageManager.resolveActivity( in testLocation()
/cts/tests/tests/media/src/android/media/cts/
DAudioFormatTest.java43 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testBuilderForCopy()
46 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testBuilderForCopy()
63 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyEncoding()
66 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyEncoding()
84 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyRate()
87 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyRate()
105 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyChanMask()
108 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyChanMask()
127 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyChanIdxMask()
130 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyChanIdxMask()
DAudioPreProcessingTest.java56 assertNotNull("could not create AudioRecord", ar); in test1_1NsCreateAndRelease()
84 assertNotNull("could not create AudioRecord", ar); in test1_2NsSetEnabledGetEnabled()
87 assertNotNull("could not create NoiseSupressor", ns); in test1_2NsSetEnabledGetEnabled()
117 assertNotNull("could not create AudioRecord", ar); in test2_1AecCreateAndRelease()
145 assertNotNull("could not create AudioRecord", ar); in test2_2AecSetEnabledGetEnabled()
148 assertNotNull("could not create AcousticEchoCanceler", aec); in test2_2AecSetEnabledGetEnabled()
178 assertNotNull("could not create AudioRecord", ar); in test3_1AgcCreateAndRelease()
206 assertNotNull("could not create AudioRecord", ar); in test3_2AgcSetEnabledGetEnabled()
209 assertNotNull("could not create AutomaticGainControl", agc); in test3_2AgcSetEnabledGetEnabled()
242 assertNotNull("Could not create AudioRecord", ar); in getAudioRecord()
DEnumDevicesTest.java46 assertNotNull(mAudioManager); in setUp()
104 assertNotNull(productName); in test_devicesInfoFields()
109 assertNotNull(address); in test_devicesInfoFields()
117 assertNotNull(sampleRates); in test_devicesInfoFields()
122 assertNotNull(channelMasks); in test_devicesInfoFields()
127 assertNotNull(indexMasks); in test_devicesInfoFields()
133 assertNotNull(channelCounts); in test_devicesInfoFields()
138 assertNotNull(encodings); in test_devicesInfoFields()
168 assertNotNull(myLooper); in prepareIfNeededLooper()
DMediaSessionTest.java80 assertNotNull(mSession.getSessionToken()); in testCreateSession()
85 assertNotNull(controller); in testCreateSession()
95 assertNotNull(sessionToken); in testSessionToken()
125 assertNotNull(extrasOut); in testConfigureSession()
129 assertNotNull(extrasOut); in testConfigureSession()
145 assertNotNull(metadataOut); in testConfigureSession()
149 assertNotNull(metadataOut); in testConfigureSession()
160 assertNotNull(stateOut); in testConfigureSession()
164 assertNotNull(stateOut); in testConfigureSession()
267 assertNotNull(info); in testPlaybackToLocalAndRemote()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DTypedValueTest.java122 assertNotNull(tv.toString()); in testToString()
125 assertNotNull(tv.toString()); in testToString()
159 assertNotNull(tv.coerceToString()); in testCoerceToString1()
162 assertNotNull(tv.coerceToString()); in testCoerceToString1()
167 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_REFERENCE, 10)); in testCoerceToString2()
168 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_ATTRIBUTE, 10)); in testCoerceToString2()
169 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_FLOAT, 10)); in testCoerceToString2()
171 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_DIMENSION, 2)); in testCoerceToString2()
172 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_FRACTION, 1)); in testCoerceToString2()
173 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_INT_HEX, 10)); in testCoerceToString2()
[all …]
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DDumpsysHostTest.java59 assertNotNull(procstats); in testProcstatsOutput()
131 assertNotNull(parts[1]); // date in checkPeriod()
134 assertNotNull(parts[4]); // status in checkPeriod()
142 assertNotNull(parts[1]); // package name in checkPkgProc()
144 assertNotNull(parts[3]); // process in checkPkgProc()
148 assertNotNull(parts[1]); // package name in checkPkgProc()
151 assertNotNull(parts[4]); // process in checkPkgProc()
189 assertNotNull(parts[1]); // package name in checkPkgPss()
191 assertNotNull(parts[3]); // process in checkPkgPss()
195 assertNotNull(parts[1]); // package name in checkPkgPss()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DIntent_FilterComparisonTest.java39 assertNotNull(mFilterComparison); in testConstructor()
45 assertNotNull(mFilterComparison); in testHashCode()
51 assertNotNull(mFilterComparison); in testEquals()
53 assertNotNull(mFilterComparison); in testEquals()
61 assertNotNull(mFilterComparison); in testGetIntent()
DIntent_ShortcutIconResourceTest.java46 assertNotNull(mShortcutIconResource); in testToString()
47 assertNotNull(mShortcutIconResource.toString()); in testToString()
56 assertNotNull(mShortcutIconResource); in testFromContext()
67 assertNotNull(mShortcutIconResource); in testWriteToParcel()
80 assertNotNull(mShortcutIconResource); in testDescribeContents()
DContextTest.java87 assertNotNull(testTheme); in testAccessTheme()
116 assertNotNull(testTypedArray); in testObtainStyledAttributes()
124 assertNotNull(testTypedArray); in testObtainStyledAttributes()
139 assertNotNull(testTypedArray); in testObtainStyledAttributes()
147 assertNotNull(testTypedArray); in testObtainStyledAttributes()
154 assertNotNull(testTypedArray); in testObtainStyledAttributes()
164 assertNotNull(mContext.getSystemService(Context.WINDOW_SERVICE)); in testGetSystemService()
172 assertNotNull(mContext.getSystemService(WindowManager.class)); in testGetSystemServiceByClass()
216 assertNotNull(attr); in getAttributeSet()
DContentQueryMapTest.java76 assertNotNull(mCursor); in setUp()
140 assertNotNull(contentValues); in testRequery()
144 assertNotNull(contentValues); in testRequery()
162 assertNotNull(contentValues); in testRequery()
166 assertNotNull(contentValues); in testRequery()
179 assertNotNull(contentValues); in testSetKeepUpdated()
194 assertNotNull(contentValues); in testSetKeepUpdated()
207 assertNotNull(contentValues); in testSetKeepUpdated()
238 assertNotNull(contentValues); in testSetKeepUpdated()
266 assertNotNull(contentValues); in testSetKeepUpdated()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java52 assertNotNull(inputStream); in testAssetOperations()
56 assertNotNull(inputStream); in testAssetOperations()
60 assertNotNull(assetFileDes); in testAssetOperations()
63 assertNotNull(assetFileDes); in testAssetOperations()
66 assertNotNull(assetFileDes); in testAssetOperations()
70 assertNotNull(parser); in testAssetOperations()
73 assertNotNull(parser); in testAssetOperations()
114 assertNotNull(mAssets.getLocales()); in testAssetOperations()
123 assertNotNull(result); in assertContextEquals()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DPaintDrawableTest.java51 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
56 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
62 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
78 assertNotNull(paintDrawable.getShape()); in testSetCornerRadii()
99 assertNotNull(paintDrawable.getShape()); in testSetCornerRadii()
107 assertNotNull(attr); in testInflateTag()
123 assertNotNull(attr); in testInflateTag()
148 assertNotNull(attr); in testInflateTag()
165 assertNotNull(attr); in testInflateTag()
168 assertNotNull(paintDrawable.getShape()); in testInflateTag()
/cts/tests/tests/text/src/android/text/style/cts/
DCharacterStyleTest.java33 assertNotNull(result); in testWrap()
40 assertNotNull(result); in testWrap()
46 assertNotNull(result); in testWrap()
50 assertNotNull(result); in testWrap()
60 assertNotNull(result); in testGetUnderlying()
/cts/tools/dex-tools/test/dex/reader/
DDexTestsCommon.java20 import static org.junit.Assert.assertNotNull;
94 assertNotNull(file); in getClass()
95 assertNotNull(className); in getClass()
106 assertNotNull(clazz); in getField()
107 assertNotNull(fieldName); in getField()
118 assertNotNull(element); in getAnnotation()
119 assertNotNull(annotationType); in getAnnotation()
130 assertNotNull(clazz); in getMethod()
131 assertNotNull(methodName); in getMethod()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java78 assertNotNull(mLayoutInflater); in testFrom()
81 assertNotNull(mLayoutInflater); in testFrom()
85 assertNotNull(layoutInflater); in testFrom()
186 assertNotNull(view); in testCreateView()
194 assertNotNull(view); in testCreateView()
199 assertNotNull(view); in testCreateView()
204 assertNotNull(view); in testCreateView()
214 assertNotNull(view); in testInflate()
231 assertNotNull(view); in testInflate()
238 assertNotNull(view); in testInflate2()
[all …]
DView_IdsTest.java45 assertNotNull(editText); in testIds()
46 assertNotNull(buttonOk); in testIds()
47 assertNotNull(buttonCancel); in testIds()
48 assertNotNull(symbol); in testIds()
49 assertNotNull(warning); in testIds()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionManagerTest.java45 assertNotNull(mTransition.listener.transition); in testBeginDelayedTransition()
51 assertNotNull(mActivity.findViewById(R.id.redSquare)); in testBeginDelayedTransition()
52 assertNotNull(mActivity.findViewById(R.id.greenSquare)); in testBeginDelayedTransition()
65 assertNotNull(mTransition.listener.transition); in testGo()
71 assertNotNull(mActivity.findViewById(R.id.redSquare)); in testGo()
72 assertNotNull(mActivity.findViewById(R.id.greenSquare)); in testGo()
94 assertNotNull(mTransition.listener.transition); in testSetTransition1()
100 assertNotNull(mActivity.findViewById(R.id.redSquare)); in testSetTransition1()
101 assertNotNull(mActivity.findViewById(R.id.greenSquare)); in testSetTransition1()
142 assertNotNull(mTransition.listener.transition); in testSetTransition2()
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java79 assertNotNull(result); in testSetViewResource()
85 assertNotNull(result); in testSetViewResource()
95 assertNotNull(result); in testSetDropDownViewResource()
104 assertNotNull(result); in testSetDropDownViewResource()
109 assertNotNull(result); in testSetDropDownViewResource()
119 assertNotNull(result); in testNewDropDownView()
125 assertNotNull(result); in testNewDropDownView()
135 assertNotNull(result); in testNewView()
141 assertNotNull(result); in testNewView()
DLinearLayoutTest.java153 assertNotNull(parent); in testAccessWeightSum()
154 assertNotNull(weight02); in testAccessWeightSum()
155 assertNotNull(weight05); in testAccessWeightSum()
156 assertNotNull(weight03); in testAccessWeightSum()
205 assertNotNull(param); in testGenerateDefaultLayoutParams()
212 assertNotNull(param); in testGenerateDefaultLayoutParams()
238 assertNotNull(parent); in testLayoutHorizontal()
239 assertNotNull(topView); in testLayoutHorizontal()
240 assertNotNull(centerView); in testLayoutHorizontal()
241 assertNotNull(bottomView); in testLayoutHorizontal()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DSettings_NameValueTableTest.java37 assertNotNull(c); in testPutString()
43 assertNotNull(c); in testPutString()
50 assertNotNull(c); in testPutString()
60 assertNotNull(c); in testPutString()
73 assertNotNull(res); in testGetUriFor()
/cts/tests/tests/preference2/src/android/preference2/cts/
DFragmentPreferencesTest.java45 assertNotNull(prefManager); in testGetPreferenceManager()
50 assertNotNull(prefScreen); in testGetPreferenceScreen()
55 assertNotNull(pref); in testFindPreference()

12345678910>>...22