Home
last modified time | relevance | path

Searched refs:mRequest (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/location/lib/java/com/android/location/provider/
DProviderRequestUnbundled.java43 private final ProviderRequest mRequest; field in ProviderRequestUnbundled
47 mRequest = request; in ProviderRequestUnbundled()
55 return mRequest.isActive(); in getReportLocation()
63 return mRequest.getIntervalMillis(); in getInterval()
73 return mRequest.getQuality(); in getQuality()
85 return mRequest.getMaxUpdateDelayMillis(); in getMaxUpdateDelayMillis()
93 return mRequest.isLowPower(); in isLowPower()
103 return mRequest.isLocationSettingsIgnored(); in isLocationSettingsIgnored()
113 if (!mRequest.isActive()) { in getLocationRequests()
118 new LocationRequest.Builder(mRequest.getIntervalMillis()) in getLocationRequests()
[all …]
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareRequestParcelable.java29 private GeofenceHardwareRequest mRequest; field in GeofenceHardwareRequestParcelable
34 mRequest = request; in GeofenceHardwareRequestParcelable()
48 return mRequest.getLatitude(); in getLatitude()
55 return mRequest.getLongitude(); in getLongitude()
62 return mRequest.getRadius(); in getRadius()
69 return mRequest.getMonitorTransitions(); in getMonitorTransitions()
76 return mRequest.getUnknownTimer(); in getUnknownTimer()
83 return mRequest.getNotificationResponsiveness(); in getNotificationResponsiveness()
90 return mRequest.getLastTransition(); in getLastTransition()
97 return mRequest.getType(); in getType()
[all …]
/frameworks/base/core/java/android/speech/tts/
DEventLogger.java26 private final SynthesisRequest mRequest; field in EventLogger
30 mRequest = request; in EventLogger()
41 mRequest.getSpeechRate(), mRequest.getPitch()); in logFailure()
49 mRequest.getSpeechRate(), mRequest.getPitch(), in logSuccess()
58 final String utterance = mRequest.getText(); in getUtteranceLength()
67 StringBuilder sb = new StringBuilder(mRequest.getLanguage()); in getLocaleString()
68 if (!TextUtils.isEmpty(mRequest.getCountry())) { in getLocaleString()
70 sb.append(mRequest.getCountry()); in getLocaleString()
72 if (!TextUtils.isEmpty(mRequest.getVariant())) { in getLocaleString()
74 sb.append(mRequest.getVariant()); in getLocaleString()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java49 private PinItemRequest mRequest; field in ShortcutManagerTest10
64 mRequest = verifyAndGetCreateShortcutResult(intent); in testCreateShortcutResult_validResult()
68 assertTrue(mRequest.isValid()); in testCreateShortcutResult_validResult()
69 assertTrue(mRequest.accept()); in testCreateShortcutResult_validResult()
87 mRequest = verifyAndGetCreateShortcutResult(intent); in testCreateShortcutResult_alreadyPinned()
91 assertTrue(mRequest.isValid()); in testCreateShortcutResult_alreadyPinned()
92 assertTrue(mRequest.getShortcutInfo().isPinned()); in testCreateShortcutResult_alreadyPinned()
93 assertTrue(mRequest.accept()); in testCreateShortcutResult_alreadyPinned()
111 mRequest = verifyAndGetCreateShortcutResult(intent); in testCreateShortcutResult_alreadyPinnedByAnother()
115 assertTrue(mRequest.isValid()); in testCreateShortcutResult_alreadyPinnedByAnother()
[all …]
/frameworks/av/media/mtp/
DMtpServer.cpp181 int ret = mRequest.read(mHandle); in run()
190 MtpOperationCode operation = mRequest.getOperationCode(); in run()
191 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
292 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
335 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
346 int containertype = mRequest.getContainerType(); in handleRequest()
516 if (mRequest.getParameterCount() < 1) in doOpenSession()
519 mSessionID = mRequest.getParameter(1); in doOpenSession()
550 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
553 MtpStorageID id = mRequest.getParameter(1); in doGetStorageInfo()
[all …]
DMtpDevice.cpp335 mRequest.reset(); in openSession()
336 mRequest.setParameter(1, newSession); in openSession()
358 mRequest.reset(); in getDeviceInfo()
377 mRequest.reset(); in getStorageIDs()
392 mRequest.reset(); in getStorageInfo()
393 mRequest.setParameter(1, storageID); in getStorageInfo()
413 mRequest.reset(); in getObjectHandles()
414 mRequest.setParameter(1, storageID); in getObjectHandles()
415 mRequest.setParameter(2, format); in getObjectHandles()
416 mRequest.setParameter(3, parent); in getObjectHandles()
[all …]
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessLowPowerModeModifierTest.java40 private final DisplayPowerRequest mRequest = new DisplayPowerRequest(); field in BrightnessLowPowerModeModifierTest
47 mRequest.screenLowPowerBrightnessFactor = LOW_POWER_BRIGHTNESS_FACTOR; in setUp()
48 mRequest.lowPowerMode = true; in setUp()
53 mRequest.lowPowerMode = false; in testApply_lowPowerModeOff()
55 mModifier.apply(mRequest, mBuilder); in testApply_lowPowerModeOff()
64 mModifier.apply(mRequest, mBuilder); in testApply_lowPowerModeOn()
74 mRequest.screenLowPowerBrightnessFactor = 1.1f; in testApply_lowPowerModeOnAndLowPowerBrightnessFactorHigh()
76 mModifier.apply(mRequest, mBuilder); in testApply_lowPowerModeOnAndLowPowerBrightnessFactorHigh()
87 mModifier.apply(mRequest, mBuilder); in testApply_lowPowerModeOnAndMinBrightness()
96 mModifier.apply(mRequest, mBuilder); in testApply_lowPowerModeOnAndLowPowerAlreadyApplied()
[all …]
DDisplayDimModifierTest.java57 mRequest = new DisplayManagerInternal.DisplayPowerRequest(); field in DisplayDimModifierTest
72 mRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_DIM; in setUp()
77 mRequest.policy = DisplayManagerInternal.DisplayPowerRequest.POLICY_OFF; in testApply_noDimPolicy()
78 mModifier.apply(mRequest, mBuilder); in testApply_noDimPolicy()
88 mModifier.apply(mRequest, mBuilder); in testApply_dimPolicyFromResources()
98 mModifier.apply(mRequest, mBuilder); in testApply_dimPolicyFromConfig()
108 mModifier.apply(mRequest, mBuilder); in testApply_dimPolicyAndDimPolicyAlreadyApplied()
111 mModifier.apply(mRequest, builder); in testApply_dimPolicyAndDimPolicyAlreadyApplied()
122 mModifier.apply(mRequest, mBuilder); in testApply_dimPolicyAndMinBrightness()
131 mModifier.apply(mRequest, mBuilder); in testApply_dimPolicyOffAfterDimPolicyOn()
[all …]
/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequestController.java95 private OverrideRequest mRequest; field in OverrideRequestController
125 OverrideRequest previousRequest = mRequest; in addRequest()
126 mRequest = request; in addRequest()
193 return mRequest != null && token == mRequest.getToken(); in hasRequest()
207 if (mRequest != null && mRequest.getPid() == pid) { in handleProcessDied()
208 if (mRequest.getRequestedDeviceState().hasProperty( in handleProcessDied()
232 if (mRequest == null) { in handleBaseStateChanged()
236 if ((mRequest.getFlags() in handleBaseStateChanged()
260 if (mRequest != null && !contains(newSupportedStates, in handleNewSupportedStates()
261 mRequest.getRequestedStateIdentifier())) { in handleNewSupportedStates()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioConfigResponseAidl.java59 logd(rr, RILUtils.requestToString(rr.mRequest)); in getHalDeviceCapabilitiesResponse()
62 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getHalDeviceCapabilitiesResponse()
81 logd(rr, RILUtils.requestToString(rr.mRequest)); in getNumOfLiveModemsResponse()
84 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getNumOfLiveModemsResponse()
106 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getPhoneCapabilityResponse()
109 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getPhoneCapabilityResponse()
130 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret); in getSimultaneousCallingSupportResponse()
133 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getSimultaneousCallingSupportResponse()
154 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse()
157 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getSimSlotsStatusResponse()
[all …]
DRadioConfigResponseHidl.java58 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse()
61 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getSimSlotsStatusResponse()
79 logd(rr, RILUtils.requestToString(rr.mRequest)); in setSimSlotsMappingResponse()
82 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in setSimSlotsMappingResponse()
103 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getPhoneCapabilityResponse()
106 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getPhoneCapabilityResponse()
124 logd(rr, RILUtils.requestToString(rr.mRequest)); in setPreferredDataModemResponse()
127 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in setPreferredDataModemResponse()
145 RadioResponse.sendMessageResponse(rr.mResult, rr.mRequest); in setModemsConfigResponse()
146 logd(rr, RILUtils.requestToString(rr.mRequest)); in setModemsConfigResponse()
[all …]
DRIL.java341 + RILUtils.requestToString(rr.mRequest)); in handleMessage()
369 mMetrics.writeOnRilTimeoutResponse(mPhoneId, rr.mSerial, rr.mRequest); in handleMessage()
441 switch(rr.mRequest) { in getResponseForTimedOutRILRequest()
1331 + RILUtils.requestToString(rr.mRequest), rr.mSerial); in addRequest()
1424 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in getIccCardStatus()
1447 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPinForApp()
1473 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPukForApp()
1499 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPin2ForApp()
1524 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPuk2ForApp()
1550 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in changeIccPinForApp()
[all …]
DNetworkScanRequestTracker.java136 if (nsri.mRequest == null || ArrayUtils.isEmpty(nsri.mRequest.getSpecifiers())) { in isValidScan()
139 if (nsri.mRequest.getSpecifiers().length > NetworkScanRequest.MAX_RADIO_ACCESS_NETWORKS) { in isValidScan()
142 for (RadioAccessSpecifier ras : nsri.mRequest.getSpecifiers()) { in isValidScan()
157 if ((nsri.mRequest.getSearchPeriodicity() < NetworkScanRequest.MIN_SEARCH_PERIODICITY_SEC) in isValidScan()
158 || (nsri.mRequest.getSearchPeriodicity() in isValidScan()
163 if ((nsri.mRequest.getMaxSearchTime() < NetworkScanRequest.MIN_SEARCH_MAX_SEC) in isValidScan()
164 || (nsri.mRequest.getMaxSearchTime() > NetworkScanRequest.MAX_SEARCH_MAX_SEC)) { in isValidScan()
168 if ((nsri.mRequest.getIncrementalResultsPeriodicity() in isValidScan()
170 || (nsri.mRequest.getIncrementalResultsPeriodicity() in isValidScan()
175 if ((nsri.mRequest.getSearchPeriodicity() > nsri.mRequest.getMaxSearchTime()) in isValidScan()
[all …]
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java79 private ProviderRequest mRequest; field in FusedLocationProvider
103 mRequest = ProviderRequest.EMPTY_REQUEST; in FusedLocationProvider()
114 mRequest = ProviderRequest.EMPTY_REQUEST; in stop()
122 mRequest = request; in onSetRequest()
168 mGpsPresent && (!mNlpPresent || mRequest.getQuality() < QUALITY_LOW_POWER) in updateRequirementsLocked()
169 ? mRequest.getIntervalMillis() : INTERVAL_DISABLED; in updateRequirementsLocked()
170 long networkInterval = mNlpPresent ? mRequest.getIntervalMillis() : INTERVAL_DISABLED; in updateRequirementsLocked()
203 writer.println("request: " + mRequest); in dump()
297 .setMaxUpdateDelayMillis(mRequest.getMaxUpdateDelayMillis()) in resetProviderRequest()
298 .setQuality(mRequest.getQuality()) in resetProviderRequest()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java288 Request mRequest = new Request(); field in ActivityStarter
702 mRequest.set(starter.mRequest); in set()
720 if (mRequest.intent != null) { in execute()
722 if (mRequest.intent.hasFileDescriptors()) { in execute()
727 mRequest.intent.removeExtendedFlags(Intent.EXTENDED_FLAG_FILTER_MISMATCH); in execute()
732 final ActivityRecord caller = ActivityRecord.forTokenLocked(mRequest.resultTo); in execute()
733 final int callingUid = mRequest.realCallingUid == Request.DEFAULT_REAL_CALLING_UID in execute()
734 ? Binder.getCallingUid() : mRequest.realCallingUid; in execute()
736 mRequest.intent, caller, callingUid); in execute()
739 if (mRequest.intent != null) { in execute()
[all …]
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DRequestWrapper.java29 private final ActivityStarter.Request mRequest; field in RequestWrapper
32 mRequest = request; in RequestWrapper()
43 return mRequest; in getRequest()
48 return mRequest.toString(); in toString()
/frameworks/base/services/core/java/com/android/server/location/provider/
DMockableLocationProvider.java63 private ProviderRequest mRequest; field in MockableLocationProvider
79 mRequest = ProviderRequest.EMPTY_REQUEST; in MockableLocationProvider()
158 mProvider.getController().setRequest(mRequest); in setProviderLocked()
208 return mRequest; in getCurrentRequest()
221 if (!mRequest.equals(ProviderRequest.EMPTY_REQUEST)) { in onStart()
222 mProvider.getController().setRequest(mRequest); in onStart()
236 if (!mRequest.equals(ProviderRequest.EMPTY_REQUEST)) { in onStop()
242 mRequest = ProviderRequest.EMPTY_REQUEST; in onStop()
249 if (request == mRequest) { in onSetRequest()
253 mRequest = request; in onSetRequest()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionAssociationActivity.java118 private AssociationRequest mRequest; field in CompanionAssociationActivity
202 mRequest = intent.getParcelableExtra(EXTRA_ASSOCIATION_REQUEST, AssociationRequest.class); in onStart()
208 requireNonNull(mRequest); in onStart()
213 if (!mRequest.isSelfManaged()) { in onStart()
214 boolean started = CompanionDeviceDiscoveryService.startForRequest(this, mRequest); in onStart()
262 Slog.d(TAG, "initUI(), request=" + mRequest); in initUI()
264 final String packageName = mRequest.getPackageName(); in initUI()
265 final int userId = mRequest.getUserId(); in initUI()
317 if (mRequest.isSelfManaged()) { in initUI()
319 } else if (mRequest.isSingleDevice()) { in initUI()
[all …]
DCompanionDeviceDataTransferActivity.java56 private SystemDataTransferRequest mRequest; field in CompanionDeviceDataTransferActivity
76 mRequest = intent.getParcelableExtra(EXTRA_PERMISSION_SYNC_REQUEST, in onCreate()
82 requireNonNull(mRequest); in onCreate()
87 if (mRequest.getDataType() == DATA_TYPE_PERMISSION_SYNC) { in onCreate()
116 if (mRequest instanceof PermissionSyncRequest) { in sendDataToReceiver()
117 data.putParcelable(EXTRA_PERMISSION_SYNC_REQUEST, (PermissionSyncRequest) mRequest); in sendDataToReceiver()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccPort.java416 if (record != null && record.mRequest != null && record.mRequest.binder != null) { in onLogicalChannelClosed()
418 record.mRequest.binder.unlinkToDeath(record, /*flags=*/ 0); in onLogicalChannelClosed()
419 record.mRequest.binder = null; in onLogicalChannelClosed()
430 if (channelRecord.mRequest != null in getOpenLogicalChannelRecord()
431 && channelRecord.mRequest.channel == channelId) { in getOpenLogicalChannelRecord()
449 record.mRequest.binder.unlinkToDeath(record, /*flags=*/ 0); in cleanupOpenLogicalChannelRecordsIfNeeded()
450 record.mRequest.binder = null; in cleanupOpenLogicalChannelRecordsIfNeeded()
460 IccLogicalChannelRequest mRequest; field in UiccPort.OpenLogicalChannelRecord
463 this.mRequest = request; in OpenLogicalChannelRecord()
469 iccCloseLogicalChannel(mRequest.channel, /* response= */ null); in binderDied()
[all …]
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DCaptureFailureWrapper.java31 private CaptureRequest mRequest; field in CaptureFailureWrapper
39 mRequest = captureFailure.getRequest(); in CaptureFailureWrapper()
48 mRequest = parcel.readParcelable(CaptureRequest.class.getClassLoader()); in CaptureFailureWrapper()
63 parcel.writeParcelable(mRequest, flags); in writeToParcel()
85 return new CaptureFailure(mRequest, mReason, mWasImageCaptured, mSequenceId, in toCaptureFailure()
DCaptureResultWrapper.java39 private CaptureRequest mRequest; field in CaptureResultWrapper
46 mRequest = captureResult.getRequest(); in CaptureResultWrapper()
54 mRequest = parcel.readParcelable(CaptureRequest.class.getClassLoader()); in CaptureResultWrapper()
68 parcel.writeParcelable(mRequest, flags); in writeToParcel()
87 return new CaptureResult(mCameraId, mResults, mRequest, mSequenceId, mFrameNumber); in toCaptureResult()
/frameworks/base/services/core/java/com/android/server/hdmi/
DSelectRequestBuffer.java137 private SelectRequest mRequest; field in SelectRequestBuffer
140 mRequest = request; in set()
144 if (mRequest != null) { in process()
145 mRequest.process(); in process()
151 mRequest = null; in clear()
/frameworks/base/core/java/android/view/
DViewCredentialHandler.java28 private GetCredentialRequest mRequest; field in ViewCredentialHandler
34 mRequest = request; in ViewCredentialHandler()
39 return mRequest; in getRequest()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DOptionsCoordinatorTest.java58 @Mock OptionsRequest mRequest; field in OptionsCoordinatorTest
71 doReturn(mTaskId).when(mRequest).getTaskId(); in setUp()
72 doReturn(mResponse).when(mRequest).getRequestResponse(); in setUp()
87 verify(mRequest).onFinish(); in testRequestUpdatedWithError()
104 verify(mRequest).onFinish(); in testRequestCommandError()
133 verify(mRequest).onFinish(); in testRequestNetworkResponse()
146 mSubId, Collections.singletonList(mRequest), mRequestMgrCallback, mUceStatsWriter); in getOptionsCoordinator()

123