Home
last modified time | relevance | path

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

12345678910>>...52

/cts/tests/appintegrity/src/android/appintegrity/cts/
DCtsAppIntegrityDeviceTest.java42 Assert.assertNotNull(formula); in applicationPackageNameEqualsFormulaApiAvailable()
51 Assert.assertNotNull(formula); in applicationIsPreInstalledFormulaApiAvailable()
60 Assert.assertNotNull(formula); in applicationCertificatesContainFormulaApiAvailable()
70 Assert.assertNotNull(formula); in applicationCertificateLineageContainFormulaApiAvailable()
79 Assert.assertNotNull(formula); in applicationVersionCodeEqualToFormulaApiAvailable()
88 Assert.assertNotNull(formula); in applicationVersionCodeGreaterThanFormulaApiAvailable()
97 Assert.assertNotNull(formula); in applicationVersionCodeGreaterThanEqualToFormulaApiAvailable()
106 Assert.assertNotNull(formula); in installerPackageNameEqualsFormulaApiAvailable()
115 Assert.assertNotNull(formula); in installerNotAllowedByManifestFormulaApiAvailable()
124 Assert.assertNotNull(formula); in installerCertificatesContainFormulaApiAvailable()
[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/graphics/src/android/graphics/cts/
DBitmap_ConfigTest.java19 import static org.junit.Assert.assertNotNull;
58 assertNotNull(Bitmap.createBitmap(10, 24, Config.ALPHA_8)); in testValues()
59 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_4444)); in testValues()
60 assertNotNull(Bitmap.createBitmap(10, 24, Config.ARGB_8888)); in testValues()
61 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGB_565)); in testValues()
62 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGBA_F16)); in testValues()
63 assertNotNull(Bitmap.createBitmap(10, 24, Config.RGBA_1010102)); in testValues()
DTypefaceTest.java22 import static org.junit.Assert.assertNotNull;
181 assertNotNull(typeface); in testCreate()
183 assertNotNull(typeface); in testCreate()
185 assertNotNull(typeface); in testCreate()
188 assertNotNull(typeface); in testCreate()
190 assertNotNull(typeface); in testCreate()
196 assertNotNull(typeface); in testDefaultFromStyle()
198 assertNotNull(typeface); in testDefaultFromStyle()
200 assertNotNull(typeface); in testDefaultFromStyle()
202 assertNotNull(typeface); in testDefaultFromStyle()
[all …]
DBlurMaskFilter_BlurTest.java19 import static org.junit.Assert.assertNotNull;
52 assertNotNull(new BlurMaskFilter(10.24f, Blur.INNER)); in testValues()
53 assertNotNull(new BlurMaskFilter(10.24f, Blur.NORMAL)); in testValues()
54 assertNotNull(new BlurMaskFilter(10.24f, Blur.OUTER)); in testValues()
55 assertNotNull(new BlurMaskFilter(10.24f, Blur.SOLID)); in testValues()
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()
/cts/tests/tests/vcn/src/android/net/vcn/cts/
DVcnSystemRequirementsTest.java23 import static org.junit.Assert.assertNotNull;
46 assertNotNull( in assertNotNullVcnDependencies()
49 assertNotNull( in assertNotNullVcnDependencies()
52 assertNotNull( in assertNotNullVcnDependencies()
55 assertNotNull( in assertNotNullVcnDependencies()
72 assertNotNull("VcnManager must be present on this device", mVcnManager); in testVcnAndDependenciesOnVOrNewerDevices()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPreProcessingTest.java53 assertNotNull("could not create AudioRecord", ar); in test1_1NsCreateAndRelease()
81 assertNotNull("could not create AudioRecord", ar); in test1_2NsSetEnabledGetEnabled()
84 assertNotNull("could not create NoiseSupressor", ns); in test1_2NsSetEnabledGetEnabled()
114 assertNotNull("could not create AudioRecord", ar); in test2_1AecCreateAndRelease()
142 assertNotNull("could not create AudioRecord", ar); in test2_2AecSetEnabledGetEnabled()
145 assertNotNull("could not create AcousticEchoCanceler", aec); in test2_2AecSetEnabledGetEnabled()
175 assertNotNull("could not create AudioRecord", ar); in test3_1AgcCreateAndRelease()
203 assertNotNull("could not create AudioRecord", ar); in test3_2AgcSetEnabledGetEnabled()
206 assertNotNull("could not create AutomaticGainControl", agc); in test3_2AgcSetEnabledGetEnabled()
239 assertNotNull("Could not create AudioRecord", ar); in getAudioRecord()
DEnumDevicesTest.java52 assertNotNull(mAudioManager); in setUp()
125 assertNotNull(productName); in test_devicesInfoFields()
130 assertNotNull(address); in test_devicesInfoFields()
138 assertNotNull(sampleRates); in test_devicesInfoFields()
143 assertNotNull(channelMasks); in test_devicesInfoFields()
148 assertNotNull(indexMasks); in test_devicesInfoFields()
154 assertNotNull(channelCounts); in test_devicesInfoFields()
159 assertNotNull(encodings); in test_devicesInfoFields()
164 assertNotNull(encapsulationModes); in test_devicesInfoFields()
168 assertNotNull(encapsulationMetadataTypes); in test_devicesInfoFields()
[all …]
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmMetricsTest.java64 assertNotNull(drm); in testGetMetricsEmpty()
73 assertNotNull(metrics); in testGetMetricsEmpty()
84 assertNotNull(drm); in testGetMetricsSession()
93 assertNotNull(sid1); in testGetMetricsSession()
95 assertNotNull(sid2); in testGetMetricsSession()
101 assertNotNull(metrics); in testGetMetricsSession()
117 assertNotNull(startTimesMs); in testGetMetricsSession()
126 assertNotNull(endTimesMs); in testGetMetricsSession()
138 assertNotNull(drm); in testGetMetricsGetKeyRequest()
147 assertNotNull(sid); in testGetMetricsGetKeyRequest()
[all …]
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DSharedUserMigrationTest.kt29 import org.junit.Assert.assertNotNull
58 val pkgs = mPm.getPackagesForUid(uid).assertNotNull() in reset()
69 var pkgInfo = mPm.getPackageArchiveInfo(InstallTest.APK4, FLAG_ZERO).assertNotNull() in testNewInstallOnly()
73 var pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testNewInstallOnly()
77 assertNotNull(pkgInfo.sharedUserId) in testNewInstallOnly()
85 pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testNewInstallOnly()
102 var pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testBestEffort()
106 assertNotNull(pkgInfo.sharedUserId) in testBestEffort()
113 pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testBestEffort()
124 pkgs = mPm.getPackagesForUid(uid).assertNotNull() in testBestEffort()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DIntent_FilterComparisonTest.java41 assertNotNull(mFilterComparison); in testConstructor()
47 assertNotNull(mFilterComparison); in testHashCode()
53 assertNotNull(mFilterComparison); in testEquals()
55 assertNotNull(mFilterComparison); in testEquals()
63 assertNotNull(mFilterComparison); in testGetIntent()
/cts/libs/webkit-shared/src/android/webkit/cts/
DSharedWebViewTestEnvironment.java302 assertNotNull("The WebServer needs to be started", mWebServer);
310 assertNotNull("The WebServer needs to be started", mWebServer);
318 assertNotNull("The WebServer needs to be started", mWebServer);
325 assertNotNull("The WebServer needs to be started", mWebServer);
332 assertNotNull("The WebServer needs to be started", mWebServer);
339 assertNotNull("The WebServer needs to be started", mWebServer);
346 assertNotNull("The WebServer needs to be started", mWebServer);
353 assertNotNull("The WebServer needs to be started", mWebServer);
360 assertNotNull("The WebServer needs to be started", mWebServer);
367 assertNotNull("The WebServer needs to be started", mWebServer);
[all …]
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothA2dpTest.java27 import static org.junit.Assert.assertNotNull;
125 assertNotNull(mBluetoothA2dp); in closeProfileProxy()
138 assertNotNull(mBluetoothA2dp); in closeProfileProxy_onDifferentAdapter()
157 assertNotNull(mBluetoothA2dp); in getConnectedDevices()
167 assertNotNull(mBluetoothA2dp); in getDevicesMatchingConnectionStates()
178 assertNotNull(mBluetoothA2dp); in getConnectionState()
190 assertNotNull(mBluetoothA2dp); in isA2dpPlaying()
202 assertNotNull(mBluetoothA2dp); in getSupportedCodecTypes()
210 assertNotNull(supportedCodecTypes); in getSupportedCodecTypes()
214 assertNotNull(codecType); in getSupportedCodecTypes()
[all …]
DBluetoothHeadsetTest.java24 import static org.junit.Assert.assertNotNull;
117 assertNotNull(mBluetoothHeadset); in closeProfileProxy()
129 assertNotNull(mBluetoothHeadset); in getConnectedDevices()
139 assertNotNull(mBluetoothHeadset); in getDevicesMatchingConnectionStates()
150 assertNotNull(mBluetoothHeadset); in getConnectionState()
162 assertNotNull(mBluetoothHeadset); in isAudioConnected()
178 assertNotNull(mBluetoothHeadset); in isNoiseReductionSupported()
194 assertNotNull(mBluetoothHeadset); in isVoiceRecognitionSupported()
210 assertNotNull(mBluetoothHeadset); in sendVendorSpecificResultCode()
233 assertNotNull(mBluetoothHeadset); in connect()
[all …]
/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/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/util/src/android/util/cts/
DTypedValueTest.java21 import static org.junit.Assert.assertNotNull;
146 assertNotNull(tv.toString()); in testToString()
149 assertNotNull(tv.toString()); in testToString()
186 assertNotNull(tv.coerceToString()); in testCoerceToString1()
189 assertNotNull(tv.coerceToString()); in testCoerceToString1()
195 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_REFERENCE, 10)); in testCoerceToString2()
196 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_ATTRIBUTE, 10)); in testCoerceToString2()
197 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_FLOAT, 10)); in testCoerceToString2()
199 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_DIMENSION, 2)); in testCoerceToString2()
200 assertNotNull(TypedValue.coerceToString(TypedValue.TYPE_FRACTION, 1)); in testCoerceToString2()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DGetEuiccProfileInfoListResultTest.java21 import static org.junit.Assert.assertNotNull;
65 assertNotNull(mProfileListResult); in testGetResult()
71 assertNotNull(mProfileListResult); in testGetProfiles()
77 assertNotNull(mProfileListResult); in testGetIsRemovable()
83 assertNotNull(mProfileListResult); in testDescribeContents()
90 assertNotNull(mProfileListResult); in testWriteToParcel()
DDownloadableSubscriptionTest.java21 import static org.junit.Assert.assertNotNull;
68 assertNotNull(downloadableSubscription); in testDownloadableSubscriptionBuilder()
75 assertNotNull(mDownloadableSubscription); in testGetEncodedActivationCode()
81 assertNotNull(mDownloadableSubscription); in testDescribeContents()
91 assertNotNull(mDownloadableSubscription); in testGetConfirmationCode()
97 assertNotNull(mDownloadableSubscription); in testWriteToParcel()
/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/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DPowerManagerTests.java19 import static org.junit.Assert.assertNotNull;
33 assertNotNull(powerManager); in testGetCurrentThermalStatus()
41 assertNotNull(powerManager); in testGetThermalHeadroom()
49 assertNotNull(powerManager); in testGetThermalHeadroomThresholds()
/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/view/src/android/view/cts/
DMockScrollCaptureCallback.java20 import static org.junit.Assert.assertNotNull;
66 assertNotNull("Did not receive search request", mSearchConsumer); in completeSearchRequest()
76 assertNotNull("Did not receive start request", mStartOnReady); in completeStartRequest()
81 assertNotNull("Did not receive image request", mImageOnComplete); in completeImageRequest()
86 assertNotNull("Did not receive end request", mOnEndReady); in completeEndRequest()
DLayoutInflaterTest.java21 import static org.junit.Assert.assertNotNull;
91 assertNotNull(mLayoutInflater); in testFrom()
94 assertNotNull(mLayoutInflater); in testFrom()
98 assertNotNull(layoutInflater); in testFrom()
195 assertNotNull(view); in testCreateView()
203 assertNotNull(view); in testCreateView()
208 assertNotNull(view); in testCreateView()
213 assertNotNull(view); in testCreateView()
229 assertNotNull(view); in testInflate()
240 assertNotNull(view); in testInflate()
[all …]

12345678910>>...52