/frameworks/base/ravenwood/scripts/ |
D | convert-androidtest.py | 30 import re 39 re_extends = re.compile( 41 re.S + re.X) 94 if re.search(r'''@Override\b''', line): 107 if not class_seen and re.search(r'''\b class \b''', line, re.X): 113 if not import_seen and re.search(r'''^import\b''', line): 137 if re.search(r'''^ \s* public \s* void \s* test''', line, re.X): 141 … if re.search(r''' ^\s+ ( \@Override \s+ ) ? (public|protected) \s+ void \s+ (setUp|tearDown) ''', 142 line, re.X): 143 if re.search('setUp', line): [all …]
|
/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/core/java/android/os/ |
D | UserManager.java | 2650 } catch (RemoteException re) { in isHeadlessSystemUserMode() 2651 throw re.rethrowFromSystemServer(); in isHeadlessSystemUserMode() 2671 } catch (RemoteException re) { in canSwitchUsers() 2672 throw re.rethrowFromSystemServer(); in canSwitchUsers() 2711 } catch (RemoteException re) { in getUserSwitchability() 2712 throw re.rethrowFromSystemServer(); in getUserSwitchability() 2785 } catch (RemoteException re) { in getUserName() 2786 throw re.rethrowFromSystemServer(); in getUserName() 2818 } catch (RemoteException re) { in isUserNameSet() 2819 throw re.rethrowFromSystemServer(); in isUserNameSet() [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/core/java/android/print/ |
D | PrintManager.java | 305 } catch (RemoteException re) { in getPrintJobInfo() 306 throw re.rethrowFromSystemServer(); in getPrintJobInfo() 330 } catch (RemoteException re) { in addPrintJobStateChangeListener() 331 throw re.rethrowFromSystemServer(); in addPrintJobStateChangeListener() 360 } catch (RemoteException re) { in removePrintJobStateChangeListener() 361 throw re.rethrowFromSystemServer(); in removePrintJobStateChangeListener() 383 } catch (RemoteException re) { in getPrintJob() 384 throw re.rethrowFromSystemServer(); in getPrintJob() 406 } catch (RemoteException re) { in getCustomPrinterIcon() 407 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/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/app/ |
D | UiAutomation.java | 394 } catch (RemoteException re) { in connectWithTimeout() 395 throw new RuntimeException("Error while connecting " + this, re); in connectWithTimeout() 454 } catch (RemoteException re) { in disconnect() 455 throw new RuntimeException("Error while disconnecting " + this, re); in disconnect() 592 } catch (RemoteException re) { in adoptShellPermissionIdentity() 593 throw re.rethrowFromSystemServer(); in adoptShellPermissionIdentity() 617 } catch (RemoteException re) { in adoptShellPermissionIdentity() 618 throw re.rethrowFromSystemServer(); in adoptShellPermissionIdentity() 633 } catch (RemoteException re) { in dropShellPermissionIdentity() 634 throw re.rethrowFromSystemServer(); in dropShellPermissionIdentity() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityService.java | 1141 } catch (RemoteException re) { in disableSelf() 1142 throw new RuntimeException(re); in disableSelf() 1298 } catch (RemoteException re) { in dispatchGesture() 1299 throw new RuntimeException(re); in dispatchGesture() 1500 } catch (RemoteException re) { in setMagnificationCallbackEnabled() 1501 throw new RuntimeException(re); in setMagnificationCallbackEnabled() 1559 } catch (RemoteException re) { in getMagnificationConfig() 1560 Log.w(LOG_TAG, "Failed to obtain magnification config", re); in getMagnificationConfig() 1561 re.rethrowFromSystemServer(); in getMagnificationConfig() 1592 } catch (RemoteException re) { in getScale() [all …]
|
D | TouchInteractionController.java | 255 } catch (RemoteException re) { in setServiceDetectsGestures() 256 throw new RuntimeException(re); in setServiceDetectsGestures() 275 } catch (RemoteException re) { in requestTouchExploration() 276 throw new RuntimeException(re); in requestTouchExploration() 304 } catch (RemoteException re) { in requestDragging() 305 throw new RuntimeException(re); in requestDragging() 326 } catch (RemoteException re) { in requestDelegating() 327 throw new RuntimeException(re); in requestDelegating() 349 } catch (RemoteException re) { in performClick() 350 throw new RuntimeException(re); in performClick() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityManager.java | 583 } catch (RemoteException re) { in removeClient() 584 Log.e(LOG_TAG, "AccessibilityManagerService is dead", re); in removeClient() 747 } catch (RemoteException re) { in sendAccessibilityEvent() 748 Log.e(LOG_TAG, "Error during sending " + dispatchedEvent + " ", re); in sendAccessibilityEvent() 789 } catch (RemoteException re) { in interrupt() 790 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re); in interrupt() 835 } catch (RemoteException re) { in getInstalledAccessibilityServiceList() 836 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); in getInstalledAccessibilityServiceList() 880 } catch (RemoteException re) { in getEnabledAccessibilityServiceList() 881 Log.e(LOG_TAG, "Error while obtaining the enabled AccessibilityServices. ", re); in getEnabledAccessibilityServiceList() [all …]
|
D | AccessibilityDisplayProxy.java | 213 } catch (RemoteException re) { in sendServiceInfos() 214 Log.w(LOG_TAG, "Error while setting AccessibilityServiceInfos", re); in sendServiceInfos() 215 re.rethrowFromSystemServer(); in sendServiceInfos() 235 } catch (RemoteException re) { in getInstalledAndEnabledServices() 236 Log.w(LOG_TAG, "Error while getting AccessibilityServiceInfo", re); in getInstalledAndEnabledServices() 237 re.rethrowFromSystemServer(); in getInstalledAndEnabledServices() 256 } catch (RemoteException re) { in setAccessibilityFocusAppearance() 258 + "accessibility focus rectangle", re); in setAccessibilityFocusAppearance() 259 re.rethrowFromSystemServer(); in setAccessibilityFocusAppearance()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 7542 } catch (RemoteException re) { in getInstalledCaCerts() 7543 throw re.rethrowFromSystemServer(); in getInstalledCaCerts() 7564 } catch (RemoteException re) { in uninstallAllUserCaCerts() 7565 throw re.rethrowFromSystemServer(); in uninstallAllUserCaCerts() 7585 } catch (RemoteException re) { in hasCaCertInstalled() 7586 throw re.rethrowFromSystemServer(); in hasCaCertInstalled() 8842 } catch (RemoteException re) { in getNearbyNotificationStreamingPolicy() 8843 throw re.rethrowFromSystemServer(); in getNearbyNotificationStreamingPolicy() 8889 } catch (RemoteException re) { in getNearbyAppStreamingPolicy() 8890 throw re.rethrowFromSystemServer(); in getNearbyAppStreamingPolicy() [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/tools/aapt2/tools/ |
D | finalize_res.py | 39 import re 58 if re.match(r'_*removed.+', name): 75 (res, count) = re.subn(' {0,4}<public name="(.+?)" */>\n', finalize_item, raw.group(3)) 86 for m in re.finditer(r'<public type="(.+?)" name=".+?" id="(.+?)" />', raw): 104 staging = re.sub( 106 finalize_group, staging, flags=re.DOTALL) 107 staging = re.sub(r' *\n', '\n', staging) 108 staging = re.sub(r'\n{3,}', '\n\n', staging)
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/ |
D | SoundTriggerTest.java | 216 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_SUCCESS, in testRecognitionEventParcelUnparcel_noData() local 233 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_noData() 240 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_noData() 245 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_FAILURE, in testRecognitionEventParcelUnparcel_zeroData() local 262 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_zeroData() 269 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_zeroData() 276 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, in testRecognitionEventParcelUnparcel_largeData() local 293 re.writeToParcel(parcel, 0); in testRecognitionEventParcelUnparcel_largeData() 300 assertEquals(re, unparceled); in testRecognitionEventParcelUnparcel_largeData() 307 RecognitionEvent re = new RecognitionEvent(SoundTrigger.RECOGNITION_STATUS_ABORT, in testRecognitionEventParcelUnparcel_largeAudioData() local [all …]
|
/frameworks/native/libs/renderengine/benchmark/ |
D | RenderEngineBench.cpp | 82 static std::shared_ptr<ExternalTexture> allocateBuffer(RenderEngine& re, uint32_t width, in allocateBuffer() argument 93 re, in allocateBuffer() 98 static std::shared_ptr<ExternalTexture> copyBuffer(RenderEngine& re, in copyBuffer() argument 103 auto texture = allocateBuffer(re, width, height, extraUsageFlags, name); in copyBuffer() 129 sp<Fence> waitFence = re.drawLayers(display, layers, texture, base::unique_fd()).get().value(); in copyBuffer() 144 static void benchDrawLayers(RenderEngine& re, const std::vector<LayerSettings>& layers, in benchDrawLayers() argument 147 auto outputBuffer = allocateBuffer(re, width, height); in benchDrawLayers() 159 re.drawLayers(display, layers, outputBuffer, base::unique_fd()).get().value(); in benchDrawLayers() 165 outputBuffer = copyBuffer(re, outputBuffer, GRALLOC_USAGE_SW_READ_OFTEN, "to_encode"); in benchDrawLayers() 182 auto re = createRenderEngine(static_cast<RenderEngine::Threaded>(std::get<0>(args_tuple)), in BM_blur() local [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiEarcController.java | 90 } catch (RemoteException re) { in nativeSetEarcEnabled() 91 HdmiLogger.error("Could not set eARC enabled to " + enabled + ":. Exception: ", re); in nativeSetEarcEnabled() 99 } catch (RemoteException re) { in nativeIsEarcEnabled() 100 HdmiLogger.error("Could not read if eARC is enabled. Exception: ", re); in nativeIsEarcEnabled() 110 } catch (RemoteException re) { in nativeSetCallback() 111 HdmiLogger.error("Could not set callback. Exception: ", re); in nativeSetCallback() 119 } catch (RemoteException re) { in nativeGetState() 120 HdmiLogger.error("Could not get eARC state. Exception: ", re); in nativeGetState() 129 } catch (RemoteException re) { in nativeGetLastReportedAudioCapabilities() 131 "Could not read last reported audio capabilities. Exception: ", re); in nativeGetLastReportedAudioCapabilities()
|
/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/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/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 308 } catch (RemoteException re) { in getAllProfiles() 309 loge("callback onComplete failure after checkCallingPackage.", re); in getAllProfiles() 359 } catch (RemoteException re) { in getProfile() 360 loge("callback onComplete failure after checkCallingPackage.", re); in getProfile() 409 } catch (RemoteException re) { in getEnabledProfile() 410 loge("callback onComplete failure after checkCallingPackage.", re); in getEnabledProfile() 495 } catch (RemoteException re) { in disableProfile() 496 loge("callback onComplete failure after checkCallingPackage.", re); in disableProfile() 545 } catch (RemoteException re) { in switchToProfile() 546 loge("callback onComplete failure after checkCallingPackage.", re); in switchToProfile() [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/services/core/java/com/android/server/pm/ |
D | ApexManager.java | 464 } catch (RemoteException re) { in getAllApexInfos() 465 Slog.e(TAG, "Unable to retrieve packages from apexservice: " + re.toString()); in getAllApexInfos() 466 throw new RuntimeException(re); in getAllApexInfos() 593 } catch (RemoteException re) { in getStagedSessionInfo() 594 Slog.e(TAG, "Unable to contact apexservice", re); in getStagedSessionInfo() 595 throw new RuntimeException(re); in getStagedSessionInfo() 608 } catch (RemoteException re) { in getSessions() 609 Slog.e(TAG, "Unable to contact apexservice", re); in getSessions() 610 throw new RuntimeException(re); in getSessions() 620 } catch (RemoteException re) { in submitStagedSession() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 721 } catch (RemoteException re) { in getProfiles() 722 throw re.rethrowFromSystemServer(); in getProfiles() 783 } catch (RemoteException re) { in getActivityList() 784 throw re.rethrowFromSystemServer(); in getActivityList() 808 } catch (RemoteException re) { in getMainActivityLaunchIntent() 809 throw re.rethrowFromSystemServer(); in getMainActivityLaunchIntent() 838 } catch (RemoteException re) { in getLauncherUserInfo() 839 throw re.rethrowFromSystemServer(); in getLauncherUserInfo() 893 } catch (RemoteException re) { in getAppMarketActivityIntent() 894 throw re.rethrowFromSystemServer(); in getAppMarketActivityIntent() [all …]
|