/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/ |
D | TestLogTest.java | 34 assertNull(TestLogType.fromDataName(null)); in testTestLogType_fromDataName() 35 assertNull(TestLogType.fromDataName("")); in testTestLogType_fromDataName() 36 assertNull(TestLogType.fromDataName("kmsg-foo_bar_test")); in testTestLogType_fromDataName() 56 assertNull(TestLog.fromDataName("kmsg-baz_test", null)); in testFromDataName_unrecognizedDataName() 60 assertNull(TestLog.fromDataName(null, "http://logs/baz_test")); in testFromDataName_nullDataName() 64 assertNull(TestLog.fromDataName("logcat-bar_test", null)); in testFromDataName_nullUrl() 68 assertNull(TestLog.fromDataName(null, null)); in testFromDataName_allNull() 78 assertNull(TestLog.fromXml(newXml("<TestLog type=\"kmsg\" url=\"http://logs/baz_test\">"))); in testFromXml_unrecognizedType() 82 assertNull(TestLog.fromXml(newXml("<TestLog url=\"http://logs/baz_test\">"))); in testFromXml_noTypeAttribute() 86 assertNull(TestLog.fromXml(newXml("<TestLog type=\"bugreport\">"))); in testFromXml_noUrlAttribute() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | MailToTest.java | 50 assertNull(mailTo_1.getBody()); in testParseMailToURI() 51 assertNull(mailTo_1.getCc()); in testParseMailToURI() 52 assertNull(mailTo_1.getSubject()); in testParseMailToURI() 61 assertNull(mailTo_2.getBody()); in testParseMailToURI() 62 assertNull(mailTo_2.getCc()); in testParseMailToURI() 74 assertNull(mailTo_3.getCc()); in testParseMailToURI() 75 assertNull(mailTo_3.getSubject()); in testParseMailToURI() 87 assertNull(mailTo_4.getCc()); in testParseMailToURI() 88 assertNull(mailTo_4.getSubject()); in testParseMailToURI() 103 assertNull(mailTo_5.getSubject()); in testParseMailToURI() [all …]
|
D | UriTest.java | 57 assertNull(u.getQuery()); in testBuildUpon() 58 assertNull(u.getPath()); in testBuildUpon() 59 assertNull(u.getAuthority()); in testBuildUpon() 60 assertNull(u.getHost()); in testBuildUpon() 86 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri() 90 assertNull(Uri.parse("foo:bob%20lee").getEncodedQuery()); in testStringUri() 91 assertNull(Uri.parse("foo:bar#?bob%20lee").getQuery()); in testStringUri() 262 assertNull(uri.getFragment()); in testOpaqueUri() 268 assertNull(uri.getAuthority()); in testOpaqueUri() 269 assertNull(uri.getEncodedAuthority()); in testOpaqueUri() [all …]
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | MimeTypeMapTest.java | 61 assertNull(mMimeTypeMap.getMimeTypeFromExtension("some_random_string")); in testGetMimeTypeFromExtension() 63 assertNull(mMimeTypeMap.getMimeTypeFromExtension(null)); in testGetMimeTypeFromExtension() 64 assertNull(mMimeTypeMap.getMimeTypeFromExtension("")); in testGetMimeTypeFromExtension() 82 assertNull(mMimeTypeMap.getExtensionFromMimeType("some_random_string")); in testGetExtensionFromMimeType() 84 assertNull(mMimeTypeMap.getExtensionFromMimeType(null)); in testGetExtensionFromMimeType() 85 assertNull(mMimeTypeMap.getExtensionFromMimeType("")); in testGetExtensionFromMimeType()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_PhotoTest.java | 64 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto() 65 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto() 66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto() 85 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto() 86 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddEmptyPhoto() 87 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddEmptyPhoto() 94 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto() 95 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddEmptyPhoto() 96 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddEmptyPhoto()
|
D | Settings_SecureTest.java | 50 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in assertSettingsForTests() 68 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutInt() 90 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutFloat() 112 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutLong() 134 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString() 144 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString()
|
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/ |
D | PermissionsHostTest.java | 69 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false)); in testFail() 79 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false)); in testKill() 88 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false)); in testDefault() 93 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false)); in testGranted() 100 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false)); in testInteractiveGrant() 105 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false)); in testRuntimeGroupGrantSpecificity() 110 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK), false, false)); in testRuntimeGroupGrantExpansion() 115 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK_COMPAT), false, false)); in testCompatDefault() 120 assertNull(getDevice().installPackage(mCtsBuild.getTestApp(APK_COMPAT), false, false)); in testCompatRevoked()
|
D | AppSecurityTests.java | 122 assertNull(String.format("failed to install shared uid app, Reason: %s", installResult), in testSharedUidDifferentCerts() 148 assertNull(String.format("failed to install simple app. Reason: %s", installResult), in testAppUpgradeDifferentCerts() 173 assertNull(String.format("failed to install app with data. Reason: %s", installResult), in testAppFailAccessPrivateData() 180 assertNull(String.format("failed to install app access data. Reason: %s", in testAppFailAccessPrivateData() 202 assertNull(String.format("failed to install app with data. Reason: %s", installResult), in testUninstallRemovesData() 211 assertNull(String.format("failed to install app with data second time. Reason: %s", in testUninstallRemovesData() 234 assertNull(String.format("failed to install target instrumentation app. Reason: %s", in testInstrumentationDiffCert() 240 assertNull(String.format( in testInstrumentationDiffCert() 268 assertNull(String.format("failed to install declare permission app. Reason: %s", in testPermissionDiffCert() 273 assertNull(String.format("failed to install declare permission compat app. Reason: %s", in testPermissionDiffCert() [all …]
|
D | KeySetHostTest.java | 211 assertNull(String.format("failed to install %s, Reason: %s", pkgName, in testPackageUpgrade() 254 assertNull(String.format("failed to upgrade keyset app from no specified upgrade-key-set" in testNoKSToUpgradeKS() 265 assertNull(String.format("failed to upgrade keyset app from specified upgrade-key-set" in testUpgradeKSToNoKS() 295 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithUpgradeKey() 306 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithSigningUpgradeKey() 318 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testMultipleUpgradeKSWithUpgradeKey() 340 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithMultipleUpgradeKeySetsFirstKey() 345 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithMultipleUpgradeKeySetsFirstKey() 377 assertNull(String.format("failed to install keyset perm-def app, Reason: %s", in testKeyRotationPerm() 381 assertNull(String.format("failed to install keyset test app. Reason: %s", in testKeyRotationPerm() [all …]
|
D | ExternalStorageHostTest.java | 95 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageNone() 119 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageRead() 143 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageWrite() 168 assertNull(getDevice().installPackage(getTestAppFile(NONE_APK), false, options)); in testExternalStorageGifts() 169 assertNull(getDevice().installPackage(getTestAppFile(READ_APK), false, options)); in testExternalStorageGifts() 170 assertNull(getDevice().installPackage(getTestAppFile(WRITE_APK), false, options)); in testExternalStorageGifts() 205 assertNull("Failed to install: " + installResult, installResult); in testMultiUserStorageIsolated()
|
/cts/tests/tests/location/src/android/location/cts/ |
D | AddressTest.java | 59 assertNull(address.getAdminArea()); in testAccessAdminArea() 70 assertNull(address.getCountryCode()); in testAccessCountryCode() 81 assertNull(address.getCountryName()); in testAccessCountryName() 98 assertNull(address.getExtras()); in testAccessExtras() 109 assertNull(address.getFeatureName()); in testAccessFeatureName() 156 assertNull(address.getPhone()); in testAccessPhone() 167 assertNull(address.getPostalCode()); in testAccessPostalCode() 178 assertNull(address.getThoroughfare()); in testAccessThoroughfare() 189 assertNull(address.getUrl()); in testAccessUrl() 200 assertNull(address.getSubAdminArea()); in testAccessSubAdminArea() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageTest.java | 65 assertNull(mMessage.getCallback()); in testAccessMessageProperties() 86 assertNull(message.obj); in testObtain() 87 assertNull(message.replyTo); in testObtain() 88 assertNull(message.getTarget()); in testObtain() 89 assertNull(message.getCallback()); in testObtain() 90 assertNull(message.peekData()); in testObtain() 151 assertNull(mMessage.peekData()); in testPeekData() 178 assertNull(message.obj); in testRecycle() 179 assertNull(message.replyTo); in testRecycle() 180 assertNull(message.getTarget()); in testRecycle() [all …]
|
D | BundleTest.java | 121 assertNull(mBundle.get(KEY)); in testGet() 145 assertNull(mBundle.getBooleanArray(KEY)); in testGetBooleanArray() 165 assertNull(mBundle.getBundle(KEY)); in testGetBundle() 195 assertNull(mBundle.getByteArray(KEY)); in testGetByteArray() 236 assertNull(mBundle.getCharArray(KEY)); in testGetCharArray() 252 assertNull(mBundle.getCharSequence(KEY)); in testGetCharSequence() 253 assertNull(mBundle.getCharSequence(KEY2)); in testGetCharSequence() 264 assertNull(mBundle.getCharSequenceArray(KEY)); in testGetCharSequenceArray() 284 assertNull(mBundle.getCharSequenceArrayList(KEY)); in testGetCharSequenceArrayList() 329 assertNull(mBundle.getDoubleArray(KEY)); in testGetDoubleArray() [all …]
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ActivityManagerRunningTaskInfoTest.java | 56 assertNull(values.baseActivity); in testWriteToParcel() 57 assertNull(values.topActivity); in testWriteToParcel() 58 assertNull(values.thumbnail); in testWriteToParcel() 84 assertNull(values.baseActivity); in testReadFromParcel() 85 assertNull(values.topActivity); in testReadFromParcel() 86 assertNull(values.thumbnail); in testReadFromParcel()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | PaintDrawableTest.java | 49 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 58 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 64 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 72 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 74 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 80 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 97 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 161 assertNull(paintDrawable.getShape()); in testInflateTag()
|
D | DrawableContainerTest.java | 53 assertNull(mDrawableContainer.getCurrent()); in testDraw() 98 assertNull(mDrawableContainer.getCurrent()); in testGetPadding() 119 assertNull(mDrawableContainerState.getConstantPadding()); in testGetPadding() 131 assertNull(mDrawableContainer.getCurrent()); in testGetPadding() 133 assertNull(mDrawableContainerState.getConstantPadding()); in testGetPadding() 146 assertNull(mDrawableContainer.getCurrent()); in testSetAlpha() 167 assertNull(mDrawableContainer.getCurrent()); in testSetDither() 190 assertNull(mDrawableContainer.getCurrent()); in testSetHotspotBounds() 209 assertNull(mDrawableContainer.getCurrent()); in testGetHotspotBounds() 227 assertNull(mDrawableContainer.getCurrent()); in testSetColorFilter() [all …]
|
/cts/tools/signature-tools/test/signature/comparator/ |
D | MethodCompareTests.java | 21 import static org.junit.Assert.assertNull; 46 assertNull(compare(fromApi, toApi)); in compareEqualClasses() 151 assertNull(apiDelta); in compareExceptions0() 196 assertNull(apiDelta); in compareRuntimeExceptions() 230 assertNull(apiDelta); in compareMissingDefaultConstructor() 251 assertNull(apiDelta); in compareMissingAbstractMethod() 272 assertNull(apiDelta); in compareMissingInheritedMethod() 293 assertNull(apiDelta); in compareMissingInheritedMethodGeneric0() 314 assertNull(apiDelta); in compareMissingInheritedMethodGeneric1() 340 assertNull(apiDelta); in compareMissingInheritedMethodGeneric2() [all …]
|
D | ClassCompareTest.java | 21 import static org.junit.Assert.assertNull; 53 assertNull(compare(fromApi, toApi)); in compareEqualClasses() 129 assertNull(compare(fromApi, toApi)); in compareDefaultedAnnotationElementOnClass() 141 assertNull(compare(fromApi, toApi)); in compareSameInterfaces() 178 assertNull(apiDelta); in compareMissingGenericInterface0() 200 assertNull(apiDelta); in compareMissingGenericInterface1() 233 assertNull(apiDelta); in compareInterfaceClosure() 250 assertNull(apiDelta); in compareUpperBounds0() 281 assertNull(apiDelta); in compareTypeVariables0() 313 assertNull(apiDelta); in compareTypeVariables2() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentValuesTest.java | 72 assertNull(mContentValues.get("key")); in testPutNull() 75 assertNull(mContentValues.get("value")); in testPutNull() 78 assertNull(mContentValues.get("")); in testPutNull() 94 assertNull(mContentValues.getAsLong(null)); in testGetAsLong() 107 assertNull(mContentValues.getAsByte(null)); in testGetAsByte() 120 assertNull(mContentValues.getAsInteger(null)); in testGetAsInteger() 148 assertNull(mContentValues.getAsShort(null)); in testGetAsShort() 179 assertNull(mContentValues.getAsFloat(null)); in testGetAsFloat() 190 assertNull(mContentValues.getAsBoolean(null)); in testGetAsBoolean() 211 assertNull(mContentValues.get(null)); in testGet() [all …]
|
D | ContentProviderTest.java | 90 assertNull(mockContentProvider.getContext()); in testAttachInfo() 91 assertNull(mockContentProvider.getReadPermission()); in testAttachInfo() 92 assertNull(mockContentProvider.getWritePermission()); in testAttachInfo() 95 assertNull(mockContentProvider.getContext()); in testAttachInfo() 127 assertNull(mockContentProvider.getContext()); in testGetContext() 137 assertNull(mockContentProvider.getReadPermission()); in testAccessReadPermission() 148 assertNull(mockContentProvider.getReadPermission()); in testAccessReadPermission() 153 assertNull(mockContentProvider.getWritePermission()); in testAccessWritePermission() 160 assertNull(mockContentProvider.getWritePermission()); in testAccessWritePermission()
|
D | ContentQueryMapTest.java | 148 assertNull(contentValues); in testRequery() 159 assertNull(contentValues); in testRequery() 182 assertNull(contentValues); in testSetKeepUpdated() 197 assertNull(contentValues); in testSetKeepUpdated() 205 assertNull(contentValues); in testSetKeepUpdated() 212 assertNull(contentValues); in testSetKeepUpdated() 284 assertNull(contentValues); in testSetKeepUpdatedWithHandler() 299 assertNull(contentValues); in testSetKeepUpdatedWithHandler() 307 assertNull(contentValues); in testSetKeepUpdatedWithHandler() 314 assertNull(contentValues); in testSetKeepUpdatedWithHandler() [all …]
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceActivityTest.java | 43 assertNull(mActivity.findPreference("check_box_preference_from_intent")); in testAddPreferencesFromIntent() 52 assertNull(mActivity.findPreference("check_box_preference_from_resource")); in testAddPreferencesFromResource() 64 assertNull(mActivity.getPreferenceScreen()); in testGetPreferenceScreen()
|
/cts/tests/tests/text/src/android/text/util/cts/ |
D | Rfc822TokenTest.java | 37 assertNull(rfc822Token2.getName()); in testConstructor() 43 assertNull(rfc822Token3.getAddress()); in testConstructor() 49 assertNull(rfc822Token4.getComment()); in testConstructor() 68 assertNull(rfc822Token.getName()); in testAccessName() 100 assertNull(rfc822Token.getComment()); in testAccessComment() 119 assertNull(rfc822Token.getAddress()); in testAccessAddress()
|
/cts/tests/tests/dreams/src/android/service/dreams/cts/ |
D | DreamServiceTest.java | 30 assertNull(actionMode); in testOnWindowStartingActionMode() 40 assertNull(actionMode); in testOnWindowStartingActionModeTyped()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | LoginFilterTest.java | 45 assertNull(loginFilter.filter(source1, 0, source1.length(), dest1, 0, dest1.length())); in testFilter() 51 assertNull(loginFilter.filter(source1, 0, source1.length(), dest2, 5, 6)); in testFilter() 57 assertNull(loginFilter.filter(source2, 0, source2.length(), in testFilter() 64 assertNull(loginFilter.filter(spannedSource, 0, spannedSource.length(), in testFilter() 101 assertNull("should return null when start is larger than end", in testFilter()
|