Home
last modified time | relevance | path

Searched refs:Nullable (Results 1 – 25 of 2998) sorted by relevance

12345678910>>...120

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/
DIconPack.java20 import androidx.annotation.Nullable;
31 @Nullable private final StatusBarIconView mStatusBarIcon;
32 @Nullable private final StatusBarIconView mShelfIcon;
33 @Nullable private final StatusBarIconView mAodIcon;
34 @Nullable private final StatusBarIconView mCenteredIcon;
36 @Nullable private StatusBarIcon mSmallIconDescriptor;
37 @Nullable private StatusBarIcon mPeopleAvatarDescriptor;
45 public static IconPack buildEmptyPack(@Nullable IconPack fromSource) { in buildEmptyPack()
56 @Nullable StatusBarIconView centeredIcon, in buildPack()
57 @Nullable IconPack source) { in buildPack()
[all …]
/frameworks/base/core/java/android/content/
DContentInterface.java20 import android.annotation.Nullable;
43 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query()
44 @Nullable Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query()
47 public @Nullable String getType(@NonNull Uri uri) throws RemoteException; in getType()
49 public @Nullable String[] getStreamTypes(@NonNull Uri uri, @NonNull String mimeTypeFilter) in getStreamTypes()
52 public @Nullable Uri canonicalize(@NonNull Uri uri) throws RemoteException; in canonicalize()
54 public @Nullable Uri uncanonicalize(@NonNull Uri uri) throws RemoteException; in uncanonicalize()
56 public boolean refresh(@NonNull Uri uri, @Nullable Bundle extras, in refresh()
57 @Nullable CancellationSignal cancellationSignal) throws RemoteException; in refresh()
62 public @Nullable Uri insert(@NonNull Uri uri, @Nullable ContentValues initialValues, in insert()
[all …]
DContextWrapper.java20 import android.annotation.Nullable;
170 public @Nullable String getAttributionTag() { in getAttributionTag()
175 public @Nullable ContextParams getParams() { in getParams()
280 public @Nullable File getExternalFilesDir(@Nullable String type) { in getExternalFilesDir()
310 public @Nullable File getExternalCacheDir() { in getExternalCacheDir()
332 public @Nullable File getPreloadsFileCache() { in getPreloadsFileCache()
343 @Nullable DatabaseErrorHandler errorHandler) { in openOrCreateDatabase()
422 String who, Intent intent, int requestCode, @Nullable Bundle options) { in startActivityForResult()
432 public void startActivity(Intent intent, @Nullable Bundle options) { in startActivity()
438 public void startActivityAsUser(Intent intent, @Nullable Bundle options, UserHandle user) { in startActivityAsUser()
[all …]
DContentProviderClient.java21 import android.annotation.Nullable;
165 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, in query()
166 @Nullable String selection, @Nullable String[] selectionArgs, in query()
167 @Nullable String sortOrder) throws RemoteException { in query()
172 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query()
173 @Nullable String selection, @Nullable String[] selectionArgs, in query()
174 @Nullable String sortOrder, @Nullable CancellationSignal cancellationSignal) in query()
183 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query()
184 Bundle queryArgs, @Nullable CancellationSignal cancellationSignal) in query()
215 public @Nullable String getType(@NonNull Uri url) throws RemoteException { in getType()
[all …]
DContext.java28 import android.annotation.Nullable;
751 @Nullable
829 @Nullable AttributeSet set, @NonNull @StyleableRes int[] attrs) { in obtainStyledAttributes()
841 public final TypedArray obtainStyledAttributes(@Nullable AttributeSet set, in obtainStyledAttributes()
885 public @Nullable String getAttributionTag() { in getAttributionTag()
903 public @Nullable String getFeatureId() { in getFeatureId()
911 public @Nullable ContextParams getParams() { in getParams()
1286 @Nullable
1287 public abstract File getExternalFilesDir(@Nullable String type); in getExternalFilesDir()
1580 @Nullable
[all …]
DAttributionSource.java20 import android.annotation.Nullable;
95 private @Nullable AttributionSource mNextCached;
96 private @Nullable Set<String> mRenouncedPermissionsCached;
100 public AttributionSource(int uid, @Nullable String packageName, in AttributionSource()
101 @Nullable String attributionTag) { in AttributionSource()
107 public AttributionSource(int uid, @Nullable String packageName, in AttributionSource()
108 @Nullable String attributionTag, @NonNull IBinder token) { in AttributionSource()
114 public AttributionSource(int uid, @Nullable String packageName, in AttributionSource()
115 @Nullable String attributionTag, @NonNull IBinder token, in AttributionSource()
116 @Nullable AttributionSource next) { in AttributionSource()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstallSource.java19 import android.annotation.Nullable;
45 @Nullable
52 @Nullable
61 @Nullable
68 @Nullable
75 @Nullable
87 static InstallSource create(@Nullable String initiatingPackageName, in create()
88 @Nullable String originatingPackageName, @Nullable String installerPackageName, in create()
89 @Nullable String installerAttributionTag) { in create()
94 static InstallSource create(@Nullable String initiatingPackageName, in create()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DPkgAppInfo.java20 import android.annotation.Nullable;
43 @Nullable
50 @Nullable
69 @Nullable
76 @Nullable
95 @Nullable
138 @Nullable
160 @Nullable
164 @Nullable
179 @Nullable
[all …]
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceAction.java20 import android.annotation.Nullable;
57 @Nullable
65 @Nullable
68 @Nullable
71 @Nullable
74 @Nullable
77 @Nullable
80 @Nullable
97 @Nullable Icon icon, in SmartspaceAction()
99 @Nullable CharSequence subtitle, in SmartspaceAction()
[all …]
/frameworks/base/core/java/android/util/
DLog.java21 import android.annotation.Nullable;
134 public static int v(@Nullable String tag, @NonNull String msg) { in v()
145 public static int v(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in v()
155 public static int d(@Nullable String tag, @NonNull String msg) { in d()
166 public static int d(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in d()
176 public static int i(@Nullable String tag, @NonNull String msg) { in i()
187 public static int i(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in i()
197 public static int w(@Nullable String tag, @NonNull String msg) { in w()
208 public static int w(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in w()
232 public static native boolean isLoggable(@Nullable String tag, @Level int level); in isLoggable()
[all …]
DTypedXmlPullParser.java20 import android.annotation.Nullable;
35 default int getAttributeIndex(@Nullable String namespace, @NonNull String name) { in getAttributeIndex()
51 default int getAttributeIndexOrThrow(@Nullable String namespace, @NonNull String name) in getAttributeIndexOrThrow()
119 default @NonNull byte[] getAttributeBytesHex(@Nullable String namespace, in getAttributeBytesHex()
128 default @NonNull byte[] getAttributeBytesBase64(@Nullable String namespace, in getAttributeBytesBase64()
137 default int getAttributeInt(@Nullable String namespace, @NonNull String name) in getAttributeInt()
146 default int getAttributeIntHex(@Nullable String namespace, @NonNull String name) in getAttributeIntHex()
155 default long getAttributeLong(@Nullable String namespace, @NonNull String name) in getAttributeLong()
164 default long getAttributeLongHex(@Nullable String namespace, @NonNull String name) in getAttributeLongHex()
173 default float getAttributeFloat(@Nullable String namespace, @NonNull String name) in getAttributeFloat()
[all …]
/frameworks/base/core/java/android/app/search/
DSearchAction.java20 import android.annotation.Nullable;
48 @Nullable
54 @Nullable
57 @Nullable
60 @Nullable
63 @Nullable
66 @Nullable
69 @Nullable
87 @Nullable Icon icon, in SearchAction()
88 @Nullable CharSequence subtitle, in SearchAction()
[all …]
/frameworks/base/core/java/android/os/
DBundle.java19 import android.annotation.Nullable;
441 public void putObject(@Nullable String key, @Nullable Object value) { in putObject()
497 public void putByte(@Nullable String key, byte value) { in putByte()
509 public void putChar(@Nullable String key, char value) { in putChar()
521 public void putShort(@Nullable String key, short value) { in putShort()
533 public void putFloat(@Nullable String key, float value) { in putFloat()
545 public void putCharSequence(@Nullable String key, @Nullable CharSequence value) { in putCharSequence()
556 public void putParcelable(@Nullable String key, @Nullable Parcelable value) { in putParcelable()
569 public void putSize(@Nullable String key, @Nullable Size value) { in putSize()
581 public void putSizeF(@Nullable String key, @Nullable SizeF value) { in putSizeF()
[all …]
DBaseBundle.java20 import android.annotation.Nullable;
119 BaseBundle(@Nullable ClassLoader loader, int capacity) { in BaseBundle()
526 @Nullable
574 public void putObject(@Nullable String key, @Nullable Object value) { in putObject()
609 public void putBoolean(@Nullable String key, boolean value) { in putBoolean()
621 void putByte(@Nullable String key, byte value) { in putByte()
633 void putChar(@Nullable String key, char value) { in putChar()
645 void putShort(@Nullable String key, short value) { in putShort()
657 public void putInt(@Nullable String key, int value) { in putInt()
669 public void putLong(@Nullable String key, long value) { in putLong()
[all …]
DIBinder.java20 import android.annotation.Nullable;
204 public @Nullable String getInterfaceDescriptor() throws RemoteException; in getInterfaceDescriptor()
230 public @Nullable IInterface queryLocalInterface(@NonNull String descriptor); in queryLocalInterface()
238 public void dump(@NonNull FileDescriptor fd, @Nullable String[] args) throws RemoteException; in dump()
248 public void dumpAsync(@NonNull FileDescriptor fd, @Nullable String[] args) in dumpAsync()
263 public void shellCommand(@Nullable FileDescriptor in, @Nullable FileDescriptor out, in shellCommand()
264 @Nullable FileDescriptor err, in shellCommand()
265 @NonNull String[] args, @Nullable ShellCallback shellCallback, in shellCommand()
276 public default @Nullable IBinder getExtension() throws RemoteException { in getExtension()
298 public boolean transact(int code, @NonNull Parcel data, @Nullable Parcel reply, int flags) in transact()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageRead.java20 import android.annotation.Nullable;
224 @Nullable
268 @Nullable
272 @Nullable
301 @Nullable
323 @Nullable
338 @Nullable
342 @Nullable
349 @Nullable
467 @Nullable
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java19 import android.annotation.Nullable;
48 @Nullable
49 public static Bundle getForeignLanguageExtra(@Nullable TextClassification classification) { in getForeignLanguageExtra()
59 @Nullable
67 @Nullable
68 public static ArrayList<Intent> getActionsIntents(@Nullable TextClassification classification) { in getActionsIntents()
79 @Nullable
81 @Nullable TextClassification classification, @Nullable String intentAction) { in findAction()
101 @Nullable
102 public static RemoteAction findTranslateAction(@Nullable TextClassification classification) { in findTranslateAction()
[all …]
DTextClassification.java23 import android.annotation.Nullable;
125 @Nullable private final Drawable mLegacyIcon;
126 @Nullable private final String mLegacyLabel;
127 @Nullable private final Intent mLegacyIntent;
128 @Nullable private final OnClickListener mLegacyOnClickListener;
131 @Nullable private final String mId;
135 @Nullable String text, in TextClassification()
136 @Nullable Drawable legacyIcon, in TextClassification()
137 @Nullable String legacyLabel, in TextClassification()
138 @Nullable Intent legacyIntent, in TextClassification()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DArrayUtils.java20 import android.annotation.Nullable;
143 public static @NonNull <T> T[] emptyIfNull(@Nullable T[] items, Class<T> kind) { in emptyIfNull()
150 public static boolean isEmpty(@Nullable Collection<?> array) { in isEmpty()
157 public static boolean isEmpty(@Nullable Map<?, ?> map) { in isEmpty()
165 public static <T> boolean isEmpty(@Nullable T[] array) { in isEmpty()
172 public static boolean isEmpty(@Nullable int[] array) { in isEmpty()
179 public static boolean isEmpty(@Nullable long[] array) { in isEmpty()
186 public static boolean isEmpty(@Nullable byte[] array) { in isEmpty()
193 public static boolean isEmpty(@Nullable boolean[] array) { in isEmpty()
200 public static int size(@Nullable Object[] array) { in size()
[all …]
DCollectionUtils.java22 import android.annotation.Nullable;
52 public static <T> boolean contains(@Nullable Collection<T> collection, T element) { in contains()
62 public static @NonNull <T> List<T> filter(@Nullable List<T> list, in filter()
77 public static @NonNull <T> Set<T> filter(@Nullable Set<T> set, in filter()
101 public static <T> void addIf(@Nullable List<T> source, @NonNull Collection<? super T> dest, in addIf()
102 @Nullable Predicate<? super T> predicate) { in addIf()
120 public static @NonNull <I, O> List<O> map(@Nullable List<I> cur, in map()
133 public static @NonNull <I, O> Set<O> map(@Nullable Set<I> cur, in map()
162 public static @NonNull <I, O> List<O> mapNotNull(@Nullable List<I> cur, in mapNotNull()
182 public static @NonNull <T> List<T> emptyIfNull(@Nullable List<T> cur) { in emptyIfNull()
[all …]
/frameworks/base/core/java/android/content/pm/
DInstallSourceInfo.java20 import android.annotation.Nullable;
30 @Nullable private final String mInitiatingPackageName;
32 @Nullable private final SigningInfo mInitiatingPackageSigningInfo;
34 @Nullable private final String mOriginatingPackageName;
36 @Nullable private final String mInstallingPackageName;
39 public InstallSourceInfo(@Nullable String initiatingPackageName, in InstallSourceInfo()
40 @Nullable SigningInfo initiatingPackageSigningInfo, in InstallSourceInfo()
41 @Nullable String originatingPackageName, @Nullable String installingPackageName) { in InstallSourceInfo()
81 @Nullable
89 @Nullable
[all …]
/frameworks/base/core/java/android/service/autofill/
DFillEventHistory.java23 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()
282 @Nullable private final String mDatasetId;
283 @Nullable private final Bundle mClientState;
287 @Nullable private final List<String> mSelectedDatasetIds;
288 @Nullable private final ArraySet<String> mIgnoredDatasetIds;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java55 import androidx.annotation.Nullable;
97 @Nullable
103 @Nullable
109 @Nullable
306 @Nullable
312 @Nullable
318 @Nullable
348 @Nullable
386 public void updateInstantAppCookie(@Nullable byte[] cookie) { in updateInstantAppCookie()
391 public boolean setInstantAppCookie(@Nullable byte[] cookie) { in setInstantAppCookie()
[all …]
/frameworks/base/core/java/android/app/
DPerson.java20 import android.annotation.Nullable;
34 @Nullable private CharSequence mName;
35 @Nullable private Icon mIcon;
36 @Nullable private String mUri;
37 @Nullable private String mKey;
69 @Nullable
77 @Nullable
85 @Nullable
93 @Nullable
131 @Nullable
[all …]
/frameworks/base/core/java/android/content/res/
DResourcesKey.java22 import android.annotation.Nullable;
32 @Nullable
36 @Nullable
40 @Nullable
43 @Nullable
63 @Nullable
68 public ResourcesKey(@Nullable String resDir, in ResourcesKey()
69 @Nullable String[] splitResDirs, in ResourcesKey()
70 @Nullable String[] overlayPaths, in ResourcesKey()
71 @Nullable String[] libDirs, in ResourcesKey()
[all …]

12345678910>>...120