/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | RemoteControlClientCompat.java | 61 } catch (NoSuchFieldException e) { 63 } catch (IllegalArgumentException e) { 65 + " " + e.getMessage()); 66 } catch (IllegalAccessException e) { 68 + " " + e.getMessage()); 81 } catch (ClassNotFoundException e) { 83 } catch (NoSuchMethodException e) { 85 } catch (IllegalArgumentException e) { 87 } catch (SecurityException e) { 107 } catch (Exception e) { in RemoteControlClientCompat() [all …]
|
D | RemoteControlHelper.java | 47 } catch (ClassNotFoundException e) { 49 } catch (NoSuchMethodException e) { 51 } catch (IllegalArgumentException e) { 53 } catch (SecurityException e) { 67 } catch (Exception e) { in registerRemoteControlClient() 68 Log.e(TAG, e.getMessage(), e); in registerRemoteControlClient() 82 } catch (Exception e) { in unregisterRemoteControlClient() 83 Log.e(TAG, e.getMessage(), e); in unregisterRemoteControlClient()
|
D | MediaButtonHelper.java | 32 } catch (NoSuchMethodException e) { in initializeStaticCompatMethods() 44 } catch (InvocationTargetException e) { in registerMediaButtonEventReceiverCompat() 46 Throwable cause = e.getCause(); in registerMediaButtonEventReceiverCompat() 53 throw new RuntimeException(e); in registerMediaButtonEventReceiverCompat() 55 } catch (IllegalAccessException e) { in registerMediaButtonEventReceiverCompat() 56 Log.e(TAG, "IllegalAccessException invoking registerMediaButtonEventReceiver."); in registerMediaButtonEventReceiverCompat() 57 e.printStackTrace(); in registerMediaButtonEventReceiverCompat() 69 } catch (InvocationTargetException e) { in unregisterMediaButtonEventReceiverCompat() 71 Throwable cause = e.getCause(); in unregisterMediaButtonEventReceiverCompat() 78 throw new RuntimeException(e); in unregisterMediaButtonEventReceiverCompat() [all …]
|
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
D | GestureListener.java | 32 public boolean onSingleTapUp(MotionEvent e) { in onSingleTapUp() argument 34 Log.i(TAG, "Single Tap Up" + getTouchType(e)); in onSingleTapUp() 39 public void onLongPress(MotionEvent e) { in onLongPress() argument 42 Log.i(TAG, "Long Press" + getTouchType(e)); in onLongPress() 62 public void onShowPress(MotionEvent e) { in onShowPress() argument 64 Log.i(TAG, "Show Press" + getTouchType(e)); in onShowPress() 68 public boolean onDown(MotionEvent e) { in onDown() argument 70 Log.i(TAG, "Down" + getTouchType(e)); in onDown() 75 public boolean onDoubleTap(MotionEvent e) { in onDoubleTap() argument 77 Log.i(TAG, "Double tap" + getTouchType(e)); in onDoubleTap() [all …]
|
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 92 } catch (NoSuchAlgorithmException e) { in onOptionsItemSelected() 93 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected() 94 } catch (InvalidAlgorithmParameterException e) { in onOptionsItemSelected() 96 } catch (NoSuchProviderException e) { in onOptionsItemSelected() 97 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected() 103 } catch (KeyStoreException e) { in onOptionsItemSelected() 104 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected() 105 } catch (UnrecoverableEntryException e) { in onOptionsItemSelected() 106 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected() 107 } catch (NoSuchAlgorithmException e) { in onOptionsItemSelected() [all …]
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeySourceScript.java | 213 } catch (NumberFormatException e) { in readHeader() 214 Logger.err.println("" + e); in readHeader() 221 } catch (NumberFormatException e) { in readHeader() 222 Logger.err.println("" + e); in readHeader() 293 MonkeyKeyEvent e = new MonkeyKeyEvent(downTime, eventTime, action, code, repeat, in handleEvent() local 297 mQ.addLast(e); in handleEvent() 299 } catch (NumberFormatException e) { in handleEvent() 321 MonkeyMotionEvent e; in handleEvent() local 323 e = new MonkeyTouchEvent(action); in handleEvent() 325 e = new MonkeyTrackballEvent(action); in handleEvent() [all …]
|
D | MonkeySourceNetwork.java | 145 } catch (NumberFormatException e) { in translateCommand() 147 Log.e(TAG, "Got something that wasn't a number", e); in translateCommand() 161 Log.e(TAG, "Got a bad action: " + actionName); in translateCommand() 188 } catch (NumberFormatException e) { in translateCommand() 190 Log.e(TAG, "Got something that wasn't a number", e); in translateCommand() 215 Log.e(TAG, "Can't find keyname: " + command.get(2)); in translateCommand() 226 Log.e(TAG, "got unknown action."); in translateCommand() 246 } catch (NumberFormatException e) { in getKeyCode() 278 } catch (NumberFormatException e) { in translateCommand() 279 Log.e(TAG, "Not a number: " + sleepStr, e); in translateCommand() [all …]
|
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/ |
D | AssetUtils.java | 41 } catch (IOException e) { in loadAsset() 42 Log.e(TAG, "Failed to load asset " + asset + ": " + e); in loadAsset() 52 } catch (JSONException e) { in loadJSONAsset() 53 Log.e(TAG, "Failed to parse JSON asset " + asset + ": " + e); in loadJSONAsset() 66 } catch (IOException e) { in loadBitmapAsset() 67 Log.e(TAG, e.toString()); in loadBitmapAsset() 72 } catch (IOException e) { in loadBitmapAsset() 73 Log.e(TAG, "Cannot close InputStream: ", e); in loadBitmapAsset()
|
/development/samples/Vault/src/com/example/android/vault/ |
D | VaultProvider.java | 144 } catch (IOException e) { in onCreate() 145 throw new IllegalStateException(e); in onCreate() 146 } catch (GeneralSecurityException e) { in onCreate() 147 throw new IllegalStateException(e); in onCreate() 281 } catch (IOException e) { in isChildDocument() 282 throw new IllegalStateException(e); in isChildDocument() 283 } catch (GeneralSecurityException e) { in isChildDocument() 284 throw new IllegalStateException(e); in isChildDocument() 285 } catch (JSONException e) { in isChildDocument() 286 throw new IllegalStateException(e); in isChildDocument() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 275 } catch (KeyStoreException e) { in doInBackground() 276 Log.w(TAG, "Could not list keys", e); in doInBackground() 278 } catch (NoSuchAlgorithmException e) { in doInBackground() 279 Log.w(TAG, "Could not list keys", e); in doInBackground() 281 } catch (CertificateException e) { in doInBackground() 282 Log.w(TAG, "Could not list keys", e); in doInBackground() 284 } catch (IOException e) { in doInBackground() 285 Log.w(TAG, "Could not list keys", e); in doInBackground() 324 } catch (NoSuchAlgorithmException e) { in doInBackground() 325 Log.w(TAG, "Could not generate key", e); in doInBackground() [all …]
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
D | SyncAdapter.java | 130 } catch (final AuthenticatorException e) { in onPerformSync() 131 Log.e(TAG, "AuthenticatorException", e); in onPerformSync() 133 } catch (final OperationCanceledException e) { in onPerformSync() 134 Log.e(TAG, "OperationCanceledExcetpion", e); in onPerformSync() 135 } catch (final IOException e) { in onPerformSync() 136 Log.e(TAG, "IOException", e); in onPerformSync() 138 } catch (final AuthenticationException e) { in onPerformSync() 139 Log.e(TAG, "AuthenticationException", e); in onPerformSync() 141 } catch (final ParseException e) { in onPerformSync() 142 Log.e(TAG, "ParseException", e); in onPerformSync() [all …]
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
D | ChatManager.java | 53 } catch (IOException e) { in run() 54 Log.e(TAG, "disconnected", e); in run() 57 } catch (IOException e) { in run() 58 e.printStackTrace(); in run() 62 } catch (IOException e) { in run() 63 e.printStackTrace(); in run() 71 } catch (IOException e) { in write() 72 Log.e(TAG, "Exception during write", e); in write()
|
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
D | BluetoothChatService.java | 320 } catch (IOException e) { in AcceptThread() 321 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread() 340 } catch (IOException e) { in run() 341 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run() 360 } catch (IOException e) { in run() 361 Log.e(TAG, "Could not close unwanted socket", e); in run() 376 } catch (IOException e) { in cancel() 377 Log.e(TAG, "Socket Type" + mSocketType + "close() of server failed", e); in cancel() 408 } catch (IOException e) { in ConnectThread() 409 Log.e(TAG, "Socket Type: " + mSocketType + "create() failed", e); in ConnectThread() [all …]
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChatService.java | 283 } catch (IOException e) { in AcceptThread() 284 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread() 302 } catch (IOException e) { in run() 303 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run() 322 } catch (IOException e) { in run() 323 Log.e(TAG, "Could not close unwanted socket", e); in run() 338 } catch (IOException e) { in cancel() 339 Log.e(TAG, "Socket Type" + mSocketType + "close() of server failed", e); in cancel() 370 } catch (IOException e) { in ConnectThread() 371 Log.e(TAG, "Socket Type: " + mSocketType + "create() failed", e); in ConnectThread() [all …]
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageFetcher.java | 100 } catch (IOException e) { in initHttpDiskCache() 119 } catch (IOException e) { in clearCacheInternal() 120 Log.e(TAG, "clearCacheInternal - " + e); in clearCacheInternal() 139 } catch (IOException e) { in flushCacheInternal() 140 Log.e(TAG, "flush - " + e); in flushCacheInternal() 159 } catch (IOException e) { in closeCacheInternal() 160 Log.e(TAG, "closeCacheInternal - " + e); in closeCacheInternal() 177 Log.e(TAG, "checkConnection - no connection found"); in checkConnection() 202 } catch (InterruptedException e) {} in processBitmap() 228 } catch (IOException e) { in processBitmap() [all …]
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | ChatConnection.java | 80 Log.e(TAG, "Updating message: " + msg); in updateMessages() 106 } catch (IOException e) { in setSocket() 108 e.printStackTrace(); in setSocket() 133 Log.e(TAG, "Error when closing server socket."); in tearDown() 158 } catch (IOException e) { in run() 159 Log.e(TAG, "Error creating ServerSocket: ", e); in run() 160 e.printStackTrace(); in run() 209 } catch (UnknownHostException e) { in run() 210 Log.d(CLIENT_TAG, "Initializing socket failed, UHE", e); in run() 211 } catch (IOException e) { in run() [all …]
|
/development/tools/winscope/src/ |
D | transform_sf.js | 97 layers.layers.forEach((e) => { 98 idToItem[e.id] = e; 100 layers.layers.forEach((e) => { 101 e.resolvedChildren = []; 102 if (Array.isArray(e.children)) { 103 e.resolvedChildren = e.children.map( 105 e.children.forEach((childId) => { 109 if (e.zOrderRelativeOf !== -1) { 110 idToItem[e.zOrderRelativeOf].zOrderRelativeParentOf = e.id; 113 var roots = layers.layers.filter((e) => !isChild[e.id]); [all …]
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 153 } catch (MalformedURLException e) { in onPerformSync() 154 Log.e(TAG, "Feed URL is malformed", e); in onPerformSync() 157 } catch (IOException e) { in onPerformSync() 158 Log.e(TAG, "Error reading from network: " + e.toString()); in onPerformSync() 161 } catch (XmlPullParserException e) { in onPerformSync() 162 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync() 165 } catch (ParseException e) { in onPerformSync() 166 Log.e(TAG, "Error parsing feed: " + e.toString()); in onPerformSync() 169 } catch (RemoteException e) { in onPerformSync() 170 Log.e(TAG, "Error updating database: " + e.toString()); in onPerformSync() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | TouchRotateActivity.java | 89 public boolean onTrackballEvent(MotionEvent e) { in onTrackballEvent() argument 90 updateAngles(e.getX(), e.getY(), TRACKBALL_SCALE_FACTOR); in onTrackballEvent() 95 public boolean onTouchEvent(MotionEvent e) { in onTouchEvent() argument 96 final int action = e.getActionMasked(); in onTouchEvent() 98 updateAngles(e.getX() - mPreviousX, e.getY() - mPreviousY, TOUCH_SCALE_FACTOR); in onTouchEvent() 100 if (e.isFromSource(InputDevice.SOURCE_MOUSE)) { in onTouchEvent() 106 mPreviousX = e.getX(); in onTouchEvent() 107 mPreviousY = e.getY(); in onTouchEvent() 112 public boolean onCapturedPointerEvent(MotionEvent e) { in onCapturedPointerEvent() argument 113 if (e.getActionMasked() == MotionEvent.ACTION_DOWN) { in onCapturedPointerEvent() [all …]
|
D | PathEffects.java | 44 private static void makeEffects(PathEffect[] e, float phase) { in makeEffects() argument 45 e[0] = null; // no effect in makeEffects() 46 e[1] = new CornerPathEffect(10); in makeEffects() 47 e[2] = new DashPathEffect(new float[] {10, 5, 5, 5}, phase); in makeEffects() 48 e[3] = new PathDashPathEffect(makePathDash(), 12, phase, in makeEffects() 50 e[4] = new ComposePathEffect(e[2], e[1]); in makeEffects() 51 e[5] = new ComposePathEffect(e[3], e[1]); in makeEffects()
|
/development/apps/Development/src/com/android/development/ |
D | BadBehaviorActivity.java | 57 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onReceive() 71 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onStartCommand() 86 } catch (RemoteException e) { in activityStarting() 87 Log.e(TAG, "Can't call IActivityManager.setActivityController", e); in activityStarting() 92 try { Thread.sleep(mDelay); } catch (InterruptedException e) { Log.wtf(TAG, e); } in activityStarting() 146 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onCreate() 167 } catch (RemoteException e) { in onCreate() 168 Log.e(TAG, "Can't call IPowerManager.crash()", e); in onCreate() 208 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onCreate() 246 } catch (RemoteException e) { in onCreate() [all …]
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
D | SecureWebServer.java | 80 } catch (Exception e) { in SecureWebServer() 81 e.printStackTrace(); in SecureWebServer() 101 } catch (Exception e) { in start() 102 System.out.println("Error: " + e); in start() 138 } catch (Exception e) { in start() 139 Log.d(TAG, "Error: " + e); in start() 159 } catch (IOException e) { in stop() 160 e.printStackTrace(); in stop() 179 } catch (IOException e) { in createBase64Image() 180 e.printStackTrace(); in createBase64Image()
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | EncodedStringValue.java | 77 } catch (UnsupportedEncodingException e) { in EncodedStringValue() 78 Log.e(TAG, "Default encoding must be supported.", e); in EncodedStringValue() 142 } catch (UnsupportedEncodingException e) { in getString() 144 Log.v(TAG, e.getMessage(), e); in getString() 175 } catch (IOException e) { in appendTextString() 176 e.printStackTrace(); in appendTextString() 198 } catch (Exception e) { in clone() 199 Log.e(TAG, "failed to clone an EncodedStringValue: " + this); in clone() 200 e.printStackTrace(); in clone() 201 throw new CloneNotSupportedException(e.getMessage()); in clone() [all …]
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | FileTransferService.java | 64 } catch (FileNotFoundException e) { in onHandleIntent() 65 Log.d(WiFiDirectActivity.TAG, e.toString()); in onHandleIntent() 69 } catch (IOException e) { in onHandleIntent() 70 Log.e(WiFiDirectActivity.TAG, e.getMessage()); in onHandleIntent() 76 } catch (IOException e) { in onHandleIntent() 78 e.printStackTrace(); in onHandleIntent()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiEventThread.java | 43 } catch (IOException e) { in run() 44 e.printStackTrace(); in run() 48 } catch (InterruptedException e) { in run() 77 } catch (InterruptedException e) { in stop() 78 Log.e(TAG, in stop()
|