Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 41) sorted by relevance

12

/development/tools/bugreport/src/com/android/bugreport/
DMain.java79 } catch (IOException ex) { in run()
81 System.err.println("Error: " + ex.getMessage()); in run()
91 } catch (IOException ex) { in run()
93 System.err.println("Error: " + ex.getMessage()); in run()
104 } catch (IOException ex) { in run()
106 System.err.println("Error: " + ex.getMessage()); in run()
125 } catch (IOException ex) { in run()
127 System.err.println("Error: " + ex.getMessage()); in run()
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py399 except AdbError as ex:
400 return self.__internal_error(str(ex))
401 except BadRequest as ex:
402 return self.__bad_request(str(ex))
403 except Exception as ex:
404 return self.__internal_error(repr(ex))
413 except OSError as ex:
415 ' '.join(command), repr(ex)))
417 ' '.join(command), repr(ex)))
418 except subprocess.CalledProcessError as ex:
[all …]
/development/tools/apkcheck/src/com/android/apkcheck/
DApkCheck.java193 } catch (SAXParseException ex) { in parseXml()
195 ex.getLineNumber() + ": " + ex.getMessage()); in parseXml()
196 } catch (Exception ex) { in parseXml()
198 ex.getMessage()); in parseXml()
199 ex.printStackTrace(); in parseXml()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DRawContact.java171 } catch (final Exception ex) { in toJSONObject()
172 Log.i(TAG, "Error converting RawContact to JSONObject" + ex.toString()); in toJSONObject()
230 } catch (final Exception ex) { in valueOf()
231 Log.i(TAG, "Error parsing JSON contact object" + ex.toString()); in valueOf()
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoyView.java601 Explosion ex = mExplosion.elementAt(i); in doAsteroidAnimation() local
603 canvas.drawBitmap(mExplosions[(ex.mAniIndex + animOffset) % mExplosions.length], in doAsteroidAnimation()
604 ex.mDrawX, ex.mDrawY, null); in doAsteroidAnimation()
834 Explosion ex = new Explosion(); in updateAsteroids() local
835 ex.mAniIndex = 0; in updateAsteroids()
836 ex.mDrawX = asteroid.mDrawX; in updateAsteroids()
837 ex.mDrawY = asteroid.mDrawY; in updateAsteroids()
838 mExplosion.add(ex); in updateAsteroids()
883 Explosion ex = mExplosion.elementAt(i); in updateExplosions() local
885 ex.mAniIndex += ANIMATION_FRAMES_PER_BEAT; in updateExplosions()
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyRotationEvent.java58 } catch (RemoteException ex) { in injectEvent()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssService.java192 } catch (MalformedURLException ex) { in queryItem()
216 } catch(ParseException ex) { in parseRssDocPubDate()
236 } catch(IOException ex) { in readRss()
DRssContentProvider.java108 } catch (Exception ex) { in onCreate()
/development/apps/Development/src/com/android/development/
DMediaScannerActivity.java79 } catch (NumberFormatException ex) { in onCreate()
196 } catch (SQLiteConstraintException ex) { in addAlbum()
197 Log.d("@@@@", "insert failed", ex); in addAlbum()
DInstrumentationList.java160 } catch (RemoteException ex) { in onListItemClick()
/development/gsi/
Dgsi-pubsign-release.sh17 set -ex
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationWithMediaRouterActivity.java179 } catch (WindowManager.InvalidDisplayException ex) { in updatePresentation()
181 + "the meantime.", ex); in updatePresentation()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java190 } catch (IOException ex) { in play()
191 LogHelper.e(TAG, ex, "Exception playing song"); in play()
193 mCallback.onError(ex.getMessage()); in play()
DBrowseFragment.java140 } catch (ClassCastException ex) { in onCreateView()
141 Log.e(TAG, "Exception trying to cast to FragmentDataHelper", ex); in onCreateView()
DMediaNotificationManager.java136 } catch (IllegalArgumentException ex) { in stopNotification()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticatorActivity.java304 } catch (Exception ex) { in doInBackground()
306 Log.i(TAG, ex.toString()); in doInBackground()
/development/tools/
Dmonkey122 except subprocess.CalledProcessError as ex:
123 raise ExecutionException("adb: %s returned %s" % (cmd, ex.returncode))
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
DMainActivity.java194 } catch (WindowManager.InvalidDisplayException ex) { in updatePresentation()
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java110 } catch (InterruptedException ex) { in handleActionSnooze()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
DBigTextIntentService.java111 } catch (InterruptedException ex) { in handleActionSnooze()
/development/vndk/tools/sourcedr/ninja/tests/
Dtest_ninja.py128 ex = ninja.ParseError('build.ninja', 5, 1)
129 self.assertEqual('ParseError: build.ninja:5:1', repr(ex))
131 ex = ninja.ParseError('build.ninja', 5, 1, 'invalid char')
132 self.assertEqual('ParseError: build.ninja:5:1: invalid char', repr(ex))
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java440 } catch (WindowManager.InvalidDisplayException ex) { in updatePresentation()
442 + "the meantime.", ex); in updatePresentation()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java201 } catch (CanceledException ex) { in sendMessage()
202 Log.e(TAG, "Mms pending intent cancelled?", ex); in sendMessage()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java268 } catch (NameNotFoundException ex) { in getResourceXmlPullParser()
/development/tools/bugreport/src/com/android/bugreport/html/
DRenderer.java83 } catch (IOException ex) { in render()
91 throw ex; in render()

12