Home
last modified time | relevance | path

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

12

/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterRefreshManager.java100 int requestType; in refreshSafetySources() local
103 requestType = EXTRA_REFRESH_REQUEST_TYPE_FETCH_FRESH_DATA; in refreshSafetySources()
106 requestType = EXTRA_REFRESH_REQUEST_TYPE_GET_DATA; in refreshSafetySources()
127 sendRefreshBroadcastToSafetySources(safetySourcesToRefresh, requestType); in refreshSafetySources()
128 sendRefreshBroadcastToAdditionalSafetySourceReceivers(requestType); in refreshSafetySources()
132 List<SafetySource> safetySources, int requestType) { in sendRefreshBroadcastToSafetySources() argument
135 .putExtra(EXTRA_REFRESH_SAFETY_SOURCES_REQUEST_TYPE, requestType) in sendRefreshBroadcastToSafetySources()
161 private void sendRefreshBroadcastToAdditionalSafetySourceReceivers(int requestType) { in sendRefreshBroadcastToAdditionalSafetySourceReceivers() argument
164 .putExtra(EXTRA_REFRESH_SAFETY_SOURCES_REQUEST_TYPE, requestType) in sendRefreshBroadcastToAdditionalSafetySourceReceivers()
/packages/modules/Connectivity/nearby/tests/multidevices/clients/test_service/fastpair_seeker_data_provider/src/android/nearby/fastpair/seeker/dataprovider/
DFastPairTestDataProviderService.kt103 val requestType = request.requestType in <lambda>() constant
104 Log.d(TAG, "onManageFastPairAccount(account: $requestedAccount, requestType: $requestType)") in <lambda>()
114 val requestType = request.requestType in <lambda>() constant
115 val requestTypeString = if (requestType == MANAGE_REQUEST_ADD) "Add" else "Remove" in <lambda>()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionActivity.java63 int requestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE,
65 if (requestType != mRequestType) return;
117 private void showDialog(String title, int requestType) in showDialog() argument
122 switch(requestType) in showDialog()
138 requestType == BluetoothDevice.REQUEST_TYPE_PROFILE_CONNECTION in showDialog()
142 requestType == BluetoothDevice.REQUEST_TYPE_PROFILE_CONNECTION in showDialog()
DBluetoothPermissionRequest.java210 private String getNotificationTag(int requestType) { in getNotificationTag() argument
211 if(requestType == BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS) { in getNotificationTag()
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoCache.java112 int requestType = in getValue() local
122 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ true, requestType); in getValue()
128 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ false, requestType); in getValue()
134 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ false, requestType); in getValue()
/packages/modules/Wifi/framework/java/android/net/wifi/
DRttManager.java343 public int requestType; field in RttManager.RttParams
472 requestType = RTT_TYPE_ONE_SIDED; in RttParams()
488 sb.append(", requestType=" + requestType); in toString()
539 dest.writeInt(params.requestType); in writeToParcel()
570 params[i].requestType = in.readInt();
635 public int requestType; field in RttManager.RttResult
782 sb.append(", requestType=" + mResults[i].requestType); in toString()
962 if (rttParams.requestType == RTT_TYPE_TWO_SIDED) { in startRanging()
/packages/apps/Camera2/src/com/android/camera/one/v2/commands/
DPreviewCommand.java43 int requestType) { in PreviewCommand() argument
46 mRequestType = requestType; in PreviewCommand()
/packages/services/Car/car-builtin-lib/src/android/car/builtin/util/
DEventLogHelper.java128 public static void writeCarUserServiceInitialUserInfoReq(int requestType, int timeout, in writeCarUserServiceInitialUserInfoReq() argument
130 EventLog.writeEvent(EventLogTags.CAR_USER_SVC_INITIAL_USER_INFO_REQ, requestType, timeout, in writeCarUserServiceInitialUserInfoReq()
316 public static void writeCarUserServiceInitialUserInfoReqComplete(int requestType) { in writeCarUserServiceInitialUserInfoReqComplete() argument
317 EventLog.writeEvent(EventLogTags.CAR_USER_SVC_INITIAL_USER_INFO_REQ_COMPLETE, requestType); in writeCarUserServiceInitialUserInfoReqComplete()
321 public static void writeCarUserHalInitialUserInfoReq(int requestId, int requestType, in writeCarUserHalInitialUserInfoReq() argument
323 EventLog.writeEvent(EventLogTags.CAR_USER_HAL_INITIAL_USER_INFO_REQ, requestId, requestType, in writeCarUserHalInitialUserInfoReq()
/packages/apps/Settings/src/com/android/settings/development/
DWirelessDebuggingFragment.java435 int requestType = data.getIntExtra(PAIRED_DEVICE_REQUEST_TYPE, -1); in handlePairedDeviceRequest() local
439 switch (requestType) { in handlePairedDeviceRequest()
458 int requestType = data.getIntExtra(PAIRING_DEVICE_REQUEST_TYPE, -1); in handlePairingDeviceRequest() local
459 switch (requestType) { in handlePairingDeviceRequest()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DFastPairDataProvider.java112 requestParcel.requestType = FastPairDataProviderService.MANAGE_REQUEST_ADD; in optIn()
129 requestParcel.requestType = FastPairDataProviderService.MANAGE_REQUEST_ADD; in upload()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DTagDispatchCaptureSession.java133 public void submitRequest(List<Request> burstRequests, FrameServer.RequestType requestType) in submitRequest() argument
151 if (requestType == FrameServer.RequestType.REPEATING) { in submitRequest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DUserHalServiceTest.java1695 private void assertInitialUserInfoSetRequest(HalPropValue req, int requestType) { in assertInitialUserInfoSetRequest() argument
1696 assertThat(req.getInt32Value(1)).isEqualTo(requestType); in assertInitialUserInfoSetRequest()
1774 private HalPropValue createPropRequest(int propId, int requestId, int requestType) { in createPropRequest() argument
1775 return createPropRequest(propId, requestId, requestType, new int[0], new String()); in createPropRequest()
1778 private HalPropValue createPropRequest(int propId, int requestId, int requestType, in createPropRequest() argument
1780 return createPropRequest(propId, requestId, requestType, intValues, new String()); in createPropRequest()
1783 private HalPropValue createPropRequest(int propId, int requestId, Integer requestType, in createPropRequest() argument
1786 if (requestType != null) { in createPropRequest()
1793 if (requestType != null) { in createPropRequest()
1794 values[1] = requestType; in createPropRequest()
/packages/services/Mms/src/com/android/mms/service/
DApnSettings.java206 private static boolean isValidApnType(String types, String requestType) { in isValidApnType() argument
213 if (type.equals(requestType) || type.equals(ApnSetting.TYPE_ALL_STRING)) { in isValidApnType()
/packages/services/Car/service/src/com/android/car/hal/
DUserHalService.java310 public void getInitialUserInfo(int requestType, int timeoutMs, UsersInfo usersInfo, in getInitialUserInfo() argument
312 if (DBG) Slogf.d(TAG, "getInitialInfo(" + requestType + ")"); in getInitialUserInfo()
322 intValues.add(requestType); in getInitialUserInfo()
334 EventLogHelper.writeCarUserHalInitialUserInfoReq(requestId, requestType, timeoutMs); in getInitialUserInfo()
337 getInitialUserInfoRequestTypeForStatsd(requestType), timeoutMs); in getInitialUserInfo()
342 private static int getInitialUserInfoRequestTypeForStatsd(int requestType) { in getInitialUserInfoRequestTypeForStatsd() argument
344 switch (requestType) { in getInitialUserInfoRequestTypeForStatsd()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/aidl/
DFastPairManageAccountRequestParcel.aidl30 int requestType;
DFastPairManageAccountDeviceRequestParcel.aidl31 int requestType;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapMessage.java382 public static SapMessage readMessage(int requestType, InputStream is) { in readMessage() argument
383 SapMessage newMessage = new SapMessage(requestType); in readMessage()
403 Log.i(TAG, "readMessage() Read message: " + getMsgTypeName(requestType)); in readMessage()
407 switch (requestType) { in readMessage()
DSapServer.java360 int requestType = mRfcommIn.read(); in run() local
364 if (requestType == -1) { in run()
373 SapMessage msg = SapMessage.readMessage(requestType, mRfcommIn); in run()
377 switch (requestType) { in run()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DFastPairDataProviderService.java399 return this.mAccountRequestParcel.requestType; in getRequestType()
434 return this.mRequestParcel.requestType; in getRequestType()
/packages/apps/Messaging/src/android/support/v7/mms/
DDefaultApnSettingsLoader.java485 public static boolean isValidApnType(final String types, final String requestType) { in isValidApnType() argument
491 if (t.equals(requestType) || t.equals(APN_TYPE_ALL)) { in isValidApnType()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java669 public final @QosPolicyRequestType int requestType; field in SupplicantStaIfaceHal.QosPolicyRequest
677 requestType = halRequestType; in QosPolicyRequest()
682 return requestType == QOS_POLICY_REQUEST_ADD; in isAddRequest()
686 return requestType == QOS_POLICY_REQUEST_REMOVE; in isRemoveRequest()
/packages/apps/Messaging/src/com/android/messaging/sms/
DBugleApnSettingsLoader.java613 public static boolean isValidApnType(final String types, final String requestType) { in isValidApnType() argument
619 if (t.equals(requestType) || t.equals(APN_TYPE_ALL)) { in isValidApnType()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DQosPolicyRequestHandlerTest.java109 int policyId, @QosPolicyRequestType int requestType, in createQosPolicyRequest() argument
119 return new QosPolicyRequest((byte) policyId, requestType, (byte) dscp, classifierParams); in createQosPolicyRequest()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java699 private void initBootUser(int requestType) { in initBootUser() argument
701 requestType == InitialUserInfoRequestType.RESUME && !mSwitchGuestUserBeforeSleep; in initBootUser()
707 EventLogHelper.writeCarUserServiceInitialUserInfoReqComplete(requestType); in initBootUser()
712 EventLogHelper.writeCarUserServiceInitialUserInfoReq(requestType, in initBootUser()
716 mHal.getInitialUserInfo(requestType, mHalTimeoutMs, usersInfo, (status, resp) -> { in initBootUser()
770 EventLogHelper.writeCarUserServiceInitialUserInfoReqComplete(requestType); in initBootUser()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java218 int requestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, in parseIntent() local
220 if (requestType != BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS) { in parseIntent()

12