/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PermissionsHostTest.java | 81 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(REVIEW_HELPER_APK), true, in approveReviewPermissionDialog() 123 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testFail() 138 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testKill() 153 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatDefault22() 163 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testCompatRevoked22() 183 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_22), false, false)); in testNoRuntimePrompt22() 192 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testDefault23() 198 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testGranted23() 204 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testInteractiveGrant23() 210 assertNull(getDevice().installPackage(mBuildHelper.getTestFile(APK_23), false, false)); in testRuntimeGroupGrantSpecificity23() [all …]
|
D | InstantCookieHostTest.java | 19 import static org.junit.Assert.assertNull; 62 assertNull(installPackage(INSTANT_COOKIE_APP_APK, false, true)); in testCookieUpdateAndRetrieval() 69 assertNull(installPackage(INSTANT_COOKIE_APP_APK, false, true)); in testCookiePersistedAcrossInstantInstalls() 73 assertNull(installPackage(INSTANT_COOKIE_APP_APK, false, true)); in testCookiePersistedAcrossInstantInstalls() 80 assertNull(installPackage(INSTANT_COOKIE_APP_APK, false, true)); in testCookiePersistedUpgradeFromInstant() 83 assertNull(installPackage(INSTANT_COOKIE_APP_APK, true, false)); in testCookiePersistedUpgradeFromInstant() 90 assertNull(installPackage(INSTANT_COOKIE_APP_APK, false, false)); in testCookieResetOnNonInstantReinstall() 94 assertNull(installPackage(INSTANT_COOKIE_APP_APK, true, false)); in testCookieResetOnNonInstantReinstall() 101 assertNull(installPackage(INSTANT_COOKIE_APP_APK, false, true)); in testCookieValidWhenSignedWithTwoCerts() 105 assertNull(installPackage(INSTANT_COOKIE_APP_APK_2, true, true)); in testCookieValidWhenSignedWithTwoCerts()
|
D | KeySetHostTest.java | 210 assertNull(String.format("failed to install %s, Reason: %s", pkgName, in testPackageUpgrade() 256 assertNull(String.format("failed to upgrade keyset app from no specified upgrade-key-set" in testNoKSToUpgradeKS() 267 assertNull(String.format("failed to upgrade keyset app from specified upgrade-key-set" in testUpgradeKSToNoKS() 297 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithUpgradeKey() 308 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithSigningUpgradeKey() 320 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testMultipleUpgradeKSWithUpgradeKey() 342 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithMultipleUpgradeKeySetsFirstKey() 347 assertNull(String.format("failed to upgrade keyset app from one signed by key-a" in testUpgradeKSWithMultipleUpgradeKeySetsFirstKey() 379 assertNull(String.format("failed to install keyset perm-def app, Reason: %s", in testKeyRotationPerm() 383 assertNull(String.format("failed to install keyset test app. Reason: %s", in testKeyRotationPerm() [all …]
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | StaticSharedLibsHostTests.java | 116 assertNull(install(STATIC_LIB_PROVIDER_RECURSIVE_APK)); in doTestInstallSharedLibrary() 118 assertNull(install(STATIC_LIB_PROVIDER1_APK)); in doTestInstallSharedLibrary() 120 assertNull(install(STATIC_LIB_PROVIDER2_APK)); in doTestInstallSharedLibrary() 122 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER1_PKG)); in doTestInstallSharedLibrary() 124 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER2_PKG)); in doTestInstallSharedLibrary() 126 assertNull(getDevice().uninstallPackage(STATIC_LIB_PROVIDER_RECURSIVE_PKG)); in doTestInstallSharedLibrary() 163 assertNull(install(STATIC_LIB_PROVIDER_RECURSIVE_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursively() 165 assertNull(install(STATIC_LIB_PROVIDER1_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursively() 167 assertNull(install(STATIC_LIB_CONSUMER1_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursively() 185 assertNull(install(STATIC_LIB_PROVIDER_RECURSIVE_APK)); in testLoadCodeAndResourcesFromSharedLibraryRecursivelyUpdate() [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | ServicesInstantAppsCannotAccessTests.java | 28 import static org.junit.Assert.assertNull; 47 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetDevicePolicyManager() 53 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetFingerprintManager() 59 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetShortcutManager() 65 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetUsbManager() 71 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetWallpaperManager() 77 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetWifiP2pManager() 83 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetWifiManager() 89 assertNull(InstrumentationRegistry.getTargetContext().getSystemService( in cannotGetWifiAwareManager()
|
/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 | 58 assertNull(u.getQuery()); in testBuildUpon() 59 assertNull(u.getPath()); in testBuildUpon() 60 assertNull(u.getAuthority()); in testBuildUpon() 61 assertNull(u.getHost()); in testBuildUpon() 93 assertNull(Uri.parse("foo:bob%20lee").getPath()); in testStringUri() 97 assertNull(Uri.parse("foo:bob%20lee").getEncodedQuery()); in testStringUri() 98 assertNull(Uri.parse("foo:bar#?bob%20lee").getQuery()); in testStringUri() 133 assertNull(uri.getUserInfo()); in testStringUri() 142 assertNull(uri.getUserInfo()); in testStringUri() 228 assertNull(Uri.decode(null)); in testDecode_null_returnsNull() [all …]
|
/cts/tests/tests/telephony3/src/android/telephony3/cts/ |
D | TelephonyManagerTest.java | 20 import static org.junit.Assert.assertNull; 59 assertNull( in testDeviceIdentifiersAreNotAccessible() 63 assertNull( in testDeviceIdentifiersAreNotAccessible() 67 assertNull( in testDeviceIdentifiersAreNotAccessible() 71 assertNull( in testDeviceIdentifiersAreNotAccessible() 75 assertNull( in testDeviceIdentifiersAreNotAccessible()
|
/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/preference/src/android/preference/cts/ |
D | PreferenceParentGroupTest.java | 21 import static org.junit.Assert.assertNull; 64 assertNull(screen.getParent()); in parentViaCodeTest() 67 assertNull(category.getParent()); in parentViaCodeTest() 70 assertNull(pref.getParent()); in parentViaCodeTest() 79 assertNull(category.getParent()); in parentViaCodeTest() 82 assertNull(pref.getParent()); in parentViaCodeTest() 111 assertNull(pref.getParent()); in parentViaInflationTest() 130 assertNull(pref.getParent()); in parentDoubleAddTest()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_PhotoTest.java | 66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto() 67 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto() 68 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto() 87 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto() 88 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddEmptyPhoto() 89 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddEmptyPhoto() 96 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto() 97 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddEmptyPhoto() 98 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddEmptyPhoto()
|
/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()
|
D | CookieTest.java | 75 assertNull(cookie); in testDomain() 155 assertNull(cookie); in testInvalidDomain() 159 assertNull(cookie); in testInvalidDomain() 163 assertNull(cookie); in testInvalidDomain() 167 assertNull(cookie); in testInvalidDomain() 171 assertNull(cookie); in testInvalidDomain() 175 assertNull(cookie); in testInvalidDomain() 179 assertNull(cookie); in testInvalidDomain() 183 assertNull(cookie); in testInvalidDomain() 202 assertNull(cookie); in testPath() [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 …]
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | FullBackupOnlyHostSideTest.java | 19 import static org.junit.Assert.assertNull; 92 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in tearDown() 113 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyFalse_WithAgent() 139 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyFalse_NoAgent() 165 assertNull(uninstallPackage(FULLBACKUPONLY_APP_PACKAGE)); in testFullBackupOnlyTrue_WithAgent()
|
D | RestoreAnyVersionHostSideTest.java | 19 import static org.junit.Assert.assertNull; 72 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in tearDown() 93 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_False() 119 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_True() 145 assertNull(uninstallPackage(RESTORE_ANY_VERSION_APP_PACKAGE)); in testRestoreAnyVersion_OldBackupToNewApp()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_SecureTest.java | 21 import static org.junit.Assert.assertNull; 60 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in assertSettingsForTests() 80 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutInt() 103 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutFloat() 126 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutLong() 149 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString() 159 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); in testGetPutString() 186 assertNull(Settings.Secure.getString(cr, BLUETOOTH_MAC_ADDRESS_SETTING_NAME)); in testBluetoothAddressNotAvailable()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | PaintDrawableTest.java | 21 import static org.junit.Assert.assertNull; 70 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 79 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 85 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 94 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 96 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 102 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 119 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 183 assertNull(paintDrawable.getShape()); in testInflateTag()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 22 import static org.junit.Assert.assertNull; 140 assertNull(path, font.getAxes()); in testBuilder_buffer() 142 assertNull(font.getFile()); in testBuilder_buffer() 162 assertNull(path, font.getAxes()); in testBuilder_buffer_ttc() 164 assertNull(font.getFile()); in testBuilder_buffer_ttc() 187 assertNull(font.getFile()); in testBuilder_buffer_vf() 207 assertNull(path, font.getAxes()); in testBuilder_buffer_override() 209 assertNull(font.getFile()); in testBuilder_buffer_override() 223 assertNull(path, font.getAxes()); in testBuilder_buffer_override() 225 assertNull(font.getFile()); in testBuilder_buffer_override() [all …]
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | UpdateProviderInfoTest.java | 21 import static org.junit.Assert.assertNull; 81 assertNull(getProviderInfo().configure); in testInfoOverrides() 89 assertNull(getProviderInfo().configure); in testInfoOverrides() 95 assertNull(getProviderInfo().configure); in testOverridesPersistedOnUpdate() 109 assertNull(getProviderInfo().configure); in testOverridesPersistedOnUpdate() 115 assertNull(getProviderInfo().configure); in testOverrideClearedWhenMissingInfo() 122 assertNull(getProviderInfo().configure); in testOverrideClearedWhenMissingInfo()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 570 assertNull(keyStore.getKey("", null)); in test_KeyStore_getKey() 571 assertNull(keyStore.getKey("", PASSWORD_KEY)); in test_KeyStore_getKey() 575 assertNull(keyStore.getKey(ALIAS_PRIVATE, PASSWORD_KEY)); in test_KeyStore_getKey() 586 assertNull(keyStore.getKey(ALIAS_SECRET, PASSWORD_KEY)); in test_KeyStore_getKey() 592 assertNull(keyStore.getKey(ALIAS_ALT_CASE_PRIVATE, PASSWORD_KEY)); in test_KeyStore_getKey() 593 assertNull(keyStore.getKey(ALIAS_ALT_CASE_NO_PASSWORD_PRIVATE, PASSWORD_KEY)); in test_KeyStore_getKey() 594 assertNull(keyStore.getKey(ALIAS_ALT_CASE_SECRET, PASSWORD_KEY)); in test_KeyStore_getKey() 612 assertNull(keyStore.getKey(ALIAS_PRIVATE, null)); in test_KeyStore_getKey() 626 assertNull(keyStore.getKey(ALIAS_SECRET, null)); in test_KeyStore_getKey() 641 assertNull(keyStore.getKey(ALIAS_PRIVATE, null)); in test_KeyStore_getKey() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactory_OptionsTest.java | 22 import static org.junit.Assert.assertNull; 74 assertNull(b); in testExtractMetaData() 82 assertNull(b); in testExtractMetaData() 88 assertNull(b); in testExtractMetaData() 96 assertNull(b); in testExtractMetaData() 106 assertNull(b); in testExtractMetaData()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentValuesTest.java | 22 import static org.junit.Assert.assertNull; 87 assertNull(mContentValues.get("key")); in testPutNull() 90 assertNull(mContentValues.get("value")); in testPutNull() 93 assertNull(mContentValues.get("")); in testPutNull() 110 assertNull(mContentValues.getAsLong(null)); in testGetAsLong() 124 assertNull(mContentValues.getAsByte(null)); in testGetAsByte() 138 assertNull(mContentValues.getAsInteger(null)); in testGetAsInteger() 168 assertNull(mContentValues.getAsShort(null)); in testGetAsShort() 201 assertNull(mContentValues.getAsFloat(null)); in testGetAsFloat() 213 assertNull(mContentValues.getAsBoolean(null)); in testGetAsBoolean() [all …]
|
/cts/tests/tests/car/src/android/car/cts/ |
D | ExceptionsTest.java | 19 import static org.junit.Assert.assertNull; 49 assertNull(exception.getMessage()); in testCarNotConnectedException() 50 assertNull(exception.getCause()); in testCarNotConnectedException() 54 assertNull(exception.getCause()); in testCarNotConnectedException()
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AbstractAuthenticatorTests.java | 92 assertNull(result.get(AccountManager.KEY_AUTHTOKEN)); in testStartAddAccountSessionDefaultImpl() 102 assertNull(sessionBundle.getString(AccountManager.KEY_ACCOUNT_TYPE)); in testStartAddAccountSessionDefaultImpl() 129 assertNull(result.get(AccountManager.KEY_AUTHTOKEN)); in testStartUpdateCredentialsSessionDefaultImpl() 139 assertNull(sessionBundle.getString(Fixtures.KEY_ACCOUNT_NAME)); in testStartUpdateCredentialsSessionDefaultImpl() 197 assertNull(addAccountTx.authTokenType); in testFinishSessionAndStartAddAccountSessionDefaultImpl() 209 assertNull(result.get(AccountManager.KEY_AUTHTOKEN)); in testFinishSessionAndStartAddAccountSessionDefaultImpl() 266 assertNull(updateCredentialsTx.authTokenType); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl() 276 assertNull(result.get(AccountManager.KEY_AUTHTOKEN)); in testFinishSessionAndStartUpdateCredentialsSessionDefaultImpl() 286 assertNull(result.getString(AccountManager.KEY_PASSWORD)); in validateNullPasswordAndStatusToken() 287 assertNull(result.getString(AccountManager.KEY_ACCOUNT_STATUS_TOKEN)); in validateNullPasswordAndStatusToken()
|