Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/os/
DUserManager.java1215 } catch (RemoteException re) { in isUserNameSet()
1216 throw re.rethrowFromSystemServer(); in isUserNameSet()
1295 } catch (RemoteException re) { in isRestrictedProfile()
1296 throw re.rethrowFromSystemServer(); in isRestrictedProfile()
1307 } catch (RemoteException re) { in canHaveRestrictedProfile()
1308 throw re.rethrowFromSystemServer(); in canHaveRestrictedProfile()
1321 } catch (RemoteException re) { in hasRestrictedProfiles()
1322 throw re.rethrowFromSystemServer(); in hasRestrictedProfiles()
1356 } catch (RemoteException re) { in isDemoUser()
1357 throw re.rethrowFromSystemServer(); in isDemoUser()
[all …]
DSystemUpdateManager.java121 } catch (RemoteException re) { in retrieveSystemUpdateInfo()
122 throw re.rethrowFromSystemServer(); in retrieveSystemUpdateInfo()
148 } catch (RemoteException re) { in updateSystemUpdateInfo()
149 throw re.rethrowFromSystemServer(); in updateSystemUpdateInfo()
/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/admin/
DDevicePolicyManager.java3955 } catch (RemoteException re) { in getInstalledCaCerts()
3956 throw re.rethrowFromSystemServer(); in getInstalledCaCerts()
3977 } catch (RemoteException re) { in uninstallAllUserCaCerts()
3978 throw re.rethrowFromSystemServer(); in uninstallAllUserCaCerts()
3998 } catch (RemoteException re) { in hasCaCertInstalled()
3999 throw re.rethrowFromSystemServer(); in hasCaCertInstalled()
4999 } catch (RemoteException re) { in setDeviceOwner()
5000 throw re.rethrowFromSystemServer(); in setDeviceOwner()
5082 } catch (RemoteException re) { in getDeviceOwnerComponentInner()
5083 throw re.rethrowFromSystemServer(); in getDeviceOwnerComponentInner()
[all …]
/frameworks/base/core/java/android/print/
DPrintManager.java303 } catch (RemoteException re) { in getPrintJobInfo()
304 throw re.rethrowFromSystemServer(); in getPrintJobInfo()
327 } catch (RemoteException re) { in addPrintJobStateChangeListener()
328 throw re.rethrowFromSystemServer(); in addPrintJobStateChangeListener()
357 } catch (RemoteException re) { in removePrintJobStateChangeListener()
358 throw re.rethrowFromSystemServer(); in removePrintJobStateChangeListener()
380 } catch (RemoteException re) { in getPrintJob()
381 throw re.rethrowFromSystemServer(); in getPrintJob()
403 } catch (RemoteException re) { in getCustomPrinterIcon()
404 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/
DUiAutomation.java236 } catch (RemoteException re) { in connect()
237 throw new RuntimeException("Error while connecting UiAutomation", re); in connect()
292 } catch (RemoteException re) { in disconnect()
293 throw new RuntimeException("Error while disconnecting UiAutomation", re); in disconnect()
373 } catch (RemoteException re) { in performGlobalAction()
374 Log.w(LOG_TAG, "Error while calling performGlobalAction", re); in performGlobalAction()
422 } catch (RemoteException re) { in getServiceInfo()
423 Log.w(LOG_TAG, "Error while getting AccessibilityServiceInfo", re); in getServiceInfo()
449 } catch (RemoteException re) { in setServiceInfo()
450 Log.w(LOG_TAG, "Error while setting AccessibilityServiceInfo", re); in setServiceInfo()
[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/accessibilityservice/
DAccessibilityService.java596 } catch (RemoteException re) { in disableSelf()
597 throw new RuntimeException(re); in disableSelf()
689 } catch (RemoteException re) { in dispatchGesture()
690 throw new RuntimeException(re); in dispatchGesture()
856 } catch (RemoteException re) { in setMagnificationCallbackEnabled()
857 throw new RuntimeException(re); in setMagnificationCallbackEnabled()
917 } catch (RemoteException re) { in getScale()
918 Log.w(LOG_TAG, "Failed to obtain scale", re); in getScale()
919 re.rethrowFromSystemServer(); in getScale()
946 } catch (RemoteException re) { in getCenterX()
[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/xml-gen/android/databinding/parser/
DXMLParser.java169 catch (RecognitionException re) { in document()
170 _localctx.exception = re; in document()
171 _errHandler.reportError(this, re); in document()
172 _errHandler.recover(this, re); in document()
235 catch (RecognitionException re) { in prolog()
236 _localctx.exception = re; in prolog()
237 _errHandler.reportError(this, re); in prolog()
238 _errHandler.recover(this, re); in prolog()
374 catch (RecognitionException re) { in content()
375 _localctx.exception = re; in content()
[all …]
/frameworks/data-binding/compilerCommon/src/main/grammar-gen/android/databinding/parser/
DBindingExpressionParser.java199 catch (RecognitionException re) { in bindingSyntax()
200 _localctx.exception = re; in bindingSyntax()
201 _errHandler.reportError(this, re); in bindingSyntax()
202 _errHandler.recover(this, re); in bindingSyntax()
249 catch (RecognitionException re) { in defaults()
250 _localctx.exception = re; in defaults()
251 _errHandler.reportError(this, re); in defaults()
252 _errHandler.recover(this, re); in defaults()
324 catch (RecognitionException re) { in constantValue()
325 _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/support/leanback/
Dgeneratef.py19 import re
44 …line = re.sub(r'([^\.])getContext\(\)', r'\1FragmentUtil.getContext({}Fragment.this)'.format(w), l…
48 …content = re.sub(r'\*\/\n(@.*\n|)(public |abstract public |abstract |)class', '* @deprecated use {…
49 …content = re.sub(r'\*\/\n public (static class|interface|final static class|abstract static cla…
67 content = re.sub(r'\*\/\npublic class', '* @deprecated use {@link VideoSupportFragmentGlueHost}\n *…
85 content = re.sub(r'\*\/\npublic class', '* @deprecated use {@link PlaybackSupportFragmentGlueHost}\…
105 content = re.sub(r'\*\/\npublic class', '* @deprecated use {@link DetailsSupportFragmentBackgroundC…
/frameworks/base/tools/stringslint/
Dstringslint.py25 import re, sys
92 if re.search("CHAR[ _-]LIMIT=(\d+|NONE|none)", comment.text) is None:
113 if re.search("\d-\d", text):
124 if len(re.findall("%[^%]", text)) > 1:
125 if len(re.findall("%[^\d]", text)) > 0:
132 if gc.tail and re.search("%[^%]", gc.tail): badsub = True
133 if re.match("{.*xliff.*}g", gc.tag):
141 if gc.text and re.search("%[^%]", gc.text): badsub = True
/frameworks/base/cmds/vr/src/com/android/commands/vr/
DVr.java97 } catch (RemoteException re) { in runSetVr2dDisplayProperties()
98 System.err.println("Error: Can't set persistent mode " + re); in runSetVr2dDisplayProperties()
114 } catch (RemoteException re) { in runEnableVd()
115 System.err.println("Error: Can't enable (" + value +") virtual display" + re); in runEnableVd()
124 } catch (RemoteException re) { in runSetPersistentVrModeEnabled()
125 System.err.println("Error: Can't set persistent mode " + re); in runSetPersistentVrModeEnabled()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintService.java230 } catch (RemoteException re) { in handleRequestCancelPrintJob()
231 Slog.e(LOG_TAG, "Error canceling a pring job.", re); in handleRequestCancelPrintJob()
257 } catch (RemoteException re) { in handleOnPrintJobQueued()
258 Slog.e(LOG_TAG, "Error announcing queued pring job.", re); in handleOnPrintJobQueued()
284 } catch (RemoteException re) { in handleCreatePrinterDiscoverySession()
285 Slog.e(LOG_TAG, "Error creating printer discovery session.", re); in handleCreatePrinterDiscoverySession()
317 } catch (RemoteException re) { in handleDestroyPrinterDiscoverySession()
318 Slog.e(LOG_TAG, "Error destroying printer dicovery session.", re); in handleDestroyPrinterDiscoverySession()
353 } catch (RemoteException re) { in handleStartPrinterDiscovery()
354 Slog.e(LOG_TAG, "Error starting printer dicovery.", re); in handleStartPrinterDiscovery()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityManager.java512 } catch (RemoteException re) { in sendAccessibilityEvent()
513 Log.e(LOG_TAG, "Error during sending " + dispatchedEvent + " ", re); in sendAccessibilityEvent()
554 } catch (RemoteException re) { in interrupt()
555 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re); in interrupt()
600 } catch (RemoteException re) { in getInstalledAccessibilityServiceList()
601 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getInstalledAccessibilityServiceList()
645 } catch (RemoteException re) { in getEnabledAccessibilityServiceList()
646 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getEnabledAccessibilityServiceList()
993 } catch (RemoteException re) { in addAccessibilityInteractionConnection()
994 Log.e(LOG_TAG, "Error while adding an accessibility interaction connection. ", re); in addAccessibilityInteractionConnection()
[all …]
DAccessibilityInteractionClient.java251 } catch (RemoteException re) { in getWindow()
252 Log.e(LOG_TAG, "Error while calling remote getWindow", re); in getWindow()
292 } catch (RemoteException re) { in getWindows()
293 Log.e(LOG_TAG, "Error while calling remote getWindows", re); in getWindows()
366 } catch (RemoteException re) { in findAccessibilityNodeInfoByAccessibilityId()
368 + " findAccessibilityNodeInfoByAccessibilityId", re); in findAccessibilityNodeInfoByAccessibilityId()
424 } catch (RemoteException re) { in findAccessibilityNodeInfosByViewId()
426 + " findAccessibilityNodeInfoByViewIdInActiveWindow", re); in findAccessibilityNodeInfosByViewId()
478 } catch (RemoteException re) { in findAccessibilityNodeInfosByText()
480 + " findAccessibilityNodeInfosByViewText", re); in findAccessibilityNodeInfosByText()
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java508 } catch (RemoteException re) { in getActivityList()
509 throw re.rethrowFromSystemServer(); in getActivityList()
530 } catch (RemoteException re) { in resolveActivity()
531 throw re.rethrowFromSystemServer(); in resolveActivity()
554 } catch (RemoteException re) { in startMainActivity()
555 throw re.rethrowFromSystemServer(); in startMainActivity()
575 } catch (RemoteException re) { in startAppDetailsActivity()
576 throw re.rethrowFromSystemServer(); in startAppDetailsActivity()
598 } catch (RemoteException re) { in getShortcutConfigActivityList()
599 throw re.rethrowFromSystemServer(); in getShortcutConfigActivityList()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipAccessibilityInteractionConnection.java68 } catch (RemoteException re) { in findAccessibilityNodeInfoByAccessibilityId()
113 } catch (RemoteException re) { in performAccessibilityAction()
126 } catch (RemoteException re) { in findAccessibilityNodeInfosByViewId()
139 } catch (RemoteException re) { in findAccessibilityNodeInfosByText()
151 } catch (RemoteException re) { in findFocus()
163 } catch (RemoteException re) { in focusSearch()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPan.java138 } catch (RemoteException re) { in BluetoothPan()
139 Log.w(TAG, "Unable to register BluetoothStateChangeCallback", re); in BluetoothPan()
164 } catch (RemoteException re) { in close()
165 Log.w(TAG, "Unable to unregister BluetoothStateChangeCallback", re); in close()
174 } catch (Exception re) { in close()
175 Log.e(TAG, "", re); in close()
214 } catch (Exception re) {
215 Log.e(TAG, "", re);
DBluetoothPbap.java124 } catch (Exception re) {
125 Log.e(TAG, "", re);
135 } catch (Exception re) {
136 Log.e(TAG, "", re);
202 } catch (Exception re) { in close()
203 Log.e(TAG, "", re); in close()
/frameworks/base/tools/apilint/
Dapilint.py29 import re, sys, collections, traceback, argparse
59 raw = re.sub("<.+?>", "", raw)
101 raw = re.sub("<.+?>", "", raw)
103 raw = re.split("[\s(),;]+", raw)
187 re_blame = re.compile("^([a-z0-9]{7,}) \(<([^>]+)>.+?\) (.+?)$")
283 if re.match("android\.R\.[a-z]+", clazz.fullname): return
290 if re.match("[A-Z0-9_]+", f.name) is None:
309 if re.match("android\.R\.[a-z]+", clazz.fullname): return
311 if re.search("[A-Z]{2,}", clazz.name) is not None:
313 if re.match("[^A-Z]", clazz.name):
[all …]

12345678