Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/base/core/java/android/os/
DUserManager.java545 } catch (RemoteException re) { in getUserName()
546 Log.w(TAG, "Could not get user name", re); in getUserName()
595 } catch (RemoteException re) { in isLinkedUser()
596 Log.w(TAG, "Could not check if user is limited ", re); in isLinkedUser()
667 } catch (RemoteException re) { in getUserInfo()
668 Log.w(TAG, "Could not get user info", re); in getUserInfo()
689 } catch (RemoteException re) { in getUserRestrictions()
690 Log.w(TAG, "Could not get user restrictions", re); in getUserRestrictions()
723 } catch (RemoteException re) { in setUserRestrictions()
724 Log.w(TAG, "Could not set user restrictions", re); in setUserRestrictions()
[all …]
/frameworks/base/core/java/android/app/
DUiAutomation.java198 } catch (RemoteException re) { in connect()
199 throw new RuntimeException("Error while connecting UiAutomation", re); in connect()
243 } catch (RemoteException re) { in disconnect()
244 throw new RuntimeException("Error while disconnecting UiAutomation", re); in disconnect()
297 } catch (RemoteException re) { in performGlobalAction()
298 Log.w(LOG_TAG, "Error while calling performGlobalAction", re); in performGlobalAction()
346 } catch (RemoteException re) { in getServiceInfo()
347 Log.w(LOG_TAG, "Error while getting AccessibilityServiceInfo", re); in getServiceInfo()
373 } catch (RemoteException re) { in setServiceInfo()
374 Log.w(LOG_TAG, "Error while setting AccessibilityServiceInfo", re); in setServiceInfo()
[all …]
DUiAutomationConnection.java140 } catch (RemoteException re) { in setRotation()
339 } catch (RemoteException re) { in registerUiTestAutomationServiceLocked()
340 throw new IllegalStateException("Error while registering UiTestAutomationService.", re); in registerUiTestAutomationServiceLocked()
352 } catch (RemoteException re) { in unregisterUiTestAutomationServiceLocked()
354 re); in unregisterUiTestAutomationServiceLocked()
365 } catch (RemoteException re) { in storeRotationStateLocked()
381 } catch (RemoteException re) { in restoreRotationStateLocked()
/frameworks/base/core/java/android/print/
DPrintManager.java229 } catch (RemoteException re) { in getPrintJobInfo()
230 Log.e(LOG_TAG, "Error getting a print job info:" + printJobId, re); in getPrintJobInfo()
255 } catch (RemoteException re) { in addPrintJobStateChangeListener()
256 Log.e(LOG_TAG, "Error adding print job state change listener", re); in addPrintJobStateChangeListener()
285 } catch (RemoteException re) { in removePrintJobStateChangeListener()
286 Log.e(LOG_TAG, "Error removing print job state change listener", re); in removePrintJobStateChangeListener()
307 } catch (RemoteException re) { in getPrintJob()
308 Log.e(LOG_TAG, "Error getting print job", re); in getPrintJob()
335 } catch (RemoteException re) { in getPrintJobs()
336 Log.e(LOG_TAG, "Error getting print jobs", re); in getPrintJobs()
[all …]
DPrinterDiscoverySession.java70 } catch (RemoteException re) { in PrinterDiscoverySession()
71 Log.e(LOG_TAG, "Error creating printer discovery session", re); in PrinterDiscoverySession()
84 } catch (RemoteException re) { in startPrinterDiscovery()
85 Log.e(LOG_TAG, "Error starting printer discovery", re); in startPrinterDiscovery()
99 } catch (RemoteException re) { in stopPrinterDiscovery()
100 Log.e(LOG_TAG, "Error stopping printer discovery", re); in stopPrinterDiscovery()
112 } catch (RemoteException re) { in startPrinterStateTracking()
113 Log.e(LOG_TAG, "Error starting printer state tracking", re); in startPrinterStateTracking()
124 } catch (RemoteException re) { in stopPrinterStateTracking()
125 Log.e(LOG_TAG, "Error stopping printer state tracking", re); in stopPrinterStateTracking()
[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/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/base/core/java/android/app/admin/
DDevicePolicyManager.java2253 } catch (RemoteException re) { in getInstalledCaCerts()
2254 Log.w(TAG, "Failed talking with device policy service", re); in getInstalledCaCerts()
2272 } catch (RemoteException re) { in uninstallAllUserCaCerts()
2273 Log.w(TAG, "Failed talking with device policy service", re); in uninstallAllUserCaCerts()
2290 } catch (RemoteException re) { in hasCaCertInstalled()
2291 Log.w(TAG, "Failed talking with device policy service", re); in hasCaCertInstalled()
2710 } catch (RemoteException re) { in setDeviceOwner()
2734 } catch (RemoteException re) { in isDeviceOwnerApp()
2762 } catch (RemoteException re) { in clearDeviceOwnerApp()
2774 } catch (RemoteException re) { in getDeviceOwner()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java117 } catch (RemoteException re) { in getPrintJobInfos()
118 Slog.e(LOG_TAG, "Error getting print jobs.", re); in getPrintJobInfos()
141 } catch (RemoteException re) { in createPrintJob()
142 Slog.e(LOG_TAG, "Error creating print job.", re); in createPrintJob()
164 } catch (RemoteException re) { in writePrintJobData()
165 Slog.e(LOG_TAG, "Error writing print job data.", re); in writePrintJobData()
191 } catch (RemoteException re) { in getPrintJobInfo()
192 Slog.e(LOG_TAG, "Error getting print job info.", re); in getPrintJobInfo()
216 } catch (RemoteException re) { in setPrintJobState()
217 Slog.e(LOG_TAG, "Error setting print job state.", re); in setPrintJobState()
[all …]
DRemotePrintService.java209 } catch (RemoteException re) { in handleRequestCancelPrintJob()
210 Slog.e(LOG_TAG, "Error canceling a pring job.", re); in handleRequestCancelPrintJob()
237 } catch (RemoteException re) { in handleOnPrintJobQueued()
238 Slog.e(LOG_TAG, "Error announcing queued pring job.", re); in handleOnPrintJobQueued()
264 } catch (RemoteException re) { in handleCreatePrinterDiscoverySession()
265 Slog.e(LOG_TAG, "Error creating printer discovery session.", re); in handleCreatePrinterDiscoverySession()
297 } catch (RemoteException re) { in handleDestroyPrinterDiscoverySession()
298 Slog.e(LOG_TAG, "Error destroying printer dicovery session.", re); in handleDestroyPrinterDiscoverySession()
334 } catch (RemoteException re) { in handleStartPrinterDiscovery()
335 Slog.e(LOG_TAG, "Error starting printer dicovery.", re); in handleStartPrinterDiscovery()
[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/view/accessibility/
DAccessibilityManager.java325 } catch (RemoteException re) { in sendAccessibilityEvent()
326 Log.e(LOG_TAG, "Error during sending " + event + " ", re); in sendAccessibilityEvent()
355 } catch (RemoteException re) { in interrupt()
356 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re); in interrupt()
401 } catch (RemoteException re) { in getInstalledAccessibilityServiceList()
402 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getInstalledAccessibilityServiceList()
443 } catch (RemoteException re) { in getEnabledAccessibilityServiceList()
444 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getEnabledAccessibilityServiceList()
586 } catch (RemoteException re) { in addAccessibilityInteractionConnection()
587 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()
243 } catch (RemoteException re) { in getWindows()
244 Log.e(LOG_TAG, "Error while calling remote getWindows", re); in getWindows()
308 } catch (RemoteException re) { in findAccessibilityNodeInfoByAccessibilityId()
310 + " findAccessibilityNodeInfoByAccessibilityId", re); in findAccessibilityNodeInfoByAccessibilityId()
355 } catch (RemoteException re) { in findAccessibilityNodeInfosByViewId()
357 + " findAccessibilityNodeInfoByViewIdInActiveWindow", re); in findAccessibilityNodeInfosByViewId()
403 } catch (RemoteException re) { in findAccessibilityNodeInfosByText()
405 + " findAccessibilityNodeInfosByViewText", re); in findAccessibilityNodeInfosByText()
[all …]
/frameworks/base/core/java/android/printservice/
DPrinterDiscoverySession.java116 } catch (RemoteException re) { in setObserver()
117 Log.e(LOG_TAG, "Error sending added printers", re); in setObserver()
192 } catch (RemoteException re) { in addPrinters()
193 Log.e(LOG_TAG, "Error sending added printers", re); in addPrinters()
253 } catch (RemoteException re) { in removePrinters()
254 Log.e(LOG_TAG, "Error sending removed printers", re); in removePrinters()
295 } catch (RemoteException re) { in sendOutOfDiscoveryPeriodPrinterChanges()
296 Log.e(LOG_TAG, "Error sending added printers", re); in sendOutOfDiscoveryPeriodPrinterChanges()
315 } catch (RemoteException re) { in sendOutOfDiscoveryPeriodPrinterChanges()
316 Log.e(LOG_TAG, "Error sending removed printers", re); in sendOutOfDiscoveryPeriodPrinterChanges()
DPrintJob.java79 } catch (RemoteException re) { in getInfo()
80 Log.e(LOG_TAG, "Couldn't get info for job: " + mCachedInfo.getId(), re); in getInfo()
298 } catch (RemoteException re) { in setTag()
299 Log.e(LOG_TAG, "Error setting tag for job: " + mCachedInfo.getId(), re); in setTag()
387 } catch (RemoteException re) { in setState()
388 Log.e(LOG_TAG, "Error setting the state of job: " + mCachedInfo.getId(), re); in setState()
/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:
279 if re.match("android\.R\.[a-z]+", clazz.fullname): return
281 if re.search("[A-Z]{2,}", clazz.name) is not None:
283 if re.match("[^A-Z]", clazz.name):
[all …]
/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()
DBluetoothAvrcpController.java81 } catch (Exception re) {
82 Log.e(TAG,"",re);
92 } catch (Exception re) {
93 Log.e(TAG,"",re);
149 } catch (Exception re) { in close()
150 Log.e(TAG,"",re); in close()
DBluetoothA2dpSink.java140 } catch (Exception re) {
141 Log.e(TAG,"",re);
151 } catch (Exception re) {
152 Log.e(TAG,"",re);
207 } catch (Exception re) { in close()
208 Log.e(TAG,"",re); in close()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java265 } catch (RemoteException re) { in verifyPattern()
289 } catch (RemoteException re) { in checkPattern()
316 } catch (RemoteException re) { in verifyPassword()
338 } catch (RemoteException re) { in checkPassword()
351 } catch (RemoteException re) { in checkVoldPassword()
391 } catch (RemoteException re) { in savedPatternExists()
403 } catch (RemoteException re) { in savedPasswordExists()
527 } catch (RemoteException re) { in saveLockPattern()
528 Log.e(TAG, "Couldn't save lock pattern " + re); in saveLockPattern()
778 } catch (RemoteException re) { in saveLockPassword()
[all …]
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java87 } catch (RemoteException re) { in onBackup()
88 Slog.e(TAG, "Couldn't get wallpaper name\n" + re); in onBackup()
138 } catch (RemoteException re) { in onRestore()
139 Slog.e(TAG, "Couldn't restore settings\n" + re); in onRestore()
185 } catch (RemoteException re) { in onRestoreFile()
186 Slog.e(TAG, "Couldn't restore settings\n" + re); in onRestoreFile()
/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 &lt;include/&gt;} and {@code &lt;merge/&gt;} 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 &lt;merge&gt;} element as the root view for the re-usable layout. For example:</p>
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java535 } catch (RemoteException re) { in performGlobalAction()
536 Log.w(LOG_TAG, "Error while calling performGlobalAction", re); in performGlobalAction()
583 } catch (RemoteException re) { in getServiceInfo()
584 Log.w(LOG_TAG, "Error while getting AccessibilityServiceInfo", re); in getServiceInfo()
616 } catch (RemoteException re) { in sendServiceInfo()
617 Log.w(LOG_TAG, "Error while setting AccessibilityServiceInfo", re); in sendServiceInfo()
805 } catch (RemoteException re) {

12345678910>>...18