/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 129 assertNotNull(mContext); in testContextNotNull() 143 assertNotNull(info2); in testResolveDisabledActivity() 144 assertNotNull(info2.activityInfo); in testResolveDisabledActivity() 155 assertNotNull(info); in testResolveEnabledActivity() 156 assertNotNull(info); in testResolveEnabledActivity() 157 assertNotNull(info.activityInfo); in testResolveEnabledActivity() 176 assertNotNull(info); in testQueryDisabledActivity() 177 assertNotNull(info.activityInfo); in testQueryDisabledActivity() 191 assertNotNull(info); in testQueryEnabledActivity() 192 assertNotNull(info.activityInfo); in testQueryEnabledActivity() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | MeasuredParagraphTest.java | 21 import static org.junit.Assert.assertNotNull; 68 assertNotNull(mt); in buildForBidi() 69 assertNotNull(mt.getChars()); in buildForBidi() 72 assertNotNull(mt.getDirections(0, 3)); in buildForBidi() 82 assertNotNull(mt2.getChars()); in buildForBidi() 84 assertNotNull(mt2.getDirections(0, 3)); in buildForBidi() 99 assertNotNull(mt); in buildForMeasurement() 100 assertNotNull(mt.getChars()); in buildForMeasurement() 103 assertNotNull(mt.getDirections(0, 3)); in buildForMeasurement() 117 assertNotNull(mt2.getChars()); in buildForMeasurement() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiWakeMetricsTest.java | 21 import static junit.framework.Assert.assertNotNull; 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() [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
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() 131 assertNotNull("Bar button should not be removed", mStubParent.findViewWithTag("bar")); in testRemoveButton() 142 assertNotNull("Foo button should exist", mStubParent.findViewWithTag("foo")); in testRemoveSpace() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
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()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
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()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ActivityManagerTest.java | 99 assertNotNull(config); in testGetDeviceConfigurationInfo() 102 assertNotNull(vconfig); in testGetDeviceConfigurationInfo() 107 assertNotNull(config.reqInputFeatures & ConfigurationInfo.INPUT_FEATURE_FIVE_WAY_NAV); in testGetDeviceConfigurationInfo() 110 assertNotNull(config.reqInputFeatures & ConfigurationInfo.INPUT_FEATURE_HARD_KEYBOARD); in testGetDeviceConfigurationInfo() 121 assertNotNull(info); in checkErrorListSanity() 128 assertNotNull(info.processName); in checkErrorListSanity() 130 assertNotNull(info.longMsg); in checkErrorListSanity() 131 assertNotNull(info.shortMsg); in checkErrorListSanity()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
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()
|
/frameworks/base/tests/net/java/android/net/netlink/ |
D | RtNetlinkNeighborMessageTest.java | 20 import static org.junit.Assert.assertNotNull; 152 assertNotNull(msg); in testParseRtmDelNeigh() 157 assertNotNull(hdr); in testParseRtmDelNeigh() 165 assertNotNull(ndmsgHdr); in testParseRtmDelNeigh() 170 assertNotNull(destination); in testParseRtmDelNeigh() 179 assertNotNull(msg); in testParseRtmNewNeigh() 184 assertNotNull(hdr); in testParseRtmNewNeigh() 192 assertNotNull(ndmsgHdr); in testParseRtmNewNeigh() 197 assertNotNull(destination); in testParseRtmNewNeigh() 209 assertNotNull(msg); in testParseRtmGetNeighResponse() [all …]
|
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()
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationManagerTest.java | 38 assertNotNull(manager); in setUp() 48 assertNotNull(p); in testGetNetworkProvider() 53 assertNotNull(p); in testGetGpsProvider() 58 assertNotNull(p); in testGetBestProviderEmptyCriteria() 65 assertNotNull(p); in testGetBestProviderPowerCriteria() 69 assertNotNull(p); in testGetBestProviderPowerCriteria() 73 assertNotNull(p); in testGetBestProviderPowerCriteria() 77 assertNotNull(p); in testGetBestProviderPowerCriteria() 82 assertNotNull(p); in testGpsTracklog()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
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()
|
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()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceSystemFallbackTest.java | 21 import static org.junit.Assert.assertNotNull; 166 assertNotNull(aliases); in testBuildSystemFallback() 228 assertNotNull(sansSerifTypeface); in testBuildSystemFallback_NamedFamily() 235 assertNotNull(testTypeface); in testBuildSystemFallback_NamedFamily() 242 assertNotNull(test2Typeface); in testBuildSystemFallback_NamedFamily() 276 assertNotNull(sansSerifTypeface); in testBuildSystemFallback_defaultFallback() 283 assertNotNull(testTypeface); in testBuildSystemFallback_defaultFallback() 323 assertNotNull(sansSerifTypeface); in testBuildSystemFallback_namedFallbackFamily() 330 assertNotNull(testTypeface); in testBuildSystemFallback_namedFallbackFamily() 337 assertNotNull(test2Typeface); in testBuildSystemFallback_namedFallbackFamily() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
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()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GSMPhoneTest.java.broken | 100 assertNotNull("Message Time Out", msg); 166 assertNotNull("Message Time Out", msg); 201 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 229 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 255 assertNotNull("Message Time Out", msg); 306 assertNotNull("Message Time Out", msg); 340 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 376 assertNotNull("Message Time Out", msg); 435 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); 462 assertNotNull("Message Time Out", mGSMTestHandler.waitForMessage(ANY_MESSAGE)); [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
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());
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 76 assertNotNull(resources); in testMultipleCallsWithIdenticalParametersCacheReference() 81 assertNotNull(newResources); in testMultipleCallsWithIdenticalParametersCacheReference() 90 assertNotNull(resources); in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 97 assertNotNull(newResources); in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 106 assertNotNull(resources1); in testAddingASplitCreatesANewImpl() 111 assertNotNull(resources2); in testAddingASplitCreatesANewImpl() 122 assertNotNull(resources1); in testUpdateConfigurationUpdatesAllAssetManagers() 127 assertNotNull(resources2); in testUpdateConfigurationUpdatesAllAssetManagers() 135 assertNotNull(resources3); in testUpdateConfigurationUpdatesAllAssetManagers() 168 assertNotNull(resources1); in testTwoActivitiesWithIdenticalParametersShareImpl() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterLoaderTest.java | 24 import static org.junit.Assert.assertNotNull; 66 assertNotNull(snapshot); in testPersistAndLoadSnapshot() 68 assertNotNull(snapshot.getSnapshot()); in testPersistAndLoadSnapshot() 163 assertNotNull(snapshot); in testLowResolutionPersistAndLoadSnapshot() 165 assertNotNull(snapshot.getSnapshot()); in testLowResolutionPersistAndLoadSnapshot() 187 assertNotNull(snapshotA); in testIsRealSnapshotPersistAndLoadSnapshot() 188 assertNotNull(snapshotB); in testIsRealSnapshotPersistAndLoadSnapshot() 208 assertNotNull(snapshotA); in testWindowingModePersistAndLoadSnapshot() 209 assertNotNull(snapshotB); in testWindowingModePersistAndLoadSnapshot() 229 assertNotNull(snapshotA); in testIsTranslucentPersistAndLoadSnapshot() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | SearchManagerTest.java | 100 assertNotNull(getSearchManagerService()); in testSearchManagerInterfaceAvailable() 112 assertNotNull(searchManager1); in testSearchManagerAvailable() 115 assertNotNull(searchManager2); in testSearchManagerAvailable() 126 assertNotNull(searchManager); in testStartSearchIdempotent() 140 assertNotNull(searchManager); in testStopSearchIdempotent() 155 assertNotNull(searchManager); in testSearchManagerInvocations()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
D | WifiAssociationTest.java | 58 assertNotNull("ssid is empty", ssid); in testWifiAssociation() 61 assertNotNull("security-type is empty", securityTypeStr); in testWifiAssociation() 69 assertNotNull("no active wifi info", wi); in testWifiAssociation() 89 assertNotNull("password is empty", password); in getConfig() 96 assertNotNull("password is empty", password); in getConfig() 103 assertNotNull("password is empty", password); in getConfig() 111 assertNotNull("password is empty", password); in getConfig()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | BaselineButtonsTest.java | 55 assertNotNull(mCurrentTime); in testPreconditions() 56 assertNotNull(mTotalTime); in testPreconditions() 57 assertNotNull(mPrev); in testPreconditions() 58 assertNotNull(mNext); in testPreconditions() 59 assertNotNull(mPause); in testPreconditions() 60 assertNotNull(mLayout); in testPreconditions()
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | RequestRectangleVisibleTest.java | 77 assertNotNull(mScrollView); in testPreconditions() 78 assertNotNull(mClickToScrollFromAbove); in testPreconditions() 79 assertNotNull(mClickToScrollToUpperBlob); in testPreconditions() 80 assertNotNull(mTopBlob); in testPreconditions() 81 assertNotNull(mChildToScrollTo); in testPreconditions() 82 assertNotNull(mBottomBlob); in testPreconditions() 83 assertNotNull(mClickToScrollToBlobLowerBlob); in testPreconditions() 84 assertNotNull(mClickToScrollFromBelow); in testPreconditions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 128 assertNotNull(searchablesList); in testSearchablesListEmpty() 144 assertNotNull(searchablesList); in checkSearchables() 153 assertNotNull(si); in checkSearchable() 211 assertNotNull(s); in assertNotEmpty() 329 assertNotNull(intent); in queryIntentActivities() 345 assertNotNull(intent); in resolveActivity() 376 assertNotNull(packageName); in getXml() 399 assertNotNull(name); in resolveContentProvider() 422 assertNotNull(name); in getActivityInfo() 436 assertNotNull(permName); in checkPermission() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSetSelectionBaseTest.java | 44 assertNotNull(mActivity); in testPreconditions() 45 assertNotNull(mGridView); in testPreconditions() 67 assertNotNull(mGridView.getSelectedView()); in testSetSelectionToTheEnd() 83 assertNotNull(mGridView.getSelectedView()); in testSetSelectionToMiddle() 98 assertNotNull(mGridView.getSelectedView()); in testSetSelectionToTheTop()
|