Searched defs:result (Results 1 - 25 of 938) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp473 String8 result; local
475 result.append(buffer);
481 result.append(buffer);
483 write(fd, result.string(), result.size());
/frameworks/av/cmds/screenrecord/
H A DEglWindow.cpp100 EGLBoolean result; local
109 result = eglInitialize(mEglDisplay, &majorVersion, &minorVersion);
110 if (result != EGL_TRUE) {
136 result = eglChooseConfig(mEglDisplay,
139 if (result != EGL_TRUE) {
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp324 int result = muxing(argv[0], useAudio, useVideo, outputFileName, local
329 return result;
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp777 int result; local
788 result = reply.readInt32();
789 if (0 < result) {
790 reply.read(buffer, result);
792 return result;
926 bool result = canHandle(uniqueId, path, mimeType); local
928 reply->writeInt32(result);
1118 const int result = checkRightsStatus(uniqueId, path, action); local
1120 reply->writeInt32(result);
1174 bool result local
1527 ssize_t result = pread(uniqueId, &handle, buffer, numBytes, offset); local
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp176 bool result = (EMPTY_STRING != plugInId) ? true : false; local
179 if (result) {
181 result = rDrmEngine.canHandle(uniqueId, path);
185 result = canHandle(uniqueId, path);
189 return result;
203 bool result = false; local
208 result = rDrmEngine.canHandle(uniqueId, path);
210 if (result) {
214 return result;
231 status_t result local
271 status_t result = DRM_ERROR_UNKNOWN; local
282 status_t result = DRM_ERROR_UNKNOWN; local
305 status_t result = DRM_ERROR_UNKNOWN; local
315 status_t result = DRM_ERROR_UNKNOWN; local
403 status_t result = DRM_ERROR_CANNOT_HANDLE; local
431 status_t result = DRM_ERROR_CANNOT_HANDLE; local
460 status_t result = DRM_ERROR_CANNOT_HANDLE; local
489 status_t result = DRM_ERROR_UNKNOWN; local
502 status_t result = DRM_ERROR_UNKNOWN; local
513 status_t result = DRM_ERROR_UNKNOWN; local
526 status_t result = DRM_ERROR_UNKNOWN; local
537 ssize_t result = DECRYPT_FILE_ERROR; local
[all...]
H A DDrmManagerService.cpp344 String8 result; local
350 result.append(buffer);
360 result.append("\nDumping memory:\n");
362 result.append(s.c_str(), s.size());
368 write(fd, result.string(), result.size());
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp126 String8 result = mimeType; local
152 result = String8(pMimeItem->pMimeType);
159 result = String8(mime_type_unsupported);
162 pMimeType, result.string());
164 return result;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp228 bool result = false; local
269 int result = RightsStatus::RIGHTS_INVALID; local
283 result = RightsStatus::RIGHTS_VALID;
288 result = RightsStatus::RIGHTS_INVALID;
293 return result;
388 status_t result = DRM_ERROR_UNKNOWN; local
395 result = DRM_NO_ERROR;
401 return result;
484 status_t result = DRM_ERROR_CANNOT_HANDLE; local
495 return result;
534 status_t result = DRM_ERROR_CANNOT_HANDLE; local
562 status_t result = DRM_ERROR_UNKNOWN; local
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c51 int result = TRUE; local
55 result = FALSE;
62 result = FALSE;
70 return result;
152 int result = FALSE; local
164 result = TRUE;
167 return result;
174 int result = FALSE; local
186 result = FwdLockGlue_ValidatePadding(pData, decryptedKeyLength);
190 return result;
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c172 int result; local
182 result = FALSE;
184 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey,
186 if (result) {
188 result = FALSE;
195 result = FALSE;
205 if (!result) {
211 return result;
370 int result; local
373 result
411 int result; local
[all...]
/frameworks/av/drm/libmediadrm/
H A DCasImpl.cpp42 String8 result; local
44 result.appendFormat("%02x ", sessionId[i]);
46 if (result.isEmpty()) {
47 result.append("(null)");
49 return result;
H A DCrypto.cpp264 ssize_t result = mPlugin->decrypt(secure, key, iv, mode, pattern, srcPtr, subSamples, local
267 return result;
281 status_t result = NO_INIT; local
283 result = mPlugin->setMediaDrmSession(sessionId);
285 return result;
H A DDescramblerImpl.cpp42 String8 result; local
44 result.appendFormat("%02x ", sessionId[i]);
46 if (result.isEmpty()) {
47 result.append("(null)");
49 return result;
71 const String16& mime, bool *result) {
72 *result = mPlugin->requiresSecureDecoderComponent(String8(mime));
78 const DescrambleInfo& info, int32_t *result) {
81 *result = mPlugin->descramble(
93 return getBinderStatus(*result >
70 requiresSecureDecoderComponent( const String16& mime, bool *result) argument
77 descramble( const DescrambleInfo& info, int32_t *result) argument
[all...]
H A DDrm.cpp323 status_t result = mFactory->createDrmPlugin(uuid, &mPlugin); local
330 return result;
H A DICrypto.cpp152 ssize_t result = reply.readInt32(); local
154 if (isCryptoError(result)) {
161 return result;
368 ssize_t result; local
387 result = -EINVAL;
389 result = -EINVAL;
391 result = -EINVAL;
393 result = decrypt(key, iv, mode, pattern, source, offset,
397 reply->writeInt32(result);
399 if (isCryptoError(result)) {
[all...]
H A DIDrm.cpp614 status_t result = openSession(sessionId); local
616 reply->writeInt32(result);
652 status_t result = getKeyRequest(sessionId, initData, mimeType, local
659 reply->writeInt32(result);
669 uint32_t result = provideKeyResponse(sessionId, response, keySetId); local
671 reply->writeInt32(result);
700 status_t result = queryKeyStatus(sessionId, infoMap); local
707 reply->writeInt32(result);
719 status_t result = getProvisionRequest(certType, certAuthority, local
723 reply->writeInt32(result);
734 status_t result = provideProvisionResponse(response, certificate, wrappedKey); local
745 status_t result = getSecureStops(secureStops); local
764 status_t result = getSecureStop(ssid, secureStop); local
791 status_t result = getPropertyString(name, value); local
802 status_t result = getPropertyByteArray(name, value); local
855 uint32_t result = encrypt(sessionId, keyId, input, iv, output); local
869 uint32_t result = decrypt(sessionId, keyId, input, iv, output); local
882 uint32_t result = sign(sessionId, keyId, message, signature); local
897 uint32_t result = verify(sessionId, keyId, message, signature, match); local
911 uint32_t result = signRSA(sessionId, algorithm, message, wrappedKey, signature); local
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.cpp103 String8 result; local
105 result.appendFormat("%02x ", array[i]);
107 if (result.isEmpty()) {
108 result.append("(null)");
110 return result;
329 int result = AES_set_decrypt_key( local
332 mKeyInfo[keyIndex].valid = (result == 0);
464 String8 result("{ ");
466 result.appendFormat("0x%02x ", array[i]);
468 result
475 String8 result; local
[all...]
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockCasPlugin.cpp82 String8 result; local
84 result.appendFormat("%02x ", array[i]);
86 if (result.isEmpty()) {
87 result.append("(null)");
89 return result;
233 String8 result("{ ");
235 result.appendFormat("0x%02x ", array[i]);
237 result += "}";
238 return result;
244 String8 result; local
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoFactory.cpp50 android::status_t result = clearKeyPlugin->getInitStatus(); local
51 if (result == android::OK) {
57 return result;
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp762 String8 result("{ ");
764 result.appendFormat("0x%02x ", array[i]);
766 result += "}";
767 return result;
772 String8 result("{ ");
774 result.appendFormat("%s{name=%s, value=%s}", i > 0 ? ", " : "",
777 return result + " }";
815 String8 result("{ ");
817 result.appendFormat("0x%02x ", array[i]);
819 result
826 String8 result; local
[all...]
/frameworks/av/include/media/
H A DJetPlayer.h109 int result; local
110 result = mPlayer->render();
H A DPluginLoader.h82 T* result = createFactoryFunc(); local
83 return result;
H A DTypeConverter.h120 static bool fromString(const std::string &str, typename Traits::Type &result);
150 char result[64]; local
151 snprintf(result, sizeof(result), "Unknown enum value %d", value);
152 str = result;
157 inline bool TypeConverter<Traits>::fromString(const std::string &str, typename Traits::Type &result) argument
162 result = mTable[i].value;
H A Dconvert.h49 * @param[out] result Converted value if success, undefined on failure.
54 static inline bool convertTo(const srcType &input, dstType &result);
108 static inline bool fromString(const std::string &str, T &result) argument
112 * with this type, thus that the result is undefined. */
133 ss >> std::hex >> result; local
139 ss >> result; local
150 * with this type, thus that the result is undefined. */
167 static inline bool run(const std::string &str, dstType &result) argument
169 return fromString<dstType>(str, result);
177 static inline bool run(const srcType &str, std::string &result) argument
214 convertTo(const srcType &input, dstType &result) argument
234 convertTo(const std::string &str, int16_t &result) argument
266 convertTo(const std::string &str, float &result) argument
296 convertTo(const std::string &str, double &result) argument
328 convertTo(const std::string &str, bool &result) argument
356 convertTo(const bool &isSet, std::string &result) argument
375 convertTo(const std::string &str, std::string &result) argument
[all...]
/frameworks/av/media/libaaudio/examples/input_monitor/src/
H A Dinput_monitor.cpp38 aaudio_result_t result; local
74 result = recorder.open(requestedInputChannelCount, 48000, requestedDataFormat,
76 if (result != AAUDIO_OK) {
77 fprintf(stderr, "ERROR - recorder.open() returned %d\n", result);
117 result = AAUDIO_ERROR_NO_MEMORY;
122 result = recorder.start();
123 if (result != AAUDIO_OK) {
124 fprintf(stderr, "ERROR - recorder.start() returned %d\n", result);
141 result = actual;
167 result
[all...]

Completed in 622 milliseconds

1234567891011>>