/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/ |
D | FileUtil.java | 31 import org.checkerframework.checker.nullness.qual.NonNull; 48 @NonNull 49 public static List<String> loadLabels(@NonNull Context context, @NonNull String filePath) in loadLabels() 67 @NonNull 69 @NonNull Context context, @NonNull String filePath, Charset cs) throws IOException { in loadLabels() 85 @NonNull 86 public static List<String> loadLabels(@NonNull InputStream inputStream) throws IOException { in loadLabels() 99 @NonNull 100 public static List<String> loadLabels(@NonNull InputStream inputStream, Charset cs) in loadLabels() 125 @NonNull [all …]
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/tensorbuffer/ |
D | TensorBuffer.java | 25 import org.checkerframework.checker.nullness.qual.NonNull; 74 @NonNull 75 public static TensorBuffer createFixedSize(@NonNull int[] shape, DataType dataType) { in createFixedSize() 95 @NonNull 114 @NonNull 115 public static TensorBuffer createFrom(@NonNull TensorBuffer buffer, DataType dataType) { in createFrom() 137 @NonNull 157 @NonNull 171 @NonNull 198 @NonNull [all …]
|
D | TensorBufferFloat.java | 19 import org.checkerframework.checker.nullness.qual.NonNull; 33 TensorBufferFloat(@NonNull int[] shape) { in TensorBufferFloat() 47 @NonNull 63 @NonNull 87 public void loadArray(@NonNull float[] src, @NonNull int[] shape) { in loadArray() 100 public void loadArray(@NonNull int[] src, @NonNull int[] shape) { in loadArray()
|
D | TensorBufferUint8.java | 18 import org.checkerframework.checker.nullness.qual.NonNull; 32 TensorBufferUint8(@NonNull int[] shape) { in TensorBufferUint8() 46 @NonNull 65 @NonNull 89 public void loadArray(@NonNull float[] src, @NonNull int[] shape) { in loadArray() 106 public void loadArray(@NonNull int[] src, @NonNull int[] shape) { in loadArray()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/model/ |
D | Model.java | 22 import org.checkerframework.checker.nullness.qual.NonNull; 115 @NonNull 116 public Builder(@NonNull Context context, @NonNull String modelPath) throws IOException { in Builder() 122 @NonNull 129 @NonNull 137 @NonNull 153 public static Model createModel(@NonNull Context context, @NonNull String modelPath) in createModel() 168 @NonNull Context context, @NonNull String modelPath, @NonNull Options options) in createModel() 188 @NonNull MappedByteBuffer byteModel, @NonNull String modelPath, @NonNull Options options) { in createModel() 211 @NonNull [all …]
|
/external/rust/crates/hashbrown/src/raw/ |
D | alloc.rs | 7 use core::ptr::NonNull; 10 pub fn do_alloc<A: Allocator>(alloc: &A, layout: Layout) -> Result<NonNull<u8>, ()> { in do_alloc() 20 fn allocate(&self, layout: Layout) -> Result<NonNull<[u8]>, core::alloc::AllocError> { in allocate() 22 Ok(ptr) => Ok(NonNull::slice_from_raw_parts(ptr, layout.size())), in allocate() 27 unsafe fn deallocate(&self, _ptr: NonNull<u8>, _layout: Layout) {} in deallocate() 34 use core::ptr::NonNull; 37 fn allocate(&self, layout: Layout) -> Result<NonNull<u8>, ()>; in allocate() 38 unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout); in deallocate() 45 fn allocate(&self, layout: Layout) -> Result<NonNull<u8>, ()> { in allocate() 46 unsafe { NonNull::new(alloc(layout)).ok_or(()) } in allocate() [all …]
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/ |
D | TextClassifierSettings.java | 25 import androidx.annotation.NonNull; 214 default Properties getProperties(@NonNull String namespace, @NonNull String... names) { in getProperties() 218 default int getInt(@NonNull String namespace, @NonNull String name, @NonNull int defaultValue) { in getInt() 223 @NonNull String namespace, @NonNull String name, @NonNull long defaultValue) { in getLong() 228 @NonNull String namespace, @NonNull String name, @NonNull float defaultValue) { in getFloat() 233 @NonNull String namespace, @NonNull String name, @Nullable String defaultValue) { in getString() 238 @NonNull String namespace, @NonNull String name, boolean defaultValue) { in getBoolean() 246 public Properties getProperties(@NonNull String namespace, @NonNull String... names) { 252 @NonNull String namespace, @NonNull String name, @NonNull int defaultValue) { 258 @NonNull String namespace, @NonNull String name, @NonNull long defaultValue) { [all …]
|
/external/icu/android_icu4j/api/intra/ |
D | current.txt | 18 method @NonNull public com.android.i18n.timezone.ZoneInfoData createCopyWithRawOffset(int); 19 …method @NonNull public static com.android.i18n.timezone.ZoneInfoData createFromSerializationFields… 20 …@NonNull public static com.android.i18n.timezone.ZoneInfoData createInstance(@NonNull String, @Non… 21 method @NonNull public String getID(); 24 method public int getOffsetsByUtcTime(long, @NonNull int[]); 27 method public boolean hasSameRules(@NonNull com.android.i18n.timezone.ZoneInfoData); 29 method public void writeToSerializationFields(@NonNull java.io.ObjectOutputStream.PutField); 30 field @NonNull public static final java.io.ObjectStreamField[] ZONEINFO_SERIALIZED_FIELDS; 34 method @NonNull public String[] getAvailableIDs(); 35 method @NonNull public String[] getAvailableIDs(int); [all …]
|
/external/rust/crates/tokio/src/runtime/task/ |
D | raw.rs | 4 use std::ptr::NonNull; 9 ptr: NonNull<Header>, 14 pub(super) poll: unsafe fn(NonNull<Header>), 17 pub(super) dealloc: unsafe fn(NonNull<Header>), 20 pub(super) try_read_output: unsafe fn(NonNull<Header>, *mut (), &Waker), 23 pub(super) drop_join_handle_slow: unsafe fn(NonNull<Header>), 26 pub(super) shutdown: unsafe fn(NonNull<Header>), 47 let ptr = unsafe { NonNull::new_unchecked(ptr as *mut Header) }; in new() 52 pub(super) unsafe fn from_raw(ptr: NonNull<Header>) -> RawTask { in from_raw() 102 unsafe fn poll<T: Future, S: Schedule>(ptr: NonNull<Header>) { in poll() [all …]
|
D | mod.rs | 33 use std::ptr::NonNull; 123 pub(crate) unsafe fn from_raw(ptr: NonNull<Header>) -> Task<S> { in from_raw() 137 pub(crate) unsafe fn from_raw(ptr: NonNull<Header>) -> Notified<S> { 147 pub(crate) fn into_raw(self) -> NonNull<Header> { 155 pub(crate) fn into_raw(self) -> NonNull<Header> { 210 fn as_raw(handle: &Task<S>) -> NonNull<Header> { in as_raw() 214 unsafe fn from_raw(ptr: NonNull<Header>) -> Task<S> { in from_raw() 218 unsafe fn pointers(target: NonNull<Header>) -> NonNull<linked_list::Pointers<Header>> { in pointers() 220 NonNull::from(target.as_ref().owned.with_mut(|ptr| &mut *ptr)) in pointers()
|
/external/icing/java/src/com/google/android/icing/ |
D | IcingSearchEngine.java | 18 import androidx.annotation.NonNull; 76 public IcingSearchEngine(@NonNull IcingSearchEngineOptions options) { in IcingSearchEngine() 109 @NonNull 131 @NonNull 132 public SetSchemaResultProto setSchema(@NonNull SchemaProto schema) { in setSchema() 136 @NonNull 138 @NonNull SchemaProto schema, boolean ignoreErrorsAndDeleteDocuments) { in setSchema() 160 @NonNull 182 @NonNull 183 public GetSchemaTypeResultProto getSchemaType(@NonNull String schemaType) { in getSchemaType() [all …]
|
/external/dagger2/java/dagger/hilt/android/internal/lifecycle/ |
D | HiltViewModelFactory.java | 24 import androidx.annotation.NonNull; 71 @NonNull SavedStateRegistryOwner owner, in HiltViewModelFactory() 73 @NonNull Set<String> hiltViewModelKeys, in HiltViewModelFactory() 74 @NonNull ViewModelProvider.Factory delegateFactory, in HiltViewModelFactory() 75 @NonNull ViewModelComponentBuilder viewModelComponentBuilder) { in HiltViewModelFactory() 80 @NonNull in HiltViewModelFactory() 84 @NonNull String key, @NonNull Class<T> modelClass, @NonNull SavedStateHandle handle) { in HiltViewModelFactory() 103 @NonNull 105 public <T extends ViewModel> T create(@NonNull Class<T> modelClass) { in create()
|
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/ |
D | Interpreter.java | 27 import android.support.annotation.NonNull; 203 public Interpreter(@NonNull File modelFile) { in Interpreter() 216 public Interpreter(@NonNull File modelFile, int numThreads) { in Interpreter() 228 public Interpreter(@NonNull File modelFile, Options options) { in Interpreter() 243 public Interpreter(@NonNull ByteBuffer byteBuffer) { in Interpreter() 259 public Interpreter(@NonNull ByteBuffer byteBuffer, int numThreads) { in Interpreter() 273 public Interpreter(@NonNull MappedByteBuffer mappedByteBuffer) { in Interpreter() 288 public Interpreter(@NonNull ByteBuffer byteBuffer, Options options) { in Interpreter() 374 @NonNull Object[] inputs, @NonNull Map<Integer, Object> outputs) { in runForMultipleInputsOutputs() 394 @NonNull Map<String, Object> inputs, in runSignature() [all …]
|
/external/conscrypt/api/public/ |
D | current.txt | 5 …od @Nullable public static byte[] exportKeyingMaterial(@NonNull javax.net.ssl.SSLEngine, @NonNull … 6 method public static boolean isSupportedEngine(@NonNull javax.net.ssl.SSLEngine); 7 method public static void setUseSessionTickets(@NonNull javax.net.ssl.SSLEngine, boolean); 11 …od @Nullable public static byte[] exportKeyingMaterial(@NonNull javax.net.ssl.SSLSocket, @NonNull … 12 method public static boolean isSupportedSocket(@NonNull javax.net.ssl.SSLSocket); 13 method public static void setUseSessionTickets(@NonNull javax.net.ssl.SSLSocket, boolean);
|
/external/setupcompat/main/java/com/google/android/setupcompat/logging/ |
D | SetupMetricsLogger.java | 20 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/dagger2/java/dagger/hilt/android/migration/ |
D | OptionalInjectCheck.java | 21 import androidx.annotation.NonNull; 42 public static boolean wasInjectedByHilt(@NonNull ComponentActivity activity) { in wasInjectedByHilt() 52 public static boolean wasInjectedByHilt(@NonNull BroadcastReceiver broadcastReceiver) { in wasInjectedByHilt() 62 public static boolean wasInjectedByHilt(@NonNull Fragment fragment) { in wasInjectedByHilt() 72 public static boolean wasInjectedByHilt(@NonNull Service service) { in wasInjectedByHilt() 82 public static boolean wasInjectedByHilt(@NonNull View view) { in wasInjectedByHilt() 86 private static boolean check(@NonNull Object obj) { in check()
|
/external/conscrypt/publicapi/src/main/java/android/net/ssl/ |
D | SSLSockets.java | 22 import libcore.util.NonNull; 37 public static boolean isSupportedSocket(@NonNull SSLSocket socket) { in isSupportedSocket() 41 private static void checkSupported(@NonNull SSLSocket s) { in checkSupported() 56 public static void setUseSessionTickets(@NonNull SSLSocket socket, boolean useSessionTickets) { in setUseSessionTickets() 84 public static byte[] exportKeyingMaterial(@NonNull SSLSocket socket, @NonNull String label, in exportKeyingMaterial()
|
D | SSLEngines.java | 22 import libcore.util.NonNull; 37 public static boolean isSupportedEngine(@NonNull SSLEngine engine) { in isSupportedEngine() 41 private static void checkSupported(@NonNull SSLEngine e) { in checkSupported() 56 public static void setUseSessionTickets(@NonNull SSLEngine engine, boolean useSessionTickets) { in setUseSessionTickets() 84 public static byte[] exportKeyingMaterial(@NonNull SSLEngine engine, @NonNull String label, in exportKeyingMaterial()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/testing/ |
D | TestingDeviceConfig.java | 20 import androidx.annotation.NonNull; 45 public Properties getProperties(@NonNull String namespace, @NonNull String... names) { in getProperties() 57 public boolean getBoolean(@NonNull String namespace, @NonNull String name, boolean defaultValue) { in getBoolean() 63 @NonNull String namespace, @NonNull String name, @Nullable String defaultValue) { in getString()
|
/external/rust/crates/tokio/src/sync/mpsc/ |
D | list.rs | 8 use std::ptr::NonNull; 24 head: NonNull<Block<T>>, 30 free_head: NonNull<Block<T>>, 43 let head = NonNull::new(initial_block_ptr).unwrap(); in channel() 84 fn find_block(&self, slot_index: usize) -> NonNull<Block<T>> { in find_block() 116 return unsafe { NonNull::new_unchecked(block_ptr) }; in find_block() 169 pub(crate) unsafe fn reclaim_block(&self, mut block: NonNull<Block<T>>) { in reclaim_block() 190 let mut curr = NonNull::new_unchecked(curr_ptr); in reclaim_block() 312 debug_assert_ne!(self.free_head, NonNull::dangling()); in free_blocks() 320 self.free_head = NonNull::dangling(); in free_blocks() [all …]
|
/external/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | RequireScrollMixin.java | 25 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,
|
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/text/ |
D | ExtendedTimeZoneNames.java | 24 import libcore.util.NonNull; 66 private final @NonNull String tzId; 69 private Match(int matchLength, @NonNull String tzId, boolean isDst) { in Match() 91 public @NonNull String getTzId() { in getTzId() 118 public static @NonNull ExtendedTimeZoneNames getInstance(@NonNull ULocale locale) { in getInstance() 128 public @NonNull TimeZoneNames getTimeZoneNames() { in getTimeZoneNames() 155 public @Nullable Match matchName(@NonNull CharSequence text, int start, in matchName() 156 @NonNull String currentTzId) { in matchName()
|
/external/setupcompat/main/java/com/google/android/setupcompat/portal/ |
D | PortalHelper.java | 30 import androidx.annotation.NonNull; 59 @NonNull Context context, @NonNull ServiceConnection connection) { in bindSetupNotificationService() 80 @NonNull Context context, in registerProgressService() 81 @NonNull ProgressServiceComponent component, in registerProgressService() 82 @NonNull RegisterCallback callback) { in registerProgressService() 145 @NonNull Context context, @NonNull final PortalAvailableResultListener listener) { in isPortalAvailable() 177 @NonNull final Context context, in isProgressServiceAlive() 178 @NonNull final ProgressServiceComponent component, in isProgressServiceAlive() 179 @NonNull final ProgressServiceAliveResultListener listener) { in isProgressServiceAlive()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowCameraManager.java | 3 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()
|
/external/rust/crates/tokio/src/util/ |
D | linked_list.rs | 13 use core::ptr::{self, NonNull}; 21 head: Option<NonNull<T>>, 24 tail: Option<NonNull<T>>, 53 fn as_raw(handle: &Self::Handle) -> NonNull<Self::Target>; in as_raw() 56 unsafe fn from_raw(ptr: NonNull<Self::Target>) -> Self::Handle; in from_raw() 59 unsafe fn pointers(target: NonNull<Self::Target>) -> NonNull<Pointers<Self::Target>>; in pointers() 87 prev: Option<NonNull<T>>, 93 next: Option<NonNull<T>>, 175 pub(crate) unsafe fn remove(&mut self, node: NonNull<L::Target>) -> Option<L::Handle> { in remove() 242 curr: Option<NonNull<T::Target>>, [all …]
|