/frameworks/base/services/tests/servicestests/src/com/android/server/app/ |
D | MockPackageManager.java | 54 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/ |
D | ShortcutServiceInternal.java | 19 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 …]
|
D | PackageManager.java | 26 import android.annotation.NonNull; 277 public Property(@NonNull String name, int type, in Property() 278 @NonNull String packageName, @Nullable String className) { in Property() 288 public Property(@NonNull String name, boolean value, in Property() 294 public Property(@NonNull String name, float value, in Property() 300 public Property(@NonNull String name, int value, boolean isResource, in Property() 306 public Property(@NonNull String name, String value, in Property() 321 @NonNull public String getName() { in getName() 328 @NonNull public String getPackageName() { in getPackageName() 445 public void writeToParcel(@NonNull Parcel dest, int flags) { in writeToParcel() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraCaptureSession.java | 20 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 …]
|
D | CaptureResult.java | 19 import android.annotation.NonNull; 104 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() 131 @NonNull 170 @NonNull 299 @NonNull 361 @NonNull 388 @NonNull 500 @NonNull 528 @NonNull 556 @NonNull [all …]
|
/frameworks/base/core/java/android/graphics/fonts/ |
D | FontFamilyUpdateRequest.java | 20 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/ |
D | ComponentResolverApi.java | 19 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 …]
|
D | ComponentResolverLocked.java | 19 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/ |
D | ServiceProvider.java | 19 import android.annotation.NonNull; 60 @NonNull 68 @NonNull IInvalidationCallback callback) { in scheduleInvalidateAuthenticatorId() 73 void scheduleGenerateChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleGenerateChallenge() 74 @NonNull IFaceServiceReceiver receiver, String opPackageName); in scheduleGenerateChallenge() 76 void scheduleRevokeChallenge(int sensorId, int userId, @NonNull IBinder token, in scheduleRevokeChallenge() 77 @NonNull String opPackageName, long challenge); in scheduleRevokeChallenge() 79 long scheduleEnroll(int sensorId, @NonNull IBinder token, @NonNull byte[] hardwareAuthToken, in scheduleEnroll() 80 int userId, @NonNull IFaceServiceReceiver receiver, @NonNull String opPackageName, in scheduleEnroll() 81 @NonNull int[] disabledFeatures, @Nullable Surface previewSurface, in scheduleEnroll() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceInternal.java | 19 import android.annotation.NonNull; 54 int checkPermission(@NonNull String packageName, @NonNull String permissionName, in checkPermission() 66 int checkUidPermission(int uid, @NonNull String permissionName); in checkUidPermission() 74 @NonNull OnRuntimePermissionStateChangedListener listener); in addOnRuntimePermissionStateChangedListener() 82 @NonNull OnRuntimePermissionStateChangedListener listener); in removeOnRuntimePermissionStateChangedListener() 92 boolean isPermissionsReviewRequired(@NonNull String packageName, in isPermissionsReviewRequired() 104 void resetRuntimePermissions(@NonNull AndroidPackage pkg, in resetRuntimePermissions() 142 @NonNull 143 Set<String> getInstalledPermissions(@NonNull String packageName); in getInstalledPermissions() 153 @NonNull [all …]
|
/frameworks/base/core/java/android/provider/ |
D | DeviceConfigInterface.java | 21 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/tests/Codegen/src/com/android/codegentest/ |
D | ParcelAllTheThingsDataClass.java | 18 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/base/services/core/java/com/android/server/pm/ |
D | Computer.java | 20 import android.annotation.NonNull; 112 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() 116 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() 118 @NonNull List<ResolveInfo> queryIntentActivitiesInternal(Intent intent, String resolvedType, in queryIntentActivitiesInternal() 120 @NonNull List<ResolveInfo> queryIntentServicesInternal(Intent intent, String resolvedType, in queryIntentServicesInternal() 122 @NonNull QueryIntentActivitiesResult queryIntentActivitiesInternalBody(Intent intent, in queryIntentActivitiesInternalBody() 182 List<ResolveInfo> applyPostResolutionFilter(@NonNull List<ResolveInfo> resolveInfos, in applyPostResolutionFilter() 199 PackageStateInternal getPackageStateFiltered(@NonNull String packageName, int callingUid, in getPackageStateFiltered() 247 boolean shouldFilterApplication(@NonNull SharedUserSetting sus, int callingUid, in shouldFilterApplication() 270 boolean shouldFilterApplicationIncludingUninstalled(@NonNull SharedUserSetting sus, in shouldFilterApplicationIncludingUninstalled() [all …]
|
/frameworks/base/core/java/android/credentials/ui/ |
D | RequestInfo.java | 19 import android.annotation.NonNull; 48 @NonNull public static final String EXTRA_REQUEST_INFO = 52 @NonNull public static final String TYPE_UNDEFINED = "android.credentials.ui.TYPE_UNDEFINED"; 54 @NonNull public static final String TYPE_GET = "android.credentials.ui.TYPE_GET"; 59 @NonNull public static final String TYPE_GET_VIA_REGISTRY = 62 @NonNull public static final String TYPE_CREATE = "android.credentials.ui.TYPE_CREATE"; 69 @NonNull 75 @NonNull 81 @NonNull 85 @NonNull [all …]
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/ |
D | TypedXmlSerializer.java | 19 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/ |
D | InspectableClassModel.java | 19 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/ |
D | JetpackTaskFragmentOrganizer.java | 45 import androidx.annotation.NonNull; 65 @NonNull 76 void onTransactionReady(@NonNull TaskFragmentTransaction transaction); in onTransactionReady() 83 JetpackTaskFragmentOrganizer(@NonNull Executor executor, in JetpackTaskFragmentOrganizer() 84 @NonNull TaskFragmentCallback callback) { in JetpackTaskFragmentOrganizer() 124 void startActivityToSide(@NonNull WindowContainerTransaction wct, in startActivityToSide() 125 @NonNull IBinder launchingFragmentToken, @NonNull Rect launchingRelBounds, in startActivityToSide() 126 @NonNull Activity launchingActivity, @NonNull IBinder secondaryFragmentToken, in startActivityToSide() 127 @NonNull Rect secondaryRelBounds, @NonNull Intent activityIntent, in startActivityToSide() 128 @Nullable Bundle activityOptions, @NonNull SplitRule rule, in startActivityToSide() [all …]
|
D | SplitContainer.java | 27 import androidx.annotation.NonNull; 34 @NonNull 36 @NonNull 38 @NonNull 41 @NonNull 44 @NonNull 46 @NonNull 57 SplitContainer(@NonNull TaskFragmentContainer primaryContainer, in SplitContainer() 58 @NonNull Activity primaryActivity, in SplitContainer() 59 @NonNull TaskFragmentContainer secondaryContainer, in SplitContainer() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerLocal.java | 19 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/ |
D | CredentialOption.java | 23 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/ |
D | ServiceProvider.java | 19 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() 79 void cancelEnrollment(int sensorId, @NonNull IBinder token, long requestId); in cancelEnrollment() 81 long scheduleFingerDetect(@NonNull IBinder token, in scheduleFingerDetect() [all …]
|
/frameworks/base/identity/java/android/security/identity/ |
D | IdentityCredential.java | 20 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 …]
|
/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 19 import android.annotation.NonNull; 151 public static int checkPermissionForDataDelivery(@NonNull Context context, in checkPermissionForDataDelivery() 152 @NonNull String permission, int pid, int uid, @Nullable String packageName, in checkPermissionForDataDelivery() 194 public static int checkPermissionForDataDelivery(@NonNull Context context, in checkPermissionForDataDelivery() 195 @NonNull String permission, int pid, int uid, @Nullable String packageName, in checkPermissionForDataDelivery() 232 public static int checkPermissionForDataDeliveryFromDataSource(@NonNull Context context, in checkPermissionForDataDeliveryFromDataSource() 233 @NonNull String permission, int pid, @NonNull AttributionSource attributionSource, in checkPermissionForDataDeliveryFromDataSource() 269 public static int checkPermissionForDataDelivery(@NonNull Context context, in checkPermissionForDataDelivery() 270 @NonNull String permission, int pid, @NonNull AttributionSource attributionSource, in checkPermissionForDataDelivery() 307 public static int checkPermissionForDataDelivery(@NonNull Context context, in checkPermissionForDataDelivery() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 21 import android.annotation.NonNull; 183 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported() 197 @NonNull UUID uuid, @NonNull String mimeType) { in isCryptoSchemeSupported() 214 @NonNull UUID uuid, @NonNull String mimeType, @SecurityLevel int securityLevel) { in isCryptoSchemeSupported() 224 public static final @NonNull List<UUID> getSupportedCryptoSchemes(){ in getSupportedCryptoSchemes() 229 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID() 242 private static final UUID getUUIDFromByteArray(@NonNull byte[] uuidBytes, int off) { in getUUIDFromByteArray() 254 private static final List<UUID> getUUIDsFromByteArray(@NonNull byte[] uuidBytes) { in getUUIDsFromByteArray() 265 @NonNull byte[] uuid, @Nullable String mimeType, @SecurityLevel int securityLevel); in isCryptoSchemeSupportedNative() 288 public MediaDrm(@NonNull UUID uuid) throws UnsupportedSchemeException { in MediaDrm() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/ |
D | SubscriptionInfoInternal.java | 35 import android.annotation.NonNull; 85 @NonNull 99 @NonNull 106 @NonNull 124 @NonNull 137 @NonNull 143 @NonNull 149 @NonNull 155 @NonNull 168 @NonNull [all …]
|