HomeSort by relevance Sort by last modified time
    Searched defs:try (Results 176 - 200 of 321) sorted by null

1 2 3 4 5 6 78 91011>>

  /libcore/tzdata/update/src/test/libcore/tzdata/update/
TzDataBundleInstallerTest.java 204 try (FileOutputStream fos = new FileOutputStream(file)) { 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 146 try (Cursor cursor = cr.query(getUri(instanceId), QUERY_COLUMNS, null, null, null)) { method
220 try (Cursor cursor = cr.query(CONTENT_URI, QUERY_COLUMNS, selection, selectionArgs, null)) { method
  /packages/apps/Launcher3/src/com/android/launcher3/
InvariantDeviceProfile.java 186 try (XmlResourceParser parser = context.getResources().getXml(R.xml.device_profiles)) { method
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
IntentStore.java 83 try (FileOutputStream stream = new FileOutputStream(file)){ method
157 try (FileInputStream stream = new FileInputStream(file)) { 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/search/
TvProviderSearch.java 217 try (Cursor c = mContentResolver.query(Channels.CONTENT_URI, projection, selection, method
271 try (Cursor c = mContentResolver.query(uri, projection, null, null, null)) { method
340 try (Cursor c = mContentResolver.query(Programs.CONTENT_URI, projection, selection, method
366 try (Cursor cChannel = mContentResolver.query(Channels.CONTENT_URI, method
502 try (Cursor c = mContentResolver.query(uri, projections, selection, selectionArgs, method
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DvrStorageManager.java 157 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { method
179 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { method
257 try (DataOutputStream out = new DataOutputStream(new FileOutputStream(file))) { method
277 try (DataOutputStream out = new DataOutputStream(new FileOutputStream(indexFile))) { method
  /packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/
BinaryDictOffdeviceUtilsTests.java 101 try (final OutputStream out = Compress.getCompressedStream( method
130 try (final OutputStream out = new BufferedOutputStream(new FileOutputStream(dst))) { method
142 try (final OutputStream gzOut = Compress.getCompressedStream( method
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CallLogDatabaseHelper.java 267 try {
275 try {
279 try (Cursor source = contacts.rawQuery( method
290 try (Cursor source = contacts.rawQuery("SELECT * FROM " + method
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/
ActivationTask.java 194 try (StatusSmsFetcher fetcher = new StatusSmsFetcher(getContext(), subId)) { method
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/
Vvm3Protocol.java 202 try (NetworkWrapper wrapper = VvmNetworkRequest method
207 try (ImapHelper helper = new ImapHelper(config.getContext(), phoneAccountHandle, method
271 try {
291 try {
Vvm3Subscriber.java 163 try (NetworkWrapper wrapper = VvmNetworkRequest.getNetwork(mHelper, mHandle, mStatus)) { method
176 try {
222 try {
237 try {
270 try {
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
OmtpVvmSyncService.java 108 try (NetworkWrapper network = VvmNetworkRequest.getNetwork(config, phoneAccount, status)) { method
123 try (ImapHelper imapHelper = new ImapHelper(mContext, phoneAccount, network, status)) { method
  /bionic/libc/dns/resolv/
res_send.c 195 /* first try to bind to a random source port a few times */
364 int gotsomewhere, terrno, try, v_circuit, resplen, ns, n; local
490 for (try = 0; try < statp->retry; try++) {
529 /* give the hook another try */
550 try = statp->retry;
556 * Only record stats the first time we try a query. This ensures that
560 if (try == 0) {
586 /* Only record stats the first time we try a query. See above. *
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PhoneAccountTest.java 104 try {
156 try {
184 try {
210 try {
276 try (InputStream in = new FileInputStream(pfd.getFileDescriptor())) { method
  /cts/hostsidetests/theme/src/android/theme/cts/
ThemeHostTest.java 132 try (ZipInputStream in = new ZipInputStream(zipStream)) { method
227 try (ZipInputStream zipInput = new ZipInputStream(new FileInputStream(localZip))) { method
306 try {
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
NetworkUsageStatsTest.java 133 try {
151 try {
200 try {
213 try {
225 try (Scanner scanner = new Scanner(is).useDelimiter("\\A")) { method
241 try {
269 try {
304 try {
316 try {
336 try {
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
KeyFactoryTest.java 99 try {
157 try {
163 try {
176 try {
192 try {
197 try {
210 try {
230 try {
262 try {
264 try {
346 try (InputStream in = getContext().getResources().openRawResource(resId)) { method
374 try (InputStream in = getContext().getResources().openRawResource(resId)) { method
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
ExifInterfaceTest.java 168 try (InputStream inputStream = getContext().getResources().openRawResource( method
170 try (FileOutputStream outputStream = new FileOutputStream(outputPath)) { method
334 try {
344 try {
354 try {
392 try {
423 try {
  /cts/tests/tests/net/src/android/net/cts/
LocalSocketTest.java 86 try {
99 try {
108 try {
117 try {
148 try {
155 try {
162 try {
169 try {
176 try {
190 try (LocalSocketPair socketPair = LocalSocketPair.createConnectedSocketPair(address)) method
220 try (LocalSocketPair socketPair = LocalSocketPair.createConnectedSocketPair(address)) { method
255 try (LocalSocketPair socketPair = LocalSocketPair.createConnectedSocketPair(address)) { method
280 try (LocalSocketPair socketPair = LocalSocketPair.createConnectedSocketPair(address)) { method
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.java 54 try {
85 try {
137 try {
156 try {
182 try {
196 try {
205 try {
278 try {
294 try (AutoCloseInputStream is = new AutoCloseInputStream(red)) { method
355 try {
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
SmsBackupRestoreTest.java 112 try (Cursor mmsCursor = method
166 try (Cursor mmsCursor = mContentResolver.query(Telephony.Mms.CONTENT_URI, ID_PROJECTION, method
175 try (Cursor partCursor = mContentResolver.query(partUri, MMS_PART_TEXT_PROJECTION, method
189 try (Cursor addrCursor = mContentResolver.query(addrUri, MMS_ADDR_PROJECTION, method
  /cts/tests/tests/text/src/android/text/method/cts/
PasswordTransformationMethodTest.java 84 try {
140 try (Scanner scanner = new Scanner(is).useDelimiter("\\A")) { method
210 try {
244 try {
  /external/clang/test/Preprocessor/
cxx_oper_keyword_ms_compat.cpp 91 #define try macro
176 try

Completed in 757 milliseconds

1 2 3 4 5 6 78 91011>>