Home
last modified time | relevance | path

Searched refs:e (Results 1 – 25 of 259) sorted by relevance

1234567891011

/development/ndk/platforms/android-3/include/
Dassert.h51 # define assert(e) ((void)0) argument
52 # define _assert(e) ((void)0) argument
54 # define _assert(e) assert(e) argument
56 # define assert(e) ((e) ? (void)0 : __assert2(__FILE__, __LINE__, __func__, #e)) argument
58 # define assert(e) ((e) ? (void)0 : __assert(__FILE__, __LINE__, #e)) argument
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DRemoteControlClientCompat.java61 } 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 …]
DRemoteControlHelper.java47 } 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()
DMediaButtonHelper.java32 } 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/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/
DBasicAndroidKeyStoreFragment.java88 } 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 …]
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DChatManager.java53 } 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()
DGroupOwnerSocketHandler.java29 } catch (IOException e) { in GroupOwnerSocketHandler()
30 e.printStackTrace(); in GroupOwnerSocketHandler()
32 throw e; in GroupOwnerSocketHandler()
53 } catch (IOException e) { in run()
60 e.printStackTrace(); in run()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceScript.java213 } catch (NumberFormatException e) { in readHeader()
214 System.err.println(e); in readHeader()
221 } catch (NumberFormatException e) { in readHeader()
222 System.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 …]
DMonkeySourceNetwork.java145 } 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/ApiDemos/src/com/example/android/apis/security/
DKeyStoreUsage.java273 } catch (KeyStoreException e) { in doInBackground()
274 Log.w(TAG, "Could not list keys", e); in doInBackground()
276 } catch (NoSuchAlgorithmException e) { in doInBackground()
277 Log.w(TAG, "Could not list keys", e); in doInBackground()
279 } catch (CertificateException e) { in doInBackground()
280 Log.w(TAG, "Could not list keys", e); in doInBackground()
282 } catch (IOException e) { in doInBackground()
283 Log.w(TAG, "Could not list keys", e); in doInBackground()
328 } catch (NoSuchAlgorithmException e) { in doInBackground()
329 Log.w(TAG, "Could not generate key", e); in doInBackground()
[all …]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
DSyncAdapter.java142 } catch (final AuthenticatorException e) { in onPerformSync()
143 Log.e(TAG, "AuthenticatorException", e); in onPerformSync()
145 } catch (final OperationCanceledException e) { in onPerformSync()
146 Log.e(TAG, "OperationCanceledExcetpion", e); in onPerformSync()
147 } catch (final IOException e) { in onPerformSync()
148 Log.e(TAG, "IOException", e); in onPerformSync()
150 } catch (final AuthenticationException e) { in onPerformSync()
151 Log.e(TAG, "AuthenticationException", e); in onPerformSync()
153 } catch (final ParseException e) { in onPerformSync()
154 Log.e(TAG, "ParseException", e); in onPerformSync()
[all …]
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DBluetoothChatService.java283 } 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/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
DImageFetcher.java100 } 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/
DChatConnection.java78 Log.e(TAG, "Updating message: " + msg); in updateMessages()
104 } catch (IOException e) { in setSocket()
106 e.printStackTrace(); in setSocket()
131 Log.e(TAG, "Error when closing server socket."); in tearDown()
156 } catch (IOException e) { in run()
157 Log.e(TAG, "Error creating ServerSocket: ", e); in run()
158 e.printStackTrace(); in run()
207 } catch (UnknownHostException e) { in run()
208 Log.d(CLIENT_TAG, "Initializing socket failed, UHE", e); in run()
209 } catch (IOException e) { in run()
[all …]
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java143 } catch (IOException e) { in onCreate()
144 throw new IllegalStateException(e); in onCreate()
145 } catch (GeneralSecurityException e) { in onCreate()
146 throw new IllegalStateException(e); in onCreate()
283 } catch (IOException e) { in createDocument()
284 throw new IllegalStateException(e); in createDocument()
285 } catch (GeneralSecurityException e) { in createDocument()
286 throw new IllegalStateException(e); in createDocument()
287 } catch (JSONException e) { in createDocument()
288 throw new IllegalStateException(e); in createDocument()
[all …]
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/
DGestureListener.java30 public boolean onSingleTapUp(MotionEvent e) { in onSingleTapUp() argument
37 public void onLongPress(MotionEvent e) { in onLongPress() argument
60 public void onShowPress(MotionEvent e) { in onShowPress() argument
66 public boolean onDown(MotionEvent e) { in onDown() argument
73 public boolean onDoubleTap(MotionEvent e) { in onDoubleTap() argument
80 public boolean onDoubleTapEvent(MotionEvent e) { in onDoubleTapEvent() argument
89 public boolean onSingleTapConfirmed(MotionEvent e) { in onSingleTapConfirmed() argument
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
DSyncAdapter.java153 } 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/
DPathEffects.java44 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/
DBadBehaviorActivity.java52 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onReceive()
66 try { Thread.sleep(30000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onStartCommand()
81 } catch (RemoteException e) { in activityStarting()
82 Log.e(TAG, "Can't call IActivityManager.setActivityController", e); in activityStarting()
87 try { Thread.sleep(mDelay); } catch (InterruptedException e) { Log.wtf(TAG, e); } in activityStarting()
122 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onCreate()
143 } catch (RemoteException e) { in onCreate()
144 Log.e(TAG, "Can't call IPowerManager.crash()", e); in onCreate()
184 try { Thread.sleep(20000); } catch (InterruptedException e) { Log.wtf(TAG, e); } in onCreate()
222 } catch (RemoteException e) { in onCreate()
[all …]
DConnectivity.java156 } catch (Exception e) {}
189 Log.e(TAG, "EVENT_TOGGLE_WIFI");
407 } catch (Exception e) { }; in onStartDelayedCycle()
431 } catch (Exception e) { }; in onStartScreenCycle()
469 } catch (Exception e) { }; in onStartScanCycle()
508 } catch (Exception e) { in onStartTdls()
520 } catch (Exception e) { in onStopTdls()
529 } catch (Exception e) { in onAddDefaultRoute()
530 Log.e(TAG, "onAddDefaultRoute got exception: " + e.toString()); in onAddDefaultRoute()
538 } catch (Exception e) { in onRemoveDefaultRoute()
[all …]
/development/samples/KeyChainDemo/src/com/example/android/keychain/
DSecureWebServer.java80 } 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/Support4Demos/src/com/example/android/supportv4/app/
DSharingReceiverSupport.java76 } catch (IOException e) { in onCreate()
77 Log.e(TAG, "Reading stream threw exception", e); in onCreate()
81 } catch (FileNotFoundException e) { in onCreate()
82 Log.e(TAG, "File not found from share.", e); in onCreate()
83 } catch (IOException e) { in onCreate()
84 Log.d(TAG, "I/O Error", e); in onCreate()
DSharingSupport.java83 } catch (FileNotFoundException e) { in onShareFileClick()
84 e.printStackTrace(); in onShareFileClick()
85 } catch (IOException e) { in onShareFileClick()
86 e.printStackTrace(); in onShareFileClick()
107 } catch (FileNotFoundException e) { in onShareMultipleFileClick()
108 e.printStackTrace(); in onShareMultipleFileClick()
109 } catch (IOException e) { in onShareMultipleFileClick()
110 e.printStackTrace(); in onShareMultipleFileClick()
/development/apps/SettingInjectorSample/src/com/example/android/injector/
DSlowInjectorService.java38 } catch (InterruptedException e) { in onGetSummary()
39 Log.e(TAG, "", e); in onGetSummary()
DMyInjectorService.java38 } catch (InterruptedException e) { in onGetSummary()
39 Log.e(TAG, "", e); in onGetSummary()

1234567891011