/frameworks/native/cmds/installd/binder/android/os/ |
D | IInstalld.aidl | 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 long createAppDataBatched(in @nullable @utf8InCpp String[] uuids, in createAppDataBatched() 27 in @nullable @utf8InCpp String[] packageNames, in int userId, int flags, in int[] appIds, in createAppDataBatched() 29 void restoreconAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in restoreconAppData() 31 void migrateAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in migrateAppData() 33 void clearAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in clearAppData() 35 void destroyAppData(@nullable @utf8InCpp String uuid, @utf8InCpp String packageName, in destroyAppData() 38 void fixupAppData(@nullable @utf8InCpp String uuid, int flags); in fixupAppData() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 9 import static org.mockito.ArgumentMatchers.nullable; 239 nullable(IApplicationThread.class), in startActivityAsUser_currentUser() 241 nullable(String.class), in startActivityAsUser_currentUser() 243 nullable(IBinder.class), in startActivityAsUser_currentUser() 245 nullable(Bundle.class), in startActivityAsUser_currentUser() 264 nullable(IApplicationThread.class), in startAnyActivityAsUser_currentUser() 266 nullable(String.class), in startAnyActivityAsUser_currentUser() 268 nullable(IBinder.class), in startAnyActivityAsUser_currentUser() 270 nullable(Bundle.class), in startAnyActivityAsUser_currentUser() 291 nullable(IApplicationThread.class), in startActivityAsUser_profile_notInstalled() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | GsmInboundSmsHandlerTest.java | 30 import static org.mockito.Matchers.nullable; 191 .makeInboundSmsTracker(any(Context.class), nullable(Cursor.class), in createMockInboundSmsTracker() 225 .makeInboundSmsTracker(any(Context.class), nullable(byte[].class), anyLong(), in setUp() 227 anyBoolean(), nullable(String.class), nullable(String.class), in setUp() 228 nullable(String.class), anyBoolean(), anyInt()); in setUp() 396 .makeInboundSmsTracker(any(Context.class), nullable(byte[].class), anyLong(), in testClass0Sms() 398 anyBoolean(), nullable(String.class), nullable(String.class), in testClass0Sms() 399 nullable(String.class), anyBoolean(), anyInt()); in testClass0Sms() 425 .makeInboundSmsTracker(any(Context.class), nullable(byte[].class), anyLong(), in testBroadcastSms() 427 anyBoolean(), nullable(String.class), nullable(String.class), in testBroadcastSms() [all …]
|
/frameworks/base/startop/scripts/trace_analyzer/lib/ |
D | trace2db.py | 39 task_name = Column(String, nullable=True) # <...> -> None. 40 task_pid = Column(String, nullable=False) 41 tgid = Column(Integer, nullable=True) # ----- -> None. 42 cpu = Column(Integer, nullable=False) 43 timestamp = Column(Float, nullable=False) 44 function = Column(String, nullable=False) 45 function_args = Column(String, nullable=False) 90 prev_comm = Column(String, nullable=False) 91 prev_pid = Column(Integer, nullable=False) 92 prev_prio = Column(Integer, nullable=False) [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | DeviceStateMonitorTest.java | 27 import static org.mockito.Matchers.nullable; 196 acIndicationFilter.capture(), nullable(Message.class)); in verifySetUnsolResponseFilter() 204 eq(INDICATION_FILTERS_MINIMUM), nullable(Message.class)); in verifySetUnsolResponseFilter() 212 nullable(Message.class)); in testSetUnsolResponseFilter_noReduandantCall() 217 nullable(Message.class)); in testSetUnsolResponseFilter_noReduandantCall() 221 nullable(Message.class)); in testSetUnsolResponseFilter_noReduandantCall() 231 eq(INDICATION_FILTERS_WHEN_SCREEN_ON), nullable(Message.class)); in testScreenOnOff() 238 eq(INDICATION_FILTERS_MINIMUM), nullable(Message.class)); in testScreenOnOff() 250 eq(INDICATION_FILTERS_WHEN_TETHERING_ON), nullable(Message.class)); in testTethering() 259 eq(INDICATION_FILTERS_MINIMUM), nullable(Message.class)); in testTethering() [all …]
|
D | PhoneSubInfoControllerTest.java | 25 import static org.mockito.ArgumentMatchers.nullable; 84 nullable(String.class)); in setUp() 136 nullable(String.class)); in testGetDeviceIdWithOutPermission() 158 nullable(String.class)); in testGetDeviceIdWithOutPermission() 220 nullable(String.class)); in testGetNaiWithOutPermission() 241 nullable(String.class)); in testGetNaiWithOutPermission() 303 nullable(String.class)); in testGetImeiWithOutPermission() 324 nullable(String.class)); in testGetImeiWithOutPermission() 380 nullable(String.class)); in testGetDeviceSvnWithOutPermission() 389 nullable(String.class)); in testGetDeviceSvnWithOutPermission() [all …]
|
D | TelephonyTest.java | 24 import static org.mockito.Matchers.nullable; 453 .makeServiceStateTracker(nullable(GsmCdmaPhone.class), in setUp() 454 nullable(CommandsInterface.class)); in setUp() 456 .makeEmergencyNumberTracker(nullable(Phone.class), in setUp() 457 nullable(CommandsInterface.class)); in setUp() 461 .makeUiccProfile(nullable(Context.class), nullable(CommandsInterface.class), in setUp() 462 nullable(IccCardStatus.class), anyInt(), nullable(UiccCard.class), in setUp() 463 nullable(Object.class)); in setUp() 465 .makeGsmCdmaCallTracker(nullable(GsmCdmaPhone.class)); in setUp() 467 .makeIccPhoneBookInterfaceManager(nullable(Phone.class)); in setUp() [all …]
|
D | GsmCdmaPhoneTest.java | 32 import static org.mockito.Matchers.nullable; 136 nullable(Object.class)); in setUp() 536 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf() 537 anyInt(), nullable(Message.class)); in testSendBurstDtmf() 542 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf() 543 anyInt(), nullable(Message.class)); in testSendBurstDtmf() 548 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf() 549 anyInt(), nullable(Message.class)); in testSendBurstDtmf() 554 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), in testSendBurstDtmf() 555 anyInt(), nullable(Message.class)); in testSendBurstDtmf() [all …]
|
D | MultiSimSettingControllerTest.java | 33 import static org.mockito.ArgumentMatchers.nullable; 127 .getActiveSubscriptionInfoList(anyString(), nullable(String.class)); in setUp() 170 nullable(String.class)); in testTestSubInfoChangeBeforeAllSubReady() 208 nullable(String.class)); in testSingleActiveDsds() 224 nullable(String.class)); in testSingleActiveDsds() 248 nullable(String.class)); in testActivatingSecondSub() 269 nullable(String.class)); in testActivatingSecondSub() 292 nullable(String.class)); in testActivatingSecondSub() 338 nullable(String.class)); in testSimpleDsds() 374 .getSubscriptionsInGroup(any(), anyString(), nullable(String.class)); in testDsdsGrouping() [all …]
|
D | TelephonyPermissionsTest.java | 25 import static org.mockito.ArgumentMatchers.nullable; 121 nullable(String.class))).thenReturn(AppOpsManager.MODE_ERRORED); in setUp() 123 nullable(String.class))).thenReturn(AppOpsManager.MODE_ERRORED); in setUp() 157 eq(FEATURE), nullable(String.class))).thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneState_hasPermissionAndAppOp() 199 eq(FEATURE), nullable(String.class))).thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneStateOnAnyActiveSub_hasPermissionAndAppOp() 239 eq(FEATURE), nullable(String.class))).thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneNumber_defaultSmsApp() 259 nullable(String.class))).thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneNumber_hasReadSms() 270 eq(FEATURE), nullable(String.class))).thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneNumber_hasReadPhoneNumbers() 286 eq(FEATURE), nullable(String.class))).thenReturn(AppOpsManager.MODE_ALLOWED); in testCheckReadPhoneNumber_hasReadSmsNoAppop() 400 eq(PACKAGE), eq(FEATURE), nullable(String.class))).thenReturn( in testCheckReadDeviceIdentifiers_hasAppOpNullSubscription()
|
D | ImsSmsDispatcherTest.java | 25 import static org.mockito.ArgumentMatchers.nullable; 88 nullable(String.class), eq(false), eq(pdu)); in testSendSms() 137 verify(mImsManager).sendSms(eq(token + 1), anyInt(), nullable(String.class), in testErrorImsRetry() 138 nullable(String.class), eq(true), byteCaptor.capture()); in testErrorImsRetry()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/ |
D | CdmaInboundSmsHandlerTest.java | 26 import static org.mockito.ArgumentMatchers.nullable; 136 .makeInboundSmsTracker(any(Context.class), nullable(byte[].class), anyLong(), in setUp() 138 anyBoolean(), nullable(String.class), nullable(String.class), in setUp() 139 nullable(String.class), anyBoolean(), anyInt()); in setUp() 141 .makeInboundSmsTracker(any(Context.class), nullable(byte[].class), anyLong(), in setUp() 143 nullable(String.class), nullable(String.class), anyInt(), anyInt(), in setUp() 144 anyInt(), anyBoolean(), nullable(String.class), anyBoolean(), anyInt()); in setUp() 146 .makeInboundSmsTracker(any(Context.class), nullable(Cursor.class), anyBoolean()); in setUp() 239 .makeInboundSmsTracker(any(Context.class), nullable(byte[].class), anyLong(), in testNewSmsFromBlockedNumber_noBroadcastsSent() 241 anyBoolean(), nullable(String.class), nullable(String.class), in testNewSmsFromBlockedNumber_noBroadcastsSent() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsManagerTest.java | 22 import static org.mockito.ArgumentMatchers.nullable; 100 anyString(), nullable(String.class)); in setUp() 150 nullable(String.class)); in testGetDefaultValues() 157 nullable(String.class)); in testGetDefaultValues() 165 nullable(String.class)); in testGetDefaultValues() 172 nullable(String.class)); in testGetDefaultValues() 179 nullable(String.class)); in testGetDefaultValues() 186 nullable(String.class)); in testGetDefaultValues() 325 nullable(String.class)); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState() 331 nullable(String.class)); in testSetWfcSetting_true_shouldSetWfcModeWrtRoamingState() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | AppOpsHelperTest.java | 34 import static org.mockito.ArgumentMatchers.nullable; 138 eq("myfeature"), nullable(String.class)); in testNoteLocationAccess() 143 eq("myfeature"), nullable(String.class)); in testNoteLocationAccess() 152 eq("myfeature"), nullable(String.class)); in testNoteLocationAccess() 157 eq("myfeature"), nullable(String.class)); in testNoteLocationAccess() 168 eq(false), eq("myfeature"), nullable(String.class)); in testStartLocationMonitoring() 173 eq(false), eq("myfeature"), nullable(String.class)); in testStartLocationMonitoring() 185 eq(false), eq("myfeature"), nullable(String.class)); in testStartHighPowerLocationMonitoring() 191 eq(false), eq("myfeature"), nullable(String.class)); in testStartHighPowerLocationMonitoring() 220 nullable(String.class)); in testNoteMockLocationAccess() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
D | SystemPropPokerTest.java | 21 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()
|
/frameworks/base/core/java/android/content/pm/ |
D | FileSystemControlParcel.aidl | 29 @nullable IncrementalFileSystemControlParcel incremental; 31 @nullable IIncrementalServiceConnector service; 33 @nullable IPackageInstallerSessionFileSystemConnector callback;
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | VisibilityLoggerMixinTest.java | 23 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()
|
/frameworks/native/libs/binder/include/binder/ |
D | Nullable.h | 35 using nullable = std::unique_ptr<T>; variable 38 inline nullable<T> make_nullable(Args&&... args) { in make_nullable()
|
/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 25 import static org.mockito.ArgumentMatchers.nullable; 120 .queryBroadcastReceiversAsUser(nullable(Intent.class), anyInt(), in setUp() 121 nullable(UserHandle.class)); in setUp() 124 .queryIntentActivitiesAsUser(nullable(Intent.class), anyInt(), in setUp() 125 nullable(UserHandle.class)); in setUp() 128 .queryIntentServicesAsUser(nullable(Intent.class), anyInt(), in setUp() 129 nullable(UserHandle.class)); in setUp() 169 isNull(), nullable(Handler.class)); in testPackageChanged()
|
/frameworks/base/core/java/android/service/autofill/augmented/ |
D | IFillCallback.aidl | 33 void onSuccess(in @nullable List<Dataset> inlineSuggestionsData, in onSuccess() 34 in @nullable Bundle clientState, in onSuccess()
|
/frameworks/native/libs/binder/aidl/android/os/ |
D | IServiceManager.aidl | 62 @nullable IBinder getService(@utf8InCpp String name); in getService() 70 @nullable IBinder checkService(@utf8InCpp String name); in checkService()
|
/frameworks/base/core/java/android/os/ |
D | IIncidentManager.aidl | 43 @nullable IIncidentReportStatusListener listener, in reportIncidentToStream() 53 @nullable IIncidentReportStatusListener listener); in reportIncidentToDumpstate()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/ |
D | PinnedSliceStateTest.java | 15 import static org.mockito.ArgumentMatchers.nullable; 113 verify(mIContentProvider).call(anyString(), nullable(String.class), anyString(), in testSendPinnedOnPin() 171 }).when(mIContentProvider).call(anyString(), nullable(String.class), anyString(), in testPinFailed() 180 verify(mIContentProvider).call(anyString(), nullable(String.class), anyString(), in testPinFailed()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiManagerTest.java | 53 import static org.mockito.ArgumentMatchers.nullable; 290 nullable(String.class), eq(null))).thenReturn(REQUEST_REGISTERED); in testCreationAndCloseOfLocalOnlyHotspotReservation() 312 nullable(String.class), eq(null))).thenReturn(REQUEST_REGISTERED); in testLocalOnlyHotspotReservationCallsStopProperlyInTryWithResources() 476 anyString(), nullable(String.class), eq(null)); in testStartLocalOnlyHotspot() 487 any(ILocalOnlyHotspotCallback.class), anyString(), nullable(String.class), in testStartLocalOnlyHotspotThrowsSecurityException() 500 any(ILocalOnlyHotspotCallback.class), anyString(), nullable(String.class), in testStartLocalOnlyHotspotThrowsIllegalStateException() 512 nullable(String.class), eq(null))).thenReturn(ERROR_INCOMPATIBLE_MODE); in testCorrectLooperIsUsedForHandler() 531 nullable(String.class), eq(null))).thenReturn(ERROR_INCOMPATIBLE_MODE); in testMainLooperIsUsedWhenHandlerNotProvided() 552 nullable(String.class), eq(null))).thenReturn(REQUEST_REGISTERED); in testOnStartedIsCalledWithReservation() 584 nullable(String.class), eq(null))).thenReturn(REQUEST_REGISTERED); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ISoundTriggerService.aidl | 59 @nullable SoundTrigger.ModuleProperties getModuleProperties(); in getModuleProperties() 66 @nullable SoundTrigger.ModelParamRange queryParameter(in ParcelUuid soundModelId, in queryParameter()
|