Home
last modified time | relevance | path

Searched refs:nonce (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/native/android/
Dstorage_manager.cpp44 virtual void onObbResult(const android::String16& filename, const int32_t nonce,
51 : nonce(_nonce) in ObbCallback()
56 int32_t nonce; member in ObbCallback
105 void fireCallback(const char* filename, const int32_t nonce, const int32_t state) { in fireCallback()
112 if (cb->nonce == nonce) { in fireCallback()
132 mMountService->mountObb(filename16, key16, mObbActionListener, cb->nonce); in mountObb()
138 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce); in unmountObb()
157 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const i… in onObbResult() argument
158 mStorageManager->fireCallback(String8(filename).string(), nonce, state); in onObbResult()
/frameworks/base/core/java/android/os/storage/
DIObbActionListener.java72 int nonce; in onTransact() local
73 nonce = data.readInt(); in onTransact()
76 this.onObbResult(filename, nonce, status); in onTransact()
106 public void onObbResult(String filename, int nonce, int status) in onObbResult() argument
113 _data.writeInt(nonce); in onObbResult()
135 public void onObbResult(String filename, int nonce, int status) throws RemoteException; in onObbResult() argument
DStorageManager.java106 public void onObbResult(String filename, int nonce, int status) { in onObbResult() argument
109 delegate = mListeners.get(nonce); in onObbResult()
111 mListeners.remove(nonce); in onObbResult()
124 mListeners.put(delegate.nonce, delegate); in addListener()
127 return delegate.nonce; in addListener()
142 private final int nonce; field in StorageManager.ObbListenerDelegate
145 nonce = getNextNonce(); in ObbListenerDelegate()
439 final int nonce = mObbActionListener.addListener(listener); in mountObb() local
440 mMountService.mountObb(filename, key, mObbActionListener, nonce); in mountObb()
479 final int nonce = mObbActionListener.addListener(listener); in unmountObb() local
[all …]
DIMountService.java491 public void mountObb(String filename, String key, IObbActionListener token, int nonce) in mountObb() argument
500 _data.writeInt(nonce); in mountObb()
517 int nonce) throws RemoteException { in unmountObb() argument
525 _data.writeInt(nonce); in unmountObb()
1020 int nonce; in onTransact() local
1021 nonce = data.readInt(); in onTransact()
1022 mountObb(filename, key, observer, nonce); in onTransact()
1034 int nonce; in onTransact() local
1035 nonce = data.readInt(); in onTransact()
1036 unmountObb(filename, force, observer, nonce); in onTransact()
[all …]
/frameworks/base/obex/javax/obex/
DClientSession.java84 if (header.nonce != null) { in connect()
86 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16); in connect()
150 if (head.nonce != null) { in get()
152 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16); in get()
194 if (header.nonce != null) { in disconnect()
196 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16); in disconnect()
259 if (head.nonce != null) { in put()
261 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16); in put()
296 if (headset.nonce != null) { in setPath()
298 System.arraycopy(headset.nonce, 0, mChallengeDigest, 0, 16); in setPath()
[all …]
DHeaderSet.java214 /*package*/ byte[] nonce; field in HeaderSet
602 nonce = new byte[16]; in createAuthenticationChallenge()
604 nonce[i] = (byte)mRandom.nextInt(); in createAuthenticationChallenge()
607 mAuthChall = ObexHelper.computeAuthenticationChallenge(nonce, realm, access, userID); in createAuthenticationChallenge()
DServerSession.java363 if (reply.nonce != null) { in handleSetPathRequest()
365 System.arraycopy(reply.nonce, 0, mChallengeDigest, 0, 16); in handleSetPathRequest()
591 if (reply.nonce != null) { in handleConnectRequest()
593 System.arraycopy(reply.nonce, 0, mChallengeDigest, 0, 16); in handleConnectRequest()
DObexHelper.java947 public static byte[] computeAuthenticationChallenge(byte[] nonce, String realm, boolean access, in computeAuthenticationChallenge() argument
951 if (nonce.length != 16) { in computeAuthenticationChallenge()
989 System.arraycopy(nonce, 0, authChall, 2, 16); in computeAuthenticationChallenge()
/frameworks/base/libs/storage/
DIObbActionListener.cpp33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } in onObbResult() argument
47 int32_t nonce = data.readInt32(); in onTransact() local
49 onObbResult(filename, nonce, state); in onTransact()
DIMountService.cpp437 const sp<IObbActionListener>& token, int32_t nonce) in mountObb() argument
444 data.writeInt32(nonce); in mountObb()
457 const sp<IObbActionListener>& token, const int32_t nonce) in unmountObb() argument
464 data.writeInt32(nonce); in unmountObb()
/frameworks/base/core/java/android/net/http/
DRequestHandle.java240 String nonce, in setupDigestAuthResponse() argument
246 username, password, realm, nonce, QOP, algorithm, opaque); in setupDigestAuthResponse()
299 String nonce, in computeDigestAuthResponse() argument
314 String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce); in computeDigestAuthResponse()
319 response += "nonce=" + doubleQuote(nonce) + ", "; in computeDigestAuthResponse()
353 String A1, String A2, String nonce, String QOP, String nc, String cnonce) { in computeDigest() argument
359 return KD(H(A1), nonce + ":" + H(A2)); in computeDigest()
362 return KD(H(A1), nonce + ":" + nc + ":" + cnonce + ":" + QOP + ":" + H(A2)); in computeDigest()
/frameworks/base/include/storage/
DIMountService.h64 const sp<IObbActionListener>& token, const int32_t nonce) = 0;
66 const sp<IObbActionListener>& token, const int32_t nonce) = 0;
DIObbActionListener.h32 … virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) = 0;
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCDMALTEPhone.java254 public void requestIsimAuthentication(String nonce, Message result) { in requestIsimAuthentication() argument
255 mCM.requestIsimAuthentication(nonce, result); in requestIsimAuthentication()
/frameworks/base/services/java/com/android/server/
DMountService.java210 public ObbState(String filename, int callerUid, IObbActionListener token, int nonce) in ObbState() argument
215 this.nonce = nonce; in ObbState()
228 final int nonce; field in MountService.ObbState
1740 public void mountObb(String filename, String key, IObbActionListener token, int nonce) in mountObb() argument
1751 final ObbState obbState = new ObbState(filename, callerUid, token, nonce); in mountObb()
1759 public void unmountObb(String filename, boolean force, IObbActionListener token, int nonce) in unmountObb() argument
1766 final ObbState obbState = new ObbState(filename, callerUid, token, nonce); in unmountObb()
2136 obbState.token.onObbResult(obbState.filename, obbState.nonce, in handleMessage()
2230 mObbState.token.onObbResult(mObbState.filename, mObbState.nonce, status); in sendNewStatusOrIgnore()
/frameworks/base/docs/html/guide/market/billing/
Dbilling_reference.jd172 <td>A number used once. Your application must generate and send a nonce with each
173 <code>GET_PURCHASE_INFORMATION</code> and <code>RESTORE_TRANSACTIONS</code> request. The nonce is
376 <td>nonce</td>
377 <td>A number used once. Your application generates the nonce and sends it with the
378 <code>GET_PURCHASE_INFORMATION</code> request. Android Market sends the nonce back as part of the
Dbilling_integrate.jd732 <code>REQUEST_NONCE</code> key contains a cryptographically secure nonce (number used once) that you
733 must generate. The Android Market application returns this nonce with the
819 <code>REQUEST_NONCE</code> key contains a cryptographically secure nonce (number used once) that you
820 must generate. The Android Market application returns this nonce with the transactions information
989 transaction information you receive from Android Market: nonces and signatures. A nonce (number used
991 <code>GET_PURCHASE_INFORMATION</code> and <code>RESTORE_TRANSACTIONS</code> request. The nonce is
1005 long nonce = RANDOM.nextLong();
1006 sKnownNonces.add(nonce);
1007 return nonce;
1010 public static void removeNonce(long nonce) {
[all …]
Dbilling_overview.jd85 security-related tasks, such as signature verification and nonce generation. For more information
228 { "nonce" : 1836535032137741465,
434 purchase information that's returned from Android Market. Your application must generate a nonce and
436 request. When Android Market receives the request, it adds the nonce to the JSON string that
438 application. When your application receives the JSON string, you need to verify the nonce as well as
Dbilling_best_practices.jd91 <p>Also, if you are performing nonce verification on a server, make sure that you generate the
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipCommandInterface.java407 public void requestIsimAuthentication(String nonce, Message response) { in requestIsimAuthentication() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneProxy.java840 public void requestIsimAuthentication(String nonce, Message response) { in requestIsimAuthentication() argument
841 mActivePhone.requestIsimAuthentication(nonce, response); in requestIsimAuthentication()
DPhone.java1758 void requestIsimAuthentication(String nonce, Message response); in requestIsimAuthentication() argument
DCommandsInterface.java1608 public void requestIsimAuthentication(String nonce, Message response); in requestIsimAuthentication() argument
DPhoneBase.java1122 public void requestIsimAuthentication(String nonce, Message result) { in requestIsimAuthentication() argument
/frameworks/base/core/java/android/webkit/
DLoadListener.java877 String nonce = mAuthHeader.getNonce(); in makeAuthResponse() local
883 realm, nonce, qop, algorithm, opaque); in makeAuthResponse()

12