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

/frameworks/base/libs/storage/
H A DIObbActionListener.cpp33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } argument
47 int32_t nonce = data.readInt32(); local
49 onObbResult(filename, nonce, state);
H A DIMountService.cpp437 const sp<IObbActionListener>& token, int32_t nonce)
445 data.writeInt32(nonce);
458 const sp<IObbActionListener>& token, const int32_t nonce)
465 data.writeInt32(nonce);
436 mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, const sp<IObbActionListener>& token, int32_t nonce) argument
457 unmountObb(const String16& filename, const bool force, const sp<IObbActionListener>& token, const int32_t nonce) argument
/frameworks/base/core/java/android/os/storage/
H A DIObbActionListener.java72 int nonce;
73 nonce = data.readInt();
76 this.onObbResult(filename, nonce, status);
106 public void onObbResult(String filename, int nonce, int status) argument
113 _data.writeInt(nonce);
132 * @param nonce identifier that is meaningful to the receiver
135 public void onObbResult(String filename, int nonce, int status) throws RemoteException; argument
H A DStorageManager.java86 * Next available nonce
116 public void onObbResult(String filename, int nonce, int status) { argument
119 delegate = mListeners.get(nonce);
121 mListeners.remove(nonce);
134 mListeners.put(delegate.nonce, delegate);
137 return delegate.nonce;
152 private final int nonce; field in class:StorageManager.ObbListenerDelegate
155 nonce = getNextNonce();
465 final int nonce = mObbActionListener.addListener(listener);
466 mMountService.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce);
[all...]
H A DIMountService.java491 IObbActionListener token, int nonce) throws RemoteException {
500 _data.writeInt(nonce);
517 String rawPath, boolean force, IObbActionListener token, int nonce)
526 _data.writeInt(nonce);
1070 int nonce;
1071 nonce = data.readInt();
1072 mountObb(rawPath, canonicalPath, key, observer, nonce);
1084 int nonce;
1085 nonce = data.readInt();
1086 unmountObb(filename, force, observer, nonce);
490 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
516 unmountObb( String rawPath, boolean force, IObbActionListener token, int nonce) argument
1274 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
1318 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
[all...]
/frameworks/base/native/android/
H A Dstorage_manager.cpp44 virtual void onObbResult(const android::String16& filename, const int32_t nonce,
51 : nonce(_nonce)
56 int32_t nonce; member in class:ObbCallback
105 void fireCallback(const char* filename, const int32_t nonce, const int32_t state) { argument
112 if (cb->nonce == nonce) {
141 mMountService->mountObb(rawPath16, canonicalPath16, key16, mObbActionListener, cb->nonce);
147 mMountService->unmountObb(filename16, force, mObbActionListener, cb->nonce);
166 void ObbActionListener::onObbResult(const android::String16& filename, const int32_t nonce, const int32_t state) { argument
167 mStorageManager->fireCallback(String8(filename).string(), nonce, stat
[all...]
/frameworks/base/obex/javax/obex/
H A DClientSession.java84 if (header.nonce != null) {
86 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16);
150 if (head.nonce != null) {
152 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16);
194 if (header.nonce != null) {
196 System.arraycopy(header.nonce, 0, mChallengeDigest, 0, 16);
259 if (head.nonce != null) {
261 System.arraycopy(head.nonce, 0, mChallengeDigest, 0, 16);
296 if (headset.nonce != null) {
298 System.arraycopy(headset.nonce,
[all...]
H A DHeaderSet.java214 /*package*/ byte[] nonce; field in class:HeaderSet
604 nonce = new byte[16];
606 nonce[i] = (byte)mRandom.nextInt();
609 mAuthChall = ObexHelper.computeAuthenticationChallenge(nonce, realm, access, userID);
H A DServerSession.java367 if (reply.nonce != null) {
369 System.arraycopy(reply.nonce, 0, mChallengeDigest, 0, 16);
595 if (reply.nonce != null) {
597 System.arraycopy(reply.nonce, 0, mChallengeDigest, 0, 16);
H A DObexHelper.java935 * @param nonce the challenge that will be provided to the peer; the
947 public static byte[] computeAuthenticationChallenge(byte[] nonce, String realm, boolean access, argument
951 if (nonce.length != 16) {
986 // Include the nonce field in the header
989 System.arraycopy(nonce, 0, authChall, 2, 16);
/frameworks/base/include/storage/
H A DIObbActionListener.h32 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) = 0;
H A DIMountService.h67 const int32_t nonce) = 0;
69 const sp<IObbActionListener>& token, const int32_t nonce) = 0;
/frameworks/base/core/java/android/net/http/
H A DRequestHandle.java240 String nonce,
246 username, password, realm, nonce, QOP, algorithm, opaque);
299 String nonce,
314 String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce);
319 response += "nonce=" + doubleQuote(nonce) + ", ";
353 String A1, String A2, String nonce, String QOP, String nc, String cnonce) {
359 return KD(H(A1), nonce + ":" + H(A2));
362 return KD(H(A1), nonce + ":" + nc + ":" + cnonce + ":" + QOP + ":" + H(A2));
236 setupDigestAuthResponse(boolean isProxy, String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
296 computeDigestAuthResponse(String username, String password, String realm, String nonce, String QOP, String algorithm, String opaque) argument
352 computeDigest( String A1, String A2, String nonce, String QOP, String nc, String cnonce) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMALTEPhone.java278 public void requestIsimAuthentication(String nonce, Message result) { argument
279 mCi.requestIsimAuthentication(nonce, result);
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteConnectionPool.java597 final int nonce;
640 nonce = waiter.mNonce;
649 if (waiter.mNonce == nonce) {
/frameworks/base/services/java/com/android/server/
H A DMountService.java249 IObbActionListener token, int nonce) {
259 this.nonce = nonce;
273 final int nonce; field in class:MountService.ObbState
1977 String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) {
1983 final ObbState obbState = new ObbState(rawPath, canonicalPath, callingUid, token, nonce);
1992 public void unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) { argument
2004 rawPath, existingState.canonicalPath, callingUid, token, nonce);
2440 obbState.token.onObbResult(obbState.rawPath, obbState.nonce,
2534 mObbState.token.onObbResult(mObbState.rawPath, mObbState.nonce, statu
248 ObbState(String rawPath, String canonicalPath, int callingUid, IObbActionListener token, int nonce) argument
1976 mountObb( String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhone.java1686 * challenge/response algorithm for IMS authentication. The nonce string
1689 * @param nonce the nonce string to pass with the ISIM authentication request
1692 void requestIsimAuthentication(String nonce, Message response); argument
H A DPhoneProxy.java1156 public void requestIsimAuthentication(String nonce, Message response) { argument
1157 mActivePhone.requestIsimAuthentication(nonce, response);
H A DCommandsInterface.java1627 * challenge/response algorithm for IMS authentication. The nonce string
1630 * @param nonce the nonce string to pass with the ISIM authentication request
1633 public void requestIsimAuthentication(String nonce, Message response); argument
H A DPhoneBase.java1335 public void requestIsimAuthentication(String nonce, Message result) { argument
H A DRIL.java4024 public void requestIsimAuthentication(String nonce, Message response) { argument
4027 rr.mParcel.writeString(nonce);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java539 public void requestIsimAuthentication(String nonce, Message response) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java624 public void requestIsimAuthentication(String nonce, Message response) { argument
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java978 String nonce = getNonceFromResponse(response);
979 if (nonce == null) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java1640 public void requestIsimAuthentication(String nonce, Message response) { argument

Completed in 725 milliseconds