Searched refs:result (Results 151 - 175 of 509) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/os/
H A DRuntimeInit.java152 StringBuilder result = new StringBuilder(64);
153 result.append("Dalvik/");
154 result.append(System.getProperty("java.vm.version")); // such as 1.1.0
155 result.append(" (Linux; U; Android ");
158 result.append(version.length() > 0 ? version : "1.0");
164 result.append("; ");
165 result.append(model);
170 result.append(" Build/");
171 result.append(id);
173 result
[all...]
/frameworks/base/tools/aidl/
H A Doptions_test.cpp10 int result; member in struct:Answer
67 int result = parse_options(argc, answer.argv, &options); local
69 // result
70 if (((bool)result) != ((bool)answer.result)) {
71 cout << "mismatch: result: got " << result << " expected " <<
72 answer.result << endl;
76 if (result != 0) {
141 /* result */
243 int result = 0; local
[all...]
/frameworks/base/core/java/android/provider/
H A DDrmStore.java104 Intent result = null;
115 result = addDrmFile(cr, fis, title);
127 return result;
140 Intent result = null;
177 result = new Intent();
178 result.setDataAndType(uri, mimeType);
195 return result;
/frameworks/base/libs/utils/
H A DStreamingZipInflater.cpp159 int result = Z_OK; local
162 result = inflateInit2(&mInflateState, -MAX_WBITS);
165 if (result == Z_OK) result = ::inflate(&mInflateState, Z_SYNC_FLUSH);
166 if (result < 0) {
168 LOGE("Error inflating asset: %d", result);
173 if (result == Z_STREAM_END) {
/frameworks/base/media/libstagefright/
H A DHTTPStream.cpp69 status_t result = UNKNOWN_ERROR; local
74 result = OK;
76 result = -errno;
96 result = -errno;
101 result = OK;
111 result = -errno;
113 result = -error;
124 return result;
131 ssize_t result = 0; local
160 result
[all...]
/frameworks/base/core/java/android/server/search/
H A DSearchables.java85 * TODO: cache the result in the map, and check the map first.
97 // Step 1. Is the result already hashed? (case 1)
98 SearchableInfo result;
100 result = mSearchablesMap.get(activity);
101 if (result != null) return result;
146 result = mSearchablesMap.get(referredActivity);
147 if (result != null) {
148 mSearchablesMap.put(activity, result);
149 return result;
[all...]
/frameworks/base/libs/ui/
H A DOverlay.cpp171 sp<OverlayRef> result; local
181 result = new OverlayRef();
182 result->mOverlayHandle = handle;
183 result->mOverlayChannel = overlay;
184 result->mWidth = w;
185 result->mHeight = h;
186 result->mFormat = f;
187 result->mWidthStride = ws;
188 result->mHeightStride = hs;
190 return result;
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DAdnRecordLoader.java47 Object result; field in class:AdnRecordLoader
69 * Resulting AdnRecord is placed in response.obj.result
88 * Resulting ArrayList&lt;adnRecord> is placed in response.obj.result
148 int[] recordSize = (int[])ar.result;
179 result = null;
183 data = (byte[])(ar.result);
197 result = adn;
214 data = (byte[])(ar.result);
229 // result should have been set in
235 ArrayList<byte[]> datas = (ArrayList<byte[]>)(ar.result);
[all...]
/frameworks/base/tools/aapt/
H A DZipEntry.cpp41 status_t result; local
48 result = mCDE.read(fp);
49 if (result != NO_ERROR) {
51 return result;
64 result = mLFH.read(fp);
65 if (result != NO_ERROR) {
67 return result;
404 status_t result = NO_ERROR; local
411 result = UNKNOWN_ERROR;
417 result
538 status_t result = NO_ERROR; local
[all...]
/frameworks/base/media/libstagefright/rtsp/
H A DMyHandler.h350 int32_t result; local
351 CHECK(msg->findInt32("result", &result));
353 LOGI("connection request completed with result %d (%s)",
354 result, strerror(-result));
356 if (result == OK) {
386 int32_t result; local
387 CHECK(msg->findInt32("result", &result));
484 int32_t result; local
573 int32_t result; local
653 int32_t result; local
881 int32_t result; local
[all...]
/frameworks/base/core/java/android/accounts/
H A DGrantCredentialsPermissionActivity.java135 Intent result = new Intent();
136 result.putExtra("retry", true);
137 setResult(RESULT_OK, result);
138 setAccountAuthenticatorResult(result.getExtras());
149 public final void setAccountAuthenticatorResult(Bundle result) { argument
150 mResultBundle = result;
154 * Sends the result or a {@link AccountManager#ERROR_CODE_CANCELED} error if a
155 * result isn't present.
161 // send the result bundle back if set, otherwise send an error.
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetManager.java65 * When you receive the result from the AppWidget pick activity, if the resultCode is
216 AppWidgetManager result = null;
218 result = ref.get();
220 if (result == null) {
221 result = new AppWidgetManager(context);
222 sManagerCache.put(context, new WeakReference(result));
224 return result;
/frameworks/base/core/java/android/database/
H A DBulkCursorToCursorAdaptor.java184 boolean result = mBulkCursor.deleteRow(mPos);
185 if (result != false) {
202 return result;
244 boolean result = mBulkCursor.updateRows(mUpdatedRows);
246 if (result == true) {
252 return result;
H A DBulkCursorNative.java128 boolean result = updateRows(values);
130 reply.writeInt((result == true ? 1 : 0));
137 boolean result = deleteRow(position);
139 reply.writeInt((result == true ? 1 : 0));
153 boolean result = getWantsAllOnMoveCalls();
155 reply.writeInt(result ? 1 : 0);
253 boolean result = mRemote.transact(COUNT_TRANSACTION, data, reply, 0);
258 if (result == false) {
328 boolean result = mRemote.transact(REQUERY_TRANSACTION, data, reply, 0);
333 if (!result) {
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java87 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
88 // the result.
89 Result result = acquireLock(timeout);
90 if (result != null) {
91 return result;
142 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
143 // the result.
144 Result result = acquireLock(timeout);
145 if (result != null) {
146 return result;
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupManager.java136 int result = -1;
144 result = session.restorePackage(mContext.getPackageName(), observer);
153 return result;
/frameworks/base/core/java/com/android/internal/util/
H A DCharSequences.java120 int myPos = 0, anotherPos = 0, result;
124 if ((result = Character.toLowerCase(me.charAt(myPos++))
126 return result;
/frameworks/base/core/tests/coretests/src/android/net/
H A DUriMatcherTest.java87 int result = mURLMatcher.match(Uri.parse(uri));
88 if (result != expected) {
90 msg += " expected " + expected + " got " + result;
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java134 byte[] result = new byte[size];
135 System.arraycopy(temp, 0, result, 0, size);
139 return result;
/frameworks/base/services/sensorservice/
H A DLinearAccelerationSensor.cpp40 bool result = mGravitySensor.process(outEvent, event); local
41 if (result) {
53 return result;
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DModelInterpreter.java85 int result;
87 result = inStream.read();
89 if (result < 0) {
93 if (ctrlZ && result == 0x1a) {
95 } else if (result == '\r' || result == '\n') {
104 buffer[i++] = (byte)result;
126 InterpreterEx (String result) argument
128 this.result = result;
131 String result; field in class:InterpreterEx
[all...]
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
H A DLargeAssetTest.java46 mResultText = (TextView) findViewById(R.id.result);
98 protected void onPostExecute(Boolean result) { argument
99 CharSequence text = (result) ? "Valid!" : "NOT VALID";
/frameworks/ex/common/java/com/android/common/
H A DRfc822Validator.java76 StringBuilder result = new StringBuilder();
98 result.append(c);
100 return result.toString();
/frameworks/base/core/java/android/bluetooth/
H A DScoSocket.java139 private synchronized void onConnected(int result) { argument
145 if (result >= 0) {
154 private synchronized void onAccepted(int result) { argument
160 if (result >= 0) {
/frameworks/base/core/jni/android/graphics/
H A DMaskFilter.cpp79 result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array)); \
80 if (result < 0) return result
85 int result; local

Completed in 818 milliseconds

1234567891011>>