Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/base/media/java/android/media/
DMediaDrm.java27 import android.annotation.NonNull;
161 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported()
174 @NonNull UUID uuid, @NonNull String mimeType) { in isCryptoSchemeSupported()
178 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID()
192 @NonNull byte[] uuid, @Nullable String mimeType); in isCryptoSchemeSupportedNative()
202 public MediaDrm(@NonNull UUID uuid) throws UnsupportedSchemeException { in MediaDrm()
257 @NonNull
302 @NonNull MediaDrm md, @NonNull byte[] sessionId, long expirationTime);
346 @NonNull MediaDrm md, @NonNull byte[] sessionId,
347 @NonNull List<KeyStatus> keyInformation,
[all …]
DMediaCrypto.java19 import android.annotation.NonNull;
38 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported()
42 @NonNull
43 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID()
56 private static final native boolean isCryptoSchemeSupportedNative(@NonNull byte[] uuid); in isCryptoSchemeSupportedNative()
64 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] initData) throws MediaCryptoException { in MediaCrypto()
73 public final native boolean requiresSecureDecoderComponent(@NonNull String mime); in requiresSecureDecoderComponent()
86 public final native void setMediaDrmSession(@NonNull byte[] sessionId) in setMediaDrmSession()
97 private native final void native_setup(@NonNull byte[] uuid, @NonNull byte[] initData) in native_setup()
DMediaCodec.java20 import android.annotation.NonNull;
1427 @NonNull
1495 public EventHandler(@NonNull MediaCodec codec, @NonNull Looper looper) { in EventHandler()
1501 public void handleMessage(@NonNull Message msg) { in handleMessage()
1535 private void handleCallback(@NonNull Message msg) { in handleCallback()
1615 @NonNull
1616 public static MediaCodec createDecoderByType(@NonNull String type) in createDecoderByType()
1633 @NonNull
1634 public static MediaCodec createEncoderByType(@NonNull String type) in createEncoderByType()
1648 @NonNull
[all …]
DMediaExtractor.java20 import android.annotation.NonNull;
80 public native final void setDataSource(@NonNull MediaDataSource dataSource) in setDataSource()
93 @NonNull Context context, @NonNull Uri uri, @Nullable Map<String, String> headers) in setDataSource()
139 public final void setDataSource(@NonNull String path, @Nullable Map<String, String> headers) in setDataSource()
164 @NonNull IBinder httpServiceBinder, in nativeSetDataSource()
165 @NonNull String path, in nativeSetDataSource()
181 public final void setDataSource(@NonNull String path) throws IOException { in setDataSource()
195 public final void setDataSource(@NonNull FileDescriptor fd) throws IOException { in setDataSource()
209 @NonNull FileDescriptor fd, long offset, long length) throws IOException; in setDataSource()
260 @NonNull
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraCaptureSession.java19 import android.annotation.NonNull;
78 @NonNull
139 public abstract void prepare(@NonNull Surface surface) throws CameraAccessException; in prepare()
178 public abstract void tearDown(@NonNull Surface surface) throws CameraAccessException; in tearDown()
247 public abstract int capture(@NonNull CaptureRequest request, in capture()
309 public abstract int captureBurst(@NonNull List<CaptureRequest> requests, in captureBurst()
376 public abstract int setRepeatingRequest(@NonNull CaptureRequest request, in setRepeatingRequest()
448 public abstract int setRepeatingBurst(@NonNull List<CaptureRequest> requests, in setRepeatingBurst()
587 public abstract void onConfigured(@NonNull CameraCaptureSession session); in onConfigured()
602 public abstract void onConfigureFailed(@NonNull CameraCaptureSession session); in onConfigureFailed()
[all …]
DCameraDevice.java19 import android.annotation.NonNull;
161 @NonNull
414 public abstract void createCaptureSession(@NonNull List<Surface> outputs, in createCaptureSession()
415 @NonNull CameraCaptureSession.StateCallback callback, @Nullable Handler handler) in createCaptureSession()
584 public abstract void createReprocessableCaptureSession(@NonNull InputConfiguration inputConfig, in createReprocessableCaptureSession()
585 @NonNull List<Surface> outputs, @NonNull CameraCaptureSession.StateCallback callback, in createReprocessableCaptureSession()
668 public abstract void createConstrainedHighSpeedCaptureSession(@NonNull List<Surface> outputs, in createConstrainedHighSpeedCaptureSession()
669 @NonNull CameraCaptureSession.StateCallback callback, in createConstrainedHighSpeedCaptureSession()
700 @NonNull
732 @NonNull
[all …]
/frameworks/base/keystore/java/android/security/keystore/
DKeyGenParameterSpec.java20 import android.annotation.NonNull;
320 @NonNull
347 @NonNull
356 @NonNull
365 @NonNull
374 @NonNull
426 @NonNull
440 @NonNull
453 @NonNull
465 @NonNull
[all …]
DKeyProtection.java20 import android.annotation.NonNull;
292 @NonNull
304 @NonNull
319 @NonNull
344 @NonNull
430 @NonNull
445 @NonNull
459 @NonNull
473 @NonNull
495 @NonNull
[all …]
DAndroidKeyStoreProvider.java19 import android.annotation.NonNull;
167 @NonNull
169 @NonNull String alias, in getAndroidKeyStorePublicKey()
170 @NonNull @KeyProperties.KeyAlgorithmEnum String keyAlgorithm, in getAndroidKeyStorePublicKey()
171 @NonNull byte[] x509EncodedForm) { in getAndroidKeyStorePublicKey()
192 @NonNull
194 @NonNull AndroidKeyStorePublicKey publicKey) { in getAndroidKeyStorePrivateKey()
208 @NonNull
210 @NonNull KeyStore keyStore, @NonNull String privateKeyAlias) in loadAndroidKeyStorePublicKeyFromKeystore()
248 @NonNull
[all …]
DKeyProperties.java20 import android.annotation.NonNull;
107 @NonNull
116 public static @PurposeEnum int allFromKeymaster(@NonNull Collection<Integer> purposes) { in allFromKeymaster()
172 @NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterAsymmetricKeyAlgorithm()
182 @NonNull
197 @NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterSecretKeyAlgorithm()
208 @NonNull
241 public static int toKeymasterDigest(@NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterDigest()
296 public static int toKeymaster(@NonNull @BlockModeEnum String blockMode) { in toKeymaster()
310 @NonNull
[all …]
/frameworks/base/core/java/android/service/carrier/
DCarrierMessagingService.java19 import android.annotation.NonNull;
100 public void onFilterSms(@NonNull MessagePdu pdu, @NonNull String format, int destPort, in onFilterSms()
101 int subId, @NonNull ResultCallback<Boolean> callback) { in onFilterSms()
120 @NonNull String text, int subId, @NonNull String destAddress, in onSendTextSms()
121 @NonNull ResultCallback<SendSmsResult> callback) { in onSendTextSms()
140 @NonNull String text, int subId, @NonNull String destAddress, in onSendTextSms()
141 int sendSmsFlag, @NonNull ResultCallback<SendSmsResult> callback) { in onSendTextSms()
157 public void onSendDataSms(@NonNull byte[] data, int subId, in onSendDataSms()
158 @NonNull String destAddress, int destPort, in onSendDataSms()
159 @NonNull ResultCallback<SendSmsResult> callback) { in onSendDataSms()
[all …]
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java20 import android.annotation.NonNull;
187 @NonNull
196 @NonNull
205 @NonNull
214 @NonNull
223 @NonNull
302 public Builder(@NonNull Context context) { in Builder()
314 @NonNull
315 public Builder setAlias(@NonNull String alias) { in setAlias()
328 @NonNull
[all …]
DKeyChain.java18 import android.annotation.NonNull;
212 @NonNull
257 public static void choosePrivateKeyAlias(@NonNull Activity activity, in choosePrivateKeyAlias()
258 @NonNull KeyChainAliasCallback response, in choosePrivateKeyAlias()
305 public static void choosePrivateKeyAlias(@NonNull Activity activity, in choosePrivateKeyAlias()
306 @NonNull KeyChainAliasCallback response, in choosePrivateKeyAlias()
364 public static PrivateKey getPrivateKey(@NonNull Context context, @NonNull String alias) in getPrivateKey()
403 public static X509Certificate[] getCertificateChain(@NonNull Context context, in getCertificateChain()
404 @NonNull String alias) throws KeyChainException, InterruptedException { in getCertificateChain()
439 @NonNull @KeyProperties.KeyAlgorithmEnum String algorithm) { in isKeyAlgorithmSupported()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBarWrapper.java32 import android.annotation.NonNull;
57 @NonNull protected ActionBar mActionBar;
58 @NonNull protected ActionBarCallback mCallback;
59 @NonNull protected BridgeContext mContext;
67 @NonNull
68 public static FrameworkActionBarWrapper getActionBarWrapper(@NonNull BridgeContext context, in getActionBarWrapper()
69 @NonNull ActionBarCallback callback, @NonNull View decorContent) { in getActionBarWrapper()
82 FrameworkActionBarWrapper(@NonNull BridgeContext context, @NonNull ActionBarCallback callback, in FrameworkActionBarWrapper()
83 @NonNull ActionBar actionBar) { in FrameworkActionBarWrapper()
146 @NonNull
[all …]
/frameworks/base/graphics/java/android/graphics/
DCanvas.java21 import android.annotation.NonNull;
140 public Canvas(@NonNull Bitmap bitmap) { in Canvas()
668 public void getMatrix(@NonNull Matrix ctm) { in getMatrix()
677 public final @NonNull Matrix getMatrix() { in getMatrix()
691 public boolean clipRect(@NonNull RectF rect, @NonNull Region.Op op) { in clipRect()
704 public boolean clipRect(@NonNull Rect rect, @NonNull Region.Op op) { in clipRect()
716 public boolean clipRect(@NonNull RectF rect) { in clipRect()
728 public boolean clipRect(@NonNull Rect rect) { in clipRect()
749 @NonNull Region.Op op) { in clipRect()
796 public boolean clipPath(@NonNull Path path, @NonNull Region.Op op) { in clipPath()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DRecyclerViewUtil.java26 import android.annotation.NonNull;
56 public static void setAdapter(@NonNull View recyclerView, @NonNull BridgeContext context, in setAdapter()
57 @NonNull LayoutlibCallback layoutlibCallback, int adapterLayout) { in setAdapter()
72 private static void setLayoutManager(@NonNull View recyclerView, @NonNull BridgeContext context, in setLayoutManager()
73 @NonNull LayoutlibCallback callback) throws ReflectionException { in setLayoutManager()
85 private static Object createLayoutManager(@NonNull Context context, in createLayoutManager()
86 @NonNull LayoutlibCallback callback) in createLayoutManager()
102 private static Object createAdapter(@NonNull LayoutlibCallback layoutlibCallback) in createAdapter()
116 private static void setProperty(@NonNull Object object, @NonNull String propertyClassName, in setProperty()
117 @NonNull Object propertyValue, @NonNull String propertySetter) in setProperty()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DLineBreaker.java19 import android.annotation.NonNull;
31 protected final @NonNull List<Primitive> mPrimitives;
32 protected final @NonNull LineWidth mLineWidth;
33 protected final @NonNull TabStops mTabStops;
35 public LineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, in LineBreaker()
36 @NonNull TabStops tabStops) { in LineBreaker()
42 public abstract void computeBreaks(@NonNull LineBreaks breakInfo); in computeBreaks()
/frameworks/support/v4/java/android/support/v4/widget/
DTextViewCompat.java21 import android.support.annotation.NonNull;
37 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
41 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
45 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
53 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
60 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
67 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
77 public void setCompoundDrawablesRelative(@NonNull TextView textView, in setCompoundDrawablesRelative()
84 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
92 public void setCompoundDrawablesRelativeWithIntrinsicBounds(@NonNull TextView textView, in setCompoundDrawablesRelativeWithIntrinsicBounds()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderClient.java19 import android.annotation.NonNull;
115 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, in query()
122 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, in query()
149 public @Nullable String getType(@NonNull Uri url) throws RemoteException { in getType()
166 public @Nullable String[] getStreamTypes(@NonNull Uri url, @NonNull String mimeTypeFilter) in getStreamTypes()
185 public final @Nullable Uri canonicalize(@NonNull Uri url) throws RemoteException { in canonicalize()
202 public final @Nullable Uri uncanonicalize(@NonNull Uri url) throws RemoteException { in uncanonicalize()
219 public @Nullable Uri insert(@NonNull Uri url, @Nullable ContentValues initialValues) in insert()
237 public int bulkInsert(@NonNull Uri url, @NonNull ContentValues[] initialValues) in bulkInsert()
256 public int delete(@NonNull Uri url, @Nullable String selection, in delete()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFragmentAnimationProvider.java17 import android.support.annotation.NonNull;
32 public abstract void onActivityEnter(@NonNull List<Animator> animators); in onActivityEnter()
38 public abstract void onActivityExit(@NonNull List<Animator> animators); in onActivityExit()
46 public abstract void onFragmentEnter(@NonNull List<Animator> animators); in onFragmentEnter()
54 public abstract void onFragmentExit(@NonNull List<Animator> animators); in onFragmentExit()
62 public abstract void onFragmentReenter(@NonNull List<Animator> animators); in onFragmentReenter()
70 public abstract void onFragmentReturn(@NonNull List<Animator> animators); in onFragmentReturn()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java19 import android.annotation.NonNull;
824 public boolean isAdminActive(@NonNull ComponentName admin) { in isAdminActive()
832 public boolean isAdminActiveAsUser(@NonNull ComponentName admin, int userId) { in isAdminActiveAsUser()
847 public boolean isRemovingAdmin(@NonNull ComponentName admin, int userId) { in isRemovingAdmin()
905 public void removeActiveAdmin(@NonNull ComponentName admin) { in removeActiveAdmin()
924 public boolean hasGrantedPolicy(@NonNull ComponentName admin, int usesPolicy) { in hasGrantedPolicy()
1025 public void setPasswordQuality(@NonNull ComponentName admin, int quality) { in setPasswordQuality()
1078 public void setPasswordMinimumLength(@NonNull ComponentName admin, int length) { in setPasswordMinimumLength()
1132 public void setPasswordMinimumUpperCase(@NonNull ComponentName admin, int length) { in setPasswordMinimumUpperCase()
1193 public void setPasswordMinimumLowerCase(@NonNull ComponentName admin, int length) { in setPasswordMinimumLowerCase()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java23 import android.annotation.NonNull;
53 @NonNull
54 public static XmlPullParser create(@NonNull File f) in create()
60 @NonNull
61 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name) in create()
66 @NonNull
67 private static XmlPullParser create(@NonNull InputStream stream, @Nullable String name, in create()
77 @NonNull
88 @NonNull
89 private static InputStream readAndClose(@NonNull InputStream stream, @Nullable String name, in readAndClose()
/frameworks/support/v4/java/android/support/v4/content/
DPermissionChecker.java24 import android.support.annotation.NonNull;
87 public static int checkPermission(@NonNull Context context, @NonNull String permission, in checkPermission()
123 public static int checkSelfPermission(@NonNull Context context, in checkSelfPermission()
124 @NonNull String permission) { in checkSelfPermission()
140 public static int checkCallingPermission(@NonNull Context context, in checkCallingPermission()
141 @NonNull String permission, String packageName) { in checkCallingPermission()
158 public static int checkCallingOrSelfPermission(@NonNull Context context, in checkCallingOrSelfPermission()
159 @NonNull String permission) { in checkCallingOrSelfPermission()
/frameworks/support/v4/java/android/support/v4/app/
DAppOpsManagerCompat.java21 import android.support.annotation.NonNull;
96 public static String permissionToOp(@NonNull String permission) { in permissionToOp()
115 public static int noteOp(@NonNull Context context, @NonNull String op, int uid, in noteOp()
116 @NonNull String packageName) { in noteOp()
136 public static int noteProxyOp(@NonNull Context context, @NonNull String op, in noteProxyOp()
137 @NonNull String proxiedPackageName) { in noteProxyOp()
/frameworks/base/core/java/android/view/
DViewHierarchyEncoder.java3 import android.annotation.NonNull;
68 public ViewHierarchyEncoder(@NonNull ByteArrayOutputStream stream) { in ViewHierarchyEncoder()
72 public void beginObject(@NonNull Object o) { in beginObject()
93 public void addProperty(@NonNull String name, boolean v) { in addProperty()
98 public void addProperty(@NonNull String name, short s) { in addProperty()
103 public void addProperty(@NonNull String name, int v) { in addProperty()
108 public void addProperty(@NonNull String name, float v) { in addProperty()
113 public void addProperty(@NonNull String name, @Nullable String s) { in addProperty()
122 public void addPropertyKey(@NonNull String name) { in addPropertyKey()
126 private short createPropertyIndex(@NonNull String name) { in createPropertyIndex()

12345678910>>...12