Home
last modified time | relevance | path

Searched refs:re (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/frameworks/base/core/java/android/os/
DUserManager.java764 } catch (RemoteException re) { in getUserName()
765 throw re.rethrowFromSystemServer(); in getUserName()
834 } catch (RemoteException re) { in isLinkedUser()
835 throw re.rethrowFromSystemServer(); in isLinkedUser()
846 } catch (RemoteException re) { in canHaveRestrictedProfile()
847 throw re.rethrowFromSystemServer(); in canHaveRestrictedProfile()
872 } catch (RemoteException re) { in isManagedProfile()
873 throw re.rethrowFromSystemServer(); in isManagedProfile()
889 } catch (RemoteException re) { in isManagedProfile()
890 throw re.rethrowFromSystemServer(); in isManagedProfile()
[all …]
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
DTvRemoteProvider.java130 } catch (RemoteException re) { in openRemoteInputBridge()
131 throw re.rethrowFromSystemServer(); in openRemoteInputBridge()
144 } catch (RemoteException re) { in closeInputBridge()
145 throw re.rethrowFromSystemServer(); in closeInputBridge()
161 } catch (RemoteException re) { in clearInputBridge()
162 throw re.rethrowFromSystemServer(); in clearInputBridge()
179 } catch (RemoteException re) { in sendTimestamp()
180 throw re.rethrowFromSystemServer(); in sendTimestamp()
195 } catch (RemoteException re) { in sendKeyUp()
196 throw re.rethrowFromSystemServer(); in sendKeyUp()
[all …]
/frameworks/base/core/java/android/app/
DUiAutomation.java225 } catch (RemoteException re) { in connect()
226 throw new RuntimeException("Error while connecting UiAutomation", re); in connect()
281 } catch (RemoteException re) { in disconnect()
282 throw new RuntimeException("Error while disconnecting UiAutomation", re); in disconnect()
358 } catch (RemoteException re) { in performGlobalAction()
359 Log.w(LOG_TAG, "Error while calling performGlobalAction", re); in performGlobalAction()
407 } catch (RemoteException re) { in getServiceInfo()
408 Log.w(LOG_TAG, "Error while getting AccessibilityServiceInfo", re); in getServiceInfo()
434 } catch (RemoteException re) { in setServiceInfo()
435 Log.w(LOG_TAG, "Error while setting AccessibilityServiceInfo", re); in setServiceInfo()
[all …]
/frameworks/base/core/java/android/print/
DPrintManager.java311 } catch (RemoteException re) { in getPrintJobInfo()
312 throw re.rethrowFromSystemServer(); in getPrintJobInfo()
336 } catch (RemoteException re) { in addPrintJobStateChangeListener()
337 throw re.rethrowFromSystemServer(); in addPrintJobStateChangeListener()
366 } catch (RemoteException re) { in removePrintJobStateChangeListener()
367 throw re.rethrowFromSystemServer(); in removePrintJobStateChangeListener()
389 } catch (RemoteException re) { in getPrintJob()
390 throw re.rethrowFromSystemServer(); in getPrintJob()
412 } catch (RemoteException re) { in getCustomPrinterIcon()
413 throw re.rethrowFromSystemServer(); in getCustomPrinterIcon()
[all …]
DPrinterDiscoverySession.java72 } catch (RemoteException re) { in PrinterDiscoverySession()
73 Log.e(LOG_TAG, "Error creating printer discovery session", re); in PrinterDiscoverySession()
86 } catch (RemoteException re) { in startPrinterDiscovery()
87 Log.e(LOG_TAG, "Error starting printer discovery", re); in startPrinterDiscovery()
101 } catch (RemoteException re) { in stopPrinterDiscovery()
102 Log.e(LOG_TAG, "Error stopping printer discovery", re); in stopPrinterDiscovery()
114 } catch (RemoteException re) { in startPrinterStateTracking()
115 Log.e(LOG_TAG, "Error starting printer state tracking", re); in startPrinterStateTracking()
126 } catch (RemoteException re) { in stopPrinterStateTracking()
127 Log.e(LOG_TAG, "Error stopping printer state tracking", re); in stopPrinterStateTracking()
[all …]
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2794 } catch (RemoteException re) { in getInstalledCaCerts()
2795 throw re.rethrowFromSystemServer(); in getInstalledCaCerts()
2816 } catch (RemoteException re) { in uninstallAllUserCaCerts()
2817 throw re.rethrowFromSystemServer(); in uninstallAllUserCaCerts()
2837 } catch (RemoteException re) { in hasCaCertInstalled()
2838 throw re.rethrowFromSystemServer(); in hasCaCertInstalled()
3548 } catch (RemoteException re) { in setDeviceOwner()
3549 throw re.rethrowFromSystemServer(); in setDeviceOwner()
3631 } catch (RemoteException re) { in getDeviceOwnerComponentInner()
3632 throw re.rethrowFromSystemServer(); in getDeviceOwnerComponentInner()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java571 } catch (RemoteException re) { in disableSelf()
572 throw new RuntimeException(re); in disableSelf()
647 } catch (RemoteException re) { in dispatchGesture()
648 throw new RuntimeException(re); in dispatchGesture()
800 } catch (RemoteException re) { in setMagnificationCallbackEnabled()
801 throw new RuntimeException(re); in setMagnificationCallbackEnabled()
861 } catch (RemoteException re) { in getScale()
862 Log.w(LOG_TAG, "Failed to obtain scale", re); in getScale()
863 re.rethrowFromSystemServer(); in getScale()
890 } catch (RemoteException re) { in getCenterX()
[all …]
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/
DXMLParser.java121 catch (RecognitionException re) { in document()
122 _localctx.exception = re; in document()
123 _errHandler.reportError(this, re); in document()
124 _errHandler.recover(this, re); in document()
185 catch (RecognitionException re) { in prolog()
186 _localctx.exception = re; in prolog()
187 _errHandler.reportError(this, re); in prolog()
188 _errHandler.recover(this, re); in prolog()
318 catch (RecognitionException re) { in content()
319 _localctx.exception = re; in content()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java161 } catch (RemoteException re) { in getPrintJobInfos()
162 Slog.e(LOG_TAG, "Error getting print jobs.", re); in getPrintJobInfos()
185 } catch (RemoteException re) { in createPrintJob()
186 Slog.e(LOG_TAG, "Error creating print job.", re); in createPrintJob()
208 } catch (RemoteException re) { in writePrintJobData()
209 Slog.e(LOG_TAG, "Error writing print job data.", re); in writePrintJobData()
235 } catch (RemoteException re) { in getPrintJobInfo()
236 Slog.e(LOG_TAG, "Error getting print job info.", re); in getPrintJobInfo()
260 } catch (RemoteException re) { in setPrintJobState()
261 Slog.e(LOG_TAG, "Error setting print job state.", re); in setPrintJobState()
[all …]
DRemotePrintService.java223 } catch (RemoteException re) { in handleRequestCancelPrintJob()
224 Slog.e(LOG_TAG, "Error canceling a pring job.", re); in handleRequestCancelPrintJob()
251 } catch (RemoteException re) { in handleOnPrintJobQueued()
252 Slog.e(LOG_TAG, "Error announcing queued pring job.", re); in handleOnPrintJobQueued()
278 } catch (RemoteException re) { in handleCreatePrinterDiscoverySession()
279 Slog.e(LOG_TAG, "Error creating printer discovery session.", re); in handleCreatePrinterDiscoverySession()
311 } catch (RemoteException re) { in handleDestroyPrinterDiscoverySession()
312 Slog.e(LOG_TAG, "Error destroying printer dicovery session.", re); in handleDestroyPrinterDiscoverySession()
348 } catch (RemoteException re) { in handleStartPrinterDiscovery()
349 Slog.e(LOG_TAG, "Error starting printer dicovery.", re); in handleStartPrinterDiscovery()
[all …]
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java213 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_SUCCESS, 1, in testRecognitionEventParcelUnparcel_noData() local
218 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_noData()
225 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_noData()
230 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_FAILURE, 1, in testRecognitionEventParcelUnparcel_zeroData() local
235 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_zeroData()
242 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_zeroData()
249 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, 1, in testRecognitionEventParcelUnparcel_largeData() local
254 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_largeData()
261 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_largeData()
268 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, 1, in testRecognitionEventParcelUnparcel_largeAudioData() local
[all …]
/frameworks/base/core/java/android/ddm/
DDdmHandleProfiling.java116 } catch (RuntimeException re) { in handleMPRS()
117 return createFailChunk(1, re.getMessage()); in handleMPRS()
130 } catch (RuntimeException re) { in handleMPRE()
132 + re.getMessage()); in handleMPRE()
157 } catch (RuntimeException re) { in handleMPSS()
158 return createFailChunk(1, re.getMessage()); in handleMPSS()
173 } catch (RuntimeException re) { in handleMPSEOrSPSE()
175 + re.getMessage()); in handleMPSEOrSPSE()
176 return createFailChunk(1, re.getMessage()); in handleMPSEOrSPSE()
211 } catch (RuntimeException re) { in handleSPSS()
[all …]
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
DBindingExpressionParser.java147 catch (RecognitionException re) { in bindingSyntax()
148 _localctx.exception = re; in bindingSyntax()
149 _errHandler.reportError(this, re); in bindingSyntax()
150 _errHandler.recover(this, re); in bindingSyntax()
198 catch (RecognitionException re) { in defaults()
199 _localctx.exception = re; in defaults()
200 _errHandler.reportError(this, re); in defaults()
201 _errHandler.recover(this, re); in defaults()
274 catch (RecognitionException re) { in constantValue()
275 _localctx.exception = re; in constantValue()
[all …]
/frameworks/base/core/java/android/printservice/
DPrintJob.java93 } catch (RemoteException re) { in getInfo()
94 Log.e(LOG_TAG, "Couldn't get info for job: " + mCachedInfo.getId(), re); in getInfo()
320 } catch (RemoteException re) { in setProgress()
321 Log.e(LOG_TAG, "Error setting progress for job: " + mCachedInfo.getId(), re); in setProgress()
340 } catch (RemoteException re) { in setStatus()
341 Log.e(LOG_TAG, "Error setting status for job: " + mCachedInfo.getId(), re); in setStatus()
360 } catch (RemoteException re) { in setStatus()
361 Log.e(LOG_TAG, "Error setting status for job: " + mCachedInfo.getId(), re); in setStatus()
382 } catch (RemoteException re) { in setTag()
383 Log.e(LOG_TAG, "Error setting tag for job: " + mCachedInfo.getId(), re); in setTag()
[all …]
DPrinterDiscoverySession.java118 } catch (RemoteException re) { in setObserver()
119 Log.e(LOG_TAG, "Error sending added printers", re); in setObserver()
194 } catch (RemoteException re) { in addPrinters()
195 Log.e(LOG_TAG, "Error sending added printers", re); in addPrinters()
255 } catch (RemoteException re) { in removePrinters()
256 Log.e(LOG_TAG, "Error sending removed printers", re); in removePrinters()
297 } catch (RemoteException re) { in sendOutOfDiscoveryPeriodPrinterChanges()
298 Log.e(LOG_TAG, "Error sending added printers", re); in sendOutOfDiscoveryPeriodPrinterChanges()
317 } catch (RemoteException re) { in sendOutOfDiscoveryPeriodPrinterChanges()
318 Log.e(LOG_TAG, "Error sending removed printers", re); in sendOutOfDiscoveryPeriodPrinterChanges()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java324 } catch (RemoteException re) { in sendAccessibilityEvent()
325 Log.e(LOG_TAG, "Error during sending " + event + " ", re); in sendAccessibilityEvent()
354 } catch (RemoteException re) { in interrupt()
355 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re); in interrupt()
400 } catch (RemoteException re) { in getInstalledAccessibilityServiceList()
401 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getInstalledAccessibilityServiceList()
442 } catch (RemoteException re) { in getEnabledAccessibilityServiceList()
443 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getEnabledAccessibilityServiceList()
585 } catch (RemoteException re) { in addAccessibilityInteractionConnection()
586 Log.e(LOG_TAG, "Error while adding an accessibility interaction connection. ", re); in addAccessibilityInteractionConnection()
[all …]
DAccessibilityInteractionClient.java201 } catch (RemoteException re) { in getWindow()
202 Log.e(LOG_TAG, "Error while calling remote getWindow", re); in getWindow()
239 } catch (RemoteException re) { in getWindows()
240 Log.e(LOG_TAG, "Error while calling remote getWindows", re); in getWindows()
304 } catch (RemoteException re) { in findAccessibilityNodeInfoByAccessibilityId()
306 + " findAccessibilityNodeInfoByAccessibilityId", re); in findAccessibilityNodeInfoByAccessibilityId()
351 } catch (RemoteException re) { in findAccessibilityNodeInfosByViewId()
353 + " findAccessibilityNodeInfoByViewIdInActiveWindow", re); in findAccessibilityNodeInfosByViewId()
399 } catch (RemoteException re) { in findAccessibilityNodeInfosByText()
401 + " findAccessibilityNodeInfosByViewText", re); in findAccessibilityNodeInfosByText()
[all …]
/frameworks/base/tools/apilint/
Dapilint.py29 import re, sys, collections, traceback, argparse
87 raw = re.sub("<.+?>", "", raw)
89 raw = re.split("[\s(),;]+", raw)
108 ident = re.sub("<.+?>", "", ident)
173 re_blame = re.compile("^([a-z0-9]{7,}) \(<([^>]+)>.+?\) (.+?)$")
261 if re.match("android\.R\.[a-z]+", clazz.fullname): return
265 if re.match("[A-Z0-9_]+", f.name) is None:
282 if re.match("android\.R\.[a-z]+", clazz.fullname): return
284 if re.search("[A-Z]{2,}", clazz.name) is not None:
286 if re.match("[^A-Z]", clazz.name):
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java291 } catch (RemoteException re) { in getActivityList()
292 throw re.rethrowFromSystemServer(); in getActivityList()
324 } catch (RemoteException re) { in resolveActivity()
325 throw re.rethrowFromSystemServer(); in resolveActivity()
345 } catch (RemoteException re) { in startMainActivity()
346 throw re.rethrowFromSystemServer(); in startMainActivity()
363 } catch (RemoteException re) { in startAppDetailsActivity()
364 throw re.rethrowFromSystemServer(); in startAppDetailsActivity()
379 } catch (RemoteException re) { in isPackageEnabled()
380 throw re.rethrowFromSystemServer(); in isPackageEnabled()
[all …]
/frameworks/base/core/java/android/content/
DRestrictionsManager.java424 } catch (RemoteException re) { in getApplicationRestrictions()
425 throw re.rethrowFromSystemServer(); in getApplicationRestrictions()
441 } catch (RemoteException re) { in hasRestrictionsProvider()
442 throw re.rethrowFromSystemServer(); in hasRestrictionsProvider()
479 } catch (RemoteException re) { in requestPermission()
480 throw re.rethrowFromSystemServer(); in requestPermission()
489 } catch (RemoteException re) { in createLocalApprovalIntent()
490 throw re.rethrowFromSystemServer(); in createLocalApprovalIntent()
521 } catch (RemoteException re) { in notifyPermissionResponse()
522 throw re.rethrowFromSystemServer(); in notifyPermissionResponse()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPan.java136 } catch (RemoteException re) { in BluetoothPan()
137 Log.w(TAG,"Unable to register BluetoothStateChangeCallback",re); in BluetoothPan()
162 } catch (RemoteException re) { in close()
163 Log.w(TAG,"Unable to unregister BluetoothStateChangeCallback",re); in close()
172 } catch (Exception re) { in close()
173 Log.e(TAG,"",re); in close()
209 } catch (Exception re) {
210 Log.e(TAG,"",re);
DBluetoothPbap.java122 } catch (Exception re) {
123 Log.e(TAG,"",re);
133 } catch (Exception re) {
134 Log.e(TAG,"",re);
200 } catch (Exception re) { in close()
201 Log.e(TAG,"",re); in close()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/frameworks/base/docs/html/training/improving-layouts/
Dreusing-layouts.jd38 <p>Although Android offers a variety of widgets to provide small and re-usable interactive elements,
39 you might also need to re-use larger components that require a special layout. To efficiently
40 re-use complete layouts, you can use the {@code <include/>} and {@code <merge/>} tags
48 do it even more easily by re-using a layout file.</p>
53 <p>If you already know the layout that you want to re-use, create a new XML file and define the
75 <p>Inside the layout to which you want to add the re-usable component, add the {@code
123 re-used in multiple layouts, then the re-usable layout in which you place the two views requires its
125 re-usable layout would result in a vertical {@link android.widget.LinearLayout} inside a
130 {@code <merge>} element as the root view for the re-usable layout. For example:</p>
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java622 } catch (RemoteException re) { in onPackageAdded()
623 Slog.d(TAG, "Callback failed ", re); in onPackageAdded()
641 } catch (RemoteException re) { in onPackageRemoved()
642 Slog.d(TAG, "Callback failed ", re); in onPackageRemoved()
660 } catch (RemoteException re) { in onPackageModified()
661 Slog.d(TAG, "Callback failed ", re); in onPackageModified()
679 } catch (RemoteException re) { in onPackagesAvailable()
680 Slog.d(TAG, "Callback failed ", re); in onPackagesAvailable()
698 } catch (RemoteException re) { in onPackagesUnavailable()
699 Slog.d(TAG, "Callback failed ", re); in onPackagesUnavailable()
[all …]

12345678910>>...20