/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/tools/repo_diff/service/repodiff/mappers/ |
D | mappers.go | 14 e "repodiff/entities" packageName 22 func CSVLineToDiffRow(csvColumns []string) (*e.DiffRow, error) { 35 return &e.DiffRow{ 49 func CSVLineToCommitRow(csvColumns []string) (*e.CommitRow, error) { 53 return &e.CommitRow{ 74 func diffRowToDenormalizedCols(d e.AnalyzedDiffRow, rowIndex int) []interface{} { 90 func commitRowToDenormalizedCols(commitRow e.AnalyzedCommitRow, firstSeen e.RepoTimestamp, rowIndex… 103 func diffRowToPersistCols(d e.AnalyzedDiffRow, uuidBytes string, timestamp e.RepoTimestamp, rowInde… 120 func commitRowToPersistCols(c e.AnalyzedCommitRow, uuidBytes string, timestamp e.RepoTimestamp, row… 133 func DiffRowsToPersistCols(diffRows []e.AnalyzedDiffRow, timestamp e.RepoTimestamp) [][]interface{}… [all …]
|
D | csv_test.go | 8 e "repodiff/entities" packageName 12 commitRow := e.AnalyzedCommitRow{ 13 CommitRow: e.CommitRow{ 51 commitRow := e.AnalyzedCommitRow{ 52 CommitRow: e.CommitRow{ 63 []e.AnalyzedCommitRow{
|
/development/tools/repo_diff/service/repodiff/repositories/ |
D | denormalizer_test.go | 10 e "repodiff/entities" packageName 15 const arbitraryTimestamp = e.RepoTimestamp(1525978906) 17 var fakeTarget = e.DiffTarget{ 18 Upstream: e.Project{ 22 Downstream: e.Project{ 27 var fakeMappedTarget = e.MappedDiffTarget{ 75 fixture := e.AnalyzedCommitRow{ 76 CommitRow: e.CommitRow{ 85 fixtures := []e.AnalyzedCommitRow{ 90 map[string]e.RepoTimestamp{ [all …]
|
D | commit.go | 11 e "repodiff/entities" packageName 22 func (n NullCommit) InsertCommitRows(commitRows []e.AnalyzedCommitRow) error { 25 …) GetFirstSeenTimestamp(commitHashes []string, nullTimestamp e.RepoTimestamp) (map[string]e.RepoTi… 28 func (n NullCommit) GetMostRecentCommits() ([]e.AnalyzedCommitRow, error) { 34 target e.MappedDiffTarget 35 timestampGenerator func() e.RepoTimestamp 38 func (c Commit) WithTimestampGenerator(t func() e.RepoTimestamp) Commit { 46 func (c Commit) InsertCommitRows(commitRows []e.AnalyzedCommitRow) error { 96 func (c Commit) GetMostRecentCommits() ([]e.AnalyzedCommitRow, error) { 106 var commitRows []e.AnalyzedCommitRow [all …]
|
D | common.go | 4 e "repodiff/entities" packageName 8 func cleanedDiffTarget(target e.DiffTarget) e.DiffTarget { 9 return e.DiffTarget{ 10 Upstream: e.Project{ 14 Downstream: e.Project{
|
/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 | 146 } catch (NumberFormatException e) { in translateCommand() 148 Log.e(TAG, "Got something that wasn't a number", e); in translateCommand() 162 Log.e(TAG, "Got a bad action: " + actionName); in translateCommand() 189 } catch (NumberFormatException e) { in translateCommand() 191 Log.e(TAG, "Got something that wasn't a number", e); in translateCommand() 216 Log.e(TAG, "Can't find keyname: " + command.get(2)); in translateCommand() 227 Log.e(TAG, "got unknown action."); in translateCommand() 247 } catch (NumberFormatException e) { in getKeyCode() 279 } catch (NumberFormatException e) { in translateCommand() 280 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/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/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() 74 } catch (IOException e) { in write() 75 Log.e(TAG, "Exception during write", e); in write()
|
/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/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/tools/repo_diff/service/repodiff/controllers/ |
D | denormalize.go | 4 e "repodiff/entities" packageName 10 func DenormalizeData(config e.ApplicationConfig) error { 20 func denormalizeViewRecentProject(config e.ApplicationConfig) error { 30 func denormalizeViewRecentProjectForTarget(target e.DiffTarget) error { 52 func denormalizeDiffRows(config e.ApplicationConfig) error { 61 func denormalizeDiffRowsForTarget(target e.DiffTarget) error { 83 func getMappedTarget(target e.DiffTarget) (e.MappedDiffTarget, error) { 86 return e.MappedDiffTarget{}, err 91 func denormalizeViewRecentCommit(config e.ApplicationConfig) error { 111 func denormalizeCommitRows(target e.DiffTarget) error { [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/apps/DumpViewer/app/src/main/java/com/android/dumpviewer/pickers/ |
D | PackageNamePicker.java | 41 (e) -> {throw new RuntimeException(e.getMessage(), e);}, in getList() 43 } catch (IOException e) { in getList() 47 Utils.toast(this, "Error: " + e.getMessage()); in getList()
|
/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()
|