Home
last modified time | relevance | path

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

12345678910>>...144

/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;
35 @Nullable private StatusBarIcon mSmallIconDescriptor;
36 @Nullable private StatusBarIcon mAppIconDescriptor;
37 @Nullable private StatusBarIcon mPeopleAvatarDescriptor;
45 public static IconPack buildEmptyPack(@Nullable IconPack fromSource) { in buildEmptyPack()
56 @Nullable IconPack source) { in buildPack()
62 @Nullable StatusBarIconView statusBarIcon, in IconPack()
[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.java22 import android.annotation.Nullable;
197 public @Nullable String getAttributionTag() { in getAttributionTag()
202 public @Nullable ContextParams getParams() { in getParams()
307 public @Nullable File getExternalFilesDir(@Nullable String type) { in getExternalFilesDir()
337 public @Nullable File getExternalCacheDir() { in getExternalCacheDir()
359 public @Nullable File getPreloadsFileCache() { in getPreloadsFileCache()
370 @Nullable DatabaseErrorHandler errorHandler) { in openOrCreateDatabase()
449 String who, Intent intent, int requestCode, @Nullable Bundle options) { in startActivityForResult()
459 public void startActivity(Intent intent, @Nullable Bundle options) { in startActivity()
465 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 …]
/frameworks/base/services/core/java/com/android/server/pm/
DInstallSource.java21 import android.annotation.Nullable;
55 @Nullable
62 @Nullable
71 @Nullable
78 @Nullable
85 @Nullable
96 @Nullable
110 static InstallSource create(@Nullable String initiatingPackageName, in create()
111 @Nullable String originatingPackageName, @Nullable String installerPackageName, in create()
112 int installerPackageUid, @Nullable String updateOwnerPackageName, in create()
[all …]
DScanRequest.java20 import android.annotation.Nullable;
34 @Nullable public final AndroidPackage mOldPkg;
36 @Nullable public final SharedUserSetting mOldSharedUserSetting;
42 @Nullable public final PackageSetting mPkgSetting;
44 @Nullable public final SharedUserSetting mSharedUserSetting;
46 @Nullable public final PackageSetting mOldPkgSetting;
48 @Nullable public final PackageSetting mDisabledPkgSetting;
50 @Nullable public final PackageSetting mOriginalPkgSetting;
52 @Nullable public final String mRealPkgName;
56 @Nullable public final UserHandle mUser;
[all …]
DInstallRequest.java33 import android.annotation.Nullable;
69 @Nullable
71 @Nullable
73 @Nullable
82 @Nullable /* The original package's name if it is being replaced, otherwise {@code null} */
85 @Nullable
87 @Nullable
91 @Nullable
93 @Nullable
97 @Nullable
[all …]
/frameworks/base/core/java/android/os/
DBundle.java23 import android.annotation.Nullable;
434 public void putObject(@Nullable String key, @Nullable Object value) { in putObject()
490 public void putByte(@Nullable String key, byte value) { in putByte()
502 public void putChar(@Nullable String key, char value) { in putChar()
514 public void putShort(@Nullable String key, short value) { in putShort()
526 public void putFloat(@Nullable String key, float value) { in putFloat()
538 public void putCharSequence(@Nullable String key, @Nullable CharSequence value) { in putCharSequence()
549 public void putParcelable(@Nullable String key, @Nullable Parcelable value) { in putParcelable()
563 public void putSize(@Nullable String key, @Nullable Size value) { in putSize()
575 public void putSizeF(@Nullable String key, @Nullable SizeF value) { in putSizeF()
[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;
149 public static int v(@Nullable String tag, @NonNull String msg) { in v()
161 public static int v(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in v()
172 public static int d(@Nullable String tag, @NonNull String msg) { in d()
184 public static int d(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in d()
195 public static int i(@Nullable String tag, @NonNull String msg) { in i()
206 public static int i(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in i()
217 public static int w(@Nullable String tag, @NonNull String msg) { in w()
229 public static int w(@Nullable String tag, @Nullable String msg, @Nullable Throwable tr) { in w()
253 public static native boolean isLoggable(@Nullable String tag, @Level int level); in isLoggable()
[all …]
DSlog.java20 import android.annotation.Nullable;
50 public static int v(@Nullable String tag, @NonNull String msg) { in v()
65 public static int v(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in v()
80 public static int d(@Nullable String tag, @NonNull String msg) { in d()
96 public static int d(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in d()
111 public static int i(@Nullable String tag, @NonNull String msg) { in i()
126 public static int i(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in i()
141 public static int w(@Nullable String tag, @NonNull String msg) { in w()
157 public static int w(@Nullable String tag, @NonNull String msg, @Nullable Throwable tr) { in w()
171 public static int w(@Nullable String tag, @Nullable Throwable tr) { in w()
[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;
38 @Nullable private final String mUpdateOwnerPackageName;
40 @Nullable private final int mPackageSource;
43 public InstallSourceInfo(@Nullable String initiatingPackageName, in InstallSourceInfo()
44 @Nullable SigningInfo initiatingPackageSigningInfo, in InstallSourceInfo()
45 @Nullable String originatingPackageName, @Nullable String installingPackageName) { in InstallSourceInfo()
[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/app/smartspace/uitemplatedata/
DHeadToHeadTemplateData.java20 import android.annotation.Nullable;
43 @Nullable
45 @Nullable
47 @Nullable
49 @Nullable
51 @Nullable
55 @Nullable
69 @Nullable SubItemInfo primaryItem, in HeadToHeadTemplateData()
70 @Nullable SubItemInfo subtitleItem, in HeadToHeadTemplateData()
71 @Nullable SubItemInfo subtitleSupplementalItem, in HeadToHeadTemplateData()
[all …]
/frameworks/base/core/java/android/view/
DMenuItem.java22 import android.annotation.Nullable;
162 public @NonNull MenuItem setTitle(@Nullable CharSequence title); in setTitle()
183 public @Nullable CharSequence getTitle(); in getTitle()
193 public @NonNull MenuItem setTitleCondensed(@Nullable CharSequence title); in setTitleCondensed()
202 public @Nullable CharSequence getTitleCondensed(); in getTitleCondensed()
212 public @NonNull MenuItem setIcon(@Nullable Drawable icon); in setIcon()
236 public @Nullable Drawable getIcon(); in getIcon()
253 public default @NonNull MenuItem setIconTintList(@Nullable ColorStateList tint) { return this; } in setIconTintList()
260 public default @Nullable ColorStateList getIconTintList() { return null; } in getIconTintList()
274 default @NonNull MenuItem setIconTintMode(@Nullable PorterDuff.Mode tintMode) { in setIconTintMode()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DNoBroadcastContextWrapper.java29 import androidx.annotation.Nullable;
48 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
53 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
59 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
60 @Nullable String broadcastPermission, @Nullable Handler scheduler) { in registerReceiver()
65 public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
66 @Nullable String broadcastPermission, @Nullable Handler scheduler, int flags) { in registerReceiver()
71 @Nullable
73 public Intent registerReceiverForAllUsers(@Nullable BroadcastReceiver receiver, in registerReceiverForAllUsers()
74 @NonNull IntentFilter filter, @Nullable String broadcastPermission, in registerReceiverForAllUsers()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DActivityStarter.java17 import android.annotation.Nullable;
50 Runnable intentSentUiThreadCallback, @Nullable View associatedView); in startPendingIntentDismissingKeyguard()
58 @Nullable ActivityTransitionAnimator.Controller animationController); in startPendingIntentDismissingKeyguard()
69 @Nullable ActivityTransitionAnimator.Controller animationController, in startPendingIntentWithoutDismissing()
70 @Nullable Intent fillInIntent, in startPendingIntentWithoutDismissing()
71 @Nullable Bundle extraOptions); in startPendingIntentWithoutDismissing()
80 @Nullable Runnable intentSentUiThreadCallback, in startPendingIntentMaybeDismissingKeyguard()
81 @Nullable ActivityTransitionAnimator.Controller animationController); in startPendingIntentMaybeDismissingKeyguard()
91 @Nullable Runnable intentSentUiThreadCallback, in startPendingIntentMaybeDismissingKeyguard()
92 @Nullable ActivityTransitionAnimator.Controller animationController, in startPendingIntentMaybeDismissingKeyguard()
[all …]
/frameworks/base/core/java/android/window/
DTaskFragmentOperation.java21 import android.annotation.Nullable;
193 @Nullable
196 @Nullable
199 @Nullable
202 @Nullable
205 @Nullable
208 @Nullable
213 @Nullable
217 @Nullable TaskFragmentCreationParams taskFragmentCreationParams, in TaskFragmentOperation()
218 @Nullable IBinder activityToken, @Nullable Intent activityIntent, in TaskFragmentOperation()
[all …]
/frameworks/base/core/java/android/service/autofill/
DField.java20 import android.annotation.Nullable;
39 private @Nullable AutofillValue mValue;
50 private @Nullable Dataset.DatasetFieldFilter mFilter;
55 private @Nullable Presentations mPresentations;
59 @Nullable AutofillValue value, in Field()
60 @Nullable Dataset.DatasetFieldFilter filter, in Field()
61 @Nullable Presentations presentations) { in Field()
73 public @Nullable AutofillValue getValue() { in getValue()
86 public @Nullable Dataset.DatasetFieldFilter getDatasetFieldFilter() { in getDatasetFieldFilter()
96 public @Nullable Pattern getFilter() { in getFilter()
[all …]
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()
330 @Nullable private final String mDatasetId;
331 @Nullable private final Bundle mClientState;
335 @Nullable private final List<String> mSelectedDatasetIds;
336 @Nullable private final ArraySet<String> mIgnoredDatasetIds;
[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 …]
/frameworks/base/core/java/com/android/internal/inputmethod/
DCompletableFutureUtil.java22 import android.annotation.Nullable;
43 @Nullable
65 @Nullable
67 @Nullable String tag, @Nullable String methodName, in getValueOrNullInternal()
68 @DurationMillisLong long timeoutMillis, @Nullable CancellationGroup cancellationGroup) { in getValueOrNullInternal()
109 private static void logTimeoutInternal(@Nullable String tag, @Nullable String methodName, in logTimeoutInternal()
118 private static void logErrorInternal(@Nullable String tag, @Nullable String methodName, in logErrorInternal()
119 @Nullable String errorString) { in logErrorInternal()
127 private static void logCancellationInternal(@Nullable String tag, @Nullable String methodName) { in logCancellationInternal()
144 @Nullable
[all …]
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverApi.java20 import android.annotation.Nullable;
41 @Nullable
44 @Nullable
47 @Nullable
50 @Nullable
56 @Nullable
58 @Nullable String resolvedType, long flags, @UserIdInt int userId); in queryActivities()
60 @Nullable
62 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities()
65 @Nullable
[all …]
/frameworks/base/telephony/java/android/telephony/
DCarrierInfo.java19 import android.annotation.Nullable;
75 @Nullable
77 @Nullable
79 @Nullable
81 @Nullable
84 @Nullable
86 @Nullable
88 @Nullable
104 @Nullable
110 @Nullable
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DTypedXmlPullParser.java20 import android.annotation.Nullable;
33 default int getAttributeIndex(@Nullable String namespace, @NonNull String name) { in getAttributeIndex()
49 default int getAttributeIndexOrThrow(@Nullable String namespace, @NonNull String name) in getAttributeIndexOrThrow()
117 default @NonNull byte[] getAttributeBytesHex(@Nullable String namespace, in getAttributeBytesHex()
126 default @NonNull byte[] getAttributeBytesBase64(@Nullable String namespace, in getAttributeBytesBase64()
135 default int getAttributeInt(@Nullable String namespace, @NonNull String name) in getAttributeInt()
144 default int getAttributeIntHex(@Nullable String namespace, @NonNull String name) in getAttributeIntHex()
153 default long getAttributeLong(@Nullable String namespace, @NonNull String name) in getAttributeLong()
162 default long getAttributeLongHex(@Nullable String namespace, @NonNull String name) in getAttributeLongHex()
171 default float getAttributeFloat(@Nullable String namespace, @NonNull String name) in getAttributeFloat()
[all …]

12345678910>>...144