Home
last modified time | relevance | path

Searched refs:EMPTY (Results 1 – 25 of 72) sorted by relevance

123

/cts/tests/credentials/src/android/credentials/cts/unittests/service/
DBeginGetCredentialOptionTest.java42 () -> new BeginGetCredentialOption(null, "type", Bundle.EMPTY)); in testConstructor_nullId_throwsIllegalArgumentException()
48 () -> new BeginGetCredentialOption("", "type", Bundle.EMPTY)); in testConstructor_emptyId_throwsIllegalArgumentException()
54 () -> new BeginGetCredentialOption("id", null, Bundle.EMPTY)); in testConstructor_nullType_throwsIllegalArgumentException()
60 () -> new BeginGetCredentialOption("id", "", Bundle.EMPTY)); in testConstructor_emptyType_throwsIllegalArgumentException()
DCreateCredentialRequestTest.java61 Bundle.EMPTY)); in testConstructor_nullCallingInfo()
67 () -> new CreateCredentialRequest(mCallingAppInfo, null, Bundle.EMPTY)); in testConstructor_nullType()
73 () -> new CreateCredentialRequest(mCallingAppInfo, "", Bundle.EMPTY)); in testConstructor_emptyType()
DBeginCreateCredentialRequestTest.java59 () -> new BeginCreateCredentialRequest(null, Bundle.EMPTY, mCallingAppInfo)); in testConstructor_nullType_throwsNPE()
67 () -> new BeginCreateCredentialRequest("", Bundle.EMPTY, mCallingAppInfo)); in testConstructor_emptyType_throwsIllegalArgException()
DClearCredentialStateRequestTest.java59 () -> new ClearCredentialStateRequest(null, Bundle.EMPTY)); in testConstructor_nullCallingInfo_throwsNPE()
/cts/tests/inputmethod/mocka11yime/service/src/com/android/cts/mocka11yime/
DMockA11yImeContentProvider.java91 return Bundle.EMPTY; in call()
97 return Bundle.EMPTY; in call()
107 return Bundle.EMPTY; in call()
110 return Bundle.EMPTY; in call()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderResultTest.java34 private final Uri TEST_URI = Uri.EMPTY;
35 private final Bundle TEST_BUNDLE = Bundle.EMPTY;
/cts/tests/credentials/src/android/credentials/cts/unittests/
DCreateCredentialRequestTest.java45 () -> new CreateCredentialRequest.Builder(null, Bundle.EMPTY, Bundle.EMPTY) in testConstructor_nullType()
55 Bundle.EMPTY, null) in testConstructor_nullRetrievalData()
66 Bundle.EMPTY) in testConstructor_nullQueryData()
DCredentialOptionTest.java47 () -> new CredentialOption.Builder(null, Bundle.EMPTY, Bundle.EMPTY)); in testBuilder_nullType()
54 null, Bundle.EMPTY)); in testBuilder_nullRetrievalData()
61 Bundle.EMPTY, null)); in testBuilder_nullQueryData()
DGetCredentialRequestTest.java64 () -> new GetCredentialRequest.Builder(Bundle.EMPTY).addCredentialOption(null)); in testBuilderAddCredentialOption_nullOption()
70 () -> new GetCredentialRequest.Builder(Bundle.EMPTY).setCredentialOptions(null)); in testBuilderSetCredentialOptions_nullOptions()
/cts/tests/searchui/src/android/searchuiservice/cts/
DSearchTargetTest.java58 private static final Uri SLICE_URI = Uri.EMPTY;
72 .setSliceUri(Uri.EMPTY);
98 assertThat(target.getSliceUri()).isEqualTo(Uri.EMPTY); in testBuilderSliceUri()
100 assertThat(clone.getSliceUri()).isEqualTo(Uri.EMPTY); in testBuilderSliceUri()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java365 doReturn(res).when(mProvider).createWebLinkIntent(DOC_RED, Bundle.EMPTY); in testCreateWebLinkIntent()
366 assertEquals(res, createWebLinkIntent(mResolver, URI_RED, Bundle.EMPTY)); in testCreateWebLinkIntent()
371 doReturn(Bundle.EMPTY).when(mProvider).getDocumentMetadata(DOC_RED); in testGetDocumentMetadata()
372 assertEquals(Bundle.EMPTY, getDocumentMetadata(mResolver, URI_RED)); in testGetDocumentMetadata()
445 doReturn(res).when(mProvider).queryChildDocuments(DOC_RED, null, Bundle.EMPTY); in testQueryChildDocuments()
447 Bundle.EMPTY, null)); in testQueryChildDocuments()
454 doReturn(res).when(mProvider).queryRecentDocuments(DOC_RED, null, Bundle.EMPTY, null); in testQueryRecentDocuments()
456 Bundle.EMPTY, null)); in testQueryRecentDocuments()
463 doReturn(res).when(mProvider).querySearchDocuments(DOC_RED, null, Bundle.EMPTY); in testQuerySearchDocuments()
465 Bundle.EMPTY, null)); in testQuerySearchDocuments()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DUndoableContext.java32 public static final UndoableContext EMPTY = new UndoableContext(() -> {}); field in UndoableContext
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DTestServiceClient.java59 return generatePendingIntent(componentName, 0, Bundle.EMPTY); in generatePendingIntent()
90 sendPendingIntent(pendingIntent, Bundle.EMPTY); in sendPendingIntent()
DBackgroundActivityLaunchTest.java470 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALInSameTask_isNotBlocked()
494 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALInSameTask_isBlocked()
516 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALwithOptIn_isNotBlocked()
539 servicePiSender.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALwithoutOptInSdk33_isNotBlocked()
563 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALwithOptIn_isStartedInBackground()
578 serviceA.sendPendingIntentWithActivityForResult(pi, Bundle.EMPTY); in testPI_onlySenderAllowsBALwithoutOptInForResult_isNotBlocked()
598 serviceA.sendPendingIntentWithActivityForResult(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALwithoutOptInForResult_isBlocked()
613 serviceA.sendIntentSender(pi.getIntentSender(), Bundle.EMPTY); in testPI_onlySenderAllowsBALwithoutOptInIntentSender_isNotBlocked()
635 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALwithoutOptIn_isBlocked()
1413 service.sendPendingIntent(pi, Bundle.EMPTY); in sendPendingIntent()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DBaseProxyTest.java97 && (mProxy.getPacFileUrl() == Uri.EMPTY)); in isProxyEmpty()
105 return (mProxy != null) && (mProxy.getPacFileUrl() != Uri.EMPTY); in isProxyPac()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DCtsIntelligenceService.java80 return new Feature.Builder(id).setFeatureParams(PersistableBundle.EMPTY).setModelName( in getSampleFeature()
160 downloadCallback.onDownloadFailed(1, "error message", PersistableBundle.EMPTY); in onDownloadFeature()
165 downloadCallback.onDownloadCompleted(PersistableBundle.EMPTY); in onDownloadFeature()
DCtsIsolatedInferenceService.java122 callback.onResult(Bundle.EMPTY); in processRequestStreaming()
126 callback.onPartialResult(Bundle.EMPTY); in processRequestStreaming()
136 callback.onResult(Bundle.EMPTY); in processRequestStreaming()
247 callback.onDataAugmentRequest(Bundle.EMPTY, in processRequest()
323 callback.onResult(PersistableBundle.EMPTY); in updateProcessingState()
DOnDeviceIntelligenceManagerTest.java726 processingSignal.sendSignal(PersistableBundle.EMPTY); in signalPropagatedWhenSignalIsInvokedBeforeAndDuringRequest()
727 processingSignal.sendSignal(PersistableBundle.EMPTY); in signalPropagatedWhenSignalIsInvokedBeforeAndDuringRequest()
749 processingSignal.sendSignal(PersistableBundle.EMPTY); in signalPropagatedWhenSignalIsInvokedBeforeAndDuringRequest()
825 Bundle.EMPTY, REQUEST_TYPE_GET_PACKAGE_NAME, null, in inferenceServiceShouldReturnParentPackageName()
852 Bundle.EMPTY, REQUEST_TYPE_GET_CALLER_UID, null, in callerUidReceivedIsOriginalCallerUid()
891 Bundle.EMPTY, requestType, null, in sendRequestToReadTestFile()
934 onDeviceIntelligenceService.updateProcessingState(Bundle.EMPTY, EXECUTOR, result -> { in updateProcessingStateReturnsSuccessfully()
953 Bundle.EMPTY, REQUEST_TYPE_GET_AUGMENTED_DATA, null, in dataAugmentationReturnsDataToInference()
1011 Bundle.EMPTY, 1, null, in broadcastsMustBeSentOnModelUpdates()
1117 Bundle.EMPTY, REQUEST_TYPE_GET_UPDATED_DEVICE_CONFIG, null, in deviceConfigUpdateMustBeSentOnInferenceServiceConnected()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInlineSuggestionsRequestTest.java94 assertThat(request.getInlinePresentationSpecs().get(0).getStyle()).isEqualTo(Bundle.EMPTY); in testInlineSuggestionsRequestValuesWithDefaults()
95 assertThat(request.getExtras()).isEqualTo(Bundle.EMPTY); in testInlineSuggestionsRequestValuesWithDefaults()
/cts/tests/credentials/src/android/credentials/cts/
DCtsCredentialViewTest.java105 GetCredentialRequest request = new GetCredentialRequest.Builder(Bundle.EMPTY) in testClearCredentialManagerRequest()
145 GetCredentialRequest request = new GetCredentialRequest.Builder(Bundle.EMPTY) in testSetCredentialManagerRequest()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainInteractionSessionService.java43 callback.sendResult(Bundle.EMPTY); in onNewSession()
DMainWearableSensingService.java169 sendAudio(FAKE_HOTWORD_AUDIO_DATA, statusConsumer, PersistableBundle.EMPTY); in sendAudio()
174 sendAudio(NON_HOTWORD_AUDIO, statusConsumer, PersistableBundle.EMPTY); in sendNonHotwordAudio()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCommandContentProvider.java83 return Bundle.EMPTY; in call()
/cts/tests/tests/voiceRecognition/RecognitionService/src/com/android/recognitionservice/service/
DCtsVoiceRecognitionService.java58 listener.results(Bundle.EMPTY); in onStartListening()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingPolicyTests.java132 "initialSecondaryActivity", Bundle.EMPTY); in testInputDuringAnimationIsNotAllowed_untrustedEmbedding()
175 Bundle.EMPTY); in testInputDuringAnimationIsNotAllowed_trustedEmbedding()

123