Home
last modified time | relevance | path

Searched refs:mRequest (Results 1 – 25 of 61) 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.cpp177 int ret = mRequest.read(mHandle); in run()
186 MtpOperationCode operation = mRequest.getOperationCode(); in run()
187 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
288 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
331 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
342 int containertype = mRequest.getContainerType(); in handleRequest()
512 if (mRequest.getParameterCount() < 1) in doOpenSession()
515 mSessionID = mRequest.getParameter(1); in doOpenSession()
546 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
549 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/core/java/com/android/server/devicestate/
DOverrideRequestController.java77 private OverrideRequest mRequest; field in OverrideRequestController
107 OverrideRequest previousRequest = mRequest; in addRequest()
108 mRequest = request; in addRequest()
175 return mRequest != null && token == mRequest.getToken(); in hasRequest()
189 if (mRequest != null && mRequest.getPid() == pid) { in handleProcessDied()
208 if (mRequest == null) { in handleBaseStateChanged()
212 if ((mRequest.getFlags() in handleBaseStateChanged()
228 if (mRequest != null && !contains(newSupportedStates, mRequest.getRequestedState())) { in handleNewSupportedStates()
234 OverrideRequest overrideRequest = mRequest; in dumpInternal()
255 if (mRequest == null) { in cancelCurrentRequestLocked()
[all …]
/frameworks/libs/net/common/native/tcutils/
Dtcutils.cpp134 Request mRequest; member in android::__anona02fbfa80111::IngressPoliceFilterBuilder
170 mRequest{ in IngressPoliceFilterBuilder()
172 .nlmsg_len = sizeof(mRequest), in IngressPoliceFilterBuilder()
186 .nla_len = sizeof(mRequest.kind), in IngressPoliceFilterBuilder()
193 .nla_len = sizeof(mRequest.opt), in IngressPoliceFilterBuilder()
198 .nla_len = sizeof(mRequest.opt.acts), in IngressPoliceFilterBuilder()
203 .nla_len = sizeof(mRequest.opt.acts.act1), in IngressPoliceFilterBuilder()
208 .nla_len = sizeof(mRequest.opt.acts.act1.kind), in IngressPoliceFilterBuilder()
215 .nla_len = sizeof(mRequest.opt.acts.act1.opt), in IngressPoliceFilterBuilder()
220 .nla_len = sizeof(mRequest.opt.acts.act1.opt.police), in IngressPoliceFilterBuilder()
[all …]
/frameworks/base/services/core/java/com/android/server/location/listeners/
DRequestListenerRegistration.java30 private final TRequest mRequest; field in RequestListenerRegistration
35 mRequest = request; in RequestListenerRegistration()
42 return mRequest; in getRequest()
47 if (mRequest == null) { in toString()
50 return mRequest.toString(); in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
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 …]
DRadioConfigResponseAidl.java57 logd(rr, RILUtils.requestToString(rr.mRequest)); in getHalDeviceCapabilitiesResponse()
60 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getHalDeviceCapabilitiesResponse()
79 logd(rr, RILUtils.requestToString(rr.mRequest)); in getNumOfLiveModemsResponse()
82 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getNumOfLiveModemsResponse()
104 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getPhoneCapabilityResponse()
107 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getPhoneCapabilityResponse()
128 logd(rr, RILUtils.requestToString(rr.mRequest) + " " + ret.toString()); in getSimSlotsStatusResponse()
131 loge(rr, RILUtils.requestToString(rr.mRequest) + " error " + info.error); in getSimSlotsStatusResponse()
149 RadioResponse.sendMessageResponse(rr.mResult, rr.mRequest); in setNumOfLiveModemsResponse()
150 logd(rr, RILUtils.requestToString(rr.mRequest)); in setNumOfLiveModemsResponse()
[all …]
DRIL.java317 + RILUtils.requestToString(rr.mRequest)); in handleMessage()
345 mMetrics.writeOnRilTimeoutResponse(mPhoneId, rr.mSerial, rr.mRequest); in handleMessage()
402 switch(rr.mRequest) { in getResponseForTimedOutRILRequest()
1167 Trace.TRACE_TAG_NETWORK, "RIL", RILUtils.requestToString(rr.mRequest), rr.mSerial); in addRequest()
1202 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest)); in getIccCardStatus()
1247 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPinForApp()
1273 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPukForApp()
1300 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPin2ForApp()
1326 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in supplyIccPuk2ForApp()
1353 riljLog(rr.serialString() + "> " + RILUtils.requestToString(rr.mRequest) in changeIccPinForApp()
[all …]
DNetworkScanRequestTracker.java132 if (nsri.mRequest == null || nsri.mRequest.getSpecifiers() == null) { in isValidScan()
135 if (nsri.mRequest.getSpecifiers().length > NetworkScanRequest.MAX_RADIO_ACCESS_NETWORKS) { in isValidScan()
138 for (RadioAccessSpecifier ras : nsri.mRequest.getSpecifiers()) { in isValidScan()
153 if ((nsri.mRequest.getSearchPeriodicity() < NetworkScanRequest.MIN_SEARCH_PERIODICITY_SEC) in isValidScan()
154 || (nsri.mRequest.getSearchPeriodicity() in isValidScan()
159 if ((nsri.mRequest.getMaxSearchTime() < NetworkScanRequest.MIN_SEARCH_MAX_SEC) in isValidScan()
160 || (nsri.mRequest.getMaxSearchTime() > NetworkScanRequest.MAX_SEARCH_MAX_SEC)) { in isValidScan()
164 if ((nsri.mRequest.getIncrementalResultsPeriodicity() in isValidScan()
166 || (nsri.mRequest.getIncrementalResultsPeriodicity() in isValidScan()
171 if ((nsri.mRequest.getSearchPeriodicity() > nsri.mRequest.getMaxSearchTime()) in isValidScan()
[all …]
DRILRequest.java51 int mRequest; field in RILRequest
68 return mRequest; in getRequest()
102 rr.mRequest = request; in obtain()
241 + RILUtils.requestToString(mRequest) in onError()
242 + " error: " + ex + " ret=" + RIL.retToString(mRequest, ret) in onError()
254 return serialString() + ": " + RILUtils.requestToString(mRequest); in toString()
/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/pm/
DReconciledPackage.java35 public final ReconcileRequest mRequest; field in ReconciledPackage
60 mRequest = request; in ReconciledPackage()
80 new ArrayMap<>(mRequest.mAllPackages.size() + mRequest.mScannedPackages.size()); in getCombinedAvailablePackages()
82 combined.putAll(mRequest.mAllPackages); in getCombinedAvailablePackages()
84 for (ScanResult scanResult : mRequest.mScannedPackages.values()) { in getCombinedAvailablePackages()
86 scanResult.mRequest.mParsedPackage); in getCombinedAvailablePackages()
DReconcilePackageUtils.java64 scanResult.mRequest.mParsedPackage); in reconcilePackages()
92 final boolean killApp = (scanResult.mRequest.mScanFlags & SCAN_DONT_KILL_APP) == 0; in reconcilePackages()
107 final int scanFlags = scanResult.mRequest.mScanFlags; in reconcilePackages()
108 final int parseFlags = scanResult.mRequest.mParseFlags; in reconcilePackages()
109 final ParsedPackage parsedPackage = scanResult.mRequest.mParsedPackage; in reconcilePackages()
111 final PackageSetting disabledPkgSetting = scanResult.mRequest.mDisabledPkgSetting; in reconcilePackages()
275 if ((scanResult.mRequest.mScanFlags & SCAN_BOOTING) != 0 in reconcilePackages()
276 || (scanResult.mRequest.mParseFlags & ParsingPackageUtils.PARSE_IS_SYSTEM_DIR) in reconcilePackages()
283 scanResult.mRequest.mParsedPackage, combinedPackages, in reconcilePackages()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java247 Request mRequest = new Request(); field in ActivityStarter
633 mRequest.set(starter.mRequest); in set()
652 if (mRequest.intent != null && mRequest.intent.hasFileDescriptors()) { in execute()
658 final ActivityRecord caller = ActivityRecord.forTokenLocked(mRequest.resultTo); in execute()
659 final int callingUid = mRequest.realCallingUid == Request.DEFAULT_REAL_CALLING_UID in execute()
660 ? Binder.getCallingUid() : mRequest.realCallingUid; in execute()
662 mRequest.intent, caller, callingUid); in execute()
669 if (mRequest.activityInfo == null) { in execute()
670 mRequest.resolveActivity(mSupervisor); in execute()
675 if (mRequest.intent != null) { in execute()
[all …]
/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/opt/car/services/builtInServices/src/com/android/server/wm/
DRequestWrapper.java31 private final ActivityStarter.Request mRequest; field in RequestWrapper
34 mRequest = request; in RequestWrapper()
47 return mRequest; in getRequest()
53 return mRequest.toString(); in toString()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceDataTransferActivity.java49 private SystemDataTransferRequest mRequest; field in CompanionDeviceDataTransferActivity
70 mRequest = intent.getParcelableExtra(EXTRA_SYSTEM_DATA_TRANSFER_REQUEST); in onCreate()
73 requireNonNull(mRequest); in onCreate()
76 if (mRequest.isPermissionSyncAllPackages() in onCreate()
77 || !mRequest.getPermissionSyncPackages().isEmpty()) { in onCreate()
104 data.putParcelable(EXTRA_SYSTEM_DATA_TRANSFER_REQUEST, mRequest); in sendDataToReceiver()
DCompanionDeviceActivity.java108 private AssociationRequest mRequest; field in CompanionDeviceActivity
176 mRequest = intent.getParcelableExtra(EXTRA_ASSOCIATION_REQUEST); in onStart()
181 requireNonNull(mRequest); in onStart()
186 if (!mRequest.isSelfManaged()) { in onStart()
187 CompanionDeviceDiscoveryService.startForRequest(this, mRequest); in onStart()
243 if (DEBUG) Log.d(TAG, "initUI(), request=" + mRequest); in initUI()
245 final String packageName = mRequest.getPackageName(); in initUI()
246 final int userId = mRequest.getUserId(); in initUI()
293 if (mRequest.isSelfManaged()) { in initUI()
295 } else if (mRequest.isSingleDevice()) { in initUI()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccPort.java404 if (record != null && record.mRequest != null && record.mRequest.binder != null) { in onLogicalChannelClosed()
406 record.mRequest.binder.unlinkToDeath(record, /*flags=*/ 0); in onLogicalChannelClosed()
408 record.mRequest.binder = null; in onLogicalChannelClosed()
417 if (channelRecord.mRequest != null in getOpenLogicalChannelRecord()
418 && channelRecord.mRequest.channel == channelId) { in getOpenLogicalChannelRecord()
441 IccLogicalChannelRequest mRequest; field in UiccPort.OpenLogicalChannelRecord
444 this.mRequest = request; in OpenLogicalChannelRecord()
450 iccCloseLogicalChannel(mRequest.channel, /* response= */ null); in binderDied()
451 onLogicalChannelClosed(mRequest.channel); in binderDied()
457 sb.append(" mRequest=" + mRequest).append("}"); in toString()
/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/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