HomeSort by relevance Sort by last modified time
    Searched defs:nullable (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /system/security/keystore/
keystore_aidl_hidl_marshalling_utils.h 30 inline auto nullable(Fn fn, const android::Parcel& in, Args&&... args)
39 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { function in namespace:keystore
49 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { function in namespace:keystore
56 inline android::status_t nullable(android::Parcel* out) { function in namespace:keystore
  /packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/
ZonePickerTest.java 19 import static org.mockito.ArgumentMatchers.nullable;
62 nullable(LayoutInflater.class),
63 nullable(ViewGroup.class), method
64 nullable(Bundle.class)); method
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
FetchPackageStorageAsyncLoaderTest.java 20 import static org.mockito.ArgumentMatchers.nullable;
64 when(mSource.getStatsForPackage(nullable(String.class), nullable(String.class), method
  /external/guice/core/src/com/google/inject/spi/
Dependency.java 43 private final boolean nullable; field in class:Dependency
46 Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex) {
49 this.nullable = nullable;
55 * nullable.
83 return nullable;
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
SystemPropPokerTest.java 21 import static org.mockito.ArgumentMatchers.nullable;
56 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); method
63 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); method
71 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); method
75 .transact(anyInt(), any(Parcel.class), nullable(Parcel.class), anyInt()); method
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DeviceStateMonitorTest.java 24 import static org.mockito.Matchers.nullable;
88 nullable(Message.class)); method
97 nullable(Message.class)); method
100 eq(true), nullable(Message.class)); method
111 eq(true), nullable(Message.class)); method
119 nullable(Message.class)); method
122 eq(true), nullable(Message.class)); method
125 eq(false), nullable(Message.class)); method
WapPushOverSmsTest.java 21 import static org.mockito.Matchers.nullable;
93 nullable(Bundle.class), method
  /cts/tools/dasm/src/java_cup/
non_terminal.java 137 /* only look at things that aren't already marked nullable */
138 if (!nt.nullable())
236 public boolean nullable() {return _nullable;} method in class:non_terminal
258 /** Test to see if this non terminal currently looks nullable. */
261 /* look and see if any of the productions now look nullable */
263 /* if the production can go to empty, we are nullable */
267 /* none of the productions can go to empty, so we are not nullable */
276 return super.toString() + "[" + index() + "]" + (nullable() ? "*" : "");
  /external/clang/test/SemaCXX/
nullability.cpp 72 // Check different forms of assignment to a nonull type from a nullable one.
74 void *_Nullable nullable; local
75 void *_Nonnull p(nullable); // expected-warning{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable pointer type 'void * _Nonnull'}}
76 void *_Nonnull p2{nullable}; // expected-warning{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable pointer type 'void * _Nonnull'}}
77 void *_Nonnull p3 = {nullable}; // expected-warning{{implicit conversion from nullable pointer 'void * _Nullable' to non-nullable pointer type 'void * _Nonnull'}
    [all...]
  /external/wayland/src/
wayland-private.h 156 int nullable; member in struct:argument_details
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
ConnectivityPreferenceControllerTest.java 21 import static org.mockito.ArgumentMatchers.nullable;
73 anyString(), nullable(Handler.class)); method
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
CopyAccountToUserTaskTest.java 24 import static org.mockito.Matchers.nullable;
75 nullable(AccountManagerCallback.class), method
76 nullable(Handler.class))).thenReturn(mAccountManagerFuture);
95 nullable(AccountManagerCallback.class), method
96 nullable(Handler.class)); method
119 nullable(AccountManagerCallback.class), method
120 nullable(Handler.class)); method
DownloadPackageTaskTest.java 28 import static org.mockito.Matchers.nullable;
205 nullable(String.class), method
  /packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
RemoveAccountPreferenceControllerTest.java 19 import static org.mockito.ArgumentMatchers.nullable;
171 verify(mAccountManager).removeAccountAsUser(eq(account), nullable(Activity.class), method
172 nullable(AccountManagerCallback.class), nullable(Handler.class), eq(userHandle)); method
  /packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/
FingerprintEnrollEnrollingTest.java 21 import static org.mockito.ArgumentMatchers.nullable;
107 nullable(String.class), method
109 nullable(AudioAttributes.class)); method
  /packages/apps/Settings/tests/robotests/src/com/android/settings/network/
PrivateDnsPreferenceControllerTest.java 28 import static org.mockito.ArgumentMatchers.nullable;
117 mCallbackCaptor.capture(), nullable(Handler.class)); method
  /packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
WifiScanningRequiredFragmentTest.java 23 import static org.mockito.ArgumentMatchers.nullable;
101 .setNeutralButton(anyInt(), nullable(DialogInterface.OnClickListener.class)); method
106 .setNeutralButton(anyInt(), nullable(DialogInterface.OnClickListener.class)); method
  /cts/tests/admin/src/android/admin/cts/
