/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraCaptureSession.java | 20 import android.annotation.NonNull; 80 @NonNull 146 public abstract void prepare(@NonNull Surface surface) throws CameraAccessException; in prepare() 188 public abstract void prepare(int maxCount, @NonNull Surface surface) in prepare() 227 public abstract void tearDown(@NonNull Surface surface) throws CameraAccessException; in tearDown() 353 public abstract int capture(@NonNull CaptureRequest request, in capture() 395 public int captureSingleRequest(@NonNull CaptureRequest request, in captureSingleRequest() 396 @NonNull @CallbackExecutor Executor executor, @NonNull CaptureCallback listener) in captureSingleRequest() 459 public abstract int captureBurst(@NonNull List<CaptureRequest> requests, in captureBurst() 504 public int captureBurstRequests(@NonNull List<CaptureRequest> requests, in captureBurstRequests() [all …]
|
D | CaptureResult.java | 19 import android.annotation.NonNull; 103 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() 130 @NonNull 169 @NonNull 316 @NonNull 343 @NonNull 454 @NonNull 482 @NonNull 510 @NonNull 543 @NonNull [all …]
|
D | CameraCharacteristics.java | 19 import android.annotation.NonNull; 100 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() 127 @NonNull 166 @NonNull 262 @NonNull 303 public @NonNull List<Key<?>> getKeysNeedingPermission() { in getKeysNeedingPermission() 537 @NonNull 570 @NonNull 641 @NonNull 688 @NonNull [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 21 import android.annotation.NonNull; 170 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported() 184 @NonNull UUID uuid, @NonNull String mimeType) { in isCryptoSchemeSupported() 201 @NonNull UUID uuid, @NonNull String mimeType, @SecurityLevel int securityLevel) { in isCryptoSchemeSupported() 206 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID() 220 @NonNull byte[] uuid, @Nullable String mimeType, @SecurityLevel int securityLevel); in isCryptoSchemeSupportedNative() 243 public MediaDrm(@NonNull UUID uuid) throws UnsupportedSchemeException { in MediaDrm() 291 @NonNull 360 @NonNull @CallbackExecutor Executor executor, 361 @NonNull OnExpirationUpdateListener listener) { [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceInternal.java | 19 import android.annotation.NonNull; 69 public abstract boolean isPermissionsReviewRequired(@NonNull PackageParser.Package pkg, in isPermissionsReviewRequired() 73 @NonNull String permName, @NonNull String packageName, boolean overridePolicy, in grantRuntimePermission() 76 @NonNull PackageParser.Package pkg, int callingUid, in grantRuntimePermissionsGrantedToDisabledPackage() 79 @NonNull PackageParser.Package pkg, @NonNull int[] userIds, in grantRequestedRuntimePermissions() 80 @NonNull String[] grantedPermissions, int callingUid, in grantRequestedRuntimePermissions() 83 @NonNull PackageParser.Package pkg, in getWhitelistedRestrictedPermissions() 86 @NonNull PackageParser.Package pkg, @NonNull int[] userIds, in setWhitelistedRestrictedPermissions() 87 @NonNull List<String> permissions, int callingUid, in setWhitelistedRestrictedPermissions() 90 public abstract void revokeRuntimePermission(@NonNull String permName, in revokeRuntimePermission() [all …]
|
/frameworks/base/core/java/android/app/role/ |
D | RoleControllerManager.java | 21 import android.annotation.NonNull; 66 @NonNull 75 public static void initializeRemoteServiceComponentName(@NonNull Context context) { in initializeRemoteServiceComponentName() 85 @NonNull 87 @NonNull Handler handler, @NonNull Context context) { in createWithInitializedRemoteServiceComponentName() 91 private RoleControllerManager(@NonNull ComponentName remoteServiceComponentName, in RoleControllerManager() 92 @NonNull Handler handler, @NonNull Context context) { in RoleControllerManager() 105 public RoleControllerManager(@NonNull Context context) { in RoleControllerManager() 109 @NonNull 110 private static ComponentName getRemoteServiceComponentName(@NonNull Context context) { in getRemoteServiceComponentName() [all …]
|
D | RoleManager.java | 22 import android.annotation.NonNull; 164 @NonNull 167 @NonNull 171 @NonNull 174 @NonNull 180 public RoleManager(@NonNull Context context) throws ServiceManager.ServiceNotFoundException { in RoleManager() 199 @NonNull 200 public Intent createRequestRoleIntent(@NonNull String roleName) { in createRequestRoleIntent() 215 public boolean isRoleAvailable(@NonNull String roleName) { in isRoleAvailable() 231 public boolean isRoleHeld(@NonNull String roleName) { in isRoleHeld() [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/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 23 import android.annotation.NonNull; 519 public @NonNull DevicePolicyManager getManager(@NonNull Context context) { in getManager() 533 public @NonNull ComponentName getWho(@NonNull Context context) { in getWho() 554 public void onEnabled(@NonNull Context context, @NonNull Intent intent) { in onEnabled() 568 public @Nullable CharSequence onDisableRequested(@NonNull Context context, in onDisableRequested() 569 @NonNull Intent intent) { in onDisableRequested() 581 public void onDisabled(@NonNull Context context, @NonNull Intent intent) { in onDisabled() 596 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent) { in onPasswordChanged() 610 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent, in onPasswordChanged() 611 @NonNull UserHandle user) { in onPasswordChanged() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 24 import android.annotation.NonNull; 3426 public abstract PackageInfo getPackageInfo(@NonNull String packageName, in getPackageInfo() 3452 public abstract PackageInfo getPackageInfo(@NonNull VersionedPackage versionedPackage, in getPackageInfo() 3476 public abstract PackageInfo getPackageInfoAsUser(@NonNull String packageName, in getPackageInfoAsUser() 3486 public abstract String[] currentToCanonicalPackageNames(@NonNull String[] packageNames); in currentToCanonicalPackageNames() 3494 public abstract String[] canonicalToCurrentPackageNames(@NonNull String[] packageNames); in canonicalToCurrentPackageNames() 3511 public abstract @Nullable Intent getLaunchIntentForPackage(@NonNull String packageName); in getLaunchIntentForPackage() 3525 public abstract @Nullable Intent getLeanbackLaunchIntentForPackage(@NonNull String packageName); in getLeanbackLaunchIntentForPackage() 3540 public abstract @Nullable Intent getCarLaunchIntentForPackage(@NonNull String packageName); in getCarLaunchIntentForPackage() 3556 public abstract int[] getPackageGids(@NonNull String packageName) in getPackageGids() [all …]
|
D | ShortcutServiceInternal.java | 19 import android.annotation.NonNull; 41 void onShortcutChanged(@NonNull String packageName, @UserIdInt int userId); in onShortcutChanged() 46 @NonNull String callingPackage, long changedSince, in getShortcuts() 52 isPinnedByCaller(int launcherUserId, @NonNull String callingPackage, in isPinnedByCaller() 53 @NonNull String packageName, @NonNull String id, int userId); in isPinnedByCaller() 56 @NonNull String callingPackage, @NonNull String packageName, in pinShortcuts() 57 @NonNull List<String> shortcutIds, int userId); in pinShortcuts() 60 int launcherUserId, @NonNull String callingPackage, in createShortcutIntents() 61 @NonNull String packageName, @NonNull String shortcutId, int userId, in createShortcutIntents() 64 public abstract void addListener(@NonNull ShortcutChangeListener listener); in addListener() [all …]
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 22 import android.annotation.NonNull; 36 private final @NonNull Family[] mFamilies; 37 private final @NonNull Alias[] mAliases; 39 public FontConfig(@NonNull Family[] families, @NonNull Alias[] aliases) { in FontConfig() 48 public @NonNull Family[] getFamilies() { in getFamilies() 55 public @NonNull Alias[] getAliases() { in getAliases() 63 private final @NonNull String mFontName; 65 private final @NonNull FontVariationAxis[] mAxes; 74 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, in Font() 87 public @NonNull String getFontName() { in getFontName() [all …]
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerManager.java | 36 import android.annotation.NonNull; 154 public abstract void onRevokeRuntimePermissions(@NonNull Map<String, List<String>> revoked); in onRevokeRuntimePermissions() 168 void onGetRuntimePermissionsBackup(@NonNull byte[] backup); in onGetRuntimePermissionsBackup() 184 void onGetAppPermissions(@NonNull List<RuntimePermissionPresentationInfo> permissions); in onGetAppPermissions() 213 void onPermissionUsageResult(@NonNull List<RuntimePermissionUsageInfo> users); in onPermissionUsageResult() 216 private final @NonNull Context mContext; 217 private final @NonNull RemoteService mRemoteService; 227 public PermissionControllerManager(@NonNull Context context, @NonNull Handler handler) { in PermissionControllerManager() 259 public void revokeRuntimePermissions(@NonNull Map<String, List<String>> request, in revokeRuntimePermissions() 260 boolean doDryRun, @Reason int reason, @NonNull @CallbackExecutor Executor executor, in revokeRuntimePermissions() [all …]
|
/frameworks/base/core/java/android/view/inspector/ |
D | PropertyMapper.java | 20 import android.annotation.NonNull; 44 int mapBoolean(@NonNull String name, @AttrRes int attributeId); in mapBoolean() 54 int mapByte(@NonNull String name, @AttrRes int attributeId); in mapByte() 64 int mapChar(@NonNull String name, @AttrRes int attributeId); in mapChar() 74 int mapDouble(@NonNull String name, @AttrRes int attributeId); in mapDouble() 84 int mapFloat(@NonNull String name, @AttrRes int attributeId); in mapFloat() 94 int mapInt(@NonNull String name, @AttrRes int attributeId); in mapInt() 104 int mapLong(@NonNull String name, @AttrRes int attributeId); in mapLong() 114 int mapShort(@NonNull String name, @AttrRes int attributeId); in mapShort() 124 int mapObject(@NonNull String name, @AttrRes int attributeId); in mapObject() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentInterface.java | 19 import android.annotation.NonNull; 43 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, 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 args, in refresh() 59 public @Nullable Uri insert(@NonNull Uri uri, @Nullable ContentValues initialValues) in insert() 62 public int bulkInsert(@NonNull Uri uri, @NonNull ContentValues[] initialValues) in bulkInsert() 65 public int delete(@NonNull Uri uri, @Nullable String selection, in delete() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 22 import android.annotation.NonNull; 115 public Canvas(@NonNull Bitmap bitmap) { in Canvas() 828 public void getMatrix(@NonNull Matrix ctm) { in getMatrix() 843 public final @NonNull Matrix getMatrix() { in getMatrix() 850 private static void checkValidClipOp(@NonNull Region.Op op) { in checkValidClipOp() 875 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect() 899 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect() 911 public boolean clipRectUnion(@NonNull Rect rect) { in clipRectUnion() 923 public boolean clipRect(@NonNull RectF rect) { in clipRect() 935 public boolean clipOutRect(@NonNull RectF rect) { in clipOutRect() [all …]
|
D | ColorSpace.java | 22 import android.annotation.NonNull; 210 @NonNull private final String mName; 211 @NonNull private final Model mModel; 815 Adaptation(@NonNull @Size(9) float[] transform) { in Adaptation() 871 @NonNull String name, in ColorSpace() 872 @NonNull Model model, in ColorSpace() 924 @NonNull 949 @NonNull 1053 @NonNull 1078 @NonNull [all …]
|
/frameworks/base/core/java/android/app/ |
D | AppComponentFactory.java | 18 import android.annotation.NonNull; 56 public @NonNull ClassLoader instantiateClassLoader(@NonNull ClassLoader cl, in instantiateClassLoader() 57 @NonNull ApplicationInfo aInfo) { in instantiateClassLoader() 73 public @NonNull Application instantiateApplication(@NonNull ClassLoader cl, in instantiateApplication() 74 @NonNull String className) in instantiateApplication() 92 public @NonNull Activity instantiateActivity(@NonNull ClassLoader cl, @NonNull String className, in instantiateActivity() 107 public @NonNull BroadcastReceiver instantiateReceiver(@NonNull ClassLoader cl, in instantiateReceiver() 108 @NonNull String className, @Nullable Intent intent) in instantiateReceiver() 126 public @NonNull Service instantiateService(@NonNull ClassLoader cl, in instantiateService() 127 @NonNull String className, @Nullable Intent intent) in instantiateService() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | ImageDecoder.java | 19 import android.annotation.NonNull; 71 @NonNull 76 ByteArraySource(@NonNull byte[] data, int offset, int length) { in ByteArraySource() 92 ByteBufferSource(@NonNull ByteBuffer buffer) { in ByteBufferSource() 104 ContentResolverSource(@NonNull ContentResolver resolver, @NonNull Uri uri) { in ContentResolverSource() 153 public AssetInputStreamSource(@NonNull AssetInputStream ais, in AssetInputStreamSource() 154 @NonNull Resources res, @NonNull TypedValue value) { in AssetInputStreamSource() 186 ResourceSource(@NonNull Resources res, int resId) { in ResourceSource() 209 FileSource(@NonNull File file) { in FileSource() 227 private ImageInfo(@NonNull ImageDecoder decoder) { in ImageInfo() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLog.java | 19 import android.annotation.NonNull; 84 @NonNull 85 LogMessage err(@CompileTimeConstant @NonNull String format); in err() 96 @NonNull 97 LogMessage warn(@CompileTimeConstant @NonNull String format); in warn() 108 @NonNull 109 LogMessage info(@CompileTimeConstant @NonNull String format); in info() 121 @NonNull 122 LogMessage trace(@CompileTimeConstant @NonNull String format); in trace() 135 @NonNull [all …]
|
/frameworks/base/core/java/android/net/ |
D | ConnectivityDiagnosticsManager.java | 20 import android.annotation.NonNull; 215 @NonNull private final Network mNetwork; 224 @NonNull private final LinkProperties mLinkProperties; 227 @NonNull private final NetworkCapabilities mNetworkCapabilities; 230 @NonNull private final PersistableBundle mAdditionalInfo; 248 @NonNull Network network, in ConnectivityReport() 250 @NonNull LinkProperties linkProperties, in ConnectivityReport() 251 @NonNull NetworkCapabilities networkCapabilities, in ConnectivityReport() 252 @NonNull PersistableBundle additionalInfo) { in ConnectivityReport() 265 @NonNull [all …]
|
/frameworks/base/graphics/java/android/view/ |
D | PixelCopy.java | 20 import android.annotation.NonNull; 105 public static void request(@NonNull SurfaceView source, @NonNull Bitmap dest, in request() 106 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request() 129 public static void request(@NonNull SurfaceView source, @Nullable Rect srcRect, in request() 130 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request() 131 @NonNull Handler listenerThread) { in request() 152 public static void request(@NonNull Surface source, @NonNull Bitmap dest, in request() 153 @NonNull OnPixelCopyFinishedListener listener, @NonNull Handler listenerThread) { in request() 176 public static void request(@NonNull Surface source, @Nullable Rect srcRect, in request() 177 @NonNull Bitmap dest, @NonNull OnPixelCopyFinishedListener listener, in request() [all …]
|
/frameworks/base/packages/Tethering/src/android/net/util/ |
D | BaseNetdUnsolicitedEventListener.java | 20 import androidx.annotation.NonNull; 33 public void onQuotaLimitReached(@NonNull String alertName, @NonNull String ifName) { } in onQuotaLimitReached() 36 public void onInterfaceDnsServerInfo(@NonNull String ifName, long lifetimeS, in onInterfaceDnsServerInfo() 37 @NonNull String[] servers) { } in onInterfaceDnsServerInfo() 40 public void onInterfaceAddressUpdated(@NonNull String addr, String ifName, int flags, in onInterfaceAddressUpdated() 44 public void onInterfaceAddressRemoved(@NonNull String addr, @NonNull String ifName, int flags, in onInterfaceAddressRemoved() 48 public void onInterfaceAdded(@NonNull String ifName) { } in onInterfaceAdded() 51 public void onInterfaceRemoved(@NonNull String ifName) { } in onInterfaceRemoved() 54 public void onInterfaceChanged(@NonNull String ifName, boolean up) { } in onInterfaceChanged() 57 public void onInterfaceLinkStateChanged(@NonNull String ifName, boolean up) { } in onInterfaceLinkStateChanged() [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | SessionParamsBuilder.java | 35 import android.annotation.NonNull; 64 @NonNull 65 public SessionParamsBuilder setParser(@NonNull LayoutPullParser layoutParser) { in setParser() 71 @NonNull 72 public SessionParamsBuilder setRenderingMode(@NonNull RenderingMode renderingMode) { in setRenderingMode() 77 @NonNull 78 public SessionParamsBuilder setConfigGenerator(@NonNull ConfigGenerator configGenerator) { in setConfigGenerator() 83 @NonNull 84 public SessionParamsBuilder setProjectResources(@NonNull ResourceRepository resources) { in setProjectResources() 89 @NonNull [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | ApkAssets.java | 18 import android.annotation.NonNull; 50 public static @NonNull ApkAssets loadFromPath(@NonNull String path) throws IOException { in loadFromPath() 62 public static @NonNull ApkAssets loadFromPath(@NonNull String path, boolean system) in loadFromPath() 77 public static @NonNull ApkAssets loadFromPath(@NonNull String path, boolean system, in loadFromPath() 96 public static @NonNull ApkAssets loadFromFd(@NonNull FileDescriptor fd, in loadFromFd() 97 @NonNull String friendlyName, boolean system, boolean forceSharedLibrary) in loadFromFd() 111 public static @NonNull ApkAssets loadOverlayFromPath(@NonNull String idmapPath, boolean system) in loadOverlayFromPath() 116 private ApkAssets(@NonNull String path, boolean system, boolean forceSharedLib, boolean overlay) in ApkAssets() 123 private ApkAssets(@NonNull FileDescriptor fd, @NonNull String friendlyName, boolean system, in ApkAssets() 132 public @NonNull String getAssetPath() { in getAssetPath() [all …]
|