Searched refs:result (Results 76 - 100 of 2201) sorted by relevance

1234567891011>>

/frameworks/native/libs/gui/
H A DOccupancyTracker.cpp30 status_t result = parcel->writeInt64(totalTime); local
31 if (result != OK) {
32 return result;
34 result = parcel->writeUint64(static_cast<uint64_t>(numFrames));
35 if (result != OK) {
36 return result;
38 result = parcel->writeFloat(occupancyAverage);
39 if (result != OK) {
40 return result;
46 status_t result local
[all...]
H A DISurfaceComposer.cpp150 int32_t result = 0; local
151 err = reply.readInt32(&result);
154 "retrieving result: %s (%d)", strerror(-err), -err);
157 return result != 0;
182 int32_t result = 0; local
183 err = reply.readInt32(&result);
187 if (result != NO_ERROR) {
188 return result;
207 sp<IDisplayEventConnection> result; local
211 return result;
269 status_t result = reply.readInt32(); local
290 status_t result = reply.readInt32(); local
321 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); local
350 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); local
371 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); local
413 status_t result = data.writeStrongBinder(display); local
433 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); local
454 status_t result = data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); local
565 int32_t result = authenticateSurfaceTexture(bufferProducer) ? 1 : 0; local
572 status_t result = getSupportedFrameTimestamps(&supportedTimestamps); local
620 status_t result = getDisplayConfigs(display, &configs); local
635 status_t result = getDisplayStats(display, &stats); local
654 status_t result = setActiveConfig(display, id); local
662 status_t result = data.readStrongBinder(&display); local
680 status_t result = data.readStrongBinder(&display); local
692 status_t result = data.readStrongBinder(&display); local
710 status_t result = clearAnimationFrameStats(); local
717 status_t result = getAnimationFrameStats(&stats); local
732 status_t result = data.readStrongBinder(&display); local
749 status_t result = data.readBool(&enable); local
759 status_t result = data.readInt64(&when); local
[all...]
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsUt.java117 * @param result message to pass the result of this operation
118 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsSsInfo}.
121 public void queryCallBarring(int cbType, Message result) { argument
131 sendFailureReport(result,
136 mPendingCmds.put(Integer.valueOf(id), result);
138 sendFailureReport(result,
146 * The return value of ((AsyncResult)result.obj) is an array of {@link ImsCallForwardInfo}.
149 public void queryCallForward(int condition, String number, Message result) { argument
160 sendFailureReport(result,
178 queryCallWaiting(Message result) argument
205 queryCLIR(Message result) argument
231 queryCLIP(Message result) argument
257 queryCOLR(Message result) argument
283 queryCOLP(Message result) argument
310 updateCallBarring(int cbType, int action, Message result, String[] barrList) argument
348 updateCallForward(int action, int condition, String number, int serviceClass, int timeSeconds, Message result) argument
378 updateCallWaiting(boolean enable, int serviceClass, Message result) argument
406 updateCLIR(int clirMode, Message result) argument
433 updateCLIP(boolean enable, Message result) argument
460 updateCOLR(int presentation, Message result) argument
487 updateCOLP(boolean enable, Message result) argument
510 transact(Bundle ssInfo, Message result) argument
533 sendFailureReport(Message result, ImsReasonInfo error) argument
551 sendSuccessReport(Message result) argument
560 sendSuccessReport(Message result, Object ssInfo) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
H A DPhotoBitmapLoader.java51 BitmapResult result = new BitmapResult();
56 result = ImageUtils.createLocalBitmap(resolver, Uri.parse(mPhotoUri),
58 if (result.bitmap != null) {
59 result.bitmap.setDensity(DisplayMetrics.DENSITY_MEDIUM);
63 result.status = BitmapResult.STATUS_EXCEPTION;
67 return result;
76 public void deliverResult(BitmapResult result) { argument
77 Bitmap bitmap = result != null ? result.bitmap : null;
80 // don't need the result
136 onCanceled(BitmapResult result) argument
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpointCapture.cpp46 aaudio_result_t result = AAudioServiceEndpoint::open(deviceId); local
47 if (result == AAUDIO_OK) {
53 return result;
61 aaudio_result_t result = getStreamInternal()->requestStart(); local
65 // result might be a frame count
66 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) {
68 result = getStreamInternal()->read(mDistributionBuffer, getFramesPerBurst(), timeoutNanos);
69 if (result == AAUDIO_ERROR_DISCONNECTED) {
72 } else if (result != getFramesPerBurst()) {
74 result, getFramesPerBurs
[all...]
H A DAAudioServiceEndpointPlay.cpp50 aaudio_result_t result = AAudioServiceEndpoint::open(deviceId); local
51 if (result == AAUDIO_OK) {
64 return result;
67 // Mix data from each application stream and write result to the shared MMAP stream.
72 aaudio_result_t result = getStreamInternal()->requestStart(); local
76 // result might be a frame count
77 while (mCallbackEnabled.load() && getStreamInternal()->isActive() && (result >= 0)) {
93 result = getStreamInternal()->write(mMixer.getOutputBuffer(),
95 if (result == AAUDIO_ERROR_DISCONNECTED) {
98 } else if (result !
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DIVoiceInteractorCallback.aidl29 in Bundle result);
31 in VoiceInteractor.PickOptionRequest.Option[] selections, in Bundle result);
32 void deliverCompleteVoiceResult(IVoiceInteractorRequest request, in Bundle result);
33 void deliverAbortVoiceResult(IVoiceInteractorRequest request, in Bundle result);
34 void deliverCommandResult(IVoiceInteractorRequest request, boolean finished, in Bundle result);
/frameworks/base/rs/java/android/renderscript/
H A DByte3.java64 Byte3 result = new Byte3();
65 result.x = (byte)(a.x + b.x);
66 result.y = (byte)(a.y + b.y);
67 result.z = (byte)(a.z + b.z);
69 return result;
91 Byte3 result = new Byte3();
92 result.x = (byte)(a.x + b);
93 result.y = (byte)(a.y + b);
94 result.z = (byte)(a.z + b);
96 return result;
[all...]
H A DInt2.java64 Int2 result = new Int2();
65 result.x = a.x + b.x;
66 result.y = a.y + b.y;
68 return result;
89 Int2 result = new Int2();
90 result.x = a.x + b;
91 result.y = a.y + b;
93 return result;
114 Int2 result = new Int2();
115 result
[all...]
H A DLong2.java64 Long2 result = new Long2();
65 result.x = a.x + b.x;
66 result.y = a.y + b.y;
68 return result;
89 Long2 result = new Long2();
90 result.x = a.x + b;
91 result.y = a.y + b;
93 return result;
114 Long2 result = new Long2();
115 result
[all...]
H A DShort2.java67 Short2 result = new Short2();
68 result.x = (short)(a.x + b.x);
69 result.y = (short)(a.y + b.y);
71 return result;
92 Short2 result = new Short2();
93 result.x = (short)(a.x + b);
94 result.y = (short)(a.y + b);
96 return result;
117 Short2 result = new Short2();
118 result
[all...]
H A DInt3.java68 Int3 result = new Int3();
69 result.x = a.x + b.x;
70 result.y = a.y + b.y;
71 result.z = a.z + b.z;
73 return result;
95 Int3 result = new Int3();
96 result.x = a.x + b;
97 result.y = a.y + b;
98 result.z = a.z + b;
100 return result;
[all...]
H A DLong3.java68 Long3 result = new Long3();
69 result.x = a.x + b.x;
70 result.y = a.y + b.y;
71 result.z = a.z + b.z;
73 return result;
95 Long3 result = new Long3();
96 result.x = a.x + b;
97 result.y = a.y + b;
98 result.z = a.z + b;
100 return result;
[all...]
/frameworks/hardware/interfaces/sensorservice/1.0/
H A DISensorManager.hal38 * @return result OK on success or UNKNOWN_ERROR on failure
40 getSensorList() generates (vec<SensorInfo> list, Result result);
47 * @return result OK on success or
51 generates (SensorInfo sensor, Result result);
77 * @return result OK if successful;
85 generates (IDirectReportChannel chan, Result result);
98 * @return result OK if successful;
104 generates (IDirectReportChannel chan, Result result);
115 * @return result OK if successful, BAD_VALUE if callback is null,
119 generates (IEventQueue queue, Result result);
[all...]
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A DUnitTest.java25 private int result; field in class:UnitTest
46 result = initResult;
72 mItem.result = result;
88 if (result == 0) {
91 result = TEST_PASSED;
94 result = TEST_FAILED;
113 return result;
117 result = TEST_FAILED;
122 if (result !
[all...]
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
H A DUnitTest.java24 private int result; field in class:UnitTest
43 result = initResult;
68 mItem.result = result;
83 if (result == 0) {
86 result = 1;
89 result = -1;
108 return result;
112 result = -1;
117 if (result !
[all...]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DUnitTest.java24 private int result; field in class:UnitTest
43 result = initResult;
68 mItem.result = result;
83 if (result == 0) {
86 result = 1;
89 result = -1;
108 return result;
112 result = -1;
117 if (result !
[all...]
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
H A DUnitTest.java25 private int result; field in class:UnitTest
46 result = initResult;
72 mItem.result = result;
88 if (result == 0) {
91 result = TEST_PASSED;
94 result = TEST_FAILED;
113 return result;
117 result = TEST_FAILED;
122 if (result !
[all...]
/frameworks/wilhelm/tests/examples/
H A DslesTestEqOutputPath.cpp38 void ExitOnErrorFunc( SLresult result , int line)
40 if (SL_RESULT_SUCCESS != result) {
41 fprintf(stderr, "%u error code encountered at line %d, exiting\n", result, line);
57 SLresult result; local
87 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
88 ExitOnError(result);
104 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 1, iidArray, required);
105 ExitOnError(result);
108 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
109 ExitOnError(result);
284 SLresult result; local
[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...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dbasic_op_arm_v5.h121 Word32 result; local
126 QADD result, L_var1, L_var2 local
128 return(result);
154 Word32 result; local
160 QSUB result, L_var1, L_var2 local
163 return(result);
188 result = 32-bit result of L_var3 + (var1 * var2)(Word32)
192 Word32 result; local
197 __asm {SMULBB result, var local
225 Word32 result; local
233 QADD result, product, product local
266 Word32 result; local
273 QDSUB result, L_var3, product local
361 Word32 result; local
367 __asm {SMULBB result, L_var1_lo, var2} local
413 Word32 result; local
416 smlabb result, L_var1, L_var2, L_var3 local
423 Word32 result; local
427 smlabb result, L_var1, L_var2, L_var3 local
[all...]
/frameworks/base/core/java/android/companion/
H A DBluetoothDeviceFilterUtils.java53 boolean result = matchesAddress(filter.getDeviceAddress(), device)
55 if (DEBUG) debugLogMatchResult(result, device, filter);
56 return result;
60 final boolean result = deviceAddress == null
62 if (DEBUG) debugLogMatchResult(result, device, deviceAddress);
63 return result;
80 final boolean result = serviceUuid == null ||
85 if (DEBUG) debugLogMatchResult(result, device, serviceUuid);
86 return result;
90 boolean result;
117 debugLogMatchResult( boolean result, BluetoothDevice device, Object criteria) argument
122 debugLogMatchResult( boolean result, ScanResult device, Object criteria) argument
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DLEB128.cpp97 uint64_t result = 0; local
111 result = ((*(pBuf + 3) & 0x7f) << 21) | ((*(pBuf + 2) & 0x7f) << 14) |
127 result |= (static_cast<uint64_t>(byte & 0x7f) << shift);
132 return result;
138 uint64_t result; local
141 result = byte & 0x7f;
143 return result;
146 result |= ((byte & 0x7f) << 7);
148 return result;
151 result |
185 uint64_t result = 0; local
206 uint64_t result = 0; local
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTest_playStates.cpp35 void ExitOnErrorFunc( SLresult result , int line)
37 if (SL_RESULT_SUCCESS != result) {
38 fprintf(stdout, "%u error code encountered at line %d, exiting\n", result, line);
49 SLresult result; local
73 result = (*sl)->GetInterface(sl, SL_IID_ENGINE, (void*)&EngineItf);
74 ExitOnError(result);
86 result = (*EngineItf)->CreateOutputMix(EngineItf, &outputMix, 0, iidArray, required);
87 ExitOnError(result);
90 result = (*outputMix)->Realize(outputMix, SL_BOOLEAN_FALSE);
91 ExitOnError(result);
203 SLresult result; local
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dintbufq.c83 SLresult result; local
87 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
88 checkResult(result);
89 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
90 checkResult(result);
92 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
93 checkResult(result);
97 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputmixObject, 0, NULL, NULL);
98 checkResult(result);
99 result
[all...]

Completed in 1844 milliseconds

1234567891011>>