Searched defs:requestType (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/core/java/android/service/restrictions/
H A DRestrictionsReceiver.java56 * @param requestType the type of request, which determines the content and presentation of
65 String packageName, String requestType, String requestId, PersistableBundle request);
78 String requestType = intent.getStringExtra(RestrictionsManager.EXTRA_REQUEST_TYPE);
82 onRequestPermission(context, packageName, requestType, requestId, request);
64 onRequestPermission(Context context, String packageName, String requestType, String requestId, PersistableBundle request) argument
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
H A DRestrictionsManagerService.java91 public void requestPermission(final String packageName, final String requestType, argument
116 intent.putExtra(RestrictionsManager.EXTRA_REQUEST_TYPE, requestType);
/frameworks/base/core/java/android/content/pm/
H A DShortcutServiceInternal.java83 public abstract boolean isRequestPinItemSupported(int callingUserId, int requestType); argument
/frameworks/base/core/java/android/content/
H A DRestrictionsManager.java454 * @param requestType The type of request. The type could be one of the
466 public void requestPermission(String requestType, String requestId, PersistableBundle request) { argument
467 if (requestType == null) {
468 throw new NullPointerException("requestType cannot be null");
478 mService.requestPermission(mContext.getPackageName(), requestType, requestId,
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java160 * If requestType & {@link UsbConstants#USB_ENDPOINT_DIR_MASK} is
170 * @param requestType request type for this transaction
181 public int controlTransfer(int requestType, int request, int value, argument
183 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
189 * If requestType & {@link UsbConstants#USB_ENDPOINT_DIR_MASK} is
194 * @param requestType request type for this transaction
206 public int controlTransfer(int requestType, int request, int value, int index, argument
209 return native_control_request(requestType, request, value, index,
380 private native int native_control_request(int requestType, int request, int value, argument
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp174 jint requestType, jint request, jint value, jint index,
188 jint result = usb_device_control_transfer(device, requestType, request,
173 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint start, jint length, jint timeout) argument
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java79 String requestType = splitLine[0];
87 if (requestType.equals(CONNECT)) {
134 if (requestType.equals(CONNECT)) {
141 requestType, url, httpVersion);
155 if (requestType.equals(CONNECT)) {
162 requestType, url, httpVersion);
184 * @param requestType type of the request, a.k.a. HTTP method.
189 private void sendRequestLineWithPath(Socket server, String requestType, argument
194 requestType, absolutePath, httpVersion);
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutRequestPinProcessor.java218 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { argument
219 return getRequestPinConfirmationActivity(callingUserId, requestType) != null;
235 final int requestType = inShortcut != null ?
238 getRequestPinConfirmationActivity(userId, requestType);
265 requestType);
386 PinItemRequest request, int requestType) {
387 final String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ?
417 int callingUserId, int requestType) {
427 defaultLauncher.getPackageName(), launcherUserId, requestType);
385 startRequestConfirmActivity(ComponentName activity, int launcherUserId, PinItemRequest request, int requestType) argument
416 getRequestPinConfirmationActivity( int callingUserId, int requestType) argument
H A DShortcutService.java2215 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { argument
2219 .isRequestPinItemSupported(callingUserId, requestType);
2790 public boolean isRequestPinItemSupported(int callingUserId, int requestType) { argument
2791 return ShortcutService.this.isRequestPinItemSupported(callingUserId, requestType);
3455 * the requestType.
3459 int launcherUserId, int requestType) {
3461 String action = requestType == LauncherApps.PinItemRequest.REQUEST_TYPE_SHORTCUT ?
3458 injectGetPinConfirmationActivity(@onNull String launcherPackageName, int launcherUserId, int requestType) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSsData.java106 public RequestType requestType; field in class:SsData
115 requestType is SS_INTERROGATION */
150 + " RequestType: " + requestType
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java233 private Request createRequest(String requestType, SipProfile userProfile, argument
244 CSeqHeader cSeqHeader = createCSeqHeader(requestType);
247 requestType, callIdHeader, cSeqHeader, fromHeader,
269 private Request createRequest(String requestType, SipProfile caller, argument
276 CSeqHeader cSeqHeader = createCSeqHeader(requestType);
280 requestType, callIdHeader, cSeqHeader, fromHeader,
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DZslProcessor.cpp500 uint8_t requestType = ANDROID_REQUEST_TYPE_REPROCESS; local
502 &requestType, 1);
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsSsData.java192 public int requestType; field in class:ImsSsData
265 * @param requestType Supplementary Service request Type. Valid values are:
282 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, argument
285 this.requestType = requestType;
293 requestType = in.readInt();
317 out.writeInt(requestType);
443 + " RequestType: " + requestType
/frameworks/base/wifi/java/android/net/wifi/
H A DRttManager.java342 public int requestType; field in class:RttManager.RttParams
471 requestType = RTT_TYPE_ONE_SIDED;
487 sb.append(", requestType=" + requestType);
538 dest.writeInt(params.requestType);
569 params[i].requestType = in.readInt();
634 public int requestType; field in class:RttManager.RttResult
781 sb.append(", requestType=" + mResults[i].requestType);
961 if (rttParams.requestType
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneMmiCode.java1731 mAction = getActionStringFromReqType(ssData.requestType);
1734 switch (ssData.requestType) {
1743 * ssData.requestType is activate/register and
1746 boolean cffEnabled = ((ssData.requestType == ImsSsData.SS_ACTIVATION
1747 || ssData.requestType == ImsSsData.SS_REGISTRATION)
1788 Rlog.e(LOG_TAG, "Invaid requestType in SSData : " + ssData.requestType);
1844 private String getActionStringFromReqType(int requestType) { argument
1845 switch (requestType) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DRILTest.java1047 private static void verifyRILResponse(RIL ril, int serial, int requestType) { argument
1055 assertEquals(requestType, rr.getRequest());
/frameworks/base/media/jni/
H A Dandroid_media_MediaDrm.cpp72 jfieldID requestType; member in struct:android::RequestFields
750 GET_FIELD_ID(gFields.keyRequest.requestType, clazz, "mRequestType", "I");
1013 env->SetIntField(keyObj, gFields.keyRequest.requestType,
1017 env->SetIntField(keyObj, gFields.keyRequest.requestType,
1021 env->SetIntField(keyObj, gFields.keyRequest.requestType,
1025 env->SetIntField(keyObj, gFields.keyRequest.requestType,
1029 env->SetIntField(keyObj, gFields.keyRequest.requestType,
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java426 int launcherUserId, int requestType) {
425 injectGetPinConfirmationActivity(@onNull String launcherPackageName, int launcherUserId, int requestType) argument
/frameworks/base/core/java/android/app/
H A DActivityThread.java752 int requestType; field in class:ActivityThread.RequestAssistContextExtras
1397 int requestType, int sessionId, int flags) {
1401 cmd.requestType = requestType;
3149 boolean forAutofill = cmd.requestType == ActivityManager.ASSIST_CONTEXT_AUTOFILL;
3176 if (cmd.requestType == ActivityManager.ASSIST_CONTEXT_FULL || forAutofill) {
1396 requestAssistContextExtras(IBinder activityToken, IBinder requestToken, int requestType, int sessionId, int flags) argument
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java13945 public Bundle getAssistContextExtras(int requestType) { argument
13946 PendingAssistExtras pae = enqueueAssistContext(requestType, null, null, null,
14012 public boolean requestAssistContextExtras(int requestType, IAssistDataReceiver receiver, argument
14014 return enqueueAssistContext(requestType, null, null, receiver, receiverExtras,
14027 private PendingAssistExtras enqueueAssistContext(int requestType, Intent intent, String hint, argument
14083 activity.app.thread.requestAssistContextExtras(activity.appToken, pae, requestType,
14197 public boolean launchAssistIntent(Intent intent, int requestType, String hint, int userHandle, argument
14199 return enqueueAssistContext(requestType, intent, hint, null, null, null,
[all...]

Completed in 309 milliseconds