Home
last modified time | relevance | path

Searched refs:getCookie (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/webkit/
DCookieManager.java164 public abstract String getCookie(String url); in getCookie() method in CookieManager
177 public abstract String getCookie(String url, boolean privateBrowsing); in getCookie() method in CookieManager
189 public synchronized String getCookie(WebAddress uri) { in getCookie() method in CookieManager
190 return getCookie(uri.toString()); in getCookie()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthSessionTest.java149 assertEquals(0, sensor.getCookie()); in testStartNewAuthSession()
155 assertTrue("Cookie must be >0", sensor.getCookie() > 0); in testStartNewAuthSession()
164 eq(sensor.getCookie()), in testStartNewAuthSession()
168 final int cookie1 = session.mPreAuthInfo.eligibleSensors.get(0).getCookie(); in testStartNewAuthSession()
171 if (cookie1 == sensor.getCookie()) { in testStartNewAuthSession()
179 final int cookie2 = session.mPreAuthInfo.eligibleSensors.get(1).getCookie(); in testStartNewAuthSession()
187 verify(sensor.impl).startPreparedClient(eq(sensor.getCookie())); in testStartNewAuthSession()
217 session.onCookieReceived(sensor.getCookie()); in testCancelReducesAppetiteForCookies()
257 assertEquals(0, sensor.getCookie()); in testMultiAuth_fingerprintSensorStartsAfterUINotifies()
265 session.mPreAuthInfo.eligibleSensors.get(sensor.id).getCookie()); in testMultiAuth_fingerprintSensorStartsAfterUINotifies()
[all …]
DBiometricServiceTest.java1668 final int cookie = preAuthInfo.eligibleSensors.get(0).getCookie(); in startPendingAuthSession()
1720 return preAuthInfo.eligibleSensors.get(0).getCookie(); in getCookieForCurrentSession()
1730 return requestWrapper.eligibleSensors.get(0).getCookie(); in getCookieForPendingSession()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerOperationTest.java96 when(mClientMonitor.getCookie()).thenReturn(cookie); in testStartWithCookie()
117 when(mClientMonitor.getCookie()).thenReturn(goodCookie); in testNoStartWithoutCookie()
135 when(mClientMonitor.getCookie()).thenReturn(cookie); in testSecondStartWithCookieCrashesWhenDebuggable()
149 when(mClientMonitor.getCookie()).thenReturn(cookie); in testSecondStartWithCookieFailsNicelyWhenNotDebuggable()
161 when(mClientMonitor.getCookie()).thenReturn(0); in startsWhenReadyAndHalAvailable()
187 when(mClientMonitor.getCookie()).thenReturn(0); in startFailsWhenReadyButHalNotAvailable()
206 when(mClientMonitor.getCookie()).thenReturn(0); in secondStartCrashesWhenDebuggable()
218 when(mClientMonitor.getCookie()).thenReturn(0); in secondStartFailsNicelyWhenNotDebuggable()
232 when(mClientMonitor.getCookie()).thenReturn(9); in doesNotStartWithCookie()
382 when(mClientMonitor.getCookie()).thenReturn(withCookie); in markCancellingAndStart()
DBiometricSchedulerTest.java175 mScheduler.startPreparedClient(client1.getCookie()); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
409 mScheduler.startPreparedClient(client.getCookie()); in testCancelsWhenRequestId()
461 mScheduler.startPreparedClient(client1.getCookie()); in testCancelsPending_whenAuthRequestIdsSet()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DAcquisitionClient.java78 getListener().onError(getSensorId(), getCookie(), in unableToStart()
118 getListener().onError(getSensorId(), getCookie(), errorCode, vendorCode); in onErrorInternal()
152 getListener().onError(getSensorId(), getCookie(), errorCode, 0 /* vendorCode */); in cancelWithoutStarting()
DBiometricSchedulerOperation.java153 final int cookie = mClientMonitor.getCookie(); in isReadyToStart()
179 if (mClientMonitor.getCookie() != 0) { in start()
198 if (mClientMonitor.getCookie() != cookie) { in startWithCookie()
DBaseClientMonitor.java254 public int getCookie() { in getCookie() method in BaseClientMonitor
292 + ", cookie=" + getCookie() in toString()
DRemovalClient.java80 getListener().onError(getSensorId(), getCookie(), in onRemoved()
DAuthenticationClient.java144 return getCookie() != 0; in isBiometricPrompt()
387 getCookie(), in sendCancelOnly()
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java145 textInfos[i].getCookie(), textInfos[i].getSequence()); in onGetSuggestionsMultiple()
418 final int cookie = originalTextInfo.getCookie(); in getSplitWords()
464 final int originalCookie = originalTextInfoParams.mOriginalTextInfo.getCookie(); in reconstructSuggestions()
/frameworks/base/core/java/android/view/textservice/
DTextInfo.java127 public int getCookie() { in getCookie() method in TextInfo
DSuggestionsInfo.java159 public int getCookie() { in getCookie() method in SuggestionsInfo
/frameworks/layoutlib/bridge/src/android/preference/
DPreference_Delegate.java46 Object cookie = bc.getCookie(pref); in getView()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceAuthenticationClient.java283 getListener().onError(getSensorId(), getCookie(), error, 0 /* vendorCode */); in onLockoutTimed()
299 getListener().onError(getSensorId(), getCookie(), error, 0 /* vendorCode */); in onLockoutPermanent()
/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricSensor.java160 int getCookie() { in getCookie() method in BiometricSensor
DPreAuthInfo.java463 + " Waiting for cookie: " + sensor.getCookie()); in numSensorsWaitingForCookie()
DAuthSession.java849 if (sensor.getCookie() == cookie) { in containsCookie()
/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp59 uint64_t getCookie(const sp<IClientManager> &manager, bool *added);
69 uint64_t ClientManagerCookieHolder::getCookie( in getCookie() function in android::hardware::media::bufferpool::V1_0::implementation::ClientManagerCookieHolder
251 uint64_t cookie = mRemoteClientCookies.getCookie(receiver, &added); in registerSender()
/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp61 uint64_t getCookie(const sp<IClientManager> &manager, bool *added);
71 uint64_t ClientManagerCookieHolder::getCookie( in getCookie() function in android::hardware::media::bufferpool::V2_0::implementation::ClientManagerCookieHolder
259 uint64_t cookie = mRemoteClientCookies.getCookie(receiver, &added); in registerSender()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintAuthenticationClient.java397 getListener().onError(getSensorId(), getCookie(), error, 0 /* vendorCode */); in onLockoutTimed()
421 getListener().onError(getSensorId(), getCookie(), error, 0 /* vendorCode */); in onLockoutPermanent()
/frameworks/native/libs/binder/ndk/
Dibinder_internal.h163 void* getCookie() { return mCookie; } in getCookie() function
Dibinder.cpp455 if (recipient->getCookie() == cookie && recipient->getWho() == binder) { in unlinkToDeath()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprint21UdfpsMock.java365 final int cookie = client.getCookie(); in run()
/frameworks/base/core/java/android/widget/
DSpellChecker.java372 if (suggestionsInfo == null || suggestionsInfo.getCookie() != mCookie) { in onGetSuggestionsInternal()

12