/external/clang/test/Analysis/Inputs/ |
system-header-simulator-for-nullability.h | 20 - (id)copyWithZone:(nullable NSZone *)zone; 24 - (id)mutableCopyWithZone:(nullable NSZone *)zone;
|
/external/protobuf/objectivec/ |
GPBUnknownFieldSet.h | 52 - (nullable GPBUnknownField *)getField:(int32_t)number;
|
GPBDictionary.h | 66 - (BOOL)valueForKey:(uint32_t)key value:(nullable uint32_t *)value; 101 - (BOOL)valueForKey:(uint32_t)key value:(nullable int32_t *)value; 136 - (BOOL)valueForKey:(uint32_t)key value:(nullable uint64_t *)value; 171 - (BOOL)valueForKey:(uint32_t)key value:(nullable int64_t *)value; 206 - (BOOL)valueForKey:(uint32_t)key value:(nullable BOOL *)value; 241 - (BOOL)valueForKey:(uint32_t)key value:(nullable float *)value; 276 - (BOOL)valueForKey:(uint32_t)key value:(nullable double *)value; 298 + (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func; 299 + (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)func 302 + (instancetype)dictionaryWithValidationFunction:(nullable GPBEnumValidationFunc)fun [all...] |
/external/clang/test/SemaObjCXX/Inputs/ |
nullability-pragmas-generics-1.h | 13 - (nullable T)maybeTee;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
PremiumSmsAccessTest.java | 19 import static org.mockito.ArgumentMatchers.nullable; 63 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class), 68 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class), 73 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class),
|
VrListenerSettingsTest.java | 19 import static org.mockito.ArgumentMatchers.nullable; 59 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class), 63 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class),
|
WriteSettingsDetailsTest.java | 19 import static org.mockito.ArgumentMatchers.nullable; 59 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class), 64 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class),
|
UsageAccessDetailsTest.java | 19 import static org.mockito.ArgumentMatchers.nullable; 61 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class), 65 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
NotificationAccessSettingsTest.java | 19 import static org.mockito.ArgumentMatchers.nullable; 59 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class), 64 verify(mFeatureFactory.metricsFeatureProvider).action(nullable(Context.class),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
StorageSettingsTest.java | 20 import static org.mockito.ArgumentMatchers.nullable; 81 nullable(StorageStatsManager.class), nullable(VolumeInfo.class))) 84 nullable(StorageStatsManager.class), nullable(VolumeInfo.class)))
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaPhoneTest.java | 28 import static org.mockito.Matchers.nullable; 126 nullable(Object.class)); method 319 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), 320 anyInt(), nullable(Message.class)); method 325 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), 326 anyInt(), nullable(Message.class)); method 331 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), 332 anyInt(), nullable(Message.class)); method 337 verify(mSimulatedCommandsVerifier, times(0)).sendBurstDtmf(nullable(String.class), anyInt(), 338 anyInt(), nullable(Message.class)) method 364 nullable(Message.class)); method 464 anyInt(), anyInt(), nullable(String.class), nullable(Message.class)); method 471 eq(CF_REASON_UNCONDITIONAL), anyInt(), nullable(String.class), method 472 nullable(Message.class)); method 475 nullable(String.class)); method 499 nullable(String.class), anyInt(), nullable(Message.class)); method 506 nullable(Message.class)); method 526 nullable(Message.class)); method 531 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); method 536 nullable(String.class)); method 550 nullable(Message.class)); method 557 eq(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA), nullable(Message.class)); method 562 nullable(String.class)); method 574 nullable(Object.class)); method 576 anyInt(), nullable(Object.class)); method 661 nullable(Object.class)); method 663 anyInt(), nullable(Object.class)); method [all...] |
/frameworks/base/core/java/android/view/autofill/ |
IAutoFillManagerClient.aidl | 55 void setTrackedViews(int sessionId, in @nullable AutofillId[] savableIds, 56 boolean saveOnAllViewsInvisible, in @nullable AutofillId[] fillableIds);
|
/system/security/keystore/ |
keystore_aidl_hidl_marshalling_utils.h | 28 inline auto nullable(Fn fn, const android::Parcel& in, Args&&... args) 37 inline android::status_t nullable(Fn fn, const NullOr<Arg>& arg, android::Parcel* out) { function in namespace:keystore 47 inline android::status_t nullable(Fn fn, Arg&& arg, android::Parcel* out) { function in namespace:keystore 54 inline android::status_t nullable(android::Parcel* out) { function in namespace:keystore
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
AdvancedPowerUsageDetailTest.java | 21 import static org.mockito.ArgumentMatchers.nullable; 157 doReturn(APP_LABEL).when(mBundle).getString(nullable(String.class)); 163 .setRecyclerView(nullable(RecyclerView.class), nullable(Lifecycle.class)); method 167 .setIcon(nullable(Drawable.class)); 168 doReturn(mEntityHeaderController).when(mEntityHeaderController).setIcon(nullable( 171 .setLabel(nullable(String.class)); 173 .setLabel(nullable(String.class)); 175 .setLabel(nullable(ApplicationsState.AppEntry.class)); 177 .setSummary(nullable(String.class)) 213 nullable(Fragment.class), nullable(String.class), captor.capture(), anyInt(), method 214 nullable(CharSequence.class), nullable(UserHandle.class)); method 348 nullable(Fragment.class), nullable(String.class), nullable(Bundle.class), anyInt(), method 349 nullable(CharSequence.class), eq(new UserHandle(10))); method 360 nullable(String.class), captor.capture(), anyInt(), nullable(CharSequence.class), method 361 nullable(UserHandle.class)); method [all...] |
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
Decoder.java | 288 public Decoder readPointer(int offset, boolean nullable) { 292 if (!nullable) { 294 "Trying to decode null pointer for a non-nullable type."); 421 public Handle readHandle(int offset, boolean nullable) { 424 if (!nullable) { 426 "Trying to decode an invalid handle for a non-nullable type."); 437 public UntypedHandle readUntypedHandle(int offset, boolean nullable) { 438 return readHandle(offset, nullable).toUntypedHandle(); 444 public DataPipe.ConsumerHandle readConsumerHandle(int offset, boolean nullable) { 445 return readUntypedHandle(offset, nullable).toDataPipeConsumerHandle() [all...] |
Encoder.java | 212 public void encode(Struct v, int offset, boolean nullable) { 214 encodeNullPointer(offset, nullable); 224 public void encode(Union v, int offset, boolean nullable) { 225 if (v == null && !nullable) { 227 "Trying to encode a null pointer for a non-nullable type."); 240 public void encode(String v, int offset, boolean nullable) { 242 encodeNullPointer(offset, nullable); 245 final int arrayNullability = nullable 254 public void encode(Handle v, int offset, boolean nullable) { 256 encodeInvalidHandle(offset, nullable); 280 encode(handler.passHandle(), offset, nullable); local 303 encode(v.passHandle(), offset, nullable); local [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
GuidedStepFragmentTest.java | 21 import static org.mockito.ArgumentMatchers.nullable; 66 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 84 verify(first, times(1)).onCreate(nullable(Bundle.class)); 85 verify(first, times(1)).onCreateGuidance(nullable(Bundle.class)); 86 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method 87 verify(first, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method 89 nullable(Bundle.class), any(View.class)); method 90 verify(first, times(1)).onViewStateRestored(nullable(Bundle.class)); 101 verify(second, times(1)).onCreate(nullable(Bundle.class)); 102 verify(second, times(1)).onCreateGuidance(nullable(Bundle.class)) 103 verify(second, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method 104 verify(second, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method 105 verify(second, times(1)).onCreateView(any(LayoutInflater.class), nullable(ViewGroup.class), method 106 nullable(Bundle.class), any(View.class)); method 118 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method 120 nullable(Bundle.class), any(View.class)); method 147 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 178 nullable(Bundle.class), any(View.class)); method 182 nullable(Bundle.class), any(View.class)); method 194 verify(first, times(2)).onCreateActions(any(List.class), nullable(Bundle.class)); method 196 nullable(Bundle.class), any(View.class)); method 211 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 245 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 288 nullable(Bundle.class), any(View.class)); method 300 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 349 nullable(Bundle.class), any(View.class)); method 356 nullable(Bundle.class), any(View.class)); method 382 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 434 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 442 }).when(first).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method [all...] |
GuidedStepSupportFragmentTest.java | 24 import static org.mockito.ArgumentMatchers.nullable; 69 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 87 verify(first, times(1)).onCreate(nullable(Bundle.class)); 88 verify(first, times(1)).onCreateGuidance(nullable(Bundle.class)); 89 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method 90 verify(first, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method 92 nullable(Bundle.class), any(View.class)); method 93 verify(first, times(1)).onViewStateRestored(nullable(Bundle.class)); 104 verify(second, times(1)).onCreate(nullable(Bundle.class)); 105 verify(second, times(1)).onCreateGuidance(nullable(Bundle.class)) 106 verify(second, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method 107 verify(second, times(1)).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method 108 verify(second, times(1)).onCreateView(any(LayoutInflater.class), nullable(ViewGroup.class), method 109 nullable(Bundle.class), any(View.class)); method 121 verify(first, times(1)).onCreateActions(any(List.class), nullable(Bundle.class)); method 123 nullable(Bundle.class), any(View.class)); method 150 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 181 nullable(Bundle.class), any(View.class)); method 185 nullable(Bundle.class), any(View.class)); method 197 verify(first, times(2)).onCreateActions(any(List.class), nullable(Bundle.class)); method 199 nullable(Bundle.class), any(View.class)); method 214 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 248 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 291 nullable(Bundle.class), any(View.class)); method 303 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 352 nullable(Bundle.class), any(View.class)); method 359 nullable(Bundle.class), any(View.class)); method 385 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 437 }).when(first).onCreateActions(any(List.class), nullable(Bundle.class)); method 445 }).when(first).onCreateButtonActions(any(List.class), nullable(Bundle.class)); method [all...] |
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/ |
AutomaticStorageManagementJobServiceTest.java | 66 import static org.mockito.Mockito.nullable; 107 nullable(StorageStatsManager.class), eq(mVolumeInfo))) 110 nullable(StorageStatsManager.class), eq(mVolumeInfo))) 125 nullable(Context.class), nullable(JobParameters.class), anyInt())) method 183 nullable(StorageStatsManager.class), eq(mVolumeInfo))) 193 nullable(StorageStatsManager.class), eq(mVolumeInfo))) 199 nullable(StorageStatsManager.class), eq(mVolumeInfo))) 223 nullable(StorageStatsManager.class), eq(nonPrivateVolume))) 226 nullable(StorageStatsManager.class), eq(nonPrivateVolume)) [all...] |
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/ |
InitCallbackTest.java | 18 import static org.mockito.ArgumentMatchers.nullable; 72 verify(initCallback1, times(1)).onFailed(nullable(Throwable.class)); 73 verify(initCallback2, times(1)).onFailed(nullable(Throwable.class)); 92 verify(initCallback, times(1)).onFailed(nullable(Throwable.class)); 111 verify(initCallback, times(1)).onFailed(nullable(Throwable.class)); 148 verify(callbackConfigUnregister, times(0)).onFailed(nullable(Throwable.class)); 149 verify(callback, times(1)).onFailed(nullable(Throwable.class)); 150 verify(callbackConfig, times(1)).onFailed(nullable(Throwable.class));
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
SavedQueryViewHolderTest.java | 20 import static org.mockito.ArgumentMatchers.nullable; 68 verify(mSearchFragment).onSavedQueryClicked(nullable(CharSequence.class));
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
DashboardFragmentTest.java | 20 import static org.mockito.ArgumentMatchers.nullable; 83 nullable(Context.class), eq(mTestFragment), nullable(Bundle.class))) 86 .getTilesForCategory(nullable(String.class))) 106 .getTilesForCategory(nullable(String.class))) 109 .getDashboardKeyForTile(nullable(Tile.class))) 113 verify(mDisclosureMixin).addPreference(nullable(PreferenceScreen.class), 114 nullable(Preference.class)); method 121 verify(mTestFragment.mScreen, never()).addPreference(nullable(Preference.class)); 129 verify(mTestFragment.mScreen, never()).addPreference(nullable(Preference.class)) [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CallScreeningServiceFilterTest.java | 51 import static org.mockito.ArgumentMatchers.nullable; 114 when(mPackageManager.queryIntentServicesAsUser(nullable(Intent.class), anyInt(), anyInt())) 118 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), method 132 when(mPackageManager.queryIntentServicesAsUser(nullable(Intent.class), anyInt(), anyInt())) 154 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), method 163 nullable(ICallScreeningAdapter.class), nullable(ParcelableCall.class)); method 218 verify(mCallScreeningService).screenCall(captor.capture(), nullable(ParcelableCall.class)) method [all...] |
/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
|
/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() ? "*" : "");
|