Home
last modified time | relevance | path

Searched refs:nonce (Results 1 – 25 of 31) 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.java107 public void onObbResult(String filename, int nonce, int status) { in onObbResult() argument
110 delegate = mListeners.get(nonce); in onObbResult()
112 mListeners.remove(nonce); in onObbResult()
125 mListeners.put(delegate.nonce, delegate); in addListener()
128 return delegate.nonce; in addListener()
143 private final int nonce; field in StorageManager.ObbListenerDelegate
146 nonce = getNextNonce(); in ObbListenerDelegate()
440 final int nonce = mObbActionListener.addListener(listener); in mountObb() local
441 mMountService.mountObb(filename, key, mObbActionListener, nonce); in mountObb()
480 final int nonce = mObbActionListener.addListener(listener); in unmountObb() local
[all …]
DIMountService.java492 public void mountObb(String filename, String key, IObbActionListener token, int nonce) in mountObb() argument
501 _data.writeInt(nonce); in mountObb()
518 int nonce) throws RemoteException { in unmountObb() argument
526 _data.writeInt(nonce); in unmountObb()
1051 int nonce; in onTransact() local
1052 nonce = data.readInt(); in onTransact()
1053 mountObb(filename, key, observer, nonce); in onTransact()
1065 int nonce; in onTransact() local
1066 nonce = data.readInt(); in onTransact()
1067 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.java257 public void requestIsimAuthentication(String nonce, Message result) { in requestIsimAuthentication() argument
258 mCM.requestIsimAuthentication(nonce, result); in requestIsimAuthentication()
/frameworks/base/services/java/com/android/server/
DMountService.java215 public ObbState(String filename, int callerUid, IObbActionListener token, int nonce) in ObbState() argument
220 this.nonce = nonce; in ObbState()
233 final int nonce; field in MountService.ObbState
1758 public void mountObb(String filename, String key, IObbActionListener token, int nonce) in mountObb() argument
1769 final ObbState obbState = new ObbState(filename, callerUid, token, nonce); in mountObb()
1777 public void unmountObb(String filename, boolean force, IObbActionListener token, int nonce) in unmountObb() argument
1784 final ObbState obbState = new ObbState(filename, callerUid, token, nonce); in unmountObb()
2126 obbState.token.onObbResult(obbState.filename, obbState.nonce, in handleMessage()
2220 mObbState.token.onObbResult(mObbState.filename, mObbState.nonce, status); in sendNewStatusOrIgnore()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java597 final int nonce; in waitForConnection() local
640 nonce = waiter.mNonce; in waitForConnection()
649 if (waiter.mNonce == nonce) { in waitForConnection()
/frameworks/base/docs/html/guide/google/play/billing/
Dbilling_integrate.jd740 <code>REQUEST_NONCE</code> key contains a cryptographically secure nonce (number used once) that you
741 must generate. The Google Play application returns this nonce with the
827 <code>REQUEST_NONCE</code> key contains a cryptographically secure nonce (number used once) that you
828 must generate. The Google Play application returns this nonce with the transactions information
997 transaction information you receive from Google Play: nonces and signatures. A nonce (number used
999 <code>GET_PURCHASE_INFORMATION</code> and <code>RESTORE_TRANSACTIONS</code> request. The nonce is
1013 long nonce = RANDOM.nextLong();
1014 sKnownNonces.add(nonce);
1015 return nonce;
1018 public static void removeNonce(long nonce) {
[all …]
Dbilling_reference.jd178 <td>A number used once. Your application must generate and send a nonce with each
179 <code>GET_PURCHASE_INFORMATION</code> and <code>RESTORE_TRANSACTIONS</code> request. The nonce is
382 <td>nonce</td>
383 <td>A number used once. Your application generates the nonce and sends it with the
384 <code>GET_PURCHASE_INFORMATION</code> request. Google Play sends the nonce back as part of the
Dbilling_overview.jd121 security-related tasks, such as signature verification and nonce generation. For more information
265 <pre class="no-pretty-print" style="color:black">{ "nonce" : 1836535032137741465,
472 purchase information that's returned from Google Play. Your application must generate a nonce and
474 request. When Google Play receives the request, it adds the nonce to the JSON string that
476 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.java419 public void requestIsimAuthentication(String nonce, Message response) { in requestIsimAuthentication() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DPhoneProxy.java940 public void requestIsimAuthentication(String nonce, Message response) { in requestIsimAuthentication() argument
941 mActivePhone.requestIsimAuthentication(nonce, response); in requestIsimAuthentication()
DPhone.java1759 void requestIsimAuthentication(String nonce, Message response); in requestIsimAuthentication() argument
DCommandsInterface.java1573 public void requestIsimAuthentication(String nonce, Message response); in requestIsimAuthentication() argument
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java609 public void requestIsimAuthentication(String nonce, Message response) { in requestIsimAuthentication() argument

12