Home
last modified time | relevance | path

Searched refs:newRequest (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
DServiceResolveQueue.java63 Pair<NsdServiceInfo, ResolveCallback> newRequest = Pair.create(serviceInfo, callback); in queueRequest() local
64 if (mQueue.contains(newRequest)) return; in queueRequest()
65 mQueue.add(newRequest); in queueRequest()
72 Pair<NsdServiceInfo, ResolveCallback> newRequest = Pair.create(serviceInfo, callback); in removeRequest() local
73 mQueue.remove(newRequest); in removeRequest()
74 … if ((mCurrentRequest != null) && newRequest.equals(mCurrentRequest)) mCurrentRequest = null; in removeRequest()
/frameworks/base/core/java/android/companion/datatransfer/
DPermissionSyncRequest.java53 PermissionSyncRequest newRequest = new PermissionSyncRequest(associationId); in copyWithNewId() local
54 newRequest.mUserId = this.mUserId; in copyWithNewId()
55 newRequest.mUserConsented = this.mUserConsented; in copyWithNewId()
56 return newRequest; in copyWithNewId()
/frameworks/base/services/companion/java/com/android/server/companion/
DBackupRestoreProcessor.java201 SystemDataTransferRequest newRequest = restoredRequest.copyWithNewId(newId); in applyRestoredPayload() local
202 newRequest.setUserId(userId); in applyRestoredPayload()
203 mSystemDataTransferRequestStore.writeRequest(userId, newRequest); in applyRestoredPayload()
275 SystemDataTransferRequest newRequest = in handleCollision() local
277 newRequest.setUserId(userId); in handleCollision()
278 mSystemDataTransferRequestStore.writeRequest(userId, newRequest); in handleCollision()
/frameworks/base/services/core/java/com/android/server/location/provider/
DStationaryThrottlingLocationProvider.java198 ProviderRequest newRequest; in onThrottlingChangedLocked() local
200 newRequest = ProviderRequest.EMPTY_REQUEST; in onThrottlingChangedLocked()
202 newRequest = mIncomingRequest; in onThrottlingChangedLocked()
205 if (!newRequest.equals(mOutgoingRequest)) { in onThrottlingChangedLocked()
206 mOutgoingRequest = newRequest; in onThrottlingChangedLocked()
DLocationProviderManager.java668 LocationRequest newRequest = calculateProviderLocationRequest(); in onProviderLocationRequestChanged() local
669 if (mProviderLocationRequest.equals(newRequest)) { in onProviderLocationRequestChanged()
674 mProviderLocationRequest = newRequest; in onProviderLocationRequestChanged()
679 return oldRequest.isBypass() != newRequest.isBypass(); in onProviderLocationRequestChanged()
2220 ProviderRequest newRequest, Collection<Registration> registrations) {
2225 if (!oldRequest.isBypass() && newRequest.isBypass()) {
2227 } else if (newRequest.getIntervalMillis() > oldRequest.getIntervalMillis()) {
2234 delayMs = calculateRequestDelayMillis(newRequest.getIntervalMillis(), registrations);
2238 Preconditions.checkState(delayMs >= 0 && delayMs <= newRequest.getIntervalMillis());
2241 setProviderRequest(newRequest);
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DIccLogicalChannelRequestTest.java112 IccLogicalChannelRequest newRequest = in testParcel() local
115 assertThat(newRequest).isEqualTo(oldRequest); in testParcel()
DSignalStrengthUpdateRequestTest.java111 SignalStrengthUpdateRequest newRequest = in testParcel() local
113 assertThat(newRequest).isEqualTo(request); in testParcel()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionService.java594 final ConnectionRequest newRequest = new ConnectionRequest.Builder() in createRemoteConnection() local
611 new RemoteConnection(id, mOutgoingConnectionServiceRpc, newRequest); in createRemoteConnection()
617 newRequest, in createRemoteConnection()
650 final ConnectionRequest newRequest = new ConnectionRequest.Builder() in createRemoteConference() local
666 newRequest, in createRemoteConference()
677 conference.putExtras(newRequest.getExtras()); in createRemoteConference()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/
DSystemDataTransferProcessor.java142 PermissionSyncRequest newRequest = new PermissionSyncRequest(associationId); in buildPermissionTransferUserConsentIntent() local
143 newRequest.setUserConsented(true); in buildPermissionTransferUserConsentIntent()
144 mSystemDataTransferRequestStore.writeRequest(userId, newRequest); in buildPermissionTransferUserConsentIntent()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaPlayerInvokeTest.java60 Parcel request = mPlayer.newRequest(); in testPing()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp736 sp<CaptureRequest> newRequest = setUpRequestLocked(*metadataIt, *surfaceMapIt); in convertMetadataListToRequestListLocked() local
737 if (newRequest == 0) { in convertMetadataListToRequestListLocked()
742 newRequest->mRepeating = repeating; in convertMetadataListToRequestListLocked()
743 newRequest->mRequestTimeNs = requestTimeNs; in convertMetadataListToRequestListLocked()
746 newRequest->mResultExtras.burstId = burstId++; in convertMetadataListToRequestListLocked()
752 newRequest->mResultExtras.requestId = requestIdEntry.data.i32[0]; in convertMetadataListToRequestListLocked()
754 requestList->push_back(newRequest); in convertMetadataListToRequestListLocked()
756 ALOGV("%s: requestId = %" PRId32, __FUNCTION__, newRequest->mResultExtras.requestId); in convertMetadataListToRequestListLocked()
901 sp<CaptureRequest> newRequest = createCaptureRequest(request, surfaceMap); in setUpRequestLocked() local
902 return newRequest; in setUpRequestLocked()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h643 bool handleDequeueInputBuffer(const sp<AReplyToken> &replyID, bool newRequest = false);
646 bool newRequest = false);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java508 public NetworkRequestList(@NonNull TelephonyNetworkRequest newRequest) { in NetworkRequestList() argument
510 add(newRequest); in NetworkRequestList()
521 public boolean add(@NonNull TelephonyNetworkRequest newRequest) { in add() argument
525 if (networkRequest.equals(newRequest)) { in add()
528 if (newRequest.getPriority() > networkRequest.getPriority()) { in add()
533 super.add(index, newRequest); in add()
538 public void add(int index, @NonNull TelephonyNetworkRequest newRequest) { in add() argument
/frameworks/base/media/java/android/media/
DMediaPlayer.java718 Parcel parcel = newRequest(); in createPlayerIIdParcel()
754 public Parcel newRequest() { in newRequest() method in MediaPlayer
2160 Parcel request = newRequest(); in setMetadataFilter()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp3833 bool MediaCodec::handleDequeueInputBuffer(const sp<AReplyToken> &replyID, bool newRequest) { in handleDequeueInputBuffer() argument
3842 } else if (newRequest && (mFlags & kFlagDequeueInputPending)) { in handleDequeueInputBuffer()
3866 const sp<AReplyToken> &replyID, bool newRequest) { in handleDequeueOutputBuffer() argument
3875 } else if (newRequest && (mFlags & kFlagDequeueOutputPending)) { in handleDequeueOutputBuffer()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt27739 Landroid/media/MediaPlayer2;->newRequest()Landroid/os/Parcel;
28036 Landroid/media/MediaPlayer2Impl;->newRequest()Landroid/os/Parcel;