/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBundleTest.java | 75 assertThat(bundle.getCharArray("foo")).isNull(); in getWrongType() 77 assertThat(bundle.getIntArray("foo")).isNull(); in getWrongType() 78 assertThat(bundle.getIntegerArrayList("foo")).isNull(); in getWrongType() 80 assertThat(bundle.getShortArray("foo")).isNull(); in getWrongType() 82 assertThat(bundle.getBooleanArray("foo")).isNull(); in getWrongType() 84 assertThat(bundle.getLongArray("foo")).isNull(); in getWrongType() 85 assertThat(bundle.getFloatArray("foo")).isNull(); in getWrongType() 87 assertThat(bundle.getDoubleArray("foo")).isNull(); in getWrongType() 88 assertThat(bundle.getString("foo")).isNull(); in getWrongType() 89 assertThat(bundle.getStringArray("foo")).isNull(); in getWrongType() [all …]
|
D | ShadowCameraTest.java | 114 assertThat(callback.camera).isNull(); in testSetPreviewCallbacks() 115 assertThat(callback.data).isNull(); in testSetPreviewCallbacks() 127 assertThat(callback.camera).isNull(); in testSetOneShotPreviewCallbacks() 128 assertThat(callback.data).isNull(); in testSetOneShotPreviewCallbacks() 140 assertThat(callback.camera).isNull(); in testPreviewCallbacksWithBuffers() 141 assertThat(callback.data).isNull(); in testPreviewCallbacksWithBuffers() 153 assertThat(callback.camera).isNull(); in testClearPreviewCallback() 154 assertThat(callback.data).isNull(); in testClearPreviewCallback() 160 assertThat(callback.camera).isNull(); in testClearPreviewCallback() 161 assertThat(callback.data).isNull(); in testClearPreviewCallback() [all …]
|
D | ShadowCookieManagerTest.java | 62 assertThat(cookieManager.getCookie(".bar.com")).isNull(); in shouldNotGetCookieForHostNotInDomain() 90 assertThat(cookieManager.getCookie("foo")).isNull(); in shouldRecordAcceptCookie() 91 assertThat(cookieManager.getCookie("baz")).isNull(); in shouldRecordAcceptCookie() 107 assertThat(cookieManager.getCookie(url)).isNull(); in shouldGetNullWhenCookieIsNotPresent() 113 assertThat(cookieManager.getCookie("http://google.com")).isNull(); in shouldGetNullWhenCookieIsNotPresentInUrl() 172 assertThat(cookieManager.getCookie(url)).isNull(); in shouldRemoveAllCookie() 198 assertThat(cookieManager.getCookie(url)).isNull(); in shouldIgnoreCookiesSetInThePast() 199 assertThat(cookieManager.getCookie(url2)).isNull(); in shouldIgnoreCookiesSetInThePast() 214 assertThat(cookieManager.getCookie("")).isNull(); in shouldIgnoreEmptyURLs()
|
D | ShadowAlarmManagerTest.java | 103 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in set_shouldRegisterAlarm() 112 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in set_shouldRegisterAlarm_forApi24() 121 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setAndAllowWhileIdle_shouldRegisterAlarm() 130 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setExactAndAllowWhileIdle_shouldRegisterAlarm() 139 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setExact_shouldRegisterAlarm_forApi19() 148 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setExact_shouldRegisterAlarm_forApi124() 157 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setWindow_shouldRegisterAlarm_forApi19() 166 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setWindow_shouldRegisterAlarm_forApi24() 174 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in setRepeating_shouldRegisterAlarm() 209 assertThat(shadowAlarmManager.getNextScheduledAlarm()).isNull(); in shouldSupportGetNextScheduledAlarm() [all …]
|
D | ShadowWebViewTest.java | 43 assertThat(shadowOf(webView).getLastAdditionalHttpHeaders()).isNull(); in shouldRecordLastLoadedUrlForRequestWithAdditionalHeaders() 85 assertThat(shadowOf(webView).getWebViewClient()).isNull(); in shouldRecordWebViewClient() 93 assertThat(shadowOf(webView).getWebChromeClient()).isNull(); in shouldRecordWebChromeClient() 103 assertThat(shadowOf(webView).getJavascriptInterface(name)).isNull(); in shouldRecordJavascriptInteraces() 198 assertThat(webView.getOriginalUrl()).isNull(); in getOriginalUrl() 206 assertThat(webView.getUrl()).isNull(); in getUrl() 214 assertThat(shadowOf(webView).getLastEvaluatedJavascript()).isNull(); in evaluateJavascript() 242 assertThat(webView.getLayoutParams()).isNull(); in shouldReturnPreviouslySetLayoutParams() 283 assertThat(historyList).isNull(); in shouldReturnNullFromRestoreStateIfNoHistoryAvailable() 292 assertThat(historyList.getCurrentItem()).isNull(); in shouldCopyBackForwardListWhenEmpty() [all …]
|
D | ShadowListPreferenceTest.java | 28 assertThat(listPreference.getEntries()).isNull(); in shouldHaveEntries() 35 assertThat(listPreference.getEntries()).isNull(); in shouldSetEntriesByResourceId() 44 assertThat(listPreference.getEntryValues()).isNull(); in shouldHaveEntryValues() 51 assertThat(listPreference.getEntryValues()).isNull(); in shouldSetEntryValuesByResourceId() 58 assertThat(listPreference.getValue()).isNull(); in shouldSetValue()
|
D | ShadowSmsManagerTest.java | 41 assertThat(params.getSentIntent()).isNull(); in sendTextMessage_shouldStoreLastSentTextParameters() 42 assertThat(params.getDeliveryIntent()).isNull(); in sendTextMessage_shouldStoreLastSentTextParameters() 63 assertThat(params.getSentIntents()).isNull(); in sendMultipartMessage_shouldStoreLastSendMultimediaParameters() 64 assertThat(params.getDeliveryIntents()).isNull(); in sendMultipartMessage_shouldStoreLastSendMultimediaParameters() 108 assertThat(shadowOf(smsManager).getLastSentDataMessageParams()).isNull(); in clearLastSentDataMessageParams_shouldClearParameters() 117 assertThat(shadowOf(smsManager).getLastSentTextMessageParams()).isNull(); in clearLastSentTextMessageParams_shouldClearParameters() 126 assertThat(shadowOf(smsManager).getLastSentMultipartTextMessageParams()).isNull(); in clearLastSentMultipartTextMessageParams_shouldClearParameters()
|
D | ShadowPendingIntentTest.java | 277 assertThat(PendingIntent.getActivity(context, 99, intent, FLAG_NO_CREATE)).isNull(); in getActivity_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() 284 assertThat(PendingIntent.getActivity(context, 98, intent, FLAG_NO_CREATE)).isNull(); in getActivity_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() 313 assertThat(pendingIntent).isNull(); in getActivities_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() 320 assertThat(PendingIntent.getActivities(context, 98, intents, FLAG_NO_CREATE)).isNull(); in getActivities_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() 350 assertThat(pendingIntent).isNull(); in getBroadcast_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() 357 assertThat(PendingIntent.getBroadcast(context, 98, intent, FLAG_NO_CREATE)).isNull(); in getBroadcast_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() 386 assertThat(pendingIntent).isNull(); in getService_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() 393 assertThat(PendingIntent.getService(context, 98, intent, FLAG_NO_CREATE)).isNull(); in getService_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() 424 assertThat(pendingIntent).isNull(); in getForegroundService_withFlagNoCreate_shouldReturnNullIfNoPendingIntentExists() 432 assertThat(PendingIntent.getForegroundService(context, 98, intent, FLAG_NO_CREATE)).isNull(); in getForegroundService_withFlagNoCreate_shouldReturnNullIfRequestCodeIsUnmatched() [all …]
|
D | ShadowDropBoxManagerTest.java | 39 assertThat(manager.getNextEntry(null, 0)).isNull(); in emptyDropbox() 60 assertThat(manager.getNextEntry(null, 1)).isNull(); in dataNotExpected_timestampSameAsEntry() 67 assertThat(manager.getNextEntry(null, 2)).isNull(); in dataNotExpected_timestampAfterEntry() 74 assertThat(manager.getNextEntry(ANOTHER_TAG, 0)).isNull(); in dataNotExpected_wrongTag() 94 assertThat(manager.getNextEntry(null, 0)).isNull(); in resetClearsData()
|
D | ShadowParcelTest.java | 58 assertThat(parcel.readString()).isNull(); in testReadStringWhenEmpty() 63 assertThat(parcel.readStrongBinder()).isNull(); in testReadStrongBinderWhenEmpty() 78 assertThat(parcel.readString()).isNull(); in testWriteNullString() 98 assertThat(parcel.readString()).isNull(); in testReadWriteMultipleStrings() 115 assertThat(parcel.readStrongBinder()).isNull(); in testWriteNullStrongBinder() 132 assertThat(parcel.readStrongBinder()).isNull(); in testReadWriteMultipleStrongBinders() 157 assertThat(parcel.createIntArray()).isNull(); in testWriteAndCreateNullIntArray() 174 assertThat(parcel.createLongArray()).isNull(); in testWriteAndCreateNullLongArray() 199 assertThat(parcel.createFloatArray()).isNull(); in testWriteAndCreateNullFloatArray() 216 assertThat(parcel.createDoubleArray()).isNull(); in testWriteAndCreateNullDoubleArray() [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | CurrentSpanUtilsTest.java | 71 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in getCurrentSpan_WhenNoContext() 76 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in getCurrentSpan() 84 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in getCurrentSpan() 89 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetaches() 96 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetaches() 102 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetachesAndEndsSpan() 109 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpan_CloseDetachesAndEndsSpan() 115 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpanRunnable() 126 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpanRunnable() 131 assertThat(CurrentSpanUtils.getCurrentSpan()).isNull(); in withSpanRunnable_EndSpan() [all …]
|
/external/mockito/src/test/java/org/mockitousage/jls/ |
D | JLS_15_12_2_5Test.java | 18 import static org.mockito.ArgumentMatchers.isNull; 57 when(mock.oneArg(isNull())).thenReturn("ok"); in with_single_arg() 69 when(mock.oneArg((String) isNull())).thenReturn("ok"); in with_single_arg_and_matcher_cast() 78 when(mock.oneArg(isNull())).thenReturn("ok"); in with_single_arg_and_null_Object_reference() 88 when(mock.varargs(isNull())).thenReturn("ok"); in with_variable_arg() 100 when(mock.varargs((String) isNull())).thenReturn("ok"); in with_variable_arg_and_matcher_String_cast() 109 when(mock.varargs((String[]) isNull())).thenReturn("ok"); in with_variable_arg_and_matcher_String_array_cast() 118 when(mock.varargs(isNull())).thenReturn("ok"); in with_variable_arg_and_null_Object_array() 128 when(mock.varargs(isNull())).thenReturn("ok"); in with_variable_arg_and_null_Object_arg() 191 when(mock.oneArg(isNull())).thenReturn("ok"); in with_single_arg() [all …]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | CoreLibrarySupportTest.java | 109 assertThat(support.getMoveTarget("__/java/util/Existing", "matchesnot")).isNull(); in testMoveTarget() 110 assertThat(support.getMoveTarget("__/java/util/ExistingOther", "match")).isNull(); in testMoveTarget() 165 .isNull(); in testGetCoreInterfaceRewritingTarget_emulatedDefaultMethod() 237 .isNull(); in testGetCoreInterfaceRewritingTarget_abstractMethod() 245 .isNull(); in testGetCoreInterfaceRewritingTarget_abstractMethod() 273 .isNull(); // putIfAbsent is default in Map but abstract in ConcurrentMap in testGetCoreInterfaceRewritingTarget_emulatedDefaultOverride() 327 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed() 335 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed() 345 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed() 374 .isNull(); in testGetCoreInterfaceRewritingTarget_renamed() [all …]
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | CompareMatcherTest.java | 43 assertThat(mock.forInteger(null)).isNull();// a default value must be returned in compareNullArgument() 53 assertThat(mock.forObject(NOT_A_COMPARABLE)).isNull();// a default value must be returned in compareToNonCompareable() 63 assertThat(mock.forInteger(null)).isNull();// a default value must be returned in compareToNull() 73 assertThat(mock.forObject(123)).isNull();// a default value must be returned in compareToStringVsInt() 105 assertThat(mock.forObject(123)).isNull(); in matchesOverloadsMustBeIgnored() 119 assertThat(mock.forObject(123)).isNull(); in matchesWithSubTypeExtendingGenericClass() 132 assertThat(mock.forObject(123)).isNull(); in matchesWithSubTypeGenericMethod()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/ |
D | ShadowWranglerUnitTest.java | 33 assertThat(handler.call(null, null, new Object[0])).isNull(); in getInterceptionHandler_whenCallIsNotRecognized_shouldReturnDoNothingHandler() 66 assertThat(result).isNull(); in intercept_elderOnLinkedHashMapHandler_shouldReturnNullForEmptyMap() 73 …Wrangler(shadowMap, 18, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowClassWithSdkRange() 76 …Wrangler(shadowMap, 23, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowClassWithSdkRange() 83 …Wrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithSdkRange() 86 …Wrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithSdkRange() 93 …Wrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithMinSdk() 108 …Wrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowMethodWithMaxSdk() 115 …Wrangler(shadowMap, 19, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowConstructor() 118 …Wrangler(shadowMap, 21, interceptors).methodInvoked(methodName, false, DummyClass.class)).isNull(); in shadowConstructor() [all …]
|
/external/grpc-grpc-java/testing/src/test/java/io/grpc/testing/ |
D | GrpcServerRuleTest.java | 142 assertThat(grpcServerRule.getChannel()).isNull(); in serverAndChannelAreShutdownAfterRule() 143 assertThat(grpcServerRule.getServer()).isNull(); in serverAndChannelAreShutdownAfterRule() 144 assertThat(grpcServerRule.getServerName()).isNull(); in serverAndChannelAreShutdownAfterRule() 145 assertThat(grpcServerRule.getServiceRegistry()).isNull(); in serverAndChannelAreShutdownAfterRule() 158 assertThat(grpcServerRule.getChannel()).isNull(); in serverAndChannelAreShutdownAfterRule() 159 assertThat(grpcServerRule.getServer()).isNull(); in serverAndChannelAreShutdownAfterRule() 160 assertThat(grpcServerRule.getServerName()).isNull(); in serverAndChannelAreShutdownAfterRule() 161 assertThat(grpcServerRule.getServiceRegistry()).isNull(); in serverAndChannelAreShutdownAfterRule()
|
/external/icu/icu4c/source/i18n/ |
D | brktrans.cpp | 85 if (bi.isNull()) { in handleTransliterate() 88 if (boundaries.isNull()) { in handleTransliterate() 92 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { in handleTransliterate() 147 if (nonConstThis->cachedBI.isNull()) { in handleTransliterate() 150 if (nonConstThis->cachedBoundaries.isNull()) { in handleTransliterate()
|
/external/opencensus-java/exporters/stats/stackdriver/src/test/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverStatsConfigurationTest.java | 66 assertThat(configuration.getCredentials()).isNull(); in testBuild_Default() 67 assertThat(configuration.getProjectId()).isNull(); in testBuild_Default() 68 assertThat(configuration.getExportInterval()).isNull(); in testBuild_Default() 69 assertThat(configuration.getMonitoredResource()).isNull(); in testBuild_Default() 70 assertThat(configuration.getMetricNamePrefix()).isNull(); in testBuild_Default()
|
/external/clang/include/clang/AST/ |
D | DeclContextInternals.h | 67 bool isNull() const { return Data.isNull(); } in isNull() function 106 assert(!isNull() && "removing from empty list"); in remove() 126 if (isNull()) { in removeExternalDecls() 144 if (isNull()) in getLookupResult() 149 assert(!isNull() && "Empty list isn't allowed"); in getLookupResult() 191 assert(!isNull() && "don't AddSubsequentDecl when we have no decls"); in AddSubsequentDecl()
|
/external/opencensus-java/exporters/trace/ocagent/src/test/java/io/opencensus/exporter/trace/ocagent/ |
D | OcAgentTraceExporterConfigurationTest.java | 34 assertThat(configuration.getEndPoint()).isNull(); in defaultConfiguration() 35 assertThat(configuration.getServiceName()).isNull(); in defaultConfiguration() 36 assertThat(configuration.getUseInsecure()).isNull(); in defaultConfiguration() 37 assertThat(configuration.getRetryInterval()).isNull(); in defaultConfiguration()
|
/external/opencensus-java/contrib/spring_sleuth_v1x/src/test/java/io/opencensus/contrib/spring/sleuth/v1x/ |
D | OpenCensusSleuthTracerTest.java | 57 assertThat(root.getSavedSpan()).isNull(); in testRootSpanAndClose() 59 assertThat(parent).isNull(); in testRootSpanAndClose() 88 assertThat(parent).isNull(); in testDetachNull() 95 assertThat(root.getSavedSpan()).isNull(); in testRootSpanAndDetach() 97 assertThat(parent).isNull(); in testRootSpanAndDetach() 120 assertThat(span).isNull(); in testContinueNull() 140 assertThat(tracer.getCurrentSpan()).isNull(); in testSpanStackAndContinue()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | CallOptionsTest.java | 66 assertThat(CallOptions.DEFAULT.getDeadline()).isNull(); in defaultsAreAllNull() 67 assertThat(CallOptions.DEFAULT.getAuthority()).isNull(); in defaultsAreAllNull() 68 assertThat(CallOptions.DEFAULT.getExecutor()).isNull(); in defaultsAreAllNull() 69 assertThat(CallOptions.DEFAULT.getCredentials()).isNull(); in defaultsAreAllNull() 70 assertThat(CallOptions.DEFAULT.getCompressor()).isNull(); in defaultsAreAllNull() 113 assertThat(CallOptions.DEFAULT.getDeadline()).isNull(); in mutation() 118 assertThat(options2.getDeadline()).isNull(); in mutation() 125 assertThat(CallOptions.DEFAULT.getExecutor()).isNull(); in mutateExecutor() 130 assertThat(options2.getExecutor()).isNull(); in mutateExecutor()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GlobalOpt/ |
D | storepointer-compare-no-null-opt.ll | 24 br i1 %CC, label %isNull, label %DoCall 25 ; CHECK: br i1 %CC, label %isNull, label %DoCall 34 isNull: ; preds = %0 35 ; CHECK: isNull:
|
/external/robolectric-shadows/sandbox/src/test/java/org/robolectric/ |
D | RobolectricInternalsTest.java | 40 assertThat(a.param11).isNull(); in getConstructor_withOneClassParam() 52 assertThat(a.param21).isNull(); in getConstructor_withTwoClassParams() 53 assertThat(a.param22).isNull(); in getConstructor_withTwoClassParams() 67 assertThat(a.param31).isNull(); in getConstructor_withThreeClassParams() 68 assertThat(a.param32).isNull(); in getConstructor_withThreeClassParams() 69 assertThat(a.param33).isNull(); in getConstructor_withThreeClassParams()
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | PredicatesTest.java | 147 .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) in testNot_equalityForNotOfKnownValues() 149 .addEqualityGroup(Predicates.not(Predicates.isNull())) in testNot_equalityForNotOfKnownValues() 154 .addEqualityGroup(Predicates.isNull()) in testNot_equalityForNotOfKnownValues() 443 Predicate<Integer> isNull = Predicates.equalTo(null); in testIsEqualToNull_apply() local 444 assertTrue(isNull.apply(null)); in testIsEqualToNull_apply() 445 assertFalse(isNull.apply(1)); in testIsEqualToNull_apply() 461 Predicate<Integer> isNull = Predicates.isNull(); in testIsNull_apply() local 462 assertTrue(isNull.apply(null)); in testIsNull_apply() 463 assertFalse(isNull.apply(1)); in testIsNull_apply() 468 .addEqualityGroup(Predicates.isNull(), Predicates.isNull()) in testIsNull_equality() [all …]
|