/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1904 } catch (RemoteException re) { in getUserName() 1905 throw re.rethrowFromSystemServer(); in getUserName() 1925 } catch (RemoteException re) { in isUserNameSet() 1926 throw re.rethrowFromSystemServer(); in isUserNameSet() 2017 } catch (RemoteException re) { in isUserOfType() 2018 throw re.rethrowFromSystemServer(); in isUserOfType() 2118 } catch (RemoteException re) { in isRestrictedProfile() 2119 throw re.rethrowFromSystemServer(); in isRestrictedProfile() 2137 } catch (RemoteException re) { in isRestrictedProfile() 2138 throw re.rethrowFromSystemServer(); in isRestrictedProfile() [all …]
|
D | SystemUpdateManager.java | 109 } 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/ |
D | TvRemoteProvider.java | 209 } catch (RemoteException re) { in openRemoteInputBridge() 211 + ": failure", re); in openRemoteInputBridge() 220 } catch (RemoteException re) { in openRemoteInputBridge() 221 throw re.rethrowFromSystemServer(); in openRemoteInputBridge() 249 } catch (RemoteException re) { in openGamepadBridge() 251 re); in openGamepadBridge() 260 } catch (RemoteException re) { in openGamepadBridge() 261 throw re.rethrowFromSystemServer(); in openGamepadBridge() 275 } catch (RemoteException re) { in closeInputBridge() 276 throw re.rethrowFromSystemServer(); in closeInputBridge() [all …]
|
/frameworks/base/tools/stringslint/ |
D | stringslint.py | 34 import re, sys, codecs 79 ESCAPE_SEQUENCE_RE = re.compile(r''' 86 )''', re.UNICODE | re.VERBOSE) 92 s = re.sub(r"\n\s*", " ", s) 94 s = re.sub(r"%(\d+\$)?[a-z]", "____", s) 95 s = re.sub(r"\^\d+", "____", s) 96 s = re.sub(r"<br/?>", "\n", s) 97 s = re.sub(r"</?[a-z]+>", "", s) 101 …if not isinstance(tag, ET._Comment) and re.match("{.*xliff.*}g", tag.tag) and "example" in tag.att… 153 limit = re.search("CHAR[ _-]LIMIT=(\d+|NONE|none)", comment.text) [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 6002 } catch (RemoteException re) { in getInstalledCaCerts() 6003 throw re.rethrowFromSystemServer(); in getInstalledCaCerts() 6024 } catch (RemoteException re) { in uninstallAllUserCaCerts() 6025 throw re.rethrowFromSystemServer(); in uninstallAllUserCaCerts() 6045 } catch (RemoteException re) { in hasCaCertInstalled() 6046 throw re.rethrowFromSystemServer(); in hasCaCertInstalled() 7239 } catch (RemoteException re) { in getNearbyNotificationStreamingPolicy() 7240 throw re.rethrowFromSystemServer(); in getNearbyNotificationStreamingPolicy() 7279 } catch (RemoteException re) { in getNearbyAppStreamingPolicy() 7280 throw re.rethrowFromSystemServer(); in getNearbyAppStreamingPolicy() [all …]
|
/frameworks/base/core/java/android/print/ |
D | PrintManager.java | 304 } 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 …]
|
D | PrinterDiscoverySession.java | 72 } 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/ |
D | UiAutomation.java | 332 } catch (RemoteException re) { in connectWithTimeout() 333 throw new RuntimeException("Error while connecting " + this, re); in connectWithTimeout() 391 } catch (RemoteException re) { in disconnect() 392 throw new RuntimeException("Error while disconnecting " + this, re); in disconnect() 472 } catch (RemoteException re) { in adoptShellPermissionIdentity() 473 Log.e(LOG_TAG, "Error executing adopting shell permission identity!", re); in adoptShellPermissionIdentity() 497 } catch (RemoteException re) { in adoptShellPermissionIdentity() 498 Log.e(LOG_TAG, "Error executing adopting shell permission identity!", re); in adoptShellPermissionIdentity() 513 } catch (RemoteException re) { in dropShellPermissionIdentity() 514 Log.e(LOG_TAG, "Error executing dropping shell permission identity!", re); in dropShellPermissionIdentity() [all …]
|
/frameworks/av/media/codec2/docs/ |
D | doxyfilter.sh | 2 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/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 958 } catch (RemoteException re) { in disableSelf() 959 throw new RuntimeException(re); in disableSelf() 981 } catch (RemoteException re) { in setDefaultTokenInternal() 982 Log.w(LOG_TAG, "Failed to get window token", re); in setDefaultTokenInternal() 983 re.rethrowFromSystemServer(); in setDefaultTokenInternal() 1100 } catch (RemoteException re) { in dispatchGesture() 1101 throw new RuntimeException(re); in dispatchGesture() 1296 } catch (RemoteException re) { in setMagnificationCallbackEnabled() 1297 throw new RuntimeException(re); in setMagnificationCallbackEnabled() 1357 } catch (RemoteException re) { in getScale() [all …]
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleProfiling.java | 118 } catch (RuntimeException re) { in handleMPRS() 119 return createFailChunk(1, re.getMessage()); in handleMPRS() 132 } catch (RuntimeException re) { in handleMPRE() 134 + re.getMessage()); in handleMPRE() 159 } catch (RuntimeException re) { in handleMPSS() 160 return createFailChunk(1, re.getMessage()); in handleMPSS() 175 } catch (RuntimeException re) { in handleMPSEOrSPSE() 177 + re.getMessage()); in handleMPSEOrSPSE() 178 return createFailChunk(1, re.getMessage()); in handleMPSEOrSPSE() 213 } catch (RuntimeException re) { in handleSPSS() [all …]
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 222 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_SUCCESS, 1, in testRecognitionEventParcelUnparcel_noData() local 227 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_noData() 234 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_noData() 239 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_FAILURE, 1, in testRecognitionEventParcelUnparcel_zeroData() local 244 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_zeroData() 251 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_zeroData() 258 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, 1, in testRecognitionEventParcelUnparcel_largeData() local 263 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_largeData() 270 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_largeData() 277 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, 1, in testRecognitionEventParcelUnparcel_largeAudioData() local [all …]
|
/frameworks/base/core/java/android/printservice/ |
D | PrintJob.java | 94 } catch (RemoteException re) { in getInfo() 95 Log.e(LOG_TAG, "Couldn't get info for job: " + mCachedInfo.getId(), re); in getInfo() 321 } catch (RemoteException re) { in setProgress() 322 Log.e(LOG_TAG, "Error setting progress for job: " + mCachedInfo.getId(), re); in setProgress() 341 } catch (RemoteException re) { in setStatus() 342 Log.e(LOG_TAG, "Error setting status for job: " + mCachedInfo.getId(), re); in setStatus() 361 } catch (RemoteException re) { in setStatus() 362 Log.e(LOG_TAG, "Error setting status for job: " + mCachedInfo.getId(), re); in setStatus() 383 } catch (RemoteException re) { in setTag() 384 Log.e(LOG_TAG, "Error setting tag for job: " + mCachedInfo.getId(), re); in setTag() [all …]
|
D | PrinterDiscoverySession.java | 118 } 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/ |
D | EuiccCardController.java | 228 } catch (RemoteException re) { in getAllProfiles() 229 loge("callback onComplete failure after checkCallingPackage.", re); in getAllProfiles() 277 } catch (RemoteException re) { in getProfile() 278 loge("callback onComplete failure after checkCallingPackage.", re); in getProfile() 325 } catch (RemoteException re) { in disableProfile() 326 loge("callback onComplete failure after checkCallingPackage.", re); in disableProfile() 373 } catch (RemoteException re) { in switchToProfile() 374 loge("callback onComplete failure after checkCallingPackage.", re); in switchToProfile() 439 } catch (RemoteException re) { in setNickname() 440 loge("callback onComplete failure after checkCallingPackage.", re); in setNickname() [all …]
|
/frameworks/base/cmds/vr/src/com/android/commands/vr/ |
D | Vr.java | 97 } 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/ |
D | AccessibilityManager.java | 531 } catch (RemoteException re) { in removeClient() 532 Log.e(LOG_TAG, "AccessibilityManagerService is dead", re); in removeClient() 667 } catch (RemoteException re) { in sendAccessibilityEvent() 668 Log.e(LOG_TAG, "Error during sending " + dispatchedEvent + " ", re); in sendAccessibilityEvent() 709 } catch (RemoteException re) { in interrupt() 710 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re); in interrupt() 755 } catch (RemoteException re) { in getInstalledAccessibilityServiceList() 756 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getInstalledAccessibilityServiceList() 800 } catch (RemoteException re) { in getEnabledAccessibilityServiceList() 801 Log.e(LOG_TAG, "Error while obtaining the enabled AccessibilityServices. ", re); in getEnabledAccessibilityServiceList() [all …]
|
D | AccessibilityInteractionClient.java | 333 } catch (RemoteException re) { in getWindow() 334 Log.e(LOG_TAG, "Error while calling remote getWindow", re); in getWindow() 391 } catch (RemoteException re) { in getWindowsOnAllDisplays() 392 Log.e(LOG_TAG, "Error while calling remote getWindowsOnAllDisplays", re); in getWindowsOnAllDisplays() 431 } catch (RemoteException re) { in findAccessibilityNodeInfoByAccessibilityId() 432 Log.e(LOG_TAG, "Error while calling remote getWindowIdForLeashToken", re); in findAccessibilityNodeInfoByAccessibilityId() 528 } catch (RemoteException re) { in findAccessibilityNodeInfoByAccessibilityId() 530 + " findAccessibilityNodeInfoByAccessibilityId", re); in findAccessibilityNodeInfoByAccessibilityId() 603 } catch (RemoteException re) { in findAccessibilityNodeInfosByViewId() 605 + " findAccessibilityNodeInfoByViewIdInActiveWindow", re); in findAccessibilityNodeInfosByViewId() [all …]
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintService.java | 230 } 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/tools/finalize_res/ |
D | finalize_res.py | 24 import re, sys, codecs 35 return re.sub(r'<public name="(.+?)" */>', finalize_item, raw.group(3)) 39 …raw = re.sub(r'<staging-public-group type="(.+?)" first-id="(.+?)">(.+?)</staging-public-group>', …
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 732 } catch (RemoteException re) { in getActivityList() 733 throw re.rethrowFromSystemServer(); in getActivityList() 755 } catch (RemoteException re) { in getMainActivityLaunchIntent() 756 throw re.rethrowFromSystemServer(); in getMainActivityLaunchIntent() 777 } catch (RemoteException re) { in resolveActivity() 778 throw re.rethrowFromSystemServer(); in resolveActivity() 800 } catch (RemoteException re) { in startMainActivity() 801 throw re.rethrowFromSystemServer(); in startMainActivity() 818 } catch (RemoteException re) { in startPackageInstallerSessionDetailsActivity() 819 throw re.rethrowFromSystemServer(); in startPackageInstallerSessionDetailsActivity() [all …]
|
/frameworks/base/core/java/android/content/ |
D | RestrictionsManager.java | 429 } 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/core/tests/coretests/src/android/database/ |
D | process_newdb_perf_test_logs.py | 17 import re 39 matches = re.search(regex, line) 60 matches = re.search(regex, line)
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApexManager.java | 530 } catch (RemoteException re) { in scanApexPackagesInternalLocked() 531 Slog.e(TAG, "Unable to retrieve packages from apexservice: " + re.toString()); in scanApexPackagesInternalLocked() 532 throw new RuntimeException(re); in scanApexPackagesInternalLocked() 722 } catch (RemoteException re) { in getStagedSessionInfo() 723 Slog.e(TAG, "Unable to contact apexservice", re); in getStagedSessionInfo() 724 throw new RuntimeException(re); in getStagedSessionInfo() 737 } catch (RemoteException re) { in getSessions() 738 Slog.e(TAG, "Unable to contact apexservice", re); in getSessions() 739 throw new RuntimeException(re); in getSessions() 749 } catch (RemoteException re) { in submitStagedSession() [all …]
|
/frameworks/base/startop/scripts/app_startup/ |
D | query_compiler_filter.py | 35 import re 94 if re.match(match_regex, parse_tree.label): 106 if re.match(match_regex, node.label): 184 package_tree = find_parse_subtree(dexopt_state, re.escape("[%s]" %package)) 194 matchre = re.compile("([^:]+):\s+\[status=([^\]]+)\]\s+\[reason=([^\]]+)\]") 198 matches = re.match(matchre, isa_node.label).groups()
|