/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | ComponentTest.java | 143 assertNotNull(info2); in testResolveDisabledActivity() 155 assertNotNull(info); in testResolveEnabledActivity() 156 assertNotNull(info); in testResolveEnabledActivity() 176 assertNotNull(info); in testQueryDisabledActivity() 191 assertNotNull(info); in testQueryEnabledActivity() 258 assertNotNull(info); in testDisableActivity() 302 assertNotNull(info); in testResolveEnabledService() 303 assertNotNull(info); in testResolveEnabledService() 323 assertNotNull(info); in testQueryDisabledService() 338 assertNotNull(info); in testQueryEnabledService() [all …]
|
/aosp12/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/ |
H A D | ScaledLayoutTest.java | 54 assertNotNull(activity); in testScaledLayout_layoutInXml() 60 assertNotNull(view1); in testScaledLayout_layoutInXml() 62 assertNotNull(view2); in testScaledLayout_layoutInXml() 64 assertNotNull(view3); in testScaledLayout_layoutInXml() 66 assertNotNull(view4); in testScaledLayout_layoutInXml() 94 assertNotNull(view1); in testScaledLayout_layoutThroughCode() 96 assertNotNull(view2); in testScaledLayout_layoutThroughCode() 98 assertNotNull(view3); in testScaledLayout_layoutThroughCode() 100 assertNotNull(view4); in testScaledLayout_layoutThroughCode() 128 assertNotNull(view1); in testScaledLayout_bounceY() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | MeasuredParagraphTest.java | 21 import static org.junit.Assert.assertNotNull; 68 assertNotNull(mt); in buildForBidi() 69 assertNotNull(mt.getChars()); in buildForBidi() 82 assertNotNull(mt2.getChars()); in buildForBidi() 99 assertNotNull(mt); in buildForMeasurement() 100 assertNotNull(mt.getChars()); in buildForMeasurement() 117 assertNotNull(mt2.getChars()); in buildForMeasurement() 139 assertNotNull(mt); in buildForStaticLayout() 140 assertNotNull(mt.getChars()); in buildForStaticLayout() 149 assertNotNull(mt.getMeasuredText()); in buildForStaticLayout() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiWakeMetricsTest.java | 45 assertNotNull(wifiWakeStats); in buildsEmptyProto() 64 assertNotNull(wifiWakeStats); in buildsMultiSessionProto_fewerThanMax() 82 assertNotNull(wifiWakeStats); in buildsMultiSessionProto_greaterThanMax() 90 assertNotNull(session); in buildsMultiSessionProto_greaterThanMax() 110 assertNotNull(wifiWakeStats); in buildProtoCountsWakes() 125 assertNotNull(wifiWakeStats); in buildProtoDoesNotCountWakeInCurrentSession() 138 assertNotNull(wifiWakeStats); in buildProtoCountsIgnoredStarts() 150 assertNotNull(wifiWakeStats); in buildProtoDoesNotIncludeCurrentSession() 163 assertNotNull(wifiWakeStats); in ignoresEventsIfStartNotCalled() 243 assertNotNull(sessionProto); in session_buildsEmptyProto() [all …]
|
/aosp12/frameworks/opt/net/ims/tests/src/com/android/ims/ |
H A D | FeatureConnectorTest.java | 21 import static org.junit.Assert.assertNotNull; 112 assertNotNull(connection); in updateFeatureState() 155 assertNotNull(mTestManager.connection); in testConnect() 193 assertNotNull("When not ready, the callback should still be registered", in testConnectReadyNotReady() 215 assertNotNull("When not ready, the callback should still be registered", in testConnectReadyAndInitializing() 222 assertNotNull("When not ready, the callback should still be registered", in testConnectReadyAndInitializing() 246 assertNotNull("When not ready, the callback should still be registered", in testConnectReadyAndUnavailable() 253 assertNotNull("When not ready, the callback should still be registered", in testConnectReadyAndUnavailable() 307 assertNotNull("When not ready, the callback should still be registered", in testConnectReadyRemovedReady() 362 assertNotNull(mTestManager.callback); in testConnectDisconnectConnect() [all …]
|
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
H A D | ButtonFooterMixinTest.java | 20 import static org.junit.Assert.assertNotNull; 72 assertNotNull(button); in testAddButton() 75 assertNotNull(mStubParent.findViewById(id)); in testAddButton() 90 assertNotNull(button); in testAddButtonTextRes() 92 assertNotNull(mStubParent.findViewWithTag("button")); in testAddButtonTextRes() 109 assertNotNull(mStubParent.findViewWithTag("space")); in testAddSpace() 125 assertNotNull("Foo button should exist", mStubParent.findViewWithTag("foo")); in testRemoveButton() 126 assertNotNull("Bar button should exist", mStubParent.findViewWithTag("bar")); in testRemoveButton() 142 assertNotNull("Foo button should exist", mStubParent.findViewWithTag("foo")); in testRemoveSpace() 143 assertNotNull("space should exist", mStubParent.findViewWithTag("space")); in testRemoveSpace() [all …]
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/model/account/ |
H A D | ExternalAccountTypeTest.java | 110 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); in testEditSchema() 112 assertNotNull(type.getKindForMimetype(Im.CONTENT_ITEM_TYPE)); in testEditSchema() 114 assertNotNull(type.getKindForMimetype(Photo.CONTENT_ITEM_TYPE)); in testEditSchema() 115 assertNotNull(type.getKindForMimetype(Note.CONTENT_ITEM_TYPE)); in testEditSchema() 116 assertNotNull(type.getKindForMimetype(Website.CONTENT_ITEM_TYPE)); in testEditSchema() 118 assertNotNull(type.getKindForMimetype(Event.CONTENT_ITEM_TYPE)); in testEditSchema() 119 assertNotNull(type.getKindForMimetype(Relation.CONTENT_ITEM_TYPE)); in testEditSchema() 181 assertNotNull(type.getKindForMimetype(mimetype)); in testReadOnlyDefinition() 186 assertNotNull(kind); in testReadOnlyDefinition() 194 assertNotNull(kind); in testReadOnlyDefinition() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CarrierServiceBindHelperTest.java | 20 import static org.junit.Assert.assertNotNull; 57 assertNotNull(mCarrierServiceBindHelper.mBindings.get(0)); in testMultiSimConfigChanged() 58 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(0)); in testMultiSimConfigChanged() 67 assertNotNull(mCarrierServiceBindHelper.mBindings.get(0)); in testMultiSimConfigChanged() 68 assertNotNull(mCarrierServiceBindHelper.mBindings.get(1)); in testMultiSimConfigChanged() 69 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(0)); in testMultiSimConfigChanged() 70 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(1)); in testMultiSimConfigChanged() 79 assertNotNull(mCarrierServiceBindHelper.mBindings.get(0)); in testMultiSimConfigChanged() 80 assertNotNull(mCarrierServiceBindHelper.mLastSimState.get(0)); in testMultiSimConfigChanged()
|
H A D | SMSDispatcherTest.java.broken | 52 assertNotNull(header); 53 assertNotNull(sms.getUserData()); 54 assertNotNull(header.concatRef); 59 assertNotNull(header.portAddrs); 79 assertNotNull(header); 80 assertNotNull(sms.getUserData()); 81 assertNotNull(header.concatRef); 86 assertNotNull(header.portAddrs); 105 assertNotNull(sms.getMessageBody());
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | RotationCacheTest.java | 23 import static org.junit.Assert.assertNotNull; 65 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_sameParam_sameRot_hitsCache() 74 assertNotNull(mCache.getOrCompute("hello", 3)); in getOrCompute_sameParam_hitsCache_forAllRots() 75 assertNotNull(mCache.getOrCompute("hello", 2)); in getOrCompute_sameParam_hitsCache_forAllRots() 76 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_sameParam_hitsCache_forAllRots() 77 assertNotNull(mCache.getOrCompute("hello", 0)); in getOrCompute_sameParam_hitsCache_forAllRots() 89 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_changingParam_recomputes() 96 assertNotNull(mCache.getOrCompute("hello", 1)); in getOrCompute_changingParam_clearsCacheForDifferentRots() 97 assertNotNull(mCache.getOrCompute("world", 2)); in getOrCompute_changingParam_clearsCacheForDifferentRots()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
H A D | FrameLayoutGravityTest.java | 67 assertNotNull(mParent); in testSetUpConditions() 68 assertNotNull(mLeftView); in testSetUpConditions() 69 assertNotNull(mRightView); in testSetUpConditions() 70 assertNotNull(mCenterHorizontalView); in testSetUpConditions() 71 assertNotNull(mLeftCenterVerticalView); in testSetUpConditions() 72 assertNotNull(mRighCenterVerticalView); in testSetUpConditions() 73 assertNotNull(mCenterView); in testSetUpConditions() 74 assertNotNull(mLeftBottomView); in testSetUpConditions() 75 assertNotNull(mRightBottomView); in testSetUpConditions() 76 assertNotNull(mCenterHorizontalBottomView); in testSetUpConditions()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
H A D | OverlayManagerServiceImplRebootTests.java | 75 assertNotNull(o1); in testImmutableEnabledChange() 82 assertNotNull(o2); in testImmutableEnabledChange() 89 assertNotNull(o3); in testImmutableEnabledChange() 106 assertNotNull(o1); in testMutableEnabledChangeHasNoEffect() 113 assertNotNull(o2); in testMutableEnabledChangeHasNoEffect() 120 assertNotNull(o3); in testMutableEnabledChangeHasNoEffect() 189 assertNotNull(o1); in testMutablePriorityChange() 194 assertNotNull(o2); in testMutablePriorityChange() 207 assertNotNull(o3); in testMutablePriorityChange() 212 assertNotNull(o4); in testMutablePriorityChange() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | GSMPhoneTest.java.broken | 166 assertNotNull("Message Time Out", msg); 255 assertNotNull("Message Time Out", msg); 306 assertNotNull("Message Time Out", msg); 376 assertNotNull("Message Time Out", msg); 774 assertNotNull("Message Time Out", msg); 810 assertNotNull("Message Time Out", msg); 835 assertNotNull("Message Time Out", msg); 854 assertNotNull("Message Time Out", msg); 897 assertNotNull("Message Time Out", msg); 1914 assertNotNull(c); [all …]
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | TaskSnapshotPersisterLoaderTest.java | 81 assertNotNull(snapshot); in testPersistAndLoadSnapshot() 178 assertNotNull(lowResConf); in testLegacyPLowRamConfig() 208 assertNotNull(lowResConf); in testLegacyPNonLowRamConfig() 313 assertNotNull(snapshotA); in testIsRealSnapshotPersistAndLoadSnapshot() 314 assertNotNull(snapshotB); in testIsRealSnapshotPersistAndLoadSnapshot() 336 assertNotNull(snapshotA); in testWindowingModePersistAndLoadSnapshot() 337 assertNotNull(snapshotB); in testWindowingModePersistAndLoadSnapshot() 359 assertNotNull(snapshotA); in testIsTranslucentPersistAndLoadSnapshot() 360 assertNotNull(snapshotB); in testIsTranslucentPersistAndLoadSnapshot() 383 assertNotNull(snapshotA); in testAppearancePersistAndLoadSnapshot() [all …]
|
/aosp12/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/ |
H A D | RtNetlinkNeighborMessageTest.java | 25 import static org.junit.Assert.assertNotNull; 86 assertNotNull(msg); in testParseRtmDelNeigh() 91 assertNotNull(hdr); in testParseRtmDelNeigh() 99 assertNotNull(ndmsgHdr); in testParseRtmDelNeigh() 104 assertNotNull(destination); in testParseRtmDelNeigh() 113 assertNotNull(msg); in testParseRtmNewNeigh() 118 assertNotNull(hdr); in testParseRtmNewNeigh() 126 assertNotNull(ndmsgHdr); in testParseRtmNewNeigh() 131 assertNotNull(destination); in testParseRtmNewNeigh() 143 assertNotNull(msg); in testParseRtmGetNeighResponse() [all …]
|
H A D | NetlinkSocketTest.java | 23 import static org.junit.Assert.assertNotNull; 52 assertNotNull(fd); in testBasicWorkingGetNeighborsQuery() 57 assertNotNull(localAddr); in testBasicWorkingGetNeighborsQuery() 63 assertNotNull(req); in testBasicWorkingGetNeighborsQuery() 73 assertNotNull(response); in testBasicWorkingGetNeighborsQuery() 81 assertNotNull(msg); in testBasicWorkingGetNeighborsQuery() 83 assertNotNull(hdr); in testBasicWorkingGetNeighborsQuery()
|
/aosp12/packages/apps/Traceur/uitests/src/com/android/traceur/uitest/ |
H A D | TraceurAppTests.java | 19 import static org.junit.Assert.assertNotNull; 130 assertNotNull("Record trace switch not found.", in testElementsOnMainScreen() 133 assertNotNull("Applications element not found.", in testElementsOnMainScreen() 136 assertNotNull("Categories element not found.", in testElementsOnMainScreen() 139 assertNotNull("Restore default categories element not found.", in testElementsOnMainScreen() 142 assertNotNull("Per-CPU buffer size element not found.", in testElementsOnMainScreen() 145 assertNotNull("Clear saved traces element not found.", in testElementsOnMainScreen() 148 assertNotNull("Long traces element not found.", in testElementsOnMainScreen() 151 assertNotNull("Maximum long trace size element not found.", in testElementsOnMainScreen() 154 assertNotNull("Maximum long trace duration element not found.", in testElementsOnMainScreen() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | TypefaceSystemFallbackTest.java | 276 assertNotNull(testTypeface); in testBuildSystemFallback_NamedFamily() 283 assertNotNull(test2Typeface); in testBuildSystemFallback_NamedFamily() 322 assertNotNull(testTypeface); in testBuildSystemFallback_defaultFallback() 367 assertNotNull(testTypeface); in testBuildSystemFallback_namedFallbackFamily() 417 assertNotNull(testTypeface); in testBuildSystemFallback_namedFallbackFamily2() 456 assertNotNull(testTypeface); in testBuildSystemFallback_ImplicitSansSerifFallback() 495 assertNotNull(testTypeface); in testBuildSystemFallback_ElegantFallback() 534 assertNotNull(testTypeface); in testBuildSystemFallback_ElegantFallback_customFallback() 547 assertNotNull(testTypeface); in testBuildSystemFallback_ElegantFallback_customFallback() 624 assertNotNull(testTypeface); in testBuildSystemFallback_ElegantFallback_customFallback_missingFile() [all …]
|
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | BridgeRenderSessionTest.java | 31 assertNotNull(renderSession.getImage()); in testNullSession() 32 assertNotNull(renderSession.getRootViews()); in testNullSession() 33 assertNotNull(renderSession.getSystemRootViews()); in testNullSession() 34 assertNotNull(renderSession.getDefaultNamespacedProperties()); in testNullSession() 35 assertNotNull(renderSession.getDefaultNamespacedStyles()); in testNullSession()
|
/aosp12/art/tools/ahat/src/test/com/android/ahat/ |
H A D | DiffTest.java | 27 import static org.junit.Assert.assertNotNull; 36 assertNotNull(a); in diffMatchedHeap() 38 assertNotNull(b); in diffMatchedHeap() 48 assertNotNull(a); in diffUnchanged() 51 assertNotNull(b); in diffUnchanged() 66 assertNotNull(a); in diffAdded() 77 assertNotNull(b); in diffRemoved()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | DrawableBgMinSizeTest.java | 72 assertNotNull(mChangeBackgroundsButton); in testSetUpConditions() 73 assertNotNull(mBackgroundDrawable); in testSetUpConditions() 74 assertNotNull(mBigBackgroundDrawable); in testSetUpConditions() 75 assertNotNull(mTextView); in testSetUpConditions() 76 assertNotNull(mLinearLayout); in testSetUpConditions() 77 assertNotNull(mRelativeLayout); in testSetUpConditions() 78 assertNotNull(mFrameLayout); in testSetUpConditions() 79 assertNotNull(mAbsoluteLayout); in testSetUpConditions()
|
/aosp12/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | IconLoaderTest.java | 43 assertNotNull(mLoader.getIcon(String.valueOf(android.R.drawable.star_on))); in testGetIcon() 56 public void assertNotNull(NowOrLater<?> value) { in assertNotNull() method in IconLoaderTest 58 assertNotNull(value.getNow()); in assertNotNull() 62 consumer.assertNotNull(); in assertNotNull() 89 public void assertNotNull() { in assertNotNull() method in IconLoaderTest.AssertConsumer 90 IconLoaderTest.assertNotNull(waitFor()); in assertNotNull()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
H A D | VerticalGravityTest.java | 59 assertNotNull(mReference1); in testSetUpConditions() 60 assertNotNull(mReference2); in testSetUpConditions() 61 assertNotNull(mReference3); in testSetUpConditions() 62 assertNotNull(mTop); in testSetUpConditions() 63 assertNotNull(mCenter); in testSetUpConditions() 64 assertNotNull(mBottom); in testSetUpConditions()
|
H A D | CellSpanTest.java | 57 assertNotNull(mA); in testSetUpConditions() 58 assertNotNull(mB); in testSetUpConditions() 59 assertNotNull(mC); in testSetUpConditions() 60 assertNotNull(mSpanThenCell); in testSetUpConditions() 61 assertNotNull(mCellThenSpan); in testSetUpConditions() 62 assertNotNull(mSpan); in testSetUpConditions()
|
/aosp12/packages/services/Telephony/tests/src/com/android/phone/tests/ |
H A D | CallForwardInfoTest.java | 19 import static org.junit.Assert.assertNotNull; 40 assertNotNull(PhoneNumberUtils.formatNumber("+12345678900", Locale.US.getCountry())); in testCallForwardNumberResponses() 41 assertNotNull(PhoneNumberUtils.formatNumber("123-456-7890", Locale.US.getCountry())); in testCallForwardNumberResponses() 42 assertNotNull(PhoneNumberUtils.formatNumber("#123", Locale.US.getCountry())); in testCallForwardNumberResponses() 43 assertNotNull(PhoneNumberUtils.formatNumber("*12", Locale.US.getCountry())); in testCallForwardNumberResponses()
|