Searched refs:ensureNotNull (Results 1 – 6 of 6) sorted by relevance
86 ensureNotNull(rawDevice, "Not found USB device: " + deviceId); in openDevice()97 final UsbDeviceConnection connection = ensureNotNull( in openDevice()107 final int[] storageIds = ensureNotNull( in openDevice()137 return ensureNotNull( in getObjectInfo()147 return ensureNotNull( in getObjectHandles()157 return ensureNotNull( in getObject()182 return ensureNotNull( in getThumbnail()248 return ensureNotNull( in getDevice()257 ensureNotNull(device.getStorageIds(), "Failed to obtain storage IDs."); in getRoots()342 private static <T> T ensureNotNull(@Nullable T t, String errorMessage) throws IOException { in ensureNotNull() method in MtpManager
210 bucketName = Utils.ensureNotNull(name); in BucketEntry()
236 public static String ensureNotNull(String value) { in ensureNotNull() method in Utils
223 values.put(FIELD_ALBUM_PATH, Utils.ensureNotNull(albumPath)); in setWidget()
88 String type = Utils.ensureNotNull(intent.getType()); in initializeByIntent()
257 String title = (album == null) ? "" : Utils.ensureNotNull(album.getName()); in updateAlbumSetEntry()