Searched refs:result (Results 251 - 275 of 1828) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/foundation/
H A DAString.cpp201 int result = snprintf(s, sizeof(s), "%d", x); local
202 CHECK((result > 0) && ((size_t) result) < sizeof(s));
208 int result = snprintf(s, sizeof(s), "%u", x); local
209 CHECK((result > 0) && ((size_t) result) < sizeof(s));
215 int result = snprintf(s, sizeof(s), "%ld", x); local
216 CHECK((result > 0) && ((size_t) result) < sizeof(s));
222 int result local
229 int result = snprintf(s, sizeof(s), "%lld", x); local
236 int result = snprintf(s, sizeof(s), "%llu", x); local
243 int result = snprintf(s, sizeof(s), "%f", x); local
250 int result = snprintf(s, sizeof(s), "%f", x); local
257 int result = snprintf(s, sizeof(s), "%p", x); local
[all...]
/frameworks/wilhelm/src/itf/
H A DIPlay.c33 result = SL_RESULT_SUCCESS;
90 result = SL_RESULT_INTERNAL_ERROR;
109 result = SL_RESULT_PARAMETER_INVALID;
122 result = SL_RESULT_PARAMETER_INVALID;
128 result = SL_RESULT_SUCCESS;
141 result = SL_RESULT_INTERNAL_ERROR;
157 result = SL_RESULT_PARAMETER_INVALID;
159 result = SL_RESULT_SUCCESS;
169 result = android_audioPlayer_getDuration(thiz, &temp);
172 result
[all...]
H A DIRecord.c38 result = SL_RESULT_SUCCESS;
42 result = SL_RESULT_PARAMETER_INVALID;
56 result = SL_RESULT_PARAMETER_INVALID;
62 result = SL_RESULT_SUCCESS;
81 result = SL_RESULT_SUCCESS;
92 result = SL_RESULT_PARAMETER_INVALID;
109 result = SL_RESULT_SUCCESS;
126 result = SL_RESULT_SUCCESS;
143 result = SL_RESULT_PARAMETER_INVALID;
153 result
[all...]
H A DILEDArray.c30 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;
H A DIMIDIMessage.c28 result = SL_RESULT_PARAMETER_INVALID;
31 result = SL_RESULT_FEATURE_UNSUPPORTED;
48 result = SL_RESULT_SUCCESS;
64 result = SL_RESULT_SUCCESS;
89 result = SL_RESULT_SUCCESS;
93 result = SL_RESULT_PARAMETER_INVALID;
109 result = SL_RESULT_SUCCESS;
H A DIPrefetchStatus.c27 result = SL_RESULT_PARAMETER_INVALID;
34 result = SL_RESULT_SUCCESS;
46 result = SL_RESULT_PARAMETER_INVALID;
53 result = SL_RESULT_SUCCESS;
70 result = SL_RESULT_SUCCESS;
81 result = SL_RESULT_PARAMETER_INVALID;
88 result = SL_RESULT_SUCCESS;
102 result = SL_RESULT_PARAMETER_INVALID;
109 result = SL_RESULT_SUCCESS;
121 result
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp107 status_t result = nextBuffer(buf, acquireFence, dataspace); local
108 if (result != NO_ERROR) {
110 strerror(-result), result);
111 return result;
113 result = mHwc.setClientTarget(mDisplayType, acquireFence, buf, dataspace);
114 if (result != NO_ERROR) {
115 ALOGE("error posting framebuffer: %d", result);
117 return result;
210 status_t result local
215 status_t result = releaseBufferLocked(mPreviousBufferSlot, local
246 dumpLocked(String8& result, const char* prefix) const argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkScoreCache.java80 public boolean isScoredNetwork(ScanResult result) { argument
81 return getScoredNetwork(result) != null;
90 public boolean hasScoreCurve(ScanResult result) { argument
91 ScoredNetwork network = getScoredNetwork(result);
95 public int getNetworkScore(ScanResult result) { argument
99 ScoredNetwork network = getScoredNetwork(result);
101 score = network.rssiCurve.lookupScore(result.level);
105 + " RSSI " + result.level);
116 public boolean getMeteredHint(ScanResult result) { argument
117 ScoredNetwork network = getScoredNetwork(result);
121 getNetworkScore(ScanResult result, boolean isActiveNetwork) argument
138 getScoredNetwork(ScanResult result) argument
163 buildNetworkKey(ScanResult result) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DVoice.java200 int result = 1;
201 result = prime * result + ((mFeatures == null) ? 0 : mFeatures.hashCode());
202 result = prime * result + mLatency;
203 result = prime * result + ((mLocale == null) ? 0 : mLocale.hashCode());
204 result = prime * result + ((mName == null) ? 0 : mName.hashCode());
205 result
[all...]
/frameworks/base/packages/Osu/src/com/android/anqp/
H A DOSUProvider.java86 int result = mNames.hashCode();
87 result = 31 * result + mSSID.hashCode();
88 result = 31 * result + mOSUServer.hashCode();
89 result = 31 * result + mOSUMethods.hashCode();
90 result = 31 * result + mIcons.hashCode();
91 result
[all...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DAuthenticationClient.java50 boolean result = false;
72 result = true; // client failed
75 result = true; // client not listening
93 result |= inLockoutMode;
98 result |= true; // we have a valid fingerprint, done
101 return result;
115 final int result = daemon.authenticate(mOpId, getGroupId());
116 if (result != 0) {
117 Slog.w(TAG, "startAuthentication failed, result=" + result);
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DUnaryOp.cpp29 IntOperand* res = result();
38 IntOperand* res = result();
47 IntOperand* res = result();
56 IntOperand* res = result();
66 return result();
72 IntOperand* res = result();
94 IntOperand* res = result();
117 IntOperand* res = result();
127 return result();
135 return result();
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioManager.java267 int result = 1;
268 result = prime * result + mId;
269 result = prime * result + mClassId;
270 result = prime * result + ((mImplementor == null) ? 0 : mImplementor.hashCode());
271 result = prime * result + ((mProduct == null) ? 0 : mProduct.hashCode());
272 result
[all...]
/frameworks/compile/slang/tests/P_reduce_general_accumulator/
H A DScriptC_reduce_general_accumulator.java.expect44 // To obtain the result, invoke get(), which blocks
91 result_int result = reduce_my_half(ain1, null);
92 result.mTempIns = new Allocation[]{ain1};
93 return result;
124 result_int result = reduce_my_half2(ain1, null);
125 result.mTempIns = new Allocation[]{ain1};
126 return result;
157 result_int result = reduce_my_half4(ain1, null);
158 result.mTempIns = new Allocation[]{ain1};
159 return result;
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryLoader.java85 final DirectoryResult result = new DirectoryResult();
86 result.doc = mDoc;
96 result.exception = e;
97 return result;
102 result.sortOrder = mUserSortOrder;
105 result.sortOrder = State.SORT_ORDER_LAST_MODIFIED;
107 result.sortOrder = State.SORT_ORDER_DISPLAY_NAME;
113 result.sortOrder = State.SORT_ORDER_UNKNOWN;
117 Log.d(TAG, "userSortOrder=" + mUserSortOrder + ", sortOrder=" + result.sortOrder);
124 mUri, null, null, null, getQuerySortOrder(result
165 deliverResult(DirectoryResult result) argument
198 onCanceled(DirectoryResult result) argument
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); local
106 assert(SL_RESULT_SUCCESS == result);
353 SLresult result; local
355 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
356 assert(SL_RESULT_SUCCESS == result);
358 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
359 assert(SL_RESULT_SUCCESS == result);
360 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
361 assert(SL_RESULT_SUCCESS == result);
367 result
[all...]
H A Dplaybq.cpp105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); local
106 assert(SL_RESULT_SUCCESS == result);
353 SLresult result; local
355 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
356 assert(SL_RESULT_SUCCESS == result);
358 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
359 assert(SL_RESULT_SUCCESS == result);
360 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
361 assert(SL_RESULT_SUCCESS == result);
367 result
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_MemoryFile.cpp33 int result = ashmem_create_region(namestr, length); local
38 if (result < 0) {
43 return jniCreateFileDescriptor(env, result);
50 void* result = mmap(NULL, length, prot, MAP_SHARED, fd, 0); local
51 if (result == MAP_FAILED) {
54 return reinterpret_cast<jlong>(result);
59 int result = munmap(reinterpret_cast<void *>(addr), length); local
60 if (result < 0)
114 int result = (pin ? ashmem_pin_region(fd, 0, 0) : ashmem_unpin_region(fd, 0, 0)); local
115 if (result <
126 int result = ashmem_get_size_region(fd); local
[all...]
/frameworks/base/tools/aapt2/java/
H A DManifestClassGenerator.cpp33 StringPiece16 result; local
35 result.assign(iter + sep.size(), value.end() - (iter + sep.size()));
37 result = value;
40 if (result.empty()) {
45 iter = util::findNonAlphaNumericAndNotInSet(result, u"_");
46 if (iter != result.end()) {
49 << "' in '" << result << "'");
53 if (*result.begin() >= u'0' && *result.begin() <= u'9') {
58 return result;
69 Maybe<StringPiece16> result = extractJavaIdentifier(diag, source.withLine(el->lineNumber), local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java115 * Decodes the wap push pdu. The decoded result is wrapped inside the {@link DecodedResult}
124 DecodedResult result = new DecodedResult();
150 result.statusCode = Intents.RESULT_SMS_HANDLED;
151 return result;
155 result.statusCode = Intents.RESULT_SMS_HANDLED;
156 return result;
171 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
172 return result;
193 result.statusCode = Intents.RESULT_SMS_GENERIC_ERROR;
194 return result;
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureLibraries.java76 boolean result = false;
81 result = true;
88 return result;
92 boolean result = false;
97 result = true;
105 return result;
128 boolean result = false;
134 result = true;
141 return result;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameQueue.java46 FrameQueue result = new FrameQueue(type, name);
47 buildQueueImpl(result);
48 return result;
57 FrameType result = FrameType.merge(mWriteType, mReadType);
59 result = FrameType.merge(result, queue.mType);
61 return result;
105 Frame result = mFrame;
107 return result;
/frameworks/native/libs/gui/
H A DIGraphicBufferAlloc.cpp58 status_t result = reply.readInt32(); local
59 if (result == NO_ERROR) {
61 result = reply.read(*graphicBuffer);
62 if (result != NO_ERROR) {
69 *error = result;
105 sp<GraphicBuffer> result = local
108 if (result != 0) {
109 reply->write(*result);
116 reply->writeStrongBinder( new BufferReference(result) );
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioSourceDescriptor.cpp36 String8 result; local
39 result.append(buffer);
41 result.append(buffer);
42 write(fd, result.string(), result.size());
/frameworks/base/core/java/android/nfc/
H A DTransceiveResult.java25 * Class used to pipe transceive result from the NFC service.
38 public TransceiveResult(final int result, final byte[] data) { argument
39 mResult = result;
74 int result = in.readInt();
77 if (result == RESULT_SUCCESS) {
84 return new TransceiveResult(result, responseData);

Completed in 447 milliseconds

<<11121314151617181920>>