Home
last modified time | relevance | path

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

12345678910>>...37

/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java22 import static org.junit.Assert.assertNotNull;
137 assertNotNull(typeface); in testCreate()
139 assertNotNull(typeface); in testCreate()
141 assertNotNull(typeface); in testCreate()
144 assertNotNull(typeface); in testCreate()
146 assertNotNull(typeface); in testCreate()
152 assertNotNull(typeface); in testDefaultFromStyle()
154 assertNotNull(typeface); in testDefaultFromStyle()
156 assertNotNull(typeface); in testDefaultFromStyle()
158 assertNotNull(typeface); in testDefaultFromStyle()
[all …]
DBitmapRGBAF16Test.java20 import static org.junit.Assert.assertNotNull;
61 assertNotNull(mOpaqueBitmap); in testDecode()
65 assertNotNull(mTransparentBitmap); in testDecode()
74 assertNotNull(scaled); in testScaling()
80 assertNotNull(scaled); in testScaling()
88 assertNotNull(copy); in testCopy()
93 assertNotNull(copy); in testCopy()
101 assertNotNull(b); in testCreate()
106 assertNotNull(b); in testCreate()
153 assertNotNull(b); in testCopyFromA8()
DBitmapColorSpaceTest.java20 import static org.junit.Assert.assertNotNull;
93 assertNotNull(cs); in createWithColorSpace()
106 assertNotNull(cs); in createWithColorSpace()
122 assertNotNull(cs); in createWithColorSpace()
220 assertNotNull(cs); in sRGB()
225 assertNotNull(cs); in sRGB()
230 assertNotNull(cs); in sRGB()
239 assertNotNull(cs); in p3()
244 assertNotNull(cs); in p3()
249 assertNotNull(cs); in p3()
[all …]
DBitmap_ConfigTest.java19 import static org.junit.Assert.assertNotNull;
56 assertNotNull(Bitmap.createBitmap(10, 24, Config.ALPHA_8)); in testValues()
57 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_4444)); in testValues()
58 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_8888)); in testValues()
59 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565)); in testValues()
60 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGBA_F16)); in testValues()
/cts/tests/tests/media/src/android/media/cts/
DMediaDrmMetricsTest.java62 assertNotNull(drm); in testGetMetricsEmpty()
71 assertNotNull(metrics); in testGetMetricsEmpty()
81 assertNotNull(drm); in testGetMetricsSession()
90 assertNotNull(sid1); in testGetMetricsSession()
92 assertNotNull(sid2); in testGetMetricsSession()
98 assertNotNull(metrics); in testGetMetricsSession()
114 assertNotNull(startTimesMs); in testGetMetricsSession()
123 assertNotNull(endTimesMs); in testGetMetricsSession()
134 assertNotNull(drm); in testGetMetricsGetKeyRequest()
143 assertNotNull(sid); in testGetMetricsGetKeyRequest()
[all …]
DAudioFormatTest.java46 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testBuilderForCopy()
49 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testBuilderForCopy()
70 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyEncoding()
73 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyEncoding()
91 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyRate()
94 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyRate()
112 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyChanMask()
115 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyChanMask()
134 assertNotNull("Failure to create the AudioFormat to copy", formatToCopy); in testPartialFormatBuilderForCopyChanIdxMask()
137 assertNotNull("Failure to create AudioFormat copy with Builder", copiedFormat); in testPartialFormatBuilderForCopyChanIdxMask()
[all …]
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.java51 assertNotNull(mAudioManager); in setUp()
124 assertNotNull(productName); in test_devicesInfoFields()
129 assertNotNull(address); in test_devicesInfoFields()
137 assertNotNull(sampleRates); in test_devicesInfoFields()
142 assertNotNull(channelMasks); in test_devicesInfoFields()
147 assertNotNull(indexMasks); in test_devicesInfoFields()
153 assertNotNull(channelCounts); in test_devicesInfoFields()
158 assertNotNull(encodings); in test_devicesInfoFields()
188 assertNotNull(myLooper); in prepareIfNeededLooper()
/cts/tests/tests/provider/src/android/provider/cts/
DFontsContractTest.java21 import static org.junit.Assert.assertNotNull;
162 assertNotNull(callback.mTypeface); in requestFont()
188 assertNotNull(result); in querySingleFont()
194 assertNotNull(font.getUri()); in querySingleFont()
196 assertNotNull(FontsContract.buildTypeface(mContext, null /* cancellation signal */, fonts)); in querySingleFont()
205 assertNotNull(result); in queryMultipleFont()
211 assertNotNull(font.getUri()); in queryMultipleFont()
214 assertNotNull(FontsContract.buildTypeface(mContext, null /* cancellation signal */, fonts)); in queryMultipleFont()
223 assertNotNull(result); in queryAttributes()
229 assertNotNull(font.getUri()); in queryAttributes()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java21 import static org.junit.Assert.assertNotNull;
89 assertNotNull(mLayoutInflater); in testFrom()
92 assertNotNull(mLayoutInflater); in testFrom()
96 assertNotNull(layoutInflater); in testFrom()
193 assertNotNull(view); in testCreateView()
201 assertNotNull(view); in testCreateView()
206 assertNotNull(view); in testCreateView()
211 assertNotNull(view); in testCreateView()
227 assertNotNull(view); in testInflate()
238 assertNotNull(view); in testInflate()
[all …]
DView_IdsTest.java20 import static org.junit.Assert.assertNotNull;
56 assertNotNull(editText); in testIds()
57 assertNotNull(buttonOk); in testIds()
58 assertNotNull(buttonCancel); in testIds()
59 assertNotNull(symbol); in testIds()
60 assertNotNull(warning); in testIds()
/cts/tests/tests/util/src/android/util/cts/
DTypedValueTest.java21 import static org.junit.Assert.assertNotNull;
139 assertNotNull(tv.toString()); in testToString()
142 assertNotNull(tv.toString()); in testToString()
179 assertNotNull(tv.coerceToString()); in testCoerceToString1()
182 assertNotNull(tv.coerceToString()); in testCoerceToString1()
188 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_REFERENCE, 10)); in testCoerceToString2()
189 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_ATTRIBUTE, 10)); in testCoerceToString2()
190 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_FLOAT, 10)); in testCoerceToString2()
192 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_DIMENSION, 2)); in testCoerceToString2()
193 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_FRACTION, 1)); in testCoerceToString2()
[all …]
/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/accounts/src/android/accounts/cts/
DAbstractAuthenticatorTests.java101 assertNotNull(sessionBundle); in testStartAddAccountSessionDefaultImpl()
126 assertNotNull(result); in testStartUpdateCredentialsSessionDefaultImpl()
138 assertNotNull(sessionBundle); in testStartUpdateCredentialsSessionDefaultImpl()
167 assertNotNull(result); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
171 assertNotNull(escrowBundle); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
182 assertNotNull(result); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
193 assertNotNull(addAccountTx); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
201 assertNotNull(addAccountTx.options); in testFinishSessionAndStartAddAccountSessionDefaultImpl()
236 assertNotNull(result); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
240 assertNotNull(escrowBundle); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DPaintDrawableTest.java20 import static org.junit.Assert.assertNotNull;
72 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
77 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
83 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
100 assertNotNull(paintDrawable.getShape()); in testSetCornerRadii()
121 assertNotNull(paintDrawable.getShape()); in testSetCornerRadii()
130 assertNotNull(attr); in testInflateTag()
146 assertNotNull(attr); in testInflateTag()
170 assertNotNull(attr); in testInflateTag()
187 assertNotNull(attr); in testInflateTag()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DGetEuiccProfileInfoListResultTest.java21 import static org.junit.Assert.assertNotNull;
52 assertNotNull(mProfileListResult); in testGetResult()
58 assertNotNull(mProfileListResult); in testGetProfiles()
64 assertNotNull(mProfileListResult); in testGetIsRemovable()
70 assertNotNull(mProfileListResult); in testDescribeContents()
77 assertNotNull(mProfileListResult); in testWriteToParcel()
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DManagementTest.java39 assertNotNull(mDevicePolicyManager); in testIsManagedProfile()
48 assertNotNull(mDevicePolicyManager); in testIsDeviceOwner()
62 assertNotNull(otherProfile); in testOtherProfilesEqualsBindTargetUsers()
86 assertNotNull(profileUserHandle); in testCanRemoveManagedProfile()
93 assertNotNull(mDevicePolicyManager.createAndManageUser(admin, "secondary-user", in testCreateSecondaryUser()
104 assertNotNull(profileUserHandle); in testCannotStartManagedProfileInBackground()
112 assertNotNull(profileUserHandle); in testCannotStopManagedProfile()
/cts/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java73 assertNotNull(testPackage); in testPackageServiceDump()
97 assertNotNull(dump.getVerifierPackage().getName()); in verifyPackageServiceDumpProto()
98 assertNotNull(dump.getSharedLibraries(0).getName()); in verifyPackageServiceDumpProto()
100 assertNotNull(dump.getSharedLibraries(0).getPath()); in verifyPackageServiceDumpProto()
102 assertNotNull(dump.getSharedLibraries(0).getApk()); in verifyPackageServiceDumpProto()
104 assertNotNull(dump.getFeatures(0).getName()); in verifyPackageServiceDumpProto()
113 assertNotNull(systemUser); in verifyPackageServiceDumpProto()
/cts/tests/tests/text/src/android/text/style/cts/
DCharacterStyleTest.java19 import static org.junit.Assert.assertNotNull;
44 assertNotNull(result); in testWrap()
51 assertNotNull(result); in testWrap()
57 assertNotNull(result); in testWrap()
61 assertNotNull(result); in testWrap()
72 assertNotNull(result); in testGetUnderlying()
/cts/tests/tests/secure_element/omapi/src/android/omapi/cts/
DOmapiTest.java254 assertNotNull("getseService returned null", reader.getSEService()); in testGetReaders()
322 assertNotNull("Could not open session", session); in testATR()
325 assertNotNull("ATR is Null", atr); in testATR()
346 assertNotNull("Could not open session", session); in testOpenBasicChannelNullAid()
355 assertNotNull("Basic Channel cannot be opened", channel); in testOpenBasicChannelNullAid()
376 assertNotNull("Could not open session", session); in testOpenBasicChannelNonNullAid()
385 assertNotNull("Basic Channel cannot be opened", channel); in testOpenBasicChannelNonNullAid()
430 assertNotNull("Null Session", session); in testSelectableAid()
432 assertNotNull("Null Channel", channel); in testSelectableAid()
438 assertNotNull("Null Select Response", selectResponse); in testSelectableAid()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionInflaterTest.java20 import static org.junit.Assert.assertNotNull;
101 assertNotNull(transitionManager); in testInflateTransitionManager()
105 assertNotNull(transition); in testInflateTransitionManager()
111 assertNotNull(transition); in testInflateTransitionManager()
167 assertNotNull(set.getPathMotion()); in verifyTransitionSetProperties()
179 assertNotNull(targets); in verifyTargetIds()
187 assertNotNull(targets); in verifyTargetNames()
195 assertNotNull(targets); in verifyTargetClass()
202 assertNotNull(transition); in verifyArcMotion()
204 assertNotNull(motion); in verifyArcMotion()
[all …]
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DProcessStatsDumpsysTest.java61 assertNotNull(procstats); in testProcstatsOutput()
161 assertNotNull(parts[1]); // date in checkPeriod()
180 assertNotNull(parts[1]); // package name in checkPkgProc()
183 assertNotNull(parts[4]); // process in checkPkgProc()
219 assertNotNull(parts[1]); // package name in checkPkgPss()
222 assertNotNull(parts[4]); // process in checkPkgPss()
239 assertNotNull(parts[1]); // package name in checkPkgSvc()
242 assertNotNull(parts[4]); // service name in checkPkgSvc()
258 assertNotNull(parts[1]); // package name in checkPkgKills()
261 assertNotNull(parts[4]); // process in checkPkgKills()
[all …]
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassificationManagerTest.java22 import static org.junit.Assert.assertNotNull;
239 assertNotNull(selection); in assertValidResult()
245 assertNotNull(entity); in assertValidResult()
253 assertNotNull(classification); in assertValidResult()
257 assertNotNull(entity); in assertValidResult()
262 assertNotNull(classification.getActions()); in assertValidResult()
266 assertNotNull(links); in assertValidResult()
273 assertNotNull(entityType); in assertValidResult()
282 assertNotNull(language); in assertValidResult()
283 assertNotNull(language.getExtras()); in assertValidResult()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java23 import static org.junit.Assert.assertNotNull;
93 assertNotNull(result); in testSetViewResource()
99 assertNotNull(result); in testSetViewResource()
110 assertNotNull(result); in testSetDropDownViewResource()
119 assertNotNull(result); in testSetDropDownViewResource()
124 assertNotNull(result); in testSetDropDownViewResource()
135 assertNotNull(result); in testNewDropDownView()
141 assertNotNull(result); in testNewDropDownView()
152 assertNotNull(result); in testNewView()
158 assertNotNull(result); in testNewView()
/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()

12345678910>>...37