Home
last modified time | relevance | path

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

123456789

/frameworks/base/core/java/android/os/
DUserManager.java1362 } catch (RemoteException re) { in getUserName()
1363 throw re.rethrowFromSystemServer(); in getUserName()
1376 } catch (RemoteException re) { in isUserNameSet()
1377 throw re.rethrowFromSystemServer(); in isUserNameSet()
1467 } catch (RemoteException re) { in isRestrictedProfile()
1468 throw re.rethrowFromSystemServer(); in isRestrictedProfile()
1485 } catch (RemoteException re) { in isRestrictedProfile()
1486 throw re.rethrowFromSystemServer(); in isRestrictedProfile()
1497 } catch (RemoteException re) { in canHaveRestrictedProfile()
1498 throw re.rethrowFromSystemServer(); in canHaveRestrictedProfile()
[all …]
DSystemUpdateManager.java109 } catch (RemoteException re) { in retrieveSystemUpdateInfo()
110 throw re.rethrowFromSystemServer(); in retrieveSystemUpdateInfo()
135 } catch (RemoteException re) { in updateSystemUpdateInfo()
136 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.java4674 } catch (RemoteException re) { in getInstalledCaCerts()
4675 throw re.rethrowFromSystemServer(); in getInstalledCaCerts()
4696 } catch (RemoteException re) { in uninstallAllUserCaCerts()
4697 throw re.rethrowFromSystemServer(); in uninstallAllUserCaCerts()
4717 } catch (RemoteException re) { in hasCaCertInstalled()
4718 throw re.rethrowFromSystemServer(); in hasCaCertInstalled()
5856 } catch (RemoteException re) { in setDeviceOwner()
5857 throw re.rethrowFromSystemServer(); in setDeviceOwner()
5939 } catch (RemoteException re) { in getDeviceOwnerComponentInner()
5940 throw re.rethrowFromSystemServer(); in getDeviceOwnerComponentInner()
[all …]
/frameworks/base/tools/stringslint/
Dstringslint.py33 import re, sys, codecs
81 ESCAPE_SEQUENCE_RE = re.compile(r'''
88 )''', re.UNICODE | re.VERBOSE)
94 s = re.sub(r"\n\s*", " ", s)
96 s = re.sub(r"%(\d+\$)?[a-z]", "____", s)
97 s = re.sub(r"\^\d+", "____", s)
98 s = re.sub(r"<br/?>", "\n", s)
99 s = re.sub(r"</?[a-z]+>", "", s)
103 …if not isinstance(tag, ET._Comment) and re.match("{.*xliff.*}g", tag.tag) and "example" in tag.att…
155 limit = re.search("CHAR[ _-]LIMIT=(\d+|NONE|none)", comment.text)
[all …]
/frameworks/base/core/java/android/app/
DUiAutomation.java243 } catch (RemoteException re) { in connect()
244 throw new RuntimeException("Error while connecting UiAutomation", re); in connect()
300 } catch (RemoteException re) { in disconnect()
301 throw new RuntimeException("Error while disconnecting UiAutomation", re); in disconnect()
378 } catch (RemoteException re) { in adoptShellPermissionIdentity()
379 Log.e(LOG_TAG, "Error executing adopting shell permission identity!", re); in adoptShellPermissionIdentity()
406 } catch (RemoteException re) { in adoptShellPermissionIdentity()
407 Log.e(LOG_TAG, "Error executing adopting shell permission identity!", re); in adoptShellPermissionIdentity()
425 } catch (RemoteException re) { in dropShellPermissionIdentity()
426 Log.e(LOG_TAG, "Error executing dropping shell permission identity!", re); in dropShellPermissionIdentity()
[all …]
/frameworks/base/core/java/android/print/
DPrintManager.java304 } catch (RemoteException re) { in getPrintJobInfo()
305 throw re.rethrowFromSystemServer(); in getPrintJobInfo()
329 } catch (RemoteException re) { in addPrintJobStateChangeListener()
330 throw re.rethrowFromSystemServer(); in addPrintJobStateChangeListener()
359 } catch (RemoteException re) { in removePrintJobStateChangeListener()
360 throw re.rethrowFromSystemServer(); in removePrintJobStateChangeListener()
382 } catch (RemoteException re) { in getPrintJob()
383 throw re.rethrowFromSystemServer(); in getPrintJob()
405 } catch (RemoteException re) { in getCustomPrinterIcon()
406 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/av/media/codec2/docs/
Ddoxyfilter.sh2 import re, sys
18 print(re.sub(r'^( *//(?!/))', r'\1/', h), end='')
23 h = re.sub(r'^( */[*](?![*]))', r'\1*', h)
46 ind = re.match(r'^( *)', line).group(1)
49 m = re.match(r'^ *[*]/', line)
56 m = re.match(r'^ *//', line)
61 m = re.match(r'^ */[*]', line)
66 in_comment = not re.match(r'^ *[*]/', line)
86 if re.match(r'^namespace android {', line):
92 elif re.match(r'^} +// +namespace', line):
/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.java641 } catch (RemoteException re) { in disableSelf()
642 throw new RuntimeException(re); in disableSelf()
757 } catch (RemoteException re) { in dispatchGesture()
758 throw new RuntimeException(re); in dispatchGesture()
928 } catch (RemoteException re) { in setMagnificationCallbackEnabled()
929 throw new RuntimeException(re); in setMagnificationCallbackEnabled()
989 } catch (RemoteException re) { in getScale()
990 Log.w(LOG_TAG, "Failed to obtain scale", re); in getScale()
991 re.rethrowFromSystemServer(); in getScale()
1018 } 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/base/services/core/java/com/android/server/pm/
DApexManager.java158 } catch (RemoteException re) { in populateAllPackagesCacheIfNeeded()
159 Slog.e(TAG, "Unable to retrieve packages from apexservice: " + re.toString()); in populateAllPackagesCacheIfNeeded()
160 throw new RuntimeException(re); in populateAllPackagesCacheIfNeeded()
277 } catch (RemoteException re) { in getStagedSessionInfo()
278 Slog.e(TAG, "Unable to contact apexservice", re); in getStagedSessionInfo()
279 throw new RuntimeException(re); in getStagedSessionInfo()
303 } catch (RemoteException re) { in submitStagedSession()
304 Slog.e(TAG, "Unable to contact apexservice", re); in submitStagedSession()
305 throw new RuntimeException(re); in submitStagedSession()
319 } catch (RemoteException re) { in markStagedSessionReady()
[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/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java225 } catch (RemoteException re) { in getAllProfiles()
226 loge("callback onComplete failure after checkCallingPackage.", re); in getAllProfiles()
274 } catch (RemoteException re) { in getProfile()
275 loge("callback onComplete failure after checkCallingPackage.", re); in getProfile()
322 } catch (RemoteException re) { in disableProfile()
323 loge("callback onComplete failure after checkCallingPackage.", re); in disableProfile()
370 } catch (RemoteException re) { in switchToProfile()
371 loge("callback onComplete failure after checkCallingPackage.", re); in switchToProfile()
436 } catch (RemoteException re) { in setNickname()
437 loge("callback onComplete failure after checkCallingPackage.", re); in setNickname()
[all …]
/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/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/core/java/android/view/accessibility/
DAccessibilityManager.java571 } catch (RemoteException re) { in sendAccessibilityEvent()
572 Log.e(LOG_TAG, "Error during sending " + dispatchedEvent + " ", re); in sendAccessibilityEvent()
613 } catch (RemoteException re) { in interrupt()
614 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re); in interrupt()
659 } catch (RemoteException re) { in getInstalledAccessibilityServiceList()
660 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getInstalledAccessibilityServiceList()
704 } catch (RemoteException re) { in getEnabledAccessibilityServiceList()
705 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getEnabledAccessibilityServiceList()
1117 } catch (RemoteException re) { in addAccessibilityInteractionConnection()
1118 Log.e(LOG_TAG, "Error while adding an accessibility interaction connection. ", re); in addAccessibilityInteractionConnection()
[all …]
DAccessibilityInteractionClient.java254 } catch (RemoteException re) { in getWindow()
255 Log.e(LOG_TAG, "Error while calling remote getWindow", re); in getWindow()
295 } catch (RemoteException re) { in getWindows()
296 Log.e(LOG_TAG, "Error while calling remote getWindows", re); in getWindows()
369 } catch (RemoteException re) { in findAccessibilityNodeInfoByAccessibilityId()
371 + " findAccessibilityNodeInfoByAccessibilityId", re); in findAccessibilityNodeInfoByAccessibilityId()
427 } catch (RemoteException re) { in findAccessibilityNodeInfosByViewId()
429 + " findAccessibilityNodeInfoByViewIdInActiveWindow", re); in findAccessibilityNodeInfosByViewId()
481 } catch (RemoteException re) { in findAccessibilityNodeInfosByText()
483 + " findAccessibilityNodeInfosByViewText", re); in findAccessibilityNodeInfosByText()
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java520 } catch (RemoteException re) { in getActivityList()
521 throw re.rethrowFromSystemServer(); in getActivityList()
542 } catch (RemoteException re) { in resolveActivity()
543 throw re.rethrowFromSystemServer(); in resolveActivity()
566 } catch (RemoteException re) { in startMainActivity()
567 throw re.rethrowFromSystemServer(); in startMainActivity()
584 } catch (RemoteException re) { in startPackageInstallerSessionDetailsActivity()
585 throw re.rethrowFromSystemServer(); in startPackageInstallerSessionDetailsActivity()
605 } catch (RemoteException re) { in startAppDetailsActivity()
606 throw re.rethrowFromSystemServer(); in startAppDetailsActivity()
[all …]
/frameworks/ml/nn/tools/systrace_parser/parser/
Dinput.py3 import re
24 MATCHER = re.compile(r"^\s*([^ ].{1,15})-(\d+)\s+\(\s*([-0-9]+)\) .* (\d+\.\d+): tracing_mark_write…
25 MATCHER_FOR_OLD = re.compile(r"^\s*([^ ].{1,15})-(\d+) .* (\d+\.\d+): tracing_mark_write: ([BE].*)$…
51 mark_matcher = re.compile(r"([BE])\|(\d+).*")
/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/content/
DRestrictionsManager.java429 } catch (RemoteException re) { in getApplicationRestrictions()
430 throw re.rethrowFromSystemServer(); in getApplicationRestrictions()
446 } catch (RemoteException re) { in hasRestrictionsProvider()
447 throw re.rethrowFromSystemServer(); in hasRestrictionsProvider()
484 } catch (RemoteException re) { in requestPermission()
485 throw re.rethrowFromSystemServer(); in requestPermission()
494 } catch (RemoteException re) { in createLocalApprovalIntent()
495 throw re.rethrowFromSystemServer(); in createLocalApprovalIntent()
526 } catch (RemoteException re) { in notifyPermissionResponse()
527 throw re.rethrowFromSystemServer(); in notifyPermissionResponse()
/frameworks/base/startop/scripts/app_startup/
Dquery_compiler_filter.py35 import re
88 if re.match(match_regex, parse_tree.label):
100 if re.match(match_regex, node.label):
178 package_tree = find_parse_subtree(dexopt_state, re.escape("[%s]" %package))
188 matchre = re.compile("([^:]+):\s+\[status=([^\]]+)\]\s+\[reason=([^\]]+)\]")
192 matches = re.match(matchre, isa_node.label).groups()

123456789