Home
last modified time | relevance | path

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

123456

/external/setupcompat/main/java/com/google/android/setupcompat/logging/
DSetupMetricsLogger.java20 import androidx.annotation.NonNull;
31 public static void logCustomEvent(@NonNull Context context, @NonNull CustomEvent customEvent) { in logCustomEvent()
41 @NonNull Context context, @NonNull MetricKey counterName, int times) { in logCounter()
54 public static void logDuration(@NonNull Context context, @NonNull Timer timer) { in logDuration()
65 @NonNull Context context, @NonNull MetricKey timerName, long timeInMillis) { in logDuration()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java25 import org.checkerframework.checker.nullness.qual.NonNull;
147 public Interpreter(@NonNull File modelFile) { in Interpreter()
160 public Interpreter(@NonNull File modelFile, int numThreads) { in Interpreter()
170 public Interpreter(@NonNull File modelFile, Options options) { in Interpreter()
181 public Interpreter(@NonNull ByteBuffer byteBuffer) { in Interpreter()
197 public Interpreter(@NonNull ByteBuffer byteBuffer, int numThreads) { in Interpreter()
211 public Interpreter(@NonNull MappedByteBuffer mappedByteBuffer) { in Interpreter()
223 public Interpreter(@NonNull ByteBuffer byteBuffer, Options options) { in Interpreter()
273 @NonNull Object[] inputs, @NonNull Map<Integer, Object> outputs) { in runForMultipleInputsOutputs()
283 public void resizeInput(int idx, @NonNull int[] dims) { in resizeInput()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DRequireScrollMixin.java22 import androidx.annotation.NonNull;
84 public RequireScrollMixin(@NonNull TemplateLayout templateLayout) { in RequireScrollMixin()
91 public void setScrollHandlingDelegate(@NonNull ScrollHandlingDelegate delegate) { in setScrollHandlingDelegate()
138 public void requireScrollWithNavigationBar(@NonNull final NavigationBar navigationBar) {
153 @NonNull Button button, @StringRes int moreText, @Nullable OnClickListener onClickListener) {
175 @NonNull final Button button,
208 @NonNull Context context,
209 @NonNull FooterButton button,
233 @NonNull final FooterButton button,
DRecyclerMixin.java24 import androidx.annotation.NonNull;
56 @NonNull private final RecyclerView recyclerView;
60 @NonNull private DividerItemDecoration dividerDecoration;
76 public RecyclerMixin(@NonNull TemplateLayout layout, @NonNull RecyclerView recyclerView) { in RecyclerMixin()
260 public void setDividerItemDecoration(@NonNull DividerItemDecoration decoration) { in setDividerItemDecoration()
DScrollViewScrollHandlingDelegate.java19 import androidx.annotation.NonNull;
36 @NonNull private final RequireScrollMixin requireScrollMixin;
41 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ScrollView scrollView) { in ScrollViewScrollHandlingDelegate()
DRecyclerViewScrollHandlingDelegate.java19 import androidx.annotation.NonNull;
35 @NonNull private final RequireScrollMixin requireScrollMixin;
38 @NonNull RequireScrollMixin requireScrollMixin, @Nullable RecyclerView recyclerView) { in RecyclerViewScrollHandlingDelegate()
DListViewScrollHandlingDelegate.java19 import androidx.annotation.NonNull;
38 @NonNull private final RequireScrollMixin requireScrollMixin;
43 @NonNull RequireScrollMixin requireScrollMixin, @Nullable ListView listView) { in ListViewScrollHandlingDelegate()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCameraManager.java3 import android.annotation.NonNull;
23 @NonNull
30 @NonNull
31 protected CameraCharacteristics getCameraCharacteristics(@NonNull String cameraId) { in getCameraCharacteristics()
45 public void addCamera(@NonNull String cameraId, @NonNull CameraCharacteristics characteristics) { in addCamera()
DShadowPackageInstaller.java6 import android.annotation.NonNull;
47 @NonNull PackageInstaller.SessionCallback callback, @NonNull Handler handler) { in registerSessionCallback()
61 protected int createSession(@NonNull PackageInstaller.SessionParams params) throws IOException { in createSession()
96 @NonNull
168 @NonNull
169 protected OutputStream openWrite(@NonNull String name, long offsetBytes, long lengthBytes) in openWrite()
187 protected void fsync(@NonNull OutputStream out) throws IOException {} in fsync()
190 protected void commit(@NonNull IntentSender statusReceiver) { in commit()
DShadowPendingIntent.java12 import android.annotation.NonNull;
54 @NonNull private Intent[] savedIntents;
64 Context context, int requestCode, @NonNull Intent intent, int flags) { in getActivity()
70 Context context, int requestCode, @NonNull Intent intent, int flags, Bundle options) { in getActivity()
76 Context context, int requestCode, @NonNull Intent[] intents, int flags) { in getActivities()
82 Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options) { in getActivities()
88 Context context, int requestCode, @NonNull Intent intent, int flags) { in getBroadcast()
94 Context context, int requestCode, @NonNull Intent intent, int flags) { in getService()
100 Context context, int requestCode, @NonNull Intent intent, int flags) { in getForegroundService()
DShadowCaptioningManager.java3 import android.annotation.NonNull;
45 protected void addCaptioningChangeListener(@NonNull CaptioningChangeListener listener) { in addCaptioningChangeListener()
50 protected void removeCaptioningChangeListener(@NonNull CaptioningChangeListener listener) { in removeCaptioningChangeListener()
DShadowArscAssetManager9.java29 import android.annotation.NonNull;
527 …protected static void nativeSetApkAssets(long ptr, @NonNull android.content.res.ApkAssets[] apk_as… in nativeSetApkAssets()
608 protected static @NonNull SparseArray<String> nativeGetAssignedPackageIdentifiers( in nativeGetAssignedPackageIdentifiers()
636 protected static @Nullable String[] nativeList(long ptr, @NonNull String path) in nativeList()
679 protected static long nativeOpenAsset(long ptr, @NonNull String asset_path, int access_mode) in nativeOpenAsset()
709 @NonNull String asset_path, long[] out_offsets) throws IOException { in nativeOpenAssetFd()
729 protected static long nativeOpenNonAsset(long ptr, int jcookie, @NonNull String asset_path, in nativeOpenNonAsset()
767 @NonNull String asset_path, @NonNull long[] out_offsets) throws IOException { in nativeOpenNonAssetFd()
794 protected static long nativeOpenXmlAsset(long ptr, int jcookie, @NonNull String asset_path) in nativeOpenXmlAsset()
837 @NonNull TypedValue typed_value, boolean resolve_references) { in nativeGetResourceValue()
[all …]
DShadowArscAssetManager10.java31 import android.annotation.NonNull;
531 …protected static void nativeSetApkAssets(long ptr, @NonNull android.content.res.ApkAssets[] apk_as… in nativeSetApkAssets()
612 protected static @NonNull SparseArray<String> nativeGetAssignedPackageIdentifiers( in nativeGetAssignedPackageIdentifiers()
640 protected static @Nullable String[] nativeList(long ptr, @NonNull String path) in nativeList()
683 protected static long nativeOpenAsset(long ptr, @NonNull String asset_path, int access_mode) in nativeOpenAsset()
713 @NonNull String asset_path, long[] out_offsets) throws IOException { in nativeOpenAssetFd()
733 protected static long nativeOpenNonAsset(long ptr, int jcookie, @NonNull String asset_path, in nativeOpenNonAsset()
771 @NonNull String asset_path, @NonNull long[] out_offsets) throws IOException { in nativeOpenNonAssetFd()
798 protected static long nativeOpenXmlAsset(long ptr, int jcookie, @NonNull String asset_path) in nativeOpenXmlAsset()
841 @NonNull TypedValue typed_value, boolean resolve_references) { in nativeGetResourceValue()
[all …]
DShadowUsageStatsManager.java3 import android.annotation.NonNull;
63 @NonNull Collection<String> packageNames, in AppUsageObserver()
65 @NonNull TimeUnit timeUnit, in AppUsageObserver()
66 @NonNull PendingIntent callbackIntent) { in AppUsageObserver()
78 @NonNull
87 @NonNull
92 @NonNull
DShadowArscApkAssets9.java8 import android.annotation.NonNull;
138 protected static ApkAssets loadFromPath(@NonNull String path) throws IOException { in loadFromPath()
171 protected static @NonNull ApkAssets loadFromPath(@NonNull String path, boolean system, in loadFromPath()
195 protected static @NonNull ApkAssets loadOverlayFromPath(@NonNull String idmapPath, boolean system) in loadOverlayFromPath()
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
DShadowMediaBrowserCompat.java11 import android.support.annotation.NonNull;
96 protected void getItem(@NonNull final String mediaId, @NonNull final ItemCallback cb) { in getItem()
108 protected void subscribe(@NonNull String parentId, @NonNull SubscriptionCallback callback) { in subscribe()
114 @NonNull String parentId, @Nullable Bundle options, @NonNull SubscriptionCallback callback) { in subscribe()
153 @NonNull final String query, final Bundle extras, @NonNull SearchCallback callback) { in search()
/external/conscrypt/publicapi/src/main/java/android/net/ssl/
DSSLSockets.java21 import libcore.util.NonNull;
35 public static boolean isSupportedSocket(@NonNull SSLSocket socket) { in isSupportedSocket()
39 private static void checkSupported(@NonNull SSLSocket s) { in checkSupported()
54 public static void setUseSessionTickets(@NonNull SSLSocket socket, boolean useSessionTickets) { in setUseSessionTickets()
DSSLEngines.java21 import libcore.util.NonNull;
35 public static boolean isSupportedEngine(@NonNull SSLEngine engine) { in isSupportedEngine()
39 private static void checkSupported(@NonNull SSLEngine e) { in checkSupported()
54 public static void setUseSessionTickets(@NonNull SSLEngine engine, boolean useSessionTickets) { in setUseSessionTickets()
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/
DPartnerConfigHelper.java30 import androidx.annotation.NonNull;
55 public static synchronized PartnerConfigHelper get(@NonNull Context context) { in get()
84 public int getColor(@NonNull Context context, PartnerConfig resourceConfig) { in getColor()
119 public Drawable getDrawable(@NonNull Context context, PartnerConfig resourceConfig) { in getDrawable()
163 public String getString(@NonNull Context context, PartnerConfig resourceConfig) { in getString()
194 @NonNull Context context, PartnerConfig resourceConfig, boolean defaultValue) { in getBoolean()
221 public float getDimension(@NonNull Context context, PartnerConfig resourceConfig) { in getDimension()
235 @NonNull Context context, PartnerConfig resourceConfig, float defaultValue) { in getDimension()
269 public float getFraction(@NonNull Context context, PartnerConfig resourceConfig) { in getFraction()
283 @NonNull Context context, PartnerConfig resourceConfig, float defaultValue) { in getFraction()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DReflectionInflater.java20 import androidx.annotation.NonNull;
54 @NonNull private final Context context;
62 protected ReflectionInflater(@NonNull Context context) { in ReflectionInflater()
67 @NonNull
80 @NonNull
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java47 import android.support.annotation.NonNull;
158 public void onOpened(@NonNull CameraDevice currentCameraDevice) {
166 public void onDisconnected(@NonNull CameraDevice currentCameraDevice) {
173 public void onError(@NonNull CameraDevice currentCameraDevice, int error) {
218 @NonNull CameraCaptureSession session,
219 @NonNull CaptureRequest request,
220 @NonNull CaptureResult partialResult) {}
224 @NonNull CameraCaptureSession session,
225 @NonNull CaptureRequest request,
226 @NonNull TotalCaptureResult result) {}
[all …]
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DCompatDecoderFactory.java4 import android.support.annotation.NonNull;
23 public CompatDecoderFactory(@NonNull Class<? extends T> clazz) { in CompatDecoderFactory()
32 public CompatDecoderFactory(@NonNull Class<? extends T> clazz, Bitmap.Config bitmapConfig) { in CompatDecoderFactory()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DShadowMediaBrowserCompatTest.java11 import android.support.annotation.NonNull;
113 @NonNull String query, Bundle bundle, @NonNull List<MediaItem> list) { in onSearchResult()
128 public void onChildrenLoaded(@NonNull String parentId, @NonNull List<MediaItem> list) { in onChildrenLoaded()
/external/libchrome/base/android/javatests/src/org/chromium/base/
DAsyncTaskTest.java7 import android.support.annotation.NonNull;
65 public Thread newThread(@NonNull Runnable r) { in testChromeThreadPoolExecutorRunnables()
90 public Thread newThread(@NonNull Runnable r) { in testChromeThreadPoolExecutorChromeAsyncTask()
114 public Thread newThread(@NonNull Runnable r) { in testChromeThreadPoolExecutorOsAsyncTask()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/viewpager/
DViewPagerFragment.java4 import android.support.annotation.NonNull;
29 …public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstan… in onCreateView()
46 public void onSaveInstanceState(@NonNull Bundle outState) { in onSaveInstanceState()

123456