/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | FakeGateKeeperService.java | 34 public long sid; field in class:FakeGateKeeperService.VerifyHandle 36 public VerifyHandle(byte[] password, long sid) { argument 38 this.sid = sid; 46 sid = buffer.getLong(); 54 buffer.putLong(sid); 62 public long sid; field in class:FakeGateKeeperService.AuthToken 64 public AuthToken(long challenge, long sid) { argument 66 this.sid = sid; 152 getAuthTokenForSid(long sid) argument 188 refreshSid(int uid, long sid, boolean force) argument [all...] |
H A D | MockSyntheticPasswordManager.java | 62 long sid = buffer.getLong(); 66 if (sid != 0 && mGateKeeper.getAuthTokenForSid(sid) == null) { 73 protected byte[] createSPBlob(String blobKeyName, byte[] data, byte[] applicationId, long sid) { argument 80 buffer.putLong(sid); 92 return new FakeGateKeeperService.VerifyHandle(handle).sid;
|
H A D | LockSettingsServiceTests.java | 73 final long sid = 1234; 75 initializeStorageWithCredential(PRIMARY_USER_ID, "password", CREDENTIAL_TYPE_PASSWORD, sid); 84 assertVerifyCredentials(PRIMARY_USER_ID, "password", CREDENTIAL_TYPE_PASSWORD, sid); 203 final long sid = 1234; 204 initializeStorageWithCredential(userId, oldCredential, oldType, sid); 206 assertVerifyCredentials(userId, newCredential, newType, sid); 209 private void assertVerifyCredentials(int userId, String credential, int type, long sid) argument 216 if (sid != -1) assertEquals(sid, mGateKeeperService.getSecureUserId(userId)); 239 private void initializeStorageWithCredential(int userId, String credential, int type, long sid) argument [all...] |
H A D | SyntheticPasswordTests.java | 94 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); 100 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); 123 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); 129 assertEquals(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); 149 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); 160 assertNotSame(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); 168 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); 179 assertNotSame(sid, mGateKeeperService.getSecureUserId(PRIMARY_USER_ID)); 187 long sid = mGateKeeperService.getSecureUserId(PRIMARY_USER_ID); 192 assertNotSame(sid ,mGateKeeperServic [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | KeymasterUtils.java | 126 long sid; 128 sid = boundToSpecificSecureUserId; 132 sid = fingerprintOnlySid; 136 sid = getRootSid(); 140 KeymasterDefs.KM_TAG_USER_SECURE_ID, KeymasterArguments.toUint64(sid)); 147 long sid; 149 sid = boundToSpecificSecureUserId; 153 sid = getRootSid(); 156 KeymasterArguments.toUint64(sid));
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SampleMediaRouteProvider.java | 346 String sid = intent.getStringExtra(MediaControlIntent.EXTRA_SESSION_ID); 347 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { 348 Log.d(TAG, "handlePlay fails because of bad sid="+sid); 358 String sid = intent.getStringExtra(MediaControlIntent.EXTRA_SESSION_ID); 359 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { 360 Log.d(TAG, "handleEnqueue fails because of bad sid="+sid); 591 handleSessionStatusChange(String sid) argument [all...] |
H A D | SessionManager.java | 233 MediaSessionStatus getSessionStatus(String sid) { argument 234 int sessionState = (sid != null && sid.equals(mSessionId)) ?
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | SampleMediaRouteProvider.java | 346 String sid = intent.getStringExtra(MediaControlIntent.EXTRA_SESSION_ID); 347 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { 348 Log.d(TAG, "handlePlay fails because of bad sid="+sid); 358 String sid = intent.getStringExtra(MediaControlIntent.EXTRA_SESSION_ID); 359 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { 360 Log.d(TAG, "handleEnqueue fails because of bad sid="+sid); 591 handleSessionStatusChange(String sid) argument [all...] |
H A D | SessionManager.java | 233 MediaSessionStatus getSessionStatus(String sid) { argument 234 int sessionState = (sid != null && sid.equals(mSessionId)) ?
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | HbpcdUtils.java | 42 public int getMcc(int sid, int tz, int DSTflag, boolean isNitzTimeZone) { argument 52 ArbitraryMccSidMatch.SID + "=" + sid, null, null); 78 MccSidConflicts.SID_CONFLICT + "=" + sid + " and (((" + 90 if (DBG) Rlog.d(LOG_TAG, "Query conflict sid returned the cursor " + c3); 113 MccSidRange.RANGE_LOW + "<=" + sid + " and " + 114 MccSidRange.RANGE_HIGH + ">=" + sid,
|
H A D | ServiceStateTracker.java | 1498 private boolean isHomeSid(int sid) { argument 1501 if (sid == mHomeSystemId[i]) { 1584 String[] sid = sidStr.split(","); 1585 mHomeSystemId = new int[sid.length]; 1586 for (int i = 0; i < sid.length; i++) { 1588 mHomeSystemId[i] = Integer.parseInt(sid[i]); 2853 int sid = mSS.getSystemId(); 2854 operatorNumeric = fixUnknownMcc(operatorNumeric, sid); 3077 * @return true if provided sid/nid pair belongs to operator's home network. 3079 private boolean isInHomeSidNid(int sid, in argument 3120 fixUnknownMcc(String operatorNumeric, int sid) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_locksettings_SyntheticPasswordManager.cpp | 43 jlong sid = handle->user_id; local 45 return sid;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | CellIdentityCdma.java | 68 * @param sid CDMA System Id 0..32767 77 public CellIdentityCdma (int nid, int sid, int bid, int lon, int lat) { argument 79 mSystemId = sid;
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | SyntheticPasswordCrypto.java | 147 public static byte[] createBlob(String keyAlias, byte[] data, byte[] applicationId, long sid) { argument 158 if (sid != 0) { 160 .setBoundToSpecificSecureUserId(sid)
|
H A D | SyntheticPasswordManager.java | 585 final long sid; 600 sid = GateKeeper.INVALID_SECURE_USER_ID; 614 sid = sidFromPasswordHandle(pwd.passwordHandle); 622 applicationId, sid, userId); 763 byte[] applicationId, long sid, int userId) { 770 byte[] content = createSPBlob(getHandleName(handle), secret, applicationId, sid); 796 final long sid; 809 sid = GateKeeper.INVALID_SECURE_USER_ID; 842 sid = sidFromPasswordHandle(pwd.passwordHandle); 848 applicationId, sid, userI 762 createSyntheticPasswordBlob(long handle, byte type, AuthenticationToken authToken, byte[] applicationId, long sid, int userId) argument 898 unwrapSyntheticPasswordBlob(long handle, byte type, byte[] applicationId, long sid, int userId) argument 1058 createSPBlob(String blobKeyName, byte[] data, byte[] applicationId, long sid) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | RenderScript.java | 847 native long rsnScriptKernelIDCreate(long con, long sid, int slot, int sig); argument 848 synchronized long nScriptKernelIDCreate(long sid, int slot, int sig) { argument 850 return rsnScriptKernelIDCreate(mContext, sid, slot, sig); 853 native long rsnScriptInvokeIDCreate(long con, long sid, int slot); argument 854 synchronized long nScriptInvokeIDCreate(long sid, int slot) { argument 856 return rsnScriptInvokeIDCreate(mContext, sid, slot); 859 native long rsnScriptFieldIDCreate(long con, long sid, int slot); argument 860 synchronized long nScriptFieldIDCreate(long sid, int slot) { argument 862 return rsnScriptFieldIDCreate(mContext, sid, slot);
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
H A D | RenderScript.java | 810 native long rsnScriptKernelIDCreate(long con, long sid, int slot, int sig, boolean mUseInc); argument 811 synchronized long nScriptKernelIDCreate(long sid, int slot, int sig, boolean mUseInc) { argument 817 return rsnScriptKernelIDCreate(curCon, sid, slot, sig, mUseInc); 820 native long rsnScriptInvokeIDCreate(long con, long sid, int slot); argument 821 synchronized long nScriptInvokeIDCreate(long sid, int slot) { argument 823 return rsnScriptInvokeIDCreate(mContext, sid, slot); 826 native long rsnScriptFieldIDCreate(long con, long sid, int slot, boolean mUseInc); argument 827 synchronized long nScriptFieldIDCreate(long sid, int slot, boolean mUseInc) { argument 833 return rsnScriptFieldIDCreate(curCon, sid, slot, mUseInc);
|
/frameworks/rs/ |
H A D | rs.spec | 489 param RsScript sid 497 param RsScript sid
|
H A D | rsApiStubs.h | 96 extern "C" RsScriptKernelID rsScriptKernelIDCreate (RsContext rsc, RsScript sid, int slot, int sig); 98 extern "C" RsScriptFieldID rsScriptFieldIDCreate (RsContext rsc, RsScript sid, int slot);
|
H A D | rsApiStubs.cpp | 567 extern "C" RsScriptKernelID rsScriptKernelIDCreate (RsContext ctxWrapper, RsScript sid, int slot, int sig) argument 569 return RS_DISPATCH(ctxWrapper, ScriptKernelIDCreate, sid, slot, sig); 572 extern "C" RsScriptFieldID rsScriptFieldIDCreate (RsContext ctxWrapper, RsScript sid, int slot) argument 574 return RS_DISPATCH(ctxWrapper, ScriptFieldIDCreate, sid, slot);
|
/frameworks/rs/support/jni/ |
H A D | android_renderscript_RenderScript.cpp | 1911 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig, jboolean mUseInc) argument 1914 (void *)sid, slot, sig); 1916 return (jlong)(uintptr_t)dispatchTabInc.ScriptKernelIDCreate((RsContext)con, (RsScript)sid, 1919 return (jlong)(uintptr_t)dispatchTab.ScriptKernelIDCreate((RsContext)con, (RsScript)sid, 1925 nScriptInvokeIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) argument 1928 (void *)sid, slot); 1929 return (jlong)dispatchTab.ScriptInvokeIDCreate((RsContext)con, (RsScript)sid, slot); 1933 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jboolean mUseInc) argument 1935 LOG_API("nScriptFieldIDCreate, con(%p) script(%p), slot(%i)", (RsContext)con, (void *)sid, slot); 1937 return (jlong)(uintptr_t)dispatchTabInc.ScriptFieldIDCreate((RsContext)con, (RsScript)sid, slo [all...] |
/frameworks/base/rs/jni/ |
H A D | android_renderscript_RenderScript.cpp | 2261 nScriptKernelIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot, jint sig) argument 2265 (void *)sid, slot, sig); 2267 return (jlong)(uintptr_t)rsScriptKernelIDCreate((RsContext)con, (RsScript)sid, slot, sig); 2271 nScriptInvokeIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) argument 2275 (void *)sid, slot); 2277 return (jlong)(uintptr_t)rsScriptInvokeIDCreate((RsContext)con, (RsScript)sid, slot); 2281 nScriptFieldIDCreate(JNIEnv *_env, jobject _this, jlong con, jlong sid, jint slot) argument 2284 ALOGD("nScriptFieldIDCreate, con(%p) script(%p), slot(%i)", (RsContext)con, (void *)sid, 2287 return (jlong)(uintptr_t)rsScriptFieldIDCreate((RsContext)con, (RsScript)sid, slot);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | RuimRecords.java | 421 int sid = ((data[1] & 0xFF) << 8) | (data[0] & 0xFF); 423 sidBuf.append(sid).append(',');
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 708 status_t SurfaceComposerClient::destroySurface(const sp<IBinder>& sid) { argument 711 status_t err = mClient->destroySurface(sid);
|