/frameworks/base/core/java/android/os/ |
D | Bundle.java | 19 import android.annotation.Nullable; 441 public void putByte(@Nullable String key, byte value) { in putByte() 453 public void putChar(@Nullable String key, char value) { in putChar() 465 public void putShort(@Nullable String key, short value) { in putShort() 477 public void putFloat(@Nullable String key, float value) { in putFloat() 489 public void putCharSequence(@Nullable String key, @Nullable CharSequence value) { in putCharSequence() 500 public void putParcelable(@Nullable String key, @Nullable Parcelable value) { in putParcelable() 513 public void putSize(@Nullable String key, @Nullable Size value) { in putSize() 525 public void putSizeF(@Nullable String key, @Nullable SizeF value) { in putSizeF() 538 public void putParcelableArray(@Nullable String key, @Nullable Parcelable[] value) { in putParcelableArray() [all …]
|
D | BaseBundle.java | 20 import android.annotation.Nullable; 116 BaseBundle(@Nullable ClassLoader loader, int capacity) { in BaseBundle() 514 @Nullable 568 public void putBoolean(@Nullable String key, boolean value) { in putBoolean() 580 void putByte(@Nullable String key, byte value) { in putByte() 592 void putChar(@Nullable String key, char value) { in putChar() 604 void putShort(@Nullable String key, short value) { in putShort() 616 public void putInt(@Nullable String key, int value) { in putInt() 628 public void putLong(@Nullable String key, long value) { in putLong() 640 void putFloat(@Nullable String key, float value) { in putFloat() [all …]
|
D | IBinder.java | 20 import android.annotation.Nullable; 180 public @Nullable String getInterfaceDescriptor() throws RemoteException; in getInterfaceDescriptor() 206 public @Nullable IInterface queryLocalInterface(@NonNull String descriptor); in queryLocalInterface() 214 public void dump(@NonNull FileDescriptor fd, @Nullable String[] args) throws RemoteException; in dump() 224 public void dumpAsync(@NonNull FileDescriptor fd, @Nullable String[] args) in dumpAsync() 239 public void shellCommand(@Nullable FileDescriptor in, @Nullable FileDescriptor out, in shellCommand() 240 @Nullable FileDescriptor err, in shellCommand() 241 @NonNull String[] args, @Nullable ShellCallback shellCallback, in shellCommand() 262 public boolean transact(int code, @NonNull Parcel data, @Nullable Parcel reply, int flags) in transact()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | WorkManagerInitializer.java | 24 import android.support.annotation.Nullable; 44 @Nullable 47 @Nullable String[] projection, in query() 48 @Nullable String selection, in query() 49 @Nullable String[] selectionArgs, in query() 50 @Nullable String sortOrder) { in query() 54 @Nullable 60 @Nullable 62 public Uri insert(@NonNull Uri uri, @Nullable ContentValues values) { in insert() 68 @Nullable String selection, in delete() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassification.java | 23 import android.annotation.Nullable; 122 @Nullable private final Drawable mLegacyIcon; 123 @Nullable private final String mLegacyLabel; 124 @Nullable private final Intent mLegacyIntent; 125 @Nullable private final OnClickListener mLegacyOnClickListener; 128 @Nullable private final String mId; 131 @Nullable String text, in TextClassification() 132 @Nullable Drawable legacyIcon, in TextClassification() 133 @Nullable String legacyLabel, in TextClassification() 134 @Nullable Intent legacyIntent, in TextClassification() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 20 import android.annotation.Nullable; 133 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty() 140 public static boolean isEmpty(@Nullable Map<?, ?> map) { in isEmpty() 147 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty() 154 public static boolean isEmpty(@Nullable int[] array) { in isEmpty() 161 public static boolean isEmpty(@Nullable long[] array) { in isEmpty() 168 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty() 175 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty() 182 public static int size(@Nullable Object[] array) { in size() 189 public static int size(@Nullable Collection<?> collection) { in size() [all …]
|
D | CollectionUtils.java | 20 import android.annotation.Nullable; 50 public static @NonNull <T> List<T> filter(@Nullable List<T> list, in filter() 65 public static @NonNull <T> Set<T> filter(@Nullable Set<T> set, in filter() 89 public static <T> void addIf(@Nullable List<T> source, @NonNull Collection<? super T> dest, in addIf() 90 @Nullable Predicate<? super T> predicate) { in addIf() 108 public static @NonNull <I, O> List<O> map(@Nullable List<I> cur, in map() 121 public static @NonNull <I, O> Set<O> map(@Nullable Set<I> cur, in map() 150 public static @NonNull <I, O> List<O> mapNotNull(@Nullable List<I> cur, in mapNotNull() 170 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull() 181 public static @NonNull <T> Set<T> emptyIfNull(@Nullable Set<T> cur) { in emptyIfNull() [all …]
|
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/ |
D | TextClassification.java | 30 import androidx.annotation.Nullable; 77 @Nullable private final String mText; 78 @Nullable private final Drawable mPrimaryIcon; 79 @Nullable private final String mPrimaryLabel; 80 @Nullable private final Intent mPrimaryIntent; 88 @Nullable String text, in TextClassification() 89 @Nullable Drawable primaryIcon, in TextClassification() 90 @Nullable String primaryLabel, in TextClassification() 91 @Nullable Intent primaryIntent, in TextClassification() 113 @Nullable [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderClient.java | 20 import android.annotation.Nullable; 133 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, in query() 134 @Nullable String selection, @Nullable String[] selectionArgs, in query() 135 @Nullable String sortOrder) throws RemoteException { in query() 140 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query() 141 @Nullable String selection, @Nullable String[] selectionArgs, in query() 142 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) in query() 150 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query() 151 Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query() 180 public @Nullable String getType(@NonNull Uri url) throws RemoteException { in getType() [all …]
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
D | Person.java | 22 import androidx.annotation.Nullable; 53 @Nullable private CharSequence mName; 54 @Nullable private IconCompat mIcon; 55 @Nullable private String mUri; 56 @Nullable private String mKey; 93 @Nullable 99 @Nullable 117 @Nullable 126 @Nullable 149 @Nullable private CharSequence mName; [all …]
|
/frameworks/base/core/java/android/app/ |
D | Person.java | 20 import android.annotation.Nullable; 31 @Nullable private CharSequence mName; 32 @Nullable private Icon mIcon; 33 @Nullable private String mUri; 34 @Nullable private String mKey; 66 @Nullable 74 @Nullable 82 @Nullable 90 @Nullable 145 @Nullable private CharSequence mName; [all …]
|
/frameworks/support/paging/common/src/main/java/androidx/paging/ |
D | PageKeyedDataSource.java | 21 import androidx.annotation.Nullable; 47 @Nullable 51 @Nullable 55 private void initKeys(@Nullable Key previousKey, @Nullable Key nextKey) { in initKeys() 62 private void setPreviousKey(@Nullable Key previousKey) { in setPreviousKey() 68 private void setNextKey(@Nullable Key nextKey) { in setNextKey() 74 private @Nullable Key getPreviousKey() { in getPreviousKey() 80 private @Nullable Key getNextKey() { in getNextKey() 185 @Nullable Key previousPageKey, @Nullable Key nextPageKey); in onResult() 202 public abstract void onResult(@NonNull List<Value> data, @Nullable Key previousPageKey, in onResult() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaBrowser2.java | 21 import android.annotation.Nullable; 55 public void onGetLibraryRootDone(@NonNull MediaBrowser2 browser, @Nullable Bundle rootHints, in onGetLibraryRootDone() 56 @Nullable String rootMediaId, @Nullable Bundle rootExtra) { } in onGetLibraryRootDone() 72 int itemCount, @Nullable Bundle extras) { } in onChildrenChanged() 88 int page, int pageSize, @Nullable List<MediaItem2> result, in onGetChildrenDone() 89 @Nullable Bundle extras) { } in onGetChildrenDone() 102 @Nullable MediaItem2 result) { } in onGetItemDone() 114 int itemCount, @Nullable Bundle extras) { } in onSearchResultChanged() 133 int page, int pageSize, @Nullable List<MediaItem2> result, in onGetSearchResultDone() 134 @Nullable Bundle extras) { } in onGetSearchResultDone() [all …]
|
D | MediaDescription.java | 3 import android.annotation.Nullable; 138 public @Nullable String getMediaId() { in getMediaId() 147 public @Nullable CharSequence getTitle() { in getTitle() 156 public @Nullable CharSequence getSubtitle() { in getSubtitle() 165 public @Nullable CharSequence getDescription() { in getDescription() 174 public @Nullable Bitmap getIconBitmap() { in getIconBitmap() 183 public @Nullable Uri getIconUri() { in getIconUri() 192 public @Nullable Bundle getExtras() { in getExtras() 201 public @Nullable Uri getMediaUri() { in getMediaUri() 292 public Builder setMediaId(@Nullable String mediaId) { in setMediaId() [all …]
|
D | MediaSession2.java | 24 import android.annotation.Nullable; 182 @Nullable DataSourceDesc onDataSourceMissing(@NonNull MediaSession2 session, in onDataSourceMissing() 206 public @Nullable SessionCommandGroup2 onConnect(@NonNull MediaSession2 session, in onConnect() 279 @Nullable Bundle args, @Nullable ResultReceiver cb) { } in onCustomCommand() 293 @Nullable Bundle extras) { } in onPlayFromMediaId() 310 @Nullable Bundle extras) { } in onPlayFromSearch() 324 @Nullable Bundle extras) { } in onPlayFromUri() 348 @Nullable Bundle extras) { } in onPrepareFromMediaId() 372 @Nullable Bundle extras) { } in onPrepareFromSearch() 395 @NonNull ControllerInfo controller, @NonNull Uri uri, @Nullable Bundle extras) { } in onPrepareFromUri() [all …]
|
/frameworks/support/compat/src/main/java/androidx/core/view/inputmethod/ |
D | InputContentInfoCompat.java | 25 import androidx.annotation.Nullable; 41 @Nullable 44 @Nullable 58 @Nullable 62 @NonNull ClipDescription description, @Nullable Uri linkUri) { in InputContentInfoCompatBaseImpl() 80 @Nullable 86 @Nullable 114 @NonNull ClipDescription description, @Nullable Uri linkUri) { in InputContentInfoCompatApi25Impl() 131 @Nullable 137 @Nullable [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDeviceRecord.java | 19 import android.annotation.Nullable; 25 public final @Nullable String deviceKey; 28 public final @Nullable int[] operationsSupported; 29 public final @Nullable int[] eventsSupported; 31 MtpDeviceRecord(int deviceId, String name, @Nullable String deviceKey, boolean opened, in MtpDeviceRecord() 32 MtpRoot[] roots, @Nullable int[] operationsSupported, in MtpDeviceRecord() 33 @Nullable int[] eventsSupported) { in MtpDeviceRecord() 46 static boolean isSupported(@Nullable int[] supportedList, int code) { in isSupported() 58 static boolean isPartialReadSupported(@Nullable int[] supportedList, long fileSize) { in isPartialReadSupported() 70 static boolean isWritingSupported(@Nullable int[] supportedList) { in isWritingSupported()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaController2.java | 33 import androidx.annotation.Nullable; 218 public void playFromMediaId(@NonNull String mediaId, @Nullable Bundle extras) { in playFromMediaId() 228 public void playFromSearch(@NonNull String query, @Nullable Bundle extras) { in playFromSearch() 239 public void playFromUri(@NonNull Uri uri, @Nullable Bundle extras) { in playFromUri() 255 public void prepareFromMediaId(@NonNull String mediaId, @Nullable Bundle extras) { in prepareFromMediaId() 271 public void prepareFromSearch(@NonNull String query, @Nullable Bundle extras) { in prepareFromSearch() 287 public void prepareFromUri(@NonNull Uri uri, @Nullable Bundle extras) { in prepareFromUri() 339 public @Nullable PendingIntent getSessionActivity() { in getSessionActivity() 418 public @Nullable PlaybackInfo getPlaybackInfo() { in getPlaybackInfo() 445 public void sendCustomCommand(@NonNull SessionCommand2 command, @Nullable Bundle args, in sendCustomCommand() [all …]
|
D | MediaSession2.java | 37 import androidx.annotation.Nullable; 193 @Nullable MediaPlaylistAgent playlistAgent, in updatePlayer() 194 @Nullable VolumeProviderCompat volumeProvider) { in updatePlayer() 224 public @Nullable VolumeProviderCompat getVolumeProvider() { in getVolumeProvider() 261 public void setAudioFocusRequest(@Nullable AudioFocusRequest afr) { in setAudioFocusRequest() 307 public void sendCustomCommand(@NonNull SessionCommand2 command, @Nullable Bundle args) { in sendCustomCommand() 319 @NonNull SessionCommand2 command, @Nullable Bundle args, in sendCustomCommand() 320 @Nullable ResultReceiver receiver) { in sendCustomCommand() 403 public void notifyError(@ErrorCode int errorCode, @Nullable Bundle extras) { in notifyError() 415 @Nullable List<Bundle> routes) { in notifyRoutesInfoChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerInternal.java | 20 import android.annotation.Nullable; 76 int callingUid, int userId, @Nullable PermissionCallback callback); in grantRuntimePermission() 79 @Nullable PermissionCallback callback); in grantRuntimePermissionsGrantedToDisabledPackage() 83 @Nullable PermissionCallback callback); in grantRequestedRuntimePermissions() 86 @Nullable PermissionCallback callback); in revokeRuntimePermission() 88 public abstract void updatePermissions(@Nullable String packageName, in updatePermissions() 89 @Nullable PackageParser.Package pkg, boolean replaceGrant, in updatePermissions() 91 public abstract void updateAllPermissions(@Nullable String volumeUuid, boolean sdkUpdated, in updateAllPermissions() 120 int callingUid, @Nullable PermissionCallback callback); in addDynamicPermission() 122 @Nullable PermissionCallback callback); in removeDynamicPermission() [all …]
|
/frameworks/base/core/java/android/service/autofill/ |
D | FillEventHistory.java | 23 import android.annotation.Nullable; 70 @Nullable private final Bundle mClientState; 71 @Nullable List<Event> mEvents; 88 @Nullable public Bundle getClientState() { in getClientState() 98 @Nullable public List<Event> getEvents() { in getEvents() 115 public FillEventHistory(int sessionId, @Nullable Bundle clientState) { in FillEventHistory() 239 @Nullable private final String mDatasetId; 240 @Nullable private final Bundle mClientState; 244 @Nullable private final List<String> mSelectedDatasetIds; 245 @Nullable private final ArraySet<String> mIgnoredDatasetIds; [all …]
|
/frameworks/support/documentfile/src/main/java/androidx/documentfile/provider/ |
D | DocumentFile.java | 27 import androidx.annotation.Nullable; 85 @Nullable 88 DocumentFile(@Nullable DocumentFile parent) { in DocumentFile() 115 @Nullable 133 @Nullable 148 public static boolean isDocumentUri(@NonNull Context context, @Nullable Uri uri) { in isDocumentUri() 170 @Nullable 183 @Nullable 207 @Nullable 215 @Nullable [all …]
|
/frameworks/support/slices/core/src/main/java/androidx/slice/ |
D | SliceProvider.java | 46 import androidx.annotation.Nullable; 325 @Nullable 327 public final Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query() 328 @Nullable String selection, @Nullable String[] selectionArgs, in query() 329 @Nullable String sortOrder) { in query() 333 @Nullable 336 public final Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query() 337 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) { in query() 341 @Nullable 344 public final Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query() [all …]
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierIdentifier.java | 19 import android.annotation.Nullable; 48 private @Nullable String mSpn; 49 private @Nullable String mImsi; 50 private @Nullable String mGid1; 51 private @Nullable String mGid2; 53 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() 54 @Nullable String gid1, @Nullable String gid2) { in CarrierIdentifier() 71 public CarrierIdentifier(byte[] mccMnc, @Nullable String gid1, @Nullable String gid2) { in CarrierIdentifier() 105 @Nullable 111 @Nullable [all …]
|
/frameworks/base/core/java/android/provider/ |
D | SettingsValidators.java | 19 import android.annotation.Nullable; 40 public boolean validate(@Nullable String value) { 47 public boolean validate(@Nullable String value) { 58 public boolean validate(@Nullable String value) { 70 public boolean validate(@Nullable String value) { 87 public boolean validate(@Nullable String value) { 97 public boolean validate(@Nullable String value) { 104 public boolean validate(@Nullable String value) { 141 public boolean validate(@Nullable String value) { 151 public boolean validate(@Nullable String value) { [all …]
|