Searched refs:nullable (Results 1 – 25 of 35) sorted by relevance
12
21 void createUserData(@nullable @utf8InCpp String uuid, int userId, int userSerial, int flags); in createUserData()22 void destroyUserData(@nullable @utf8InCpp String uuid, int userId, int flags); in destroyUserData()24 long createAppData(@nullable @utf8InCpp String uuid, in @utf8InCpp String packageName, in createAppData()26 void restoreconAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in restoreconAppData()28 void migrateAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in migrateAppData()30 void clearAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in clearAppData()32 void destroyAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in destroyAppData()35 void fixupAppData(@nullable @utf8InCpp String uuid, int flags); in fixupAppData()37 long[] getAppSize(@nullable @utf8InCpp String uuid, in @utf8InCpp String[] packageNames, in getAppSize()40 long[] getUserSize(@nullable @utf8InCpp String uuid, int userId, int flags, in int[] appIds); in getUserSize()[all …]
28 import static org.mockito.Matchers.nullable;447 .makeInboundSmsTracker(nullable(byte[].class), anyLong(), anyInt(), anyBoolean(), in testMultiPartSmsWithIncompleteWAP()448 nullable(String.class), nullable(String.class), anyInt(), anyInt(), in testMultiPartSmsWithIncompleteWAP()449 anyInt(), anyBoolean(), nullable(String.class)); in testMultiPartSmsWithIncompleteWAP()460 .makeInboundSmsTracker(nullable(byte[].class), anyLong(), anyInt(), anyBoolean(), in testMultiPartSmsWithIncompleteWAP()461 nullable(String.class), nullable(String.class), anyInt(), anyInt(), in testMultiPartSmsWithIncompleteWAP()462 anyInt(), anyBoolean(), nullable(String.class)); in testMultiPartSmsWithIncompleteWAP()475 .makeInboundSmsTracker(nullable(byte[].class), anyLong(), anyInt(), anyBoolean(), in testMultiPartSmsWithIncompleteWAP()476 nullable(String.class), nullable(String.class), anyInt(), anyInt(), in testMultiPartSmsWithIncompleteWAP()477 anyInt(), anyBoolean(), nullable(String.class)); in testMultiPartSmsWithIncompleteWAP()[all …]
22 import static org.mockito.Matchers.nullable;123 nullable(BroadcastReceiver.class), any(Handler.class), eq(Activity.RESULT_OK), in testBroadcastSms()
22 import static org.mockito.Matchers.nullable;331 .makeServiceStateTracker(nullable(GsmCdmaPhone.class), in setUp()332 nullable(CommandsInterface.class)); in setUp()334 .makeUiccProfile(nullable(Context.class), nullable(CommandsInterface.class), in setUp()335 nullable(IccCardStatus.class), anyInt(), nullable(UiccCard.class), in setUp()336 nullable(Object.class)); in setUp()338 .makeGsmCdmaCallTracker(nullable(GsmCdmaPhone.class)); in setUp()340 .makeIccPhoneBookInterfaceManager(nullable(Phone.class)); in setUp()342 .makeDcTracker(nullable(Phone.class)); in setUp()344 .makeWspTypeDecoder(nullable(byte[].class)); in setUp()[all …]
24 import static org.mockito.Matchers.nullable;88 nullable(Message.class)); in testTethering()97 nullable(Message.class)); in testTethering()100 eq(true), nullable(Message.class)); in testTethering()111 eq(true), nullable(Message.class)); in testCharging()119 nullable(Message.class)); in testCharging()122 eq(true), nullable(Message.class)); in testCharging()125 eq(false), nullable(Message.class)); in testCharging()
28 import static org.mockito.Matchers.nullable;134 nullable(Object.class)); in setUp()384 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()385 anyInt(), nullable(Message.class)); in testSendBurstDtmf()390 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()391 anyInt(), nullable(Message.class)); in testSendBurstDtmf()396 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()397 anyInt(), nullable(Message.class)); in testSendBurstDtmf()402 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf()403 anyInt(), nullable(Message.class)); in testSendBurstDtmf()[all …]
21 import static org.mockito.Matchers.nullable;93 nullable(Bundle.class), in testDispatchWapPdu()
24 import static org.mockito.ArgumentMatchers.nullable;74 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); in nextAndBack()92 verify(first, times(1)).onCreate(nullable(Bundle.class)); in nextAndBack()93 verify(first, times(1)).onCreateGuidance(nullable(Bundle.class)); in nextAndBack()94 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); in nextAndBack()95 verify(first, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); in nextAndBack()97 nullable(Bundle.class), any(View.class)); in nextAndBack()98 verify(first, times(1)).onViewStateRestored(nullable(Bundle.class)); in nextAndBack()109 verify(second, times(1)).onCreate(nullable(Bundle.class)); in nextAndBack()110 verify(second, times(1)).onCreateGuidance(nullable(Bundle.class)); in nextAndBack()[all …]
21 import static org.mockito.ArgumentMatchers.nullable;71 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); in nextAndBack()89 verify(first, times(1)).onCreate(nullable(Bundle.class)); in nextAndBack()90 verify(first, times(1)).onCreateGuidance(nullable(Bundle.class)); in nextAndBack()91 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); in nextAndBack()92 verify(first, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); in nextAndBack()94 nullable(Bundle.class), any(View.class)); in nextAndBack()95 verify(first, times(1)).onViewStateRestored(nullable(Bundle.class)); in nextAndBack()106 verify(second, times(1)).onCreate(nullable(Bundle.class)); in nextAndBack()107 verify(second, times(1)).onCreateGuidance(nullable(Bundle.class)); in nextAndBack()[all …]
9 import static org.mockito.ArgumentMatchers.nullable;215 nullable(IApplicationThread.class), in startActivityAsUser_currentUser()218 nullable(Bundle.class), in startActivityAsUser_currentUser()237 nullable(IApplicationThread.class), in startActivityAsUser_profile_notInstalled()240 nullable(Bundle.class), in startActivityAsUser_profile_notInstalled()257 nullable(IApplicationThread.class), in startActivityAsUser_profile_fakeCaller()260 nullable(Bundle.class), in startActivityAsUser_profile_fakeCaller()279 nullable(IApplicationThread.class), in startActivityAsUser_profile_notExported()282 nullable(Bundle.class), in startActivityAsUser_profile_notExported()299 nullable(IApplicationThread.class), in startActivityAsUser_profile_anotherPackage()[all …]
21 import static org.mockito.ArgumentMatchers.nullable;56 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in setUp()63 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPoke()71 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()75 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); in testPokeBlocking()
18 import static org.mockito.ArgumentMatchers.nullable;71 verify(initCallback1, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback()72 verify(initCallback2, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback()91 verify(initCallback, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback_whenOnFailCalledByLoader()110 verify(initCallback, times(1)).onFailed(nullable(Throwable.class)); in testRegisterInitCallback_callsFailCallback_whenMetadataRepoIsNull()148 verify(callbackConfigUnregister, times(0)).onFailed(nullable(Throwable.class)); in testUnregisterInitCallback_doesNotInteractWithCallback()149 verify(callback, times(1)).onFailed(nullable(Throwable.class)); in testUnregisterInitCallback_doesNotInteractWithCallback()150 verify(callbackConfig, times(1)).onFailed(nullable(Throwable.class)); in testUnregisterInitCallback_doesNotInteractWithCallback()
19 import static org.mockito.ArgumentMatchers.nullable;66 .visible(nullable(Context.class), eq(MetricsProto.MetricsEvent.VIEW_UNKNOWN), in shouldLogVisibleOnResume()81 .visible(nullable(Context.class), eq(MetricsProto.MetricsEvent.SETTINGS_GESTURES), in shouldLogVisibleWithSource()90 .hidden(nullable(Context.class), eq(TestInstrumentable.TEST_METRIC)); in shouldLogHideOnPause()100 .hidden(nullable(Context.class), anyInt()); in shouldNotLogIfMetricsFeatureIsNull()111 .hidden(nullable(Context.class), anyInt()); in shouldNotLogIfMetricsCategoryIsUnknown()
53 import static org.mockito.ArgumentMatchers.nullable;104 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(true); in forwardToManagedProfile_canForward_sendIntent()137 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(false); in forwardToManagedProfile_cannotForward_sendIntent()180 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(true); in forwardToManagedProfile_canForward_chooserIntent()222 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(true); in forwardToManagedProfile_canForward_selectorIntent()237 intentCaptor.capture(), nullable(String.class), anyInt(), anyInt()); in forwardToManagedProfile_canForward_selectorIntent()
56 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds, in setTrackedViews()58 in @nullable AutofillId[] fillableIds, in AutofillId saveTriggerId); in setTrackedViews()
21 import static org.mockito.ArgumentMatchers.nullable;73 anyString(), nullable(Handler.class)); in testBroadcastReceiver()
29 import static org.mockito.Matchers.nullable;403 verify(mImsCT, times(0)).sendDtmf(anyChar(), nullable(Message.class)); in testDtmf()407 verify(mImsCT, times(0)).sendDtmf(eq('0'), nullable(Message.class)); in testDtmf()412 verify(mImsCT, times(0)).sendDtmf(eq('0'), nullable(Message.class)); in testDtmf()416 verify(mImsCT, times(1)).sendDtmf(anyChar(), nullable(Message.class)); in testDtmf()635 intent.capture(), nullable(String.class), any(BroadcastReceiver.class), in testProcessDisconnectReason()636 nullable(Handler.class), eq(Activity.RESULT_OK), nullable(String.class), in testProcessDisconnectReason()637 nullable(Bundle.class)); in testProcessDisconnectReason()
23 import static org.mockito.ArgumentMatchers.nullable;634 verify(mImsManager, never()).makeCall(nullable(ImsCallProfile.class), in testDialImsServiceUnavailable()635 eq(new String[]{"+17005554141"}), nullable(ImsCall.Listener.class)); in testDialImsServiceUnavailable()639 nullable(MmTelFeature.Listener.class)); in testDialImsServiceUnavailable()648 mImsManager).setUiTTYMode(nullable(Context.class), anyInt(), in testTTYImsServiceUnavailable()649 nullable(Message.class)); in testTTYImsServiceUnavailable()660 nullable(MmTelFeature.Listener.class)); in testTTYImsServiceUnavailable()762 verify(mImsPhone, never()).startOnHoldTone(nullable(Connection.class)); in testNoRemoteHoldtone()788 verify(mImsPhone, times(1)).startOnHoldTone(nullable(Connection.class)); in testRemoteToneInactive()813 verify(mImsPhone, times(1)).startOnHoldTone(nullable(Connection.class)); in testRemoteHoldtone()
27 import static org.mockito.ArgumentMatchers.nullable;125 nullable(CharSequence.class), nullable(CharSequence.class), eq(TEST_USER_ID))). in setUp()
41 @nullable IIncidentReportStatusListener listener, in reportIncidentToStream()
20 import static org.mockito.ArgumentMatchers.nullable;83 when(mResources.getDrawable(anyInt(), nullable(Resources.Theme.class))) in mockResources()
60 val nullable: Boolean? constant in androidx.room.integration.kotlintestapp.test.ItemWithNullableConstructor.TestItem
82 verify(mSimulatedCommandsVerifier).sendCdmaSms(nullable(byte[].class), any(Message.class)); in testSendSms()
23 import static org.mockito.ArgumentMatchers.nullable;108 any(ShortcutInfo.class), nullable(IntentSender.class))).thenReturn(true); in testRequestPinShortcut_v26()
23 import static org.mockito.Matchers.nullable;153 nullable(IPackageDeleteObserver.class), anyInt(), eq(mTestUser.getIdentifier())); in testApplyUserAppsStates()