Searched defs:result (Results 101 - 125 of 938) sorted by relevance

1234567891011>>

/frameworks/native/include/gui/
H A DIGraphicBufferConsumer.h208 // number of currently acquired buffer slots. Doing so will result in a BAD_VALUE error.
278 void dumpState(String8& result, const char* prefix) { argument
281 result.append(returned);
/frameworks/native/libs/gui/
H A DIProducerListener.cpp43 bool result; local
51 err = reply.readBool(&result);
56 return result;
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp63 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
66 ASSERT_EQ(OK, result)
114 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
117 ASSERT_EQ(OK, result)
128 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
131 ASSERT_EQ(OK, result)
144 status_t result = InputChannel::openInputChannelPair(String8("channel name"), local
147 ASSERT_EQ(OK, result)
/frameworks/native/services/inputflinger/
H A DInputManager.cpp54 status_t result = mDispatcherThread->run("InputDispatcher", PRIORITY_URGENT_DISPLAY); local
55 if (result) {
56 ALOGE("Could not start InputDispatcher thread due to error %d.", result);
57 return result;
60 result = mReaderThread->run("InputReader", PRIORITY_URGENT_DISPLAY);
61 if (result) {
62 ALOGE("Could not start InputReader thread due to error %d.", result);
65 return result;
72 status_t result = mReaderThread->requestExitAndWait(); local
73 if (result) {
[all...]
/frameworks/native/services/inputflinger/host/
H A DInputFlinger.cpp49 String8 result; local
55 result.appendFormat("Permission Denial: "
58 dumpInternal(result);
60 write(fd, result.string(), result.size());
64 void InputFlinger::dumpInternal(String8& result) { argument
65 result.append("INPUT FLINGER (dumpsys inputflinger)\n");
66 mHost->dump(result);
/frameworks/native/services/sensorservice/
H A DLinearAccelerationSensor.cpp52 bool result = mGravitySensor.process(outEvent, event); local
53 if (result && event.type == SENSOR_TYPE_ACCELEROMETER) {
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp63 JNIObject<jbyteArray> result = helper.newByteArray(read); local
64 if (result.isNull()) {
67 return result.detach();
70 helper.setByteArrayRegion(result, 0, read, (jbyte*)buf);
72 return result.detach();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DResultException.java30 public ResultException(ResultCode result) { argument
36 switch (result) {
46 "For result code, " + result +
52 mResult = result;
57 public ResultException(ResultCode result, String explanation) { argument
58 this(result);
62 public ResultException(ResultCode result, int additionalInfo) { argument
63 this(result);
73 public ResultException(ResultCode result, in argument
78 public ResultCode result() { method in class:ResultException
[all...]
/frameworks/support/media-compat/api23/android/support/v4/media/
H A DMediaBrowserServiceCompatApi23.java33 void onLoadItem(String itemId, ResultWrapper<Parcel> result); argument
43 public void onLoadItem(String itemId, Result<MediaBrowser.MediaItem> result) { argument
45 new ResultWrapper<Parcel>(result));
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DStubMediaBrowserServiceCompatWithDelayedMediaSession.java55 @NonNull Result<List<MediaBrowserCompat.MediaItem>> result) {
56 result.detach();
54 onLoadChildren(@onNull String parentId, @NonNull Result<List<MediaBrowserCompat.MediaItem>> result) argument
/frameworks/wilhelm/src/itf/
H A DIAudioDecoderCapabilities.cpp28 result = SL_RESULT_PARAMETER_INVALID;
30 result = SL_RESULT_SUCCESS;
37 result = SL_RESULT_PARAMETER_INVALID;
54 result = GetCodecCapabilities(decoderId, pIndex, pDescriptor, DecoderDescriptors); local
H A DIAudioEncoderCapabilities.cpp28 result = SL_RESULT_PARAMETER_INVALID;
30 result = SL_RESULT_SUCCESS;
37 result = SL_RESULT_PARAMETER_INVALID;
54 result = GetCodecCapabilities(encoderId, pIndex, pDescriptor, local
H A DILEDArray.cpp30 result = SL_RESULT_SUCCESS;
41 result = SL_RESULT_PARAMETER_INVALID;
48 result = SL_RESULT_SUCCESS;
59 result = SL_RESULT_PARAMETER_INVALID; local
75 result = SL_RESULT_SUCCESS;
87 result = SL_RESULT_PARAMETER_INVALID;
95 result = SL_RESULT_SUCCESS;
/frameworks/wilhelm/src/objects/
H A DCAudioPlayer.cpp27 SLresult result = SL_RESULT_SUCCESS; local
30 result = android_audioPlayer_realize(thiz, async);
34 result = SndFile_Realize(thiz);
41 return result;
H A DCOutputMix.cpp26 SLresult result = SL_RESULT_SUCCESS; local
30 result = android_outputMix_realize(thiz, async);
33 return result;
/frameworks/wilhelm/src/
H A Dsl_entry.cpp27 result = liCreateEngine(pEngine, numOptions, pEngineOptions, numInterfaces, pInterfaceIds, local
41 result = liQueryNumSupportedInterfaces(pNumSupportedInterfaces, local
57 result = liQuerySupportedInterfaces(index, pInterfaceId, objectIDtoClass(SL_OBJECTID_ENGINE)); local
H A Dtrace.cpp41 void slTraceLeaveGlobal(const char *function, SLresult result) argument
43 if (SL_RESULT_SUCCESS == result) {
49 const char *str = slesutResultToString(result);
53 SL_LOGW("Leaving %s (0x%X)", function, result);
86 void slTraceLeaveInterface(const char *function, SLresult result) argument
101 if (SL_RESULT_SUCCESS == result) {
112 const char *str = slesutResultToString(result);
119 &underscore[1], result);
125 SL_LOGW("Leaving %s (0x%X)", function, result);
H A Dxa_entry.cpp27 result = liCreateEngine((SLObjectItf *) pEngine, numOptions, local
42 result = liQueryNumSupportedInterfaces(pNumSupportedInterfaces, local
56 result = liQuerySupportedInterfaces(index, (SLInterfaceID *) pInterfaceId, local
/frameworks/wilhelm/tests/sandbox/
H A Dengine.c27 SLresult result; local
29 result = slQueryNumSupportedEngineInterfaces(&numSupportedInterfaces);
30 assert(SL_RESULT_SUCCESS == result);
31 result = slQueryNumSupportedEngineInterfaces(NULL);
32 assert(SL_RESULT_PARAMETER_INVALID == result);
45 result = slQuerySupportedEngineInterfaces(index, &interfaceID);
47 assert(SL_RESULT_SUCCESS == result);
53 assert(SL_RESULT_PARAMETER_INVALID == result);
55 result = slQuerySupportedEngineInterfaces(index, NULL);
56 assert(SL_RESULT_PARAMETER_INVALID == result);
[all...]
H A Dsrcsink.c26 SLresult result; local
30 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
31 assert(SL_RESULT_SUCCESS == result);
33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
34 assert(SL_RESULT_SUCCESS == result);
35 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
36 assert(SL_RESULT_SUCCESS == result);
66 result = (*engineEngine)->CreateAudioPlayer(engineEngine, &playerObject, &audioSrc,
68 assert(SL_RESULT_PARAMETER_INVALID == result);
73 result
[all...]
/frameworks/av/drm/libmediadrm/
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...]
/frameworks/av/media/libaaudio/src/binding/
H A DAudioEndpointParcelable.cpp89 aaudio_result_t result = mUpMessageQueueParcelable.resolve(mSharedMemories, local
91 if (result != AAUDIO_OK) return result;
92 result = mDownMessageQueueParcelable.resolve(mSharedMemories,
94 if (result != AAUDIO_OK) return result;
96 result = mDownDataQueueParcelable.resolve(mSharedMemories,
98 return result;
111 aaudio_result_t result; local
117 result
[all...]
H A DIAAudioService.cpp104 aaudio_result_t result; local
105 err = reply.readInt32(&result);
109 } else if (result != AAUDIO_OK) {
110 ALOGE("BpAAudioService::client GET_STREAM_DESCRIPTION passed result %d", result);
111 return result;
119 result = parcelable.validate();
120 if (result != AAUDIO_OK) {
121 ALOGE("BpAAudioService::client GET_STREAM_DESCRIPTION validation fails %d", result);
122 return result;
246 aaudio_result_t result; local
[all...]
/frameworks/av/media/libaaudio/src/core/
H A DAudioStreamBuilder.cpp54 aaudio_result_t result = AAUDIO_OK; local
78 result = AAUDIO_ERROR_ILLEGAL_ARGUMENT;
80 return result;
119 aaudio_result_t result = builder_createStream(getDirection(), sharingMode, local
121 if (result == AAUDIO_OK) {
123 result = audioStream->open(*this);
124 if (result == AAUDIO_OK) {
134 result = builder_createStream(getDirection(), sharingMode,
136 if (result == AAUDIO_OK) {
137 result
[all...]
/frameworks/av/media/libaudiohal/
H A DEffectBufferHalLocal.cpp74 bool result = mFrameCountChanged; local
76 return result;

Completed in 2117 milliseconds

1234567891011>>