• Home
  • Raw
  • Download

Lines Matching refs:index

101         ssize_t index = findSession(sessionId);  in closeSession()  local
102 if (index == kNotFound) { in closeSession()
106 mSessions.removeAt(index); in closeSession()
124 ssize_t index = findSession(sessionId); in getKeyRequest() local
125 if (index == kNotFound) { in getKeyRequest()
156 index = mByteArrayProperties.indexOfKey(String8("mock-request")); in getKeyRequest()
157 if (index < 0) { in getKeyRequest()
161 request = mByteArrayProperties.valueAt(index); in getKeyRequest()
164 index = mStringProperties.indexOfKey(String8("mock-defaultUrl")); in getKeyRequest()
165 if (index < 0) { in getKeyRequest()
169 defaultUrl = mStringProperties.valueAt(index); in getKeyRequest()
172 index = mStringProperties.indexOfKey(String8("mock-keyRequestType")); in getKeyRequest()
173 if (index < 0) { in getKeyRequest()
178 atoi(mStringProperties.valueAt(index).string())); in getKeyRequest()
191 ssize_t index = findSession(sessionId); in provideKeyResponse() local
192 if (index == kNotFound) { in provideKeyResponse()
221 ssize_t index = findKeySet(keySetId); in removeKeys() local
222 if (index == kNotFound) { in removeKeys()
226 mKeySets.removeAt(index); in removeKeys()
238 ssize_t index = findSession(sessionId); in restoreKeys() local
239 if (index == kNotFound) { in restoreKeys()
244 index = findKeySet(keySetId); in restoreKeys()
245 if (index == kNotFound) { in restoreKeys()
259 ssize_t index = findSession(sessionId); in queryKeyStatus() local
260 if (index == kNotFound) { in queryKeyStatus()
282 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-request")); in getProvisionRequest() local
283 if (index < 0) { in getProvisionRequest()
287 request = mByteArrayProperties.valueAt(index); in getProvisionRequest()
290 index = mStringProperties.indexOfKey(String8("mock-defaultUrl")); in getProvisionRequest()
291 if (index < 0) { in getProvisionRequest()
295 defaultUrl = mStringProperties.valueAt(index); in getProvisionRequest()
324 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop")); in getSecureStop() local
325 if (index < 0) { in getSecureStop()
329 secureStop = mByteArrayProperties.valueAt(index); in getSecureStop()
344 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop1")); in getSecureStops() local
345 if (index < 0) { in getSecureStops()
349 ss1 = mByteArrayProperties.valueAt(index); in getSecureStops()
352 index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop2")); in getSecureStops()
353 if (index < 0) { in getSecureStops()
357 ss2 = mByteArrayProperties.valueAt(index); in getSecureStops()
388 ssize_t index = mStringProperties.indexOfKey(name); in getPropertyString() local
389 if (index < 0) { in getPropertyString()
393 value = mStringProperties.valueAt(index); in getPropertyString()
401 ssize_t index = mByteArrayProperties.indexOfKey(name); in getPropertyByteArray() local
402 if (index < 0) { in getPropertyByteArray()
406 value = mByteArrayProperties.valueAt(index); in getPropertyByteArray()
423 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-event-session-id")); in setPropertyString() local
424 if (index >= 0) { in setPropertyString()
425 pSessionId = &mByteArrayProperties[index]; in setPropertyString()
429 index = mByteArrayProperties.indexOfKey(String8("mock-event-data")); in setPropertyString()
430 if (index >= 0) { in setPropertyString()
431 pData = &mByteArrayProperties[index]; in setPropertyString()
443 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-event-session-id")); in setPropertyString() local
444 if (index >= 0) { in setPropertyString()
445 pSessionId = &mByteArrayProperties[index]; in setPropertyString()
454 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-event-session-id")); in setPropertyString() local
455 if (index >= 0) { in setPropertyString()
456 pSessionId = &mByteArrayProperties[index]; in setPropertyString()
519 ssize_t index = findSession(sessionId); in setCipherAlgorithm() local
520 if (index == kNotFound) { in setCipherAlgorithm()
539 ssize_t index = findSession(sessionId); in setMacAlgorithm() local
540 if (index == kNotFound) { in setMacAlgorithm()
564 ssize_t index = findSession(sessionId); in encrypt() local
565 if (index == kNotFound) { in encrypt()
580 index = mByteArrayProperties.indexOfKey(String8("mock-output")); in encrypt()
581 if (index < 0) { in encrypt()
585 output = mByteArrayProperties.valueAt(index); in encrypt()
603 ssize_t index = findSession(sessionId); in decrypt() local
604 if (index == kNotFound) { in decrypt()
619 index = mByteArrayProperties.indexOfKey(String8("mock-output")); in decrypt()
620 if (index < 0) { in decrypt()
624 output = mByteArrayProperties.valueAt(index); in decrypt()
640 ssize_t index = findSession(sessionId); in sign() local
641 if (index == kNotFound) { in sign()
654 index = mByteArrayProperties.indexOfKey(String8("mock-signature")); in sign()
655 if (index < 0) { in sign()
659 signature = mByteArrayProperties.valueAt(index); in sign()
677 ssize_t index = findSession(sessionId); in verify() local
678 if (index == kNotFound) { in verify()
693 index = mStringProperties.indexOfKey(String8("mock-match")); in verify()
694 if (index < 0) { in verify()
698 match = atol(mStringProperties.valueAt(index).string()); in verify()