Home
last modified time | relevance | path

Searched refs:requestType (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/impl/
DFrameNumberTracker.java70 int requestType = (int) pair.getValue(); in update() local
72 if (errorFrameNumber == mCompletedFrameNumber[requestType] + 1) { in update()
77 if (!mPendingFrameNumbers[requestType].isEmpty()) { in update()
78 if (errorFrameNumber == mPendingFrameNumbers[requestType].element()) { in update()
79 mPendingFrameNumbers[requestType].remove(); in update()
84 int otherType = (requestType + i) % CaptureRequest.REQUEST_TYPE_COUNT; in update()
94 mCompletedFrameNumber[requestType] = errorFrameNumber; in update()
107 public void updateTracker(long frameNumber, boolean isError, int requestType) { in updateTracker() argument
109 mFutureErrorMap.put(frameNumber, requestType); in updateTracker()
112 updateCompletedFrameNumber(frameNumber, requestType); in updateTracker()
[all …]
DRequestLastFrameNumbersHolder.java66 int requestType = request.getRequestType(); in RequestLastFrameNumbersHolder() local
67 if (requestType == CaptureRequest.REQUEST_TYPE_REPROCESS in RequestLastFrameNumbersHolder()
71 } else if (requestType == CaptureRequest.REQUEST_TYPE_ZSL_STILL in RequestLastFrameNumbersHolder()
75 } else if (requestType == CaptureRequest.REQUEST_TYPE_REGULAR in RequestLastFrameNumbersHolder()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/
DUceDeviceState.java248 @RequestType int requestType) { in refreshDeviceState() argument
250 ", requestResponseType=" + UceController.REQUEST_TYPE_DESCRIPTION.get(requestType)); in refreshDeviceState()
259 if (requestType == UceController.REQUEST_TYPE_PUBLISH) { in refreshDeviceState()
262 updateErrorCode(sipCode, reason, requestType); in refreshDeviceState()
272 if (requestType == UceController.REQUEST_TYPE_PUBLISH) { in refreshDeviceState()
274 updateErrorCode(sipCode, reason, requestType); in refreshDeviceState()
285 updateErrorCode(sipCode, reason, requestType); in refreshDeviceState()
306 if (requestType == UceController.REQUEST_TYPE_PUBLISH) { in refreshDeviceState()
362 private void updateErrorCode(int sipCode, String reason, @RequestType int requestType) { in updateErrorCode() argument
364 sipCode, reason, requestType)); in updateErrorCode()
/frameworks/base/telephony/java/android/telephony/ims/
DImsSsData.java236 public final @RequestType int requestType; field in ImsSsData
299 public Builder(@ServiceType int serviceType, int requestType, int teleserviceType, in Builder() argument
301 mImsSsData = new ImsSsData(serviceType, requestType, teleserviceType, serviceClass, in Builder()
352 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, in ImsSsData() argument
355 this.requestType = requestType; in ImsSsData()
363 requestType = in.readInt(); in ImsSsData()
468 return requestType; in getRequestType()
/frameworks/base/core/java/android/service/restrictions/
DRestrictionsReceiver.java64 String packageName, String requestType, String requestId, PersistableBundle request); in onRequestPermission() argument
77 String requestType = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_TYPE); in onReceive() local
81 onRequestPermission(context, packageName, requestType, requestId, request); in onReceive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioBugDetector.java87 public synchronized void detectRadioBug(int requestType, int error) { in detectRadioBug() argument
97 int errorCount = mSysErrRecord.getOrDefault(requestType, 0); in detectRadioBug()
99 mSysErrRecord.put(requestType, errorCount); in detectRadioBug()
103 mSysErrRecord.remove(requestType); in detectRadioBug()
DVoiceIndication.java331 ssData.requestType = ssData.RequestTypeFromRILInt(ss.requestType); in onSupplementaryServiceIndication()
336 if (ssData.serviceType.isTypeCF() && ssData.requestType.isTypeInterrogation()) { in onSupplementaryServiceIndication()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java78 String requestType = splitLine[0]; in run() local
86 if (requestType.equals(CONNECT)) { in run()
133 if (requestType.equals(CONNECT)) { in run()
140 requestType, url, httpVersion); in run()
154 if (requestType.equals(CONNECT)) { in run()
161 requestType, url, httpVersion); in run()
188 private void sendRequestLineWithPath(Socket server, String requestType, in sendRequestLineWithPath() argument
193 requestType, absolutePath, httpVersion); in sendRequestLineWithPath()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/util/
DNetworkSipCode.java63 @RequestType int requestType) { in getCapabilityErrorFromSipCode() argument
68 if(requestType == UceController.REQUEST_TYPE_PUBLISH) { in getCapabilityErrorFromSipCode()
87 if(requestType == UceController.REQUEST_TYPE_PUBLISH) { in getCapabilityErrorFromSipCode()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java220 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { in isRequestPinItemSupported() argument
221 return getRequestPinConfirmationActivity(callingUserId, requestType) != null; in isRequestPinItemSupported()
237 final int requestType = inShortcut != null ? in requestPinItemLocked() local
240 getRequestPinConfirmationActivity(userId, requestType); in requestPinItemLocked()
268 requestType); in requestPinItemLocked()
387 PinItemRequest request, int requestType) { in startRequestConfirmActivity() argument
388 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ? in startRequestConfirmActivity()
418 int callingUserId, int requestType) { in getRequestPinConfirmationActivity() argument
428 defaultLauncher, launcherUserId, requestType); in getRequestPinConfirmationActivity()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java240 public int controlTransfer(int requestType, int request, int value, in controlTransfer() argument
242 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout); in controlTransfer()
265 public int controlTransfer(int requestType, int request, int value, int index, in controlTransfer() argument
268 return native_control_request(requestType, request, value, index, in controlTransfer()
439 private native int native_control_request(int requestType, int request, int value, in native_control_request() argument
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DOptionsRequest.java61 public OptionsRequest(int subId, @UceRequestType int requestType, in OptionsRequest() argument
63 super(subId, requestType, taskMgrCallback); in OptionsRequest()
69 public OptionsRequest(int subId, @UceRequestType int requestType, in OptionsRequest() argument
72 super(subId, requestType, taskMgrCallback, requestResponse); in OptionsRequest()
DSubscribeRequest.java81 public SubscribeRequest(int subId, @UceRequestType int requestType, in SubscribeRequest() argument
83 super(subId, requestType, taskMgrCallback); in SubscribeRequest()
89 public SubscribeRequest(int subId, @UceRequestType int requestType, in SubscribeRequest() argument
92 super(subId, requestType, taskMgrCallback, requestResponse); in SubscribeRequest()
/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequest.java72 @DeviceStateRequest.RequestFlags int flags, @OverrideRequestType int requestType) { in OverrideRequest() argument
77 mRequestType = requestType; in OverrideRequest()
DOverrideRequestController.java171 @OverrideRequest.OverrideRequestType int requestType) { in hasRequest() argument
172 if (requestType == OverrideRequest.OVERRIDE_REQUEST_TYPE_BASE_STATE) { in hasRequest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSsData.java104 public RequestType requestType; field in SsData
148 + " RequestType: " + requestType in toString()
/frameworks/base/media/java/android/media/tv/
DAdRequest.java73 public AdRequest(int id, @RequestType int requestType, in AdRequest() argument
77 mRequestType = requestType; in AdRequest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTracker.java557 @RequestNetworkType int requestType) { in onDataReconnect() argument
590 sendMessage(obtainMessage(DctConstants.EVENT_TRY_SETUP_DATA, requestType, in onDataReconnect()
1336 public boolean isDataAllowed(ApnContext apnContext, @RequestNetworkType int requestType, in isDataAllowed() argument
1427 if (!attachedState && !shouldAutoAttach() && requestType != REQUEST_TYPE_HANDOVER) { in isDataAllowed()
1478 apnContext.getApnTypeBitmask()) && requestType != REQUEST_TYPE_HANDOVER) { in isDataAllowed()
1607 private void trySetupData(ApnContext apnContext, @RequestNetworkType int requestType, in trySetupData() argument
1620 boolean isDataAllowed = isDataAllowed(apnContext, requestType, dataConnectionReasons); in trySetupData()
1622 + apnContext.getReason() + ", requestType=" + requestTypeToString(requestType) in trySetupData()
1668 if (requestType == REQUEST_TYPE_HANDOVER) { in trySetupData()
1700 if (requestType == REQUEST_TYPE_HANDOVER) { in trySetupData()
[all …]
/frameworks/base/core/java/android/content/
DIRestrictionsManager.aidl30 void requestPermission(in String packageName, in String requestType, in String requestId, in requestPermission() argument
DRestrictionsManager.java469 public void requestPermission(String requestType, String requestId, PersistableBundle request) { in requestPermission() argument
470 if (requestType == null) { in requestPermission()
481 mService.requestPermission(mContext.getPackageName(), requestType, requestId, in requestPermission() local
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipHelper.java233 private Request createRequest(String requestType, SipProfile userProfile, in createRequest() argument
244 CSeqHeader cSeqHeader = createCSeqHeader(requestType); in createRequest()
247 requestType, callIdHeader, cSeqHeader, fromHeader, in createRequest()
269 private Request createRequest(String requestType, SipProfile caller, in createRequest() argument
276 CSeqHeader cSeqHeader = createCSeqHeader(requestType); in createRequest()
280 requestType, callIdHeader, cSeqHeader, fromHeader, in createRequest()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java91 public void requestPermission(final String packageName, final String requestType, in requestPermission() argument
116 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_TYPE, requestType); in requestPermission()
/frameworks/base/core/jni/
Dandroid_hardware_UsbDeviceConnection.cpp159 jint requestType, jint request, jint value, jint index, in android_hardware_UsbDeviceConnection_control_request() argument
173 jint result = usb_device_control_transfer(device, requestType, request, in android_hardware_UsbDeviceConnection_control_request()
/frameworks/base/services/core/java/com/android/server/am/
DAssistDataRequester.java259 int requestType = fetchStructure ? ASSIST_CONTEXT_FULL : in requestData() local
262 requestType, this, receiverExtras, topActivity, in requestData()
/frameworks/base/core/java/android/content/pm/
DIShortcutService.aidl70 boolean isRequestPinItemSupported(int user, int requestType); in isRequestPinItemSupported() argument

12