DeviceAdminActivationTest.java 180 Mockito.nullable(Intent.class));
189 Mockito.nullable(Intent.class));
  /external/mockito/src/main/java/org/mockito/
ArgumentMatchers.java 181 * As reference are nullable, the suggested API to <strong>match</strong> <code>null</code>
268 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
291 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
314 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
337 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
360 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
383 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
406 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
429 * As primitive wrappers are nullable, the suggested API to <strong>match</strong> <code>null</code> wrapper
452 * As this is a nullable reference, the suggested API to <strong>match</strong> <code>null</code> wrappe
1090 public static <T> T nullable(Class<T> clazz) { method in class:ArgumentMatchers
    [all...]
  /frameworks/base/core/tests/coretests/src/com/android/internal/app/
IntentForwarderActivityTest.java 19 import android.annotation.Nullable;
53 import static org.mockito.ArgumentMatchers.nullable;
104 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(true); method
137 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(false); method
180 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(true); method
222 any(Intent.class), nullable(String.class), anyInt(), anyInt())).thenReturn(true); method
237 intentCaptor.capture(), nullable(String.class), anyInt(), anyInt()); method
261 public void onCreate(@Nullable Bundle savedInstanceState) {
272 public void startActivityAsCaller(Intent intent, @Nullable Bundle options, boolean
  /frameworks/base/services/tests/servicestests/src/com/android/server/am/
ActivityStartInterceptorTest.java 27 import static org.mockito.ArgumentMatchers.nullable;
125 nullable(CharSequence.class), nullable(CharSequence.class), eq(TEST_USER_ID))). method
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GsmCellBroadcastHandlerTest.java 22 import static org.mockito.Matchers.nullable;
123 nullable(BroadcastReceiver.class), any(Handler.class), eq(Activity.RESULT_OK), method
  /frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
GuidedStepFragmentTest.java 24 import static org.mockito.ArgumentMatchers.nullable;
74 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
92 verify(first, times(1)).onCreate(nullable(Bundle.class));
93 verify(first, times(1)).onCreateGuidance(nullable(Bundle.class));
94 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method
95 verify(first, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method
97 nullable(Bundle.class), any(View.class)); method
98 verify(first, times(1)).onViewStateRestored(nullable(Bundle.class));
109 verify(second, times(1)).onCreate(nullable(Bundle.class));
110 verify(second, times(1)).onCreateGuidance(nullable(Bundle.class))
111 verify(second, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method
112 verify(second, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method
113 verify(second, times(1)).onCreateView(any(LayoutInflater.class), nullable(ViewGroup.class), method
114 nullable(Bundle.class), any(View.class)); method
126 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method
128 nullable(Bundle.class), any(View.class)); method
155 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
186 nullable(Bundle.class), any(View.class)); method
190 nullable(Bundle.class), any(View.class)); method
202 verify(first, times(2)).onCreateActions(any(List.class), nullable(Bundle.class)); method
204 nullable(Bundle.class), any(View.class)); method
219 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
253 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
296 nullable(Bundle.class), any(View.class)); method
308 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
357 nullable(Bundle.class), any(View.class)); method
364 nullable(Bundle.class), any(View.class)); method
390 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
442 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
450 }).when(first).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method
472 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
    [all...]
GuidedStepSupportFragmentTest.java 21 import static org.mockito.ArgumentMatchers.nullable;
71 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
89 verify(first, times(1)).onCreate(nullable(Bundle.class));
90 verify(first, times(1)).onCreateGuidance(nullable(Bundle.class));
91 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method
92 verify(first, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method
94 nullable(Bundle.class), any(View.class)); method
95 verify(first, times(1)).onViewStateRestored(nullable(Bundle.class));
106 verify(second, times(1)).onCreate(nullable(Bundle.class));
107 verify(second, times(1)).onCreateGuidance(nullable(Bundle.class))
108 verify(second, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method
109 verify(second, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method
110 verify(second, times(1)).onCreateView(any(LayoutInflater.class), nullable(ViewGroup.class), method
111 nullable(Bundle.class), any(View.class)); method
123 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method
125 nullable(Bundle.class), any(View.class)); method
152 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
183 nullable(Bundle.class), any(View.class)); method
187 nullable(Bundle.class), any(View.class)); method
199 verify(first, times(2)).onCreateActions(any(List.class), nullable(Bundle.class)); method
201 nullable(Bundle.class), any(View.class)); method
216 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
250 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
293 nullable(Bundle.class), any(View.class)); method
305 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
354 nullable(Bundle.class), any(View.class)); method
361 nullable(Bundle.class), any(View.class)); method
387 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
439 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
447 }).when(first).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method
469 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method
    [all...]
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
NonRequiredAppsLogicTest.java 25 import static org.mockito.ArgumentMatchers.nullable;
85 when(mUtils.findDeviceAdmin(nullable(String.class), nullable(ComponentName.class), method

Completed in 460 milliseconds

1 2 3 4 5