HomeSort by relevance Sort by last modified time
    Searched defs:try (Results 351 - 375 of 607) sorted by null

<<11121314151617181920>>

  /libcore/luni/src/main/java/libcore/util/
TimeZoneFinder.java 84 try {
119 try {
203 try {
209 // Clear the cached code so we will try again next time.
231 try (Reader reader = xmlSource.get()) { method
ZoneInfoDB.java 96 try {
176 try {
181 try {
188 // Log the problem and return false so we try the next choice.
201 try {
378 try {
393 try {
406 try (FileInputStream is = new FileInputStream(tzDataFile)) { method
  /libcore/luni/src/test/java/dalvik/system/
InMemoryDexClassLoaderTest.java 82 try (FileOutputStream out = new FileOutputStream(destination)) { method
90 try (RandomAccessFile raf = new RandomAccessFile(file, "r")) { method
  /libcore/luni/src/test/java/libcore/java/io/
FileInputStreamTest.java 57 try {
59 try {
86 try {
100 try {
125 try {
130 try {
135 try {
140 try {
151 try {
156 try {
220 try (FileInputStream input = new FileInputStream(file)) { method
224 try (FileInputStream input = new FileInputStream(file)) { method
262 try (FileInputStream fis = new FileInputStream(largeFile)) { method
279 try (FileOutputStream fos = new FileOutputStream(file)) { method
288 try (FileOutputStream fos = new FileOutputStream(file)) { method
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
ClassTest.java 68 try (InputStream is = method
101 try {
106 try {
122 try {
  /libcore/luni/src/test/java/libcore/java/nio/channels/
AsynchronousFileChannelTest.java 80 try {
98 try {
104 try {
115 try {
121 try {
128 try {
143 try (FileOutputStream fos = new FileOutputStream(temp)) { method
157 try (FileOutputStream fos = new FileOutputStream(temp)) { method
199 try {
231 try {
    [all...]
AsynchronousServerSocketChannelTest.java 58 try {
73 try {
84 try {
97 try {
185 try {
197 try {
221 try {
249 try {
259 try {
264 try {
357 try (AsynchronousServerSocketChannel asc = AsynchronousServerSocketChannel.open()) { method
368 try (AsynchronousServerSocketChannel assc = AsynchronousServerSocketChannel.open(group)) { method
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/file/
DefaultSecureDirectoryStreamTest.java 106 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, method
116 try (DirectoryStream<Path> directoryStream = Files.newDirectoryStream(path_root, method
119 try {
131 try {
144 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
160 try (SecureDirectoryStream<Path> ds_path_dir1 = (SecureDirectoryStream<Path>) method
162 try (DirectoryStream<Path> ds_path_dir2 = ds_path_dir1.newDirectoryStream(path_root. method
172 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
175 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. method
182 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(null)) method
187 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. method
194 try (DirectoryStream<Path> ds_path_dir1 = ds_path_root.newDirectoryStream(path_root. method
206 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
209 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(filesSetup.getTestPath(), method
218 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( method
227 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( method
239 try (SeekableByteChannel sbc = ds_path_root.newByteChannel( method
248 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
251 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(null, set)) { method
256 try (SeekableByteChannel sbc = ds_path_root.newByteChannel(filesSetup.getDataFilePath(), method
266 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
302 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
397 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
424 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
477 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
486 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
498 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
508 try (SecureDirectoryStream<Path> ds_path_root = (SecureDirectoryStream<Path>) method
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherInputStreamTest.java 200 try {
207 try {
213 try {
283 try (InputStream is = new CipherInputStream(mockEncryptedInputStream, cipher)) { method
298 try {
329 try {
  /libcore/luni/src/test/java/libcore/util/
ZoneInfoTest.java 40 try {
105 try {
365 try {
380 try {
396 try {
412 try {
428 try {
452 try {
476 try {
500 try {
519 try (InputStream is = getClass().getResourceAsStream("ZoneInfoTest_ZoneInfo.golden.ser"); method
    [all...]
  /libcore/ojluni/src/main/java/java/util/prefs/
FileSystemPreferences.java 105 try {
123 try {
176 try {
193 try {
262 * it out if you try real hard.
442 try {
449 try {
554 try {
573 try {
575 try (FileInputStream fis = new FileInputStream(prefsFile)) method
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/
AbstractTCKTest.java 104 try (ObjectOutputStream oos = new ObjectOutputStream(baos) ) { method
107 try (ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray()))) { method
119 try (ObjectOutputStream oos = new ObjectOutputStream(baos) ) { method
124 try (DataInputStream dis = new DataInputStream(bais)) { method
149 try {
179 try (DataOutputStream out = new DataOutputStream(baos)) { method
194 try (ByteArrayInputStream bis = new ByteArrayInputStream(bytes); method
  /packages/apps/Camera2/src/com/android/camera/one/v2/photo/
ConvergedImageCaptureCommand.java 119 try (FrameServer.Session session = mFrameServer.createExclusiveSession()) { method
120 try (ImageStream imageStream = mImageReader.createPreallocatedStream(mBurst.size())) { method
218 try {
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
AlarmInstance.java 142 try (Cursor cursor = cr.query(getContentUri(instanceId), QUERY_COLUMNS, null, null, null)) { method
228 try (Cursor cursor = cr.query(CONTENT_URI, QUERY_COLUMNS, selection, selectionArgs, null)) { method
  /packages/apps/Dialer/java/com/android/dialer/oem/
CequintCallerIdManager.java 110 try {
188 try (Cursor cursor = method
  /packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
ContactInfoHelper.java 81 try {
128 try {
304 try {
335 try {
346 try {
384 try (Cursor cursor = method
442 // If "number" is really a SIP address, don't try to do any formatting at all.
543 try {
  /packages/apps/Dialer/java/com/android/voicemail/impl/
ActivationTask.java 191 try (StatusSmsFetcher fetcher = new StatusSmsFetcher(getContext(), phoneAccountHandle)) { method
  /packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
Vvm3Protocol.java 210 try (NetworkWrapper wrapper = method
215 try (ImapHelper helper = method
278 try {
297 try {
  /packages/apps/Dialer/java/com/android/voicemail/impl/sync/
OmtpVvmSyncService.java 108 try (NetworkWrapper network = VvmNetworkRequest.getNetwork(config, phoneAccount, status)) { method
128 try (ImapHelper imapHelper = new ImapHelper(mContext, phoneAccount, network, status)) { method
  /packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
ClipStorage.java 164 try {
265 try(Writer writer = mClipStore.createWriter(mSlot)){ method
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
ReadableArchiveTest.java 304 try (final ParcelFileDescriptor.AutoCloseInputStream inputStream = method
  /packages/apps/TV/src/com/android/tv/data/
ChannelLogoFetcher.java 130 try (Cursor c = mContext.getContentResolver().query(Channels.CONTENT_URI, method
186 try {
269 try (OutputStream os = mContext.getContentResolver().openOutputStream(dstLogoUri)) { method
287 try (BufferedReader reader = new BufferedReader(new InputStreamReader( method
  /packages/apps/TV/src/com/android/tv/dvr/
DvrStorageStatusManager.java 230 try {
255 try {
284 try {
322 try {
341 try (Cursor c = mContentResolver.query( method
  /packages/apps/TV/src/com/android/tv/search/
TvProviderSearch.java 218 try (Cursor c = mContentResolver.query(Channels.CONTENT_URI, projection, selection, method
272 try (Cursor c = mContentResolver.query(uri, projection, null, null, null)) { method
339 try (Cursor c = mContentResolver.query(Programs.CONTENT_URI, projection, selection, method
365 try (Cursor cChannel = mContentResolver.query(Channels.CONTENT_URI, method
518 try (Cursor c = mContentResolver.query(uri, projections, selection, selectionArgs, method
  /packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/
DvrStorageManager.java 160 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { method
182 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { method
260 try (DataOutputStream out = new DataOutputStream(new FileOutputStream(file))) { method
280 try (DataOutputStream out = new DataOutputStream(new FileOutputStream(indexFile))) { method

Completed in 710 milliseconds

<<11121314151617181920>>