| /developers/build/prebuilts/gradle/BasicGestureDetect/Application/src/main/java/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 …]
|
| /developers/samples/android/input/gestures/BasicGestureDetect/Application/src/main/java/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 …]
|
| /developers/build/prebuilts/gradle/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/ |
| D | BasicAndroidKeyStoreFragment.java | 88 } catch (NoSuchAlgorithmException e) { in onOptionsItemSelected() 89 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected() 90 } catch (InvalidAlgorithmParameterException e) { in onOptionsItemSelected() 92 } catch (NoSuchProviderException e) { in onOptionsItemSelected() 93 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected() 99 } catch (KeyStoreException e) { in onOptionsItemSelected() 100 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected() 101 } catch (UnrecoverableEntryException e) { in onOptionsItemSelected() 102 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected() 103 } catch (NoSuchAlgorithmException e) { in onOptionsItemSelected() [all …]
|
| /developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/src/main/java/com/example/android/basicandroidkeystore/ |
| D | BasicAndroidKeyStoreFragment.java | 88 } catch (NoSuchAlgorithmException e) { in onOptionsItemSelected() 89 Log.w(TAG, "RSA not supported", e); in onOptionsItemSelected() 90 } catch (InvalidAlgorithmParameterException e) { in onOptionsItemSelected() 92 } catch (NoSuchProviderException e) { in onOptionsItemSelected() 93 Log.w(TAG, "Invalid Algorithm Parameter Exception", e); in onOptionsItemSelected() 99 } catch (KeyStoreException e) { in onOptionsItemSelected() 100 Log.w(TAG, "KeyStore not Initialized", e); in onOptionsItemSelected() 101 } catch (UnrecoverableEntryException e) { in onOptionsItemSelected() 102 Log.w(TAG, "KeyPair not recovered", e); in onOptionsItemSelected() 103 } catch (NoSuchAlgorithmException e) { in onOptionsItemSelected() [all …]
|
| /developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
| D | BluetoothChatService.java | 308 } catch (IOException e) { in AcceptThread() 309 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread() 327 } catch (IOException e) { in run() 328 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run() 347 } catch (IOException e) { in run() 348 Log.e(TAG, "Could not close unwanted socket", e); in run() 363 } catch (IOException e) { in cancel() 364 Log.e(TAG, "Socket Type" + mSocketType + "close() of server failed", e); in cancel() 395 } catch (IOException e) { in ConnectThread() 396 Log.e(TAG, "Socket Type: " + mSocketType + "create() failed", e); in ConnectThread() [all …]
|
| /developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
| D | BluetoothChatService.java | 308 } catch (IOException e) { in AcceptThread() 309 Log.e(TAG, "Socket Type: " + mSocketType + "listen() failed", e); in AcceptThread() 327 } catch (IOException e) { in run() 328 Log.e(TAG, "Socket Type: " + mSocketType + "accept() failed", e); in run() 347 } catch (IOException e) { in run() 348 Log.e(TAG, "Could not close unwanted socket", e); in run() 363 } catch (IOException e) { in cancel() 364 Log.e(TAG, "Socket Type" + mSocketType + "close() of server failed", e); in cancel() 395 } catch (IOException e) { in ConnectThread() 396 Log.e(TAG, "Socket Type: " + mSocketType + "create() failed", e); in ConnectThread() [all …]
|
| /developers/samples/android/wearable/wear/RecipeAssistant/Application/src/main/java/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()
|
| /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/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()
|
| /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/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 …]
|
| D | ImageCache.java | 218 } catch (final IOException e) { in initDiskCache() 220 Log.e(TAG, "initDiskCache - " + e); in initDiskCache() 270 } catch (final IOException e) { in addBitmapToCache() 271 Log.e(TAG, "addBitmapToCache - " + e); in addBitmapToCache() 272 } catch (Exception e) { in addBitmapToCache() 273 Log.e(TAG, "addBitmapToCache - " + e); in addBitmapToCache() 279 } catch (IOException e) {} in addBitmapToCache() 323 } catch (InterruptedException e) {} in getBitmapFromDiskCache() 343 } catch (final IOException e) { in getBitmapFromDiskCache() 344 Log.e(TAG, "getBitmapFromDiskCache - " + e); in getBitmapFromDiskCache() [all …]
|
| /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/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 …]
|
| D | ImageCache.java | 218 } catch (final IOException e) { in initDiskCache() 220 Log.e(TAG, "initDiskCache - " + e); in initDiskCache() 270 } catch (final IOException e) { in addBitmapToCache() 271 Log.e(TAG, "addBitmapToCache - " + e); in addBitmapToCache() 272 } catch (Exception e) { in addBitmapToCache() 273 Log.e(TAG, "addBitmapToCache - " + e); in addBitmapToCache() 279 } catch (IOException e) {} in addBitmapToCache() 323 } catch (InterruptedException e) {} in getBitmapFromDiskCache() 343 } catch (final IOException e) { in getBitmapFromDiskCache() 344 Log.e(TAG, "getBitmapFromDiskCache - " + e); in getBitmapFromDiskCache() [all …]
|
| /developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/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 …]
|
| /developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/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 …]
|
| /developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
| D | MainActivity.java | 79 } catch (KeyStoreException e) { in onCreate() 80 throw new RuntimeException("Failed to get an instance of KeyStore", e); in onCreate() 85 } catch (NoSuchAlgorithmException | NoSuchProviderException e) { in onCreate() 86 throw new RuntimeException("Failed to get an instance of KeyGenerator", e); in onCreate() 92 } catch (NoSuchAlgorithmException | NoSuchPaddingException e) { in onCreate() 93 throw new RuntimeException("Failed to get an instance of Cipher", e); in onCreate() 179 } catch (KeyPermanentlyInvalidatedException e) { in initCipher() 182 | NoSuchAlgorithmException | InvalidKeyException e) { in initCipher() 183 throw new RuntimeException("Failed to init Cipher", e); in initCipher() 216 } catch (BadPaddingException | IllegalBlockSizeException e) { in tryEncrypt() [all …]
|
| /developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/ |
| D | MainActivity.java | 79 } catch (KeyStoreException e) { in onCreate() 80 throw new RuntimeException("Failed to get an instance of KeyStore", e); in onCreate() 85 } catch (NoSuchAlgorithmException | NoSuchProviderException e) { in onCreate() 86 throw new RuntimeException("Failed to get an instance of KeyGenerator", e); in onCreate() 92 } catch (NoSuchAlgorithmException | NoSuchPaddingException e) { in onCreate() 93 throw new RuntimeException("Failed to get an instance of Cipher", e); in onCreate() 179 } catch (KeyPermanentlyInvalidatedException e) { in initCipher() 182 | NoSuchAlgorithmException | InvalidKeyException e) { in initCipher() 183 throw new RuntimeException("Failed to init Cipher", e); in initCipher() 216 } catch (BadPaddingException | IllegalBlockSizeException e) { in tryEncrypt() [all …]
|
| /developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
| D | FileTransferService.java | 64 } catch (FileNotFoundException e) { in onHandleIntent() 65 Log.d(MainActivity.TAG, e.toString()); in onHandleIntent() 69 } catch (IOException e) { in onHandleIntent() 70 Log.e(MainActivity.TAG, e.getMessage()); in onHandleIntent() 76 } catch (IOException e) { in onHandleIntent() 78 e.printStackTrace(); in onHandleIntent()
|
| /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
| D | RichFeedUtil.java | 79 } catch (IOException e) { in getRichChannels() 80 Log.e(TAG, "Error in fetching " + catalogUri, e); in getRichChannels() 81 } catch (XmlPullParserException e) { in getRichChannels() 82 Log.e(TAG, "Error in parsing " + catalogUri, e); in getRichChannels() 87 } catch (IOException e) { in getRichChannels()
|
| /developers/build/prebuilts/gradle/MidiSynth/Application/src/main/java/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()
|
| /developers/build/prebuilts/gradle/MidiScope/Application/src/main/java/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()
|
| /developers/samples/android/common/src/java/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()
|
| /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
| D | CameraOps.java | 94 } catch (CameraAccessException e) { in openCamera() 95 String errorMessage = mErrorDisplayer.getErrorString(e); in openCamera() 111 Log.e(TAG, "Timeout closing camera"); in closeCameraAndWait() 159 } catch (CameraAccessException e) { in setRepeatingRequest() 160 String errorMessage = mErrorDisplayer.getErrorString(e); in setRepeatingRequest() 177 } catch (CameraAccessException e) { in setRepeatingBurst() 178 String errorMessage = mErrorDisplayer.getErrorString(e); in setRepeatingBurst() 195 } catch (CameraAccessException e) { in startCameraSession() 196 String errorMessage = mErrorDisplayer.getErrorString(e); in startCameraSession() 281 public String getErrorString(CameraAccessException e); in getErrorString() argument
|
| /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
| D | CameraOps.java | 94 } catch (CameraAccessException e) { in openCamera() 95 String errorMessage = mErrorDisplayer.getErrorString(e); in openCamera() 111 Log.e(TAG, "Timeout closing camera"); in closeCameraAndWait() 159 } catch (CameraAccessException e) { in setRepeatingRequest() 160 String errorMessage = mErrorDisplayer.getErrorString(e); in setRepeatingRequest() 177 } catch (CameraAccessException e) { in setRepeatingBurst() 178 String errorMessage = mErrorDisplayer.getErrorString(e); in setRepeatingBurst() 195 } catch (CameraAccessException e) { in startCameraSession() 196 String errorMessage = mErrorDisplayer.getErrorString(e); in startCameraSession() 281 public String getErrorString(CameraAccessException e); in getErrorString() argument
|
| /developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
| D | SimpleWebServer.java | 88 } catch (IOException e) { in stop() 89 Log.e(TAG, "Error closing the server socket.", e); in stop() 102 } catch (SocketException e) { in run() 104 } catch (IOException e) { in run() 105 Log.e(TAG, "Web server error.", e); in run() 193 } catch (FileNotFoundException e) { in loadContent()
|
| /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/ |
| D | SimpleWebServer.java | 88 } catch (IOException e) { in stop() 89 Log.e(TAG, "Error closing the server socket.", e); in stop() 102 } catch (SocketException e) { in run() 104 } catch (IOException e) { in run() 105 Log.e(TAG, "Web server error.", e); in run() 193 } catch (FileNotFoundException e) { in loadContent()
|