/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 781 * cause code returned as Integer in Message.obj.response 860 * ((AsyncResult)response.obj).result is an int[] where int[0] is 880 public void sendTerminalResponse(String contents, Message response) { argument 881 resultSuccess(response, null); 888 public void sendEnvelope(String contents, Message response) { argument 889 resultSuccess(response, null); 896 public void sendEnvelopeWithStatus(String contents, Message response) { argument 897 resultSuccess(response, null); 905 boolean accept, Message response) { 906 resultSuccess(response, nul 904 handleCallSetupRequestFromSim( boolean accept, Message response) argument 1061 deleteSmsOnSim(int index, Message response) argument 1067 deleteSmsOnRuim(int index, Message response) argument 1073 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 1079 writeSmsToRuim(int status, String pdu, Message response) argument 1149 setLocationUpdates(boolean enable, Message response) argument 1216 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument 1239 queryCLIP(Message response) argument 1279 queryCallWaiting(int serviceClass, Message response) argument 1290 setCallWaiting(boolean enable, int serviceClass, Message response) argument 1418 cancelPendingUssd(Message response) argument 1429 invokeOemRilRequestRaw(byte[] data, Message response) argument 1438 invokeOemRilRequestStrings(String[] strings, Message response) argument 1602 getDeviceIdentity(Message response) argument 1621 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument 1626 queryCdmaRoamingPreference(Message response) argument 1631 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1661 setTTYMode(int ttyMode, Message response) argument 1677 queryTTYMode(Message response) argument 1685 sendCDMAFeatureCode(String FeatureCode, Message response) argument 1693 sendCdmaSms(byte[] pdu, Message response) argument 1699 setCdmaBroadcastActivation(boolean activate, Message response) argument 1705 getCdmaBroadcastConfig(Message response) argument 1711 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument 1715 forceDataDormancy(Message response) argument 1721 setGsmBroadcastActivation(boolean activate, Message response) argument 1727 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 1732 getGsmBroadcastConfig(Message response) argument 1737 supplyIccPinForApp(String pin, String aid, Message response) argument 1752 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument 1757 supplyIccPin2ForApp(String pin2, String aid, Message response) argument 1762 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument 1767 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument 1774 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument 1780 requestIsimAuthentication(String nonce, Message response) argument 1785 requestIccSimAuthentication(int authContext, String data, String aid, Message response) argument 1790 getVoiceRadioTechnology(Message response) argument 1802 getCellInfoList(Message response, WorkSource WorkSource) argument 1832 setCellInfoListRate(int rateInMillis, Message response, WorkSource workSource) argument 1849 getImsRegistrationState(Message response) argument 1858 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument 1865 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument 1873 iccOpenLogicalChannel(String AID, int p2, Message response) argument 1880 iccCloseLogicalChannel(int channel, Message response) argument 1885 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument 1898 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument 1904 nvReadItem(int itemID, Message response) argument 1909 nvWriteItem(int itemID, String itemValue, Message response) argument 1914 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument 1919 nvResetConfig(int resetType, Message response) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | RadioIndication.java | 236 ArrayList<DataCallResponse> response = new ArrayList<>(); 239 response.add(RIL.convertDataCallResult(dcResult)); 242 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_DATA_CALL_LIST_CHANGED, response); 245 new AsyncResult(null, response, null)); 318 IccRefreshResponse response = new IccRefreshResponse(); 319 response.refreshResult = refreshResult.type; 320 response.efId = refreshResult.efId; 321 response.aid = refreshResult.aid; 323 if (RIL.RILJ_LOGD) mRil.unsljLogRet(RIL_UNSOL_SIM_REFRESH, response); 325 mRil.mIccRefreshRegistrants.notifyRegistrants(new AsyncResult (null, response, nul [all...] |
H A D | IccPhoneBookInterfaceManager.java | 185 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); 189 mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); 234 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); 237 mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); 263 Message response = mBaseHandler.obtainMessage(EVENT_GET_SIZE_DONE, status); 267 fh.getEFLinearRecordSize(efid, response); 300 Message response = mBaseHandler.obtainMessage(EVENT_LOAD_DONE, status); 302 mAdnCache.requestLoadAllAdnLike(efid, mAdnCache.extensionEfForEf(efid), response);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 94 const sp<AMessage> &msg, sp<AMessage> *response) { 95 status_t err = msg->postAndAwaitResponse(response); 101 if (response == NULL || !(*response)->findInt32("err", &err)) { 114 sp<AMessage> response; local 115 return PostAndAwaitResponse(msg, &response); 121 sp<AMessage> response; local 122 return PostAndAwaitResponse(msg, &response); 128 sp<AMessage> response; local 129 return PostAndAwaitResponse(msg, &response); 93 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 135 sp<AMessage> response; local 183 sp<AMessage> response = new AMessage; local 342 sp<AMessage> response = new AMessage; local 362 sp<AMessage> response = new AMessage; local 1139 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1303 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1383 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1435 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1465 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1521 sp<AMessage> response = new AMessage; local 1541 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1568 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1577 AppendCommonResponse( AString *response, int32_t cseq, int32_t playbackSessionID) argument 1606 AString response; local [all...] |
H A D | MediaPuller.cpp | 51 sp<AMessage> response; local 52 status_t err = msg->postAndAwaitResponse(&response); 58 if (!response->findInt32("err", &err)) { 105 sp<AMessage> response = new AMessage; local 106 response->setInt32("err", err); 110 response->postReply(replyID);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
H A D | IccPhoneBookInterfaceManagerTest.java | 77 Message response = (Message) invocation.getArguments()[2]; 79 AsyncResult.forMessage(response).result = mAdnList; 80 response.sendToTarget(); 105 Message response = (Message) invocation.getArguments()[2]; 106 AsyncResult.forMessage(response).exception = new RuntimeException(); 107 response.sendToTarget();
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | DataConnectionTest.java | 231 DataCallResponse response = new DataCallResponse(0, 0, 1, 2, "IP", 233 AsyncResult ar = new AsyncResult(null, response, null); 234 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); 236 response = new DataCallResponse(0, 1000, 1, 2, "IP", 238 ar = new AsyncResult(null, response, null); 239 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); 241 response = new DataCallResponse(0, 9999, 1, 2, "IP", 243 ar = new AsyncResult(null, response, null); 244 assertEquals(response.suggestedRetryTime, getSuggestedRetryDelay(ar)); 250 DataCallResponse response [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 49 const sp<AMessage> &msg, sp<AMessage> *response) { 50 status_t err = msg->postAndAwaitResponse(response); 56 if (!(*response)->findInt32("err", &err)) { 65 sp<AMessage> response; local 66 return PostAndAwaitResponse(msg, &response); 79 sp<AMessage> response; local 80 return PostAndAwaitResponse(msg, &response); 85 sp<AMessage> response; local 86 return PostAndAwaitResponse(msg, &response); 91 sp<AMessage> response; local 48 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 97 sp<AMessage> response; local 103 sp<AMessage> response; local 122 sp<AMessage> response = new AMessage; local 143 sp<AMessage> response = new AMessage; local 165 sp<AMessage> response = new AMessage; local 198 sp<AMessage> response = new AMessage; local 221 sp<AMessage> response = new AMessage; local 244 sp<AMessage> response = new AMessage; local [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerResponse.java | 25 * Used to return a response to the AccountManager. 32 public AccountManagerResponse(IAccountManagerResponse response) { argument 33 mResponse = response;
|
H A D | AccountAuthenticatorResponse.java | 36 public AccountAuthenticatorResponse(IAccountAuthenticatorResponse response) { argument 37 mAccountAuthenticatorResponse = response;
|
/frameworks/base/core/java/android/content/ |
H A D | IRestrictionsManager.aidl | 32 void notifyPermissionResponse(in String packageName, in PersistableBundle response);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | VerifyCredentialResponse.java | 45 VerifyCredentialResponse response = new VerifyCredentialResponse(responseCode, 0, null); 47 response.setTimeout(source.readInt()); 53 response.setPayload(payload); 56 return response;
|
/frameworks/base/core/java/android/os/ |
H A D | TestLooperManager.java | 131 if (execution.response != null) { 132 throw new RuntimeException(execution.response); 202 mex.response = null; 204 mex.response = t; 213 private Throwable response; field in class:TestLooperManager.MessageExecution
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | CallScreeningService.java | 105 throw new IllegalStateException("Invalid response state for allowed call."); 222 * @param response The {@link CallScreeningService.CallResponse} which contains information 225 public final void respondToCall(Call.Details callDetails, CallResponse response) { argument 227 if (response.getDisallowCall()) { 230 response.getRejectCall(), 231 !response.getSkipCallLog(), 232 !response.getSkipNotification());
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 549 ALOGE("Error reading rtsp response. (%s)", strerror(errno)); 634 sp<ARTSPResponse> response = new ARTSPResponse; local 635 response->mStatusLine = statusLine; 637 ALOGI("status: %s", response->mStatusLine.c_str()); 639 ssize_t space1 = response->mStatusLine.find(" "); 643 ssize_t space2 = response->mStatusLine.find(" ", space1 + 1); 650 if (!IsRTSPVersion(AString(response->mStatusLine, 0, space1))) { 653 response->mStatusLine, 655 response->mStatusLine.size() - space2 - 1))); 659 response 773 AString response; local 835 findPendingRequest( const sp<ARTSPResponse> &response, ssize_t *index) const argument 865 notifyResponseListener( const sp<ARTSPResponse> &response) argument 889 parseAuthMethod(const sp<ARTSPResponse> &response) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 521 const sp<AMessage> &msg, sp<AMessage> *response) { 522 status_t err = msg->postAndAwaitResponse(response); 528 if (!(*response)->findInt32("err", &err)) { 542 sp<AMessage> response = new AMessage; local 543 response->setInt32("err", finalErr); 544 response->postReply(replyID); 663 sp<AMessage> response; local 664 err = PostAndAwaitResponse(msg, &response); 676 sp<AMessage> response; local 677 return PostAndAwaitResponse(msg, &response); 520 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 762 sp<AMessage> response; local 787 sp<AMessage> response; local 818 sp<AMessage> response = new AMessage; local 831 sp<AMessage> response; local 839 sp<AMessage> response; local 847 sp<AMessage> response; local 910 sp<AMessage> response; local 918 sp<AMessage> response; local 930 sp<AMessage> response; local 950 sp<AMessage> response; local 962 sp<AMessage> response; local 1020 sp<AMessage> response; local 1054 sp<AMessage> response; local 1064 sp<AMessage> response; local 1085 sp<AMessage> response; local 1105 sp<AMessage> response; local 1115 sp<AMessage> response; local 1123 sp<AMessage> response; local 1130 sp<AMessage> response; local 1137 sp<AMessage> response; local 1151 sp<AMessage> response; local 1165 sp<AMessage> response; local 1198 sp<AMessage> response; local 1207 sp<AMessage> response; local 1284 sp<AMessage> response; local 1337 sp<AMessage> response = new AMessage; local 1357 sp<AMessage> response = new AMessage; local 1601 sp<AMessage> response = new AMessage; local 1625 sp<AMessage> response = new AMessage(); local 1640 sp<AMessage> response = new AMessage; local 1963 sp<AMessage> response = new AMessage; local 2157 sp<AMessage> response = new AMessage; local 2174 sp<AMessage> response = new AMessage; local 2200 sp<AMessage> response = new AMessage; local 2503 sp<AMessage> response = new AMessage; local 2534 sp<AMessage> response = new AMessage; local 3100 sp<AMessage> response; local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestHttpClient.java | 105 HttpResponse response = this.httpexecutor.execute(request, conn, this.context); 106 response.setParams( 107 new DefaultedHttpParams(response.getParams(), this.params)); 108 this.httpexecutor.postProcess(response, this.httpproc, this.context); 109 return response; 112 public boolean keepAlive(final HttpResponse response) { argument 113 return this.connStrategy.keepAlive(response, this.context);
|
/frameworks/base/core/java/android/net/ |
H A D | PacProxySelector.java | 68 String response = null; 84 response = mProxyService.resolvePacFile(uri.getHost(), urlString); 88 if (response == null) { 92 return parseResponse(response); 95 private static List<Proxy> parseResponse(String response) { argument 96 String[] split = response.split(";");
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/ |
H A D | RedirectListener.java | 160 String response = null; 162 response = status(OSUOperationStatus.UserInputComplete); 163 if (response == null) { 164 response = GoodBye; 173 if (response != null) { 174 out.write(response);
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | Session.cpp | 45 status_t Session::provideKeyResponse(const Vector<uint8_t>& response) { argument 47 reinterpret_cast<const char*>(response.array()), response.size());
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | AbstractProxyTest.java | 65 .setBody("this response comes via HTTPS")); 75 HttpResponse response = httpClient.execute( 77 assertEquals("this response comes via HTTPS", contentToString(response)); 115 .setBody("this response comes via a proxy"); 124 HttpResponse response = httpProxyClient.execute(request); 125 assertEquals("this response comes via a proxy", contentToString(response)); 157 .setBody("this response comes via a secure proxy")); 169 HttpResponse response 278 contentToString(HttpResponse response) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaHTTPConnection.java | 181 int response; 212 response = mConnection.getResponseCode(); 213 if (response != HttpURLConnection.HTTP_MULT_CHOICE && 214 response != HttpURLConnection.HTTP_MOVED_PERM && 215 response != HttpURLConnection.HTTP_MOVED_TEMP && 216 response != HttpURLConnection.HTTP_SEE_OTHER && 217 response != HTTP_TEMP_REDIRECT) { 227 if (response == HTTP_TEMP_REDIRECT && 229 // "If the 307 status code is received in response to a 252 if (response ! [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | SyntheticPasswordManager.java | 252 GateKeeperResponse response; 254 response = gatekeeper.enroll(userId, hash, credential.getBytes(), 256 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { 260 saveSyntheticPasswordHandle(response.getPayload(), userId); 275 GateKeeperResponse response = gatekeeper.enroll(userId, null, null, 277 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { 281 saveSyntheticPasswordHandle(response.getPayload(), userId); 352 GateKeeperResponse response = gatekeeper.enroll(fakeUid(userId), null, null, 354 if (response.getResponseCode() != GateKeeperResponse.RESPONSE_OK) { 358 pwd.passwordHandle = response [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipHelper.java | 263 if (DBG) log("send request with challenge response: " 320 // response message from the other end. 355 Response response = mMessageFactory.createResponse(Response.RINGING, 358 ToHeader toHeader = (ToHeader) response.getHeader(ToHeader.NAME); 360 response.addHeader(toHeader); 361 if (DBG) log("send RINGING: " + response); 362 transaction.sendResponse(response); 378 Response response = mMessageFactory.createResponse(Response.OK, 380 response.addHeader(createContactHeader(localProfile, externalIp, 382 response [all...] |
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
H A D | MediaDrmSigner.java | 23 * Provides certificate request generation, response handling and 90 * and authority. The response received should be passed to 104 * Process a response from the provisioning server. The response 113 * @param response the opaque certificate response byte array to provide to the 115 * @throws android.media.DeniedByServerException if the response indicates that the 118 public static Certificate provideCertificateResponse(MediaDrm drm, byte[] response) argument 120 return new Certificate(drm.provideCertificateResponse(response));
|