Home
last modified time | relevance | path

Searched refs:NonNull (Results 1 – 25 of 4756) sorted by relevance

12345678910>>...191

/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/odsa/
DManageSubscriptionOperation.java20 import androidx.annotation.NonNull;
55 @NonNull
70 @NonNull
77 @NonNull
84 @NonNull
91 @NonNull
98 @NonNull
105 @NonNull
113 @NonNull
120 @NonNull
[all …]
DAcquireConfigurationOperation.java20 import androidx.annotation.NonNull;
61 @NonNull
68 @NonNull
75 @NonNull
82 @NonNull
89 @NonNull
96 @NonNull
103 @NonNull
110 @NonNull
117 @NonNull
[all …]
DCheckEligibilityOperation.java20 import androidx.annotation.NonNull;
79 @NonNull
86 @NonNull
93 @NonNull
100 @NonNull
107 @NonNull
114 @NonNull
125 @NonNull
150 @NonNull
151 public abstract Builder setAppId(@NonNull @AppId String appId); in setAppId()
[all …]
DManageServiceOperation.java19 import androidx.annotation.NonNull;
57 @NonNull
64 @NonNull
71 @NonNull
78 @NonNull
85 @NonNull
92 @NonNull
100 @NonNull
104 @NonNull
130 @NonNull
[all …]
DMessageInfo.java19 import androidx.annotation.NonNull;
47 @NonNull
55 @NonNull
60 @NonNull
68 @NonNull
73 @NonNull
77 @NonNull
82 @NonNull
102 @NonNull
103 public abstract Builder setMessage(@NonNull String message); in setMessage()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java54 import androidx.annotation.NonNull;
70 public PackageInfo getPackageInfo(@NonNull String packageName, int flags) in getPackageInfo()
76 public PackageInfo getPackageInfo(@NonNull VersionedPackage versionedPackage, int flags) in getPackageInfo()
82 public PackageInfo getPackageInfoAsUser(@NonNull String packageName, int flags, int userId) in getPackageInfoAsUser()
88 public String[] currentToCanonicalPackageNames(@NonNull String[] packageNames) { in currentToCanonicalPackageNames()
93 public String[] canonicalToCurrentPackageNames(@NonNull String[] packageNames) { in canonicalToCurrentPackageNames()
99 public Intent getLaunchIntentForPackage(@NonNull String packageName) { in getLaunchIntentForPackage()
105 public Intent getLeanbackLaunchIntentForPackage(@NonNull String packageName) { in getLeanbackLaunchIntentForPackage()
111 public Intent getCarLaunchIntentForPackage(@NonNull String packageName) { in getCarLaunchIntentForPackage()
116 public int[] getPackageGids(@NonNull String packageName) throws NameNotFoundException { in getPackageGids()
[all …]
/frameworks/base/core/java/android/content/pm/
DShortcutServiceInternal.java19 import android.annotation.NonNull;
45 void onShortcutChanged(@NonNull String packageName, @UserIdInt int userId); in onShortcutChanged()
50 @NonNull String callingPackage, long changedSince, in getShortcuts()
62 @NonNull String callingPackage, long changedSince, in getShortcutsAsync()
69 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller()
70 @NonNull String packageName, @NonNull String id, int userId); in isPinnedByCaller()
73 @NonNull String callingPackage, @NonNull String packageName, in pinShortcuts()
74 @NonNull List<String> shortcutIds, int userId); in pinShortcuts()
77 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents()
78 @NonNull String packageName, @NonNull String shortcutId, int userId, in createShortcutIntents()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java20 import android.annotation.NonNull;
83 @NonNull
149 public abstract void prepare(@NonNull Surface surface) throws CameraAccessException; in prepare()
192 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare()
232 public abstract void tearDown(@NonNull Surface surface) throws CameraAccessException; in tearDown()
363 public abstract int capture(@NonNull CaptureRequest request, in capture()
408 public int captureSingleRequest(@NonNull CaptureRequest request, in captureSingleRequest()
409 @NonNull @CallbackExecutor Executor executor, @NonNull CaptureCallback listener) in captureSingleRequest()
478 public abstract int captureBurst(@NonNull List<CaptureRequest> requests, in captureBurst()
526 public int captureBurstRequests(@NonNull List<CaptureRequest> requests, in captureBurstRequests()
[all …]
/frameworks/base/core/java/android/graphics/fonts/
DFontFamilyUpdateRequest.java20 import android.annotation.NonNull;
82 @NonNull private final String mName;
83 @NonNull private final List<Font> mFonts;
88 public Builder(@NonNull String name, @NonNull List<Font> fonts) { in Builder()
103 public @NonNull Builder addFont(@NonNull Font font) { in addFont()
111 public @NonNull FontFamily build() { in build()
116 @NonNull
118 @NonNull
134 private FontFamily(@NonNull String name, @NonNull List<Font> fonts) { in FontFamily()
142 @NonNull
[all …]
/frameworks/base/services/core/java/com/android/server/pm/resolution/
DComponentResolverApi.java19 import android.annotation.NonNull;
39 boolean isActivityDefined(@NonNull ComponentName component); in isActivityDefined()
42 ParsedActivity getActivity(@NonNull ComponentName component); in getActivity()
45 ParsedProvider getProvider(@NonNull ComponentName component); in getProvider()
48 ParsedActivity getReceiver(@NonNull ComponentName component); in getReceiver()
51 ParsedService getService(@NonNull ComponentName component); in getService()
54 boolean componentExists(@NonNull ComponentName componentName); in componentExists()
57 List<ResolveInfo> queryActivities(@NonNull Computer computer, @NonNull Intent intent, in queryActivities()
61 List<ResolveInfo> queryActivities(@NonNull Computer computer, @NonNull Intent intent, in queryActivities()
62 @Nullable String resolvedType, long flags, @NonNull List<ParsedActivity> activities, in queryActivities()
[all …]
DComponentResolverLocked.java19 import android.annotation.NonNull;
42 protected ComponentResolverLocked(@NonNull UserManagerService userManager) { in ComponentResolverLocked()
47 public boolean componentExists(@NonNull ComponentName componentName) { in componentExists()
55 public ParsedActivity getActivity(@NonNull ComponentName component) { in getActivity()
63 public ParsedProvider getProvider(@NonNull ComponentName component) { in getProvider()
71 public ParsedActivity getReceiver(@NonNull ComponentName component) { in getReceiver()
79 public ParsedService getService(@NonNull ComponentName component) { in getService()
86 public boolean isActivityDefined(@NonNull ComponentName component) { in isActivityDefined()
94 public List<ResolveInfo> queryActivities(@NonNull Computer computer, @NonNull Intent intent, in queryActivities()
103 public List<ResolveInfo> queryActivities(@NonNull Computer computer, @NonNull Intent intent, in queryActivities()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/
DServiceProvider.java19 import android.annotation.NonNull;
61 @NonNull
69 @NonNull IInvalidationCallback callback) { in scheduleInvalidateAuthenticatorId()
74 void scheduleGenerateChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleGenerateChallenge()
75 @NonNull IFaceServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge()
77 void scheduleRevokeChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleRevokeChallenge()
78 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge()
80 long scheduleEnroll(int sensorId, @NonNull IBinder token, @NonNull byte[] hardwareAuthToken, in scheduleEnroll()
81 int userId, @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName, in scheduleEnroll()
82 @NonNull int[] disabledFeatures, @Nullable Surface previewSurface, in scheduleEnroll()
[all …]
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DEsimOdsaOperation.java20 import androidx.annotation.NonNull;
299 @NonNull
319 @NonNull
327 @NonNull
403 @NonNull
404 public abstract Builder setOperation(@NonNull @OdsaOperation String operation); in setOperation()
421 @NonNull
428 @NonNull
430 @NonNull @OdsaOperation ImmutableList<String> operationTargets); in setOperationTargets()
442 @NonNull
[all …]
/frameworks/base/core/java/android/provider/
DDeviceConfigInterface.java21 import android.annotation.NonNull;
40 String getProperty(@NonNull String namespace, @NonNull String name); in getProperty()
46 @NonNull
47 Properties getProperties(@NonNull String namespace, @NonNull String... names); in getProperties()
53 boolean setProperty(@NonNull String namespace, @NonNull String name, @Nullable String value, in setProperty()
60 boolean setProperties(@NonNull Properties properties) throws BadConfigException; in setProperties()
66 boolean deleteProperty(@NonNull String namespace, @NonNull String name); in deleteProperty()
78 @NonNull
79 String getString(@NonNull String namespace, @NonNull String name, @NonNull String defaultValue); in getString()
85 int getInt(@NonNull String namespace, @NonNull String name, int defaultValue); in getInt()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DComputer.java20 import android.annotation.NonNull;
111 @NonNull List<ResolveInfo> queryIntentActivitiesInternal( in queryIntentActivitiesInternal()
117 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal()
119 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal()
121 @NonNull List<ResolveInfo> queryIntentServicesInternal( in queryIntentServicesInternal()
125 @NonNull QueryIntentActivitiesResult queryIntentActivitiesInternalBody(Intent intent, in queryIntentActivitiesInternalBody()
185 List<ResolveInfo> applyPostResolutionFilter(@NonNull List<ResolveInfo> resolveInfos, in applyPostResolutionFilter()
202 PackageStateInternal getPackageStateFiltered(@NonNull String packageName, int callingUid, in getPackageStateFiltered()
250 boolean shouldFilterApplication(@NonNull SharedUserSetting sus, int callingUid, in shouldFilterApplication()
286 boolean shouldFilterApplicationIncludingUninstalled(@NonNull SharedUserSetting sus, in shouldFilterApplicationIncludingUninstalled()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceInternal.java19 import android.annotation.NonNull;
57 int checkPermission(@NonNull String packageName, @NonNull String permissionName, in checkPermission()
58 @NonNull String persistentDeviceId, @UserIdInt int userId); in checkPermission()
70 int checkUidPermission(int uid, @NonNull String permissionName, int deviceId); in checkUidPermission()
80 boolean isPermissionsReviewRequired(@NonNull String packageName, @UserIdInt int userId); in isPermissionsReviewRequired()
91 void resetRuntimePermissions(@NonNull AndroidPackage pkg, @UserIdInt int userId); in resetRuntimePermissions()
128 @NonNull
129 Set<String> getInstalledPermissions(@NonNull String packageName); in getInstalledPermissions()
139 @NonNull
140 Set<String> getGrantedPermissions(@NonNull String packageName, @UserIdInt int userId); in getGrantedPermissions()
[all …]
DPermissionAllowlist.java19 import android.annotation.NonNull;
27 @NonNull
30 @NonNull
33 @NonNull
36 @NonNull
39 @NonNull
42 @NonNull
46 @NonNull
49 @NonNull
52 @NonNull
[all …]
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DParcelAllTheThingsDataClass.java18 import android.annotation.NonNull;
41 @NonNull String[] mStringArray = null;
42 @NonNull int[] mIntArray = null;
43 @NonNull List<String> mStringList = null;
45 @NonNull Map<String, SampleWithCustomBuilder> mMap = null;
46 @NonNull Map<String, String> mStringMap = null;
48 @NonNull SparseArray<SampleWithCustomBuilder> mSparseArray = null;
49 @NonNull SparseIntArray mSparseIntArray = null;
72 @NonNull String[] stringArray, in ParcelAllTheThingsDataClass()
73 @NonNull int[] intArray, in ParcelAllTheThingsDataClass()
[all …]
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DTypedXmlSerializer.java19 import android.annotation.NonNull;
36 @NonNull XmlSerializer attributeInterned(@Nullable String namespace, @NonNull String name, in attributeInterned()
37 @NonNull String value) throws IOException; in attributeInterned()
43 @NonNull XmlSerializer attributeBytesHex(@Nullable String namespace, @NonNull String name, in attributeBytesHex()
44 @NonNull byte[] value) throws IOException; in attributeBytesHex()
50 @NonNull XmlSerializer attributeBytesBase64(@Nullable String namespace, @NonNull String name, in attributeBytesBase64()
51 @NonNull byte[] value) throws IOException; in attributeBytesBase64()
57 @NonNull XmlSerializer attributeInt(@Nullable String namespace, @NonNull String name, in attributeInt()
64 @NonNull XmlSerializer attributeIntHex(@Nullable String namespace, @NonNull String name, in attributeIntHex()
71 @NonNull XmlSerializer attributeLong(@Nullable String namespace, @NonNull String name, in attributeLong()
[all …]
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectableClassModel.java19 import androidx.annotation.NonNull;
40 private final @NonNull ClassName mClassName;
41 private final @NonNull Map<String, Property> mPropertyMap;
46 public InspectableClassModel(@NonNull ClassName className) { in InspectableClassModel()
51 @NonNull
61 public void putProperty(@NonNull Property property) { in putProperty()
71 @NonNull
72 public Optional<Property> getProperty(@NonNull String name) { in getProperty()
81 @NonNull
90 private final @NonNull String mName;
[all …]
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DJetpackTaskFragmentOrganizer.java47 import androidx.annotation.NonNull;
67 @NonNull
78 void onTransactionReady(@NonNull TaskFragmentTransaction transaction); in onTransactionReady()
85 JetpackTaskFragmentOrganizer(@NonNull Executor executor, in JetpackTaskFragmentOrganizer()
86 @NonNull TaskFragmentCallback callback) { in JetpackTaskFragmentOrganizer()
126 void startActivityToSide(@NonNull WindowContainerTransaction wct, in startActivityToSide()
127 @NonNull IBinder launchingFragmentToken, @NonNull Rect launchingRelBounds, in startActivityToSide()
128 @NonNull Activity launchingActivity, @NonNull IBinder secondaryFragmentToken, in startActivityToSide()
129 @NonNull Rect secondaryRelBounds, @NonNull Intent activityIntent, in startActivityToSide()
130 @Nullable Bundle activityOptions, @NonNull SplitRule rule, in startActivityToSide()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerLocal.java19 import android.annotation.NonNull;
48 boolean canStartForegroundService(int pid, int uid, @NonNull String packageName); in canStartForegroundService()
60 boolean canAllowWhileInUsePermissionInFgs(int pid, int uid, @NonNull String packageName); in canAllowWhileInUsePermissionInFgs()
95 ComponentName startSdkSandboxService(@NonNull Intent service, int clientAppUid, in startSdkSandboxService()
96 @NonNull String clientAppPackage, @NonNull String processName) in startSdkSandboxService()
115 boolean stopSdkSandboxService(@NonNull Intent service, int clientAppUid, in stopSdkSandboxService()
116 @NonNull String clientAppPackage, @NonNull String processName); in stopSdkSandboxService()
143 boolean bindSdkSandboxService(@NonNull Intent service, @NonNull ServiceConnection conn, in bindSdkSandboxService()
144 int clientAppUid, @NonNull IBinder clientAppProcessToken, in bindSdkSandboxService()
145 @NonNull String clientAppPackage, @NonNull String processName, in bindSdkSandboxService()
[all …]
/frameworks/base/core/java/android/credentials/
DCredentialOption.java23 import android.annotation.NonNull;
55 @NonNull
61 @NonNull
68 @NonNull
80 @NonNull
87 @NonNull
95 @NonNull
111 @NonNull
128 @NonNull
134 public void writeToParcel(@NonNull Parcel dest, int flags) { in writeToParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/
DServiceProvider.java19 import android.annotation.NonNull;
66 void scheduleGenerateChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleGenerateChallenge()
67 @NonNull IFingerprintServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge()
69 void scheduleRevokeChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleRevokeChallenge()
70 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge()
75 long scheduleEnroll(int sensorId, @NonNull IBinder token, @NonNull byte[] hardwareAuthToken, in scheduleEnroll()
76 int userId, @NonNull IFingerprintServiceReceiver receiver, in scheduleEnroll()
77 @NonNull String opPackageName, @FingerprintManager.EnrollReason int enrollReason, in scheduleEnroll()
78 @NonNull FingerprintEnrollOptions options); in scheduleEnroll()
80 void cancelEnrollment(int sensorId, @NonNull IBinder token, long requestId); in cancelEnrollment()
[all …]
/frameworks/base/identity/java/android/security/identity/
DIdentityCredential.java20 import android.annotation.NonNull;
56 public @NonNull abstract KeyPair createEphemeralKeyPair(); in createEphemeralKeyPair()
68 public abstract void setReaderEphemeralPublicKey(@NonNull PublicKey readerEphemeralPublicKey) in setReaderEphemeralPublicKey()
85 public @NonNull abstract byte[] encryptMessageToReader(@NonNull byte[] messagePlaintext); in encryptMessageToReader()
102 public @NonNull abstract byte[] decryptMessageFromReader(@NonNull byte[] messageCiphertext) in decryptMessageFromReader()
115 public @NonNull abstract Collection<X509Certificate> getCredentialKeyCertificateChain(); in getCredentialKeyCertificateChain()
318 public abstract @NonNull ResultData getEntries( in getEntries()
320 @NonNull Map<String, Collection<String>> entriesToRequest, in getEntries()
382 public @NonNull abstract Collection<X509Certificate> getAuthKeysNeedingCertification(); in getAuthKeysNeedingCertification()
402 @NonNull X509Certificate authenticationKey, in storeStaticAuthenticationData()
[all …]

12345678910>>...191