Home
last modified time | relevance | path

Searched refs:nullable (Results 1 – 25 of 123) sorted by relevance

12345

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DDistractingPackageHelperTest.kt54 nullable(), bundleCaptor.capture(), anyInt(), nullable(), nullable(), any(),
55 nullable(), nullable(), nullable(), nullable())
80 anyInt(), nullable(), nullable(), any(), nullable(), nullable(), nullable(),
81 nullable())
158 nullable(), bundleCaptor.capture(), anyInt(), nullable(), nullable(), any(),
159 nullable(), nullable(), nullable(), nullable())
175 nullable(), nullable(), any(), nullable(), nullable(), nullable(), nullable())
186 nullable(), nullable(), any(), nullable(), nullable(), nullable(), nullable())
194 nullable(), nullable(), any(), nullable(), nullable(), nullable(), nullable())
203 nullable(), bundleCaptor.capture(), anyInt(), nullable(), nullable(), any(),
[all …]
H A DSuspendPackageHelperTest.kt49 nullable(), nullable(), nullable(), nullable())
52 nullable(), nullable())
55 nullable(), nullable())
159 nullable(), nullable(), nullable(), nullable())
162 nullable(), nullable(), nullable())
165 nullable(), nullable(), nullable())
243 nullable(), nullable(), nullable(), nullable())
246 nullable(), nullable(), nullable())
249 nullable(), nullable(), nullable())
330 anyInt(), nullable(), nullable(), any(), nullable(), nullable(), nullable(),
[all …]
H A DMockSystem.kt80 import com.android.server.testutils.nullable
167 whenever(mocks.settings.addPackageLPw(nullable(), nullable(), nullable(), nullable(),
168 nullable(), nullable(), nullable(), nullable(), nullable(), nullable(), nullable(),
169 nullable(), nullable(), nullable(), nullable(), nullable(), nullable())) {
179 whenever(mocks.settings.readLPw(any(), nullable())) {
337 anyBoolean(), anyBoolean(), nullable(), any(File::class.java))) {
355 anyInt(), nullable(), nullable(), anyInt())) { false }
358 anyInt(), nullable(), nullable(), anyInt())) { false }
670 nullable(), anyLong(), anyInt())) {
680 nullable(), anyLong(), anyInt())) {
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
H A DCrossProfileAppsServiceImplTest.java11 import static org.mockito.ArgumentMatchers.nullable;
253 nullable(String.class), in startActivityAsUser_currentUser()
257 nullable(Bundle.class), in startActivityAsUser_currentUser()
280 nullable(String.class), in startAnyActivityAsUser_currentUser()
284 nullable(Bundle.class), in startAnyActivityAsUser_currentUser()
309 nullable(String.class), in startActivityAsUser_profile_notInstalled()
313 nullable(Bundle.class), in startActivityAsUser_profile_notInstalled()
338 nullable(String.class), in startAnyActivityAsUser_profile_notInstalled()
342 nullable(Bundle.class), in startAnyActivityAsUser_profile_notInstalled()
365 nullable(String.class), in startActivityAsUser_profile_fakeCaller()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DCrossProfileAppsServiceImplTest.java11 import static org.mockito.ArgumentMatchers.nullable;
253 nullable(String.class), in startActivityAsUser_currentUser()
257 nullable(Bundle.class), in startActivityAsUser_currentUser()
280 nullable(String.class), in startAnyActivityAsUser_currentUser()
284 nullable(Bundle.class), in startAnyActivityAsUser_currentUser()
309 nullable(String.class), in startActivityAsUser_profile_notInstalled()
313 nullable(Bundle.class), in startActivityAsUser_profile_notInstalled()
338 nullable(String.class), in startAnyActivityAsUser_profile_notInstalled()
342 nullable(Bundle.class), in startAnyActivityAsUser_profile_notInstalled()
365 nullable(String.class), in startActivityAsUser_profile_fakeCaller()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/
H A DMediaTttCommandLineHelperTest.kt94 nullable(),
95 nullable())
109 nullable(),
110 nullable())
124 nullable(),
125 nullable())
138 nullable(),
139 nullable())
152 nullable(),
221 nullable()
[all …]
/aosp14/frameworks/base/location/java/android/location/
H A DILocationManager.aidl53 …@nullable Location getLastLocation(String provider, in LastLocationRequest request, String package… in getLastLocation()
54nullable ICancellationSignal getCurrentLocation(String provider, in LocationRequest request, in IL… in getCurrentLocation()
83 @nullable List<GnssAntennaInfo> getGnssAntennaInfos(); in getGnssAntennaInfos()
85 …void registerGnssStatusCallback(in IGnssStatusListener callback, String packageName, @nullable Str… in registerGnssStatusCallback()
88 …void registerGnssNmeaCallback(in IGnssNmeaListener callback, String packageName, @nullable String … in registerGnssNmeaCallback()
105 …h(long periodNanos, in ILocationListener listener, String packageName, @nullable String attributio… in startGnssBatch()
114 …boolean isProviderPackage(@nullable String provider, String packageName, @nullable String attribut… in isProviderPackage()
137 in List<String> locationTags, String packageName, @nullable String attributionTag); in addTestProvider()
138 void removeTestProvider(String provider, String packageName, @nullable String attributionTag); in removeTestProvider()
139 …derLocation(String provider, in Location location, String packageName, @nullable String attributio… in setTestProviderLocation()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl57 List<InputMethodSubtype> getEnabledInputMethodSubtypeList(in @nullable String imiId, in getEnabledInputMethodSubtypeList()
64 boolean showSoftInput(in IInputMethodClient client, @nullable IBinder windowToken, in showSoftInput()
65 in @nullable ImeTracker.Token statsToken, int flags, int lastClickToolType, in showSoftInput()
66 in @nullable ResultReceiver resultReceiver, int reason); in showSoftInput()
67 boolean hideSoftInput(in IInputMethodClient client, @nullable IBinder windowToken, in hideSoftInput()
68 in @nullable ImeTracker.Token statsToken, int flags, in hideSoftInput()
69 in @nullable ResultReceiver resultReceiver, int reason); in hideSoftInput()
77 in IInputMethodClient client, in @nullable IBinder windowToken, in startInputOrWindowGainedFocus()
81 in @nullable EditorInfo editorInfo, in @nullable IRemoteInputConnection inputConnection, in startInputOrWindowGainedFocus()
101 @nullable InputMethodSubtype getCurrentInputMethodSubtype(int userId); in getCurrentInputMethodSubtype()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/core/
H A DLoggerTest.kt8 import com.android.systemui.util.mockito.nullable
54 verify(buffer).obtain(eq("LoggerTest"), any(), any(), nullable())
61 verify(buffer).obtain(anyString(), eq(LogLevel.VERBOSE), any(), nullable())
75 verify(buffer).obtain(anyString(), eq(LogLevel.DEBUG), any(), nullable())
82 verify(buffer).obtain(anyString(), eq(LogLevel.DEBUG), any(), nullable())
89 verify(buffer).obtain(anyString(), eq(LogLevel.INFO), any(), nullable())
96 verify(buffer).obtain(anyString(), eq(LogLevel.INFO), any(), nullable())
117 verify(buffer).obtain(anyString(), eq(LogLevel.ERROR), any(), nullable())
124 verify(buffer).obtain(anyString(), eq(LogLevel.ERROR), any(), nullable())
131 verify(buffer).obtain(anyString(), eq(LogLevel.WTF), any(), nullable())
[all …]
/aosp14/frameworks/base/core/java/android/hardware/camera2/extension/
H A DIImageCaptureExtenderImpl.aidl34 @nullable CaptureStageImpl onPresetSession(); in onPresetSession()
35 @nullable CaptureStageImpl onEnableSession(); in onEnableSession()
36 @nullable CaptureStageImpl onDisableSession(); in onDisableSession()
41 @nullable ICaptureProcessorImpl getCaptureProcessor(); in getCaptureProcessor()
42 @nullable List<CaptureStageImpl> getCaptureStages(); in getCaptureStages()
44 @nullable List<SizeList> getSupportedResolutions(); in getSupportedResolutions()
45 @nullable List<SizeList> getSupportedPostviewResolutions(in Size captureSize); in getSupportedPostviewResolutions()
50 @nullable LatencyPair getRealtimeCaptureLatency(); in getRealtimeCaptureLatency()
H A DIPreviewExtenderImpl.aidl32 @nullable CaptureStageImpl onPresetSession(); in onPresetSession()
33 @nullable CaptureStageImpl onEnableSession(); in onEnableSession()
34 @nullable CaptureStageImpl onDisableSession(); in onDisableSession()
38 @nullable CaptureStageImpl getCaptureStage(); in getCaptureStage()
45 @nullable IPreviewImageProcessorImpl getPreviewImageProcessor(); in getPreviewImageProcessor()
46 @nullable IRequestUpdateProcessorImpl getRequestUpdateProcessor(); in getRequestUpdateProcessor()
48 @nullable List<SizeList> getSupportedResolutions(); in getSupportedResolutions()
H A DICameraExtensionsProxyService.aidl33 @nullable IPreviewExtenderImpl initializePreviewExtension(int extensionType); in initializePreviewExtension()
34 @nullable IImageCaptureExtenderImpl initializeImageExtension(int extensionType); in initializeImageExtension()
35 @nullable IAdvancedExtenderImpl initializeAdvancedExtension(int extensionType); in initializeAdvancedExtension()
H A DIAdvancedExtenderImpl.aidl33 @nullable List<SizeList> getSupportedPreviewOutputResolutions(in String cameraId); in getSupportedPreviewOutputResolutions()
34 @nullable List<SizeList> getSupportedCaptureOutputResolutions(in String cameraId); in getSupportedCaptureOutputResolutions()
35 @nullable List<SizeList> getSupportedPostviewResolutions(in Size captureSize); in getSupportedPostviewResolutions()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/
H A DCreateUserActivityTest.kt11 import com.android.systemui.util.mockito.nullable
29 /* activity = */ nullable(),
30 /* activityStarter = */ nullable(),
32 /* successCallback = */ nullable(),
33 /* cancelCallback = */ nullable()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/
H A DWalletContextualSuggestionsControllerTest.kt35 import com.android.systemui.util.mockito.nullable
69 whenever(broadcastDispatcher.broadcastFlow(any(), nullable(), anyInt(), nullable()))
74 nullable(),
76 nullable(),
181 verify(broadcastDispatcher, never()).broadcastFlow(any(), nullable(), anyInt(), nullable())
203 nullable(),
204 nullable(),
206 nullable()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DSystemAppOpsHelperTest.java30 import static org.mockito.ArgumentMatchers.nullable;
134 eq("myfeature"), nullable(String.class)); in testNoteOpNoThrow()
139 eq("myfeature"), nullable(String.class)); in testNoteOpNoThrow()
147 eq("myfeature"), nullable(String.class)); in testNoteOpNoThrow()
152 eq("myfeature"), nullable(String.class)); in testNoteOpNoThrow()
162 eq(false), eq("myfeature"), nullable(String.class)); in testStartOp()
167 eq(false), eq("myfeature"), nullable(String.class)); in testStartOp()
185 nullable(String.class)); in testNoteOp()
190 nullable(String.class)); in testNoteOp()
196 nullable(String.class)); in testNoteOp()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
H A DSystemPropPokerTest.java21 import static org.mockito.ArgumentMatchers.nullable;
55 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in setUp()
62 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPoke()
70 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()
74 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()
/aosp14/frameworks/base/cmds/idmap2/idmap2d/aidl/core/android/os/
H A DFabricatedOverlayInternalEntry.aidl26 @nullable @utf8InCpp String stringData;
27 @nullable ParcelFileDescriptor binaryData;
28 @nullable @utf8InCpp String configuration;
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccLogicalChannelRequest.aidl39 @nullable String callingPackage;
42 @nullable String aid;
51 @nullable IBinder binder;
/aosp14/frameworks/base/core/java/android/content/pm/
H A DFileSystemControlParcel.aidl29 @nullable IncrementalFileSystemControlParcel incremental;
31 @nullable IIncrementalServiceConnector service;
33 @nullable IPackageInstallerSessionFileSystemConnector callback;
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/
H A DVisibilityLoggerMixinTest.java23 import static org.mockito.ArgumentMatchers.nullable;
67 .visible(nullable(Context.class), eq(MetricsProto.MetricsEvent.VIEW_UNKNOWN), in shouldLogVisibleOnResume()
82 .visible(nullable(Context.class), eq(MetricsProto.MetricsEvent.SETTINGS_GESTURES), in shouldLogVisibleWithSource()
91 .hidden(nullable(Context.class), eq(TestInstrumentable.TEST_METRIC), anyInt()); in shouldLogHideOnPause()
101 .hidden(nullable(Context.class), anyInt(), anyInt()); in shouldNotLogIfMetricsFeatureIsNull()
112 .hidden(nullable(Context.class), anyInt(), anyInt()); in shouldNotLogIfMetricsCategoryIsUnknown()
/aosp14/frameworks/base/core/java/android/credentials/
H A DICredentialManager.aidl42 …@nullable ICancellationSignal executeGetCredential(in GetCredentialRequest request, in IGetCredent… in executeGetCredential()
44 …@nullable ICancellationSignal executePrepareGetCredential(in GetCredentialRequest request, in IPre… in executePrepareGetCredential()
46 …@nullable ICancellationSignal executeCreateCredential(in CreateCredentialRequest request, in ICrea… in executeCreateCredential()
48 …@nullable ICancellationSignal clearCredentialState(in ClearCredentialStateRequest request, in ICle… in clearCredentialState()
/aosp14/frameworks/base/core/java/android/content/pm/verify/domain/
H A DIDomainVerificationManager.aidl33 @nullable
36 @nullable
40 @nullable
/aosp14/frameworks/base/core/java/android/window/
H A DIWindowOrganizerController.aidl59 IBinder startNewTransition(int type, in @nullable WindowContainerTransaction t); in startNewTransition()
66 void startTransition(IBinder transitionToken, in @nullable WindowContainerTransaction t); in startTransition()
84 void finishTransition(in IBinder transitionToken, in @nullable WindowContainerTransaction t); in finishTransition()
/aosp14/frameworks/base/media/aidl/android/media/permission/
H A DIdentity.aidl30 @nullable @utf8InCpp String packageName;
32 @nullable @utf8InCpp String attributionTag;

12345