Searched defs:result (Results 226 - 250 of 680) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/utils/
H A DCameraBinderDecorator.java69 public void onAfterInvocation(Method m, Object[] args, Object result) { argument
72 int returnValue = (Integer) result;
157 * As a result of calling any method on the proxy, RemoteException is
/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiRecordListener.java42 * @param recorderAddress An address of recorder that reports result of one touch record
44 * @param result result code. For more details, please look at all constants starting with
52 public void onOneTouchRecordResult(int recorderAddress, int result) { argument
58 * @param recorderAddress An address of recorder that reports result of timer recording
82 static TimerStatusData parseFrom(int result) { argument
85 data.mOverlapped = ((result >> 31) & 0x1) != 0;
87 data.mMediaInfo = (result >> 29) & 0x3;
89 data.mProgrammed = ((result >> 28) & 0x1) != 0;
91 data.mProgrammedInfo = (result >> 2
248 onClearTimerRecordingResult(int recorderAddress, int result) argument
[all...]
/frameworks/base/core/java/android/print/
H A DPrintFileDocumentAdapter.java144 protected void onPostExecute(Void result) { argument
149 protected void onCancelled(Void result) { argument
/frameworks/base/core/java/android/webkit/
H A DJsDialogHelper.java57 public JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, argument
59 mResult = result;
66 public JsDialogHelper(JsPromptResult result, Message msg) { argument
67 mResult = result;
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp52 bool result = family->addFont(minikinFont); local
54 return result;
H A DGraphicsJNI.h155 jbyteArray result = fStorageObj; local
158 return result;
H A DMaskFilter.cpp83 result = android::AndroidRuntime::registerNativeMethods(env, name, array, SK_ARRAY_COUNT(array)); \
84 if (result < 0) return result
88 int result; local
H A DPathEffect.cpp103 result = android::AndroidRuntime::registerNativeMethods(env, name, array, \
105 if (result < 0) return result
109 int result; local
H A DTypefaceImpl.cpp84 FontCollection *result = new FontCollection(typefaces); local
86 return result;
113 TypefaceImpl* result = new TypefaceImpl; local
114 if (result != 0) {
115 result->fFontCollection = resolvedFace->fFontCollection;
116 result->fFontCollection->Ref();
117 result->fSkiaStyle = style;
118 result->fBaseWeight = resolvedFace->fBaseWeight;
119 resolveStyle(result);
121 return result;
126 TypefaceImpl* result = new TypefaceImpl; local
143 TypefaceImpl* result = new TypefaceImpl; local
[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...]
H A Dandroid_os_SystemProperties.cpp73 jint result = defJ; local
84 result = strtol(buf, &end, 0);
86 result = defJ;
93 return result;
103 jlong result = defJ; local
114 result = strtoll(buf, &end, 0);
116 result = defJ;
123 return result;
132 jboolean result = defJ; local
145 result
[all...]
H A Dandroid_server_FingerprintManager.cpp94 int result = vm->AttachCurrentThread(&env, (void*) &args); local
95 if (result != JNI_OK) {
96 ALOGE("Can't call JNI method: attach failed: %#x", result);
198 int result = AndroidRuntime::registerNativeMethods( local
201 return result;
H A Dandroid_util_Log.cpp85 jboolean result = false; local
93 result = isLoggable(chars, level);
97 return result;
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java134 Directions result = l.getLineDirections(0);
136 expectDirections("split line", expected, result);
229 Directions result = l.getLineDirections(0);
230 if (!Arrays.equals(expected.mDirections, result.mDirections)) {
233 hexArray(result.mDirections));
237 private void expectDirections(String msg, Directions expected, Directions result) { argument
238 if (!Arrays.equals(expected.mDirections, result.mDirections)) {
240 " got: " + hexArray(result.mDirections));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java49 RunnerResult result = new RunnerResult();
67 result.status = RESULT_RUNNING;
68 while (!isCancelled() && result.status == RESULT_RUNNING) {
70 result.status = runner[0].determinePostRunState();
71 if (result.status == GraphRunner.RESULT_SLEEPING) {
73 result.status = RESULT_RUNNING;
80 result.status = RESULT_STOPPED;
83 result.exception = exception;
84 result.status = RESULT_ERROR;
91 result
100 onCancelled(RunnerResult result) argument
105 onPostExecute(RunnerResult result) argument
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
H A DCameraBinderTest.java275 public void onResultReceived(CameraMetadataNative result, CaptureResultExtras resultExtras) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraUtilsDecoratorTest.java82 public void onAfterInvocation(Method m, Object[] args, Object result) { argument
84 resultValue = result;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryLoader.java102 final DirectoryResult result = new DirectoryResult();
114 result.exception = e;
115 return result;
133 result.mode = userMode;
136 result.mode = State.MODE_GRID;
138 result.mode = State.MODE_LIST;
143 result.sortOrder = mUserSortOrder;
146 result.sortOrder = State.SORT_ORDER_LAST_MODIFIED;
148 result.sortOrder = State.SORT_ORDER_DISPLAY_NAME;
154 result
205 deliverResult(DirectoryResult result) argument
238 onCanceled(DirectoryResult result) argument
[all...]
H A DRecentLoader.java228 final DirectoryResult result = new DirectoryResult();
229 result.sortOrder = SORT_ORDER_LAST_MODIFIED;
245 final SortingCursorWrapper sorted = new SortingCursorWrapper(merged, result.sortOrder) {
252 result.cursor = sorted;
254 return result;
263 public void deliverResult(DirectoryResult result) { argument
265 IoUtils.closeQuietly(result);
269 mResult = result;
272 super.deliverResult(result);
275 if (oldResult != null && oldResult != result) {
296 onCanceled(DirectoryResult result) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPinView.java175 abstract void onSimCheckResponse(final int result, final int attemptsRemaining); argument
183 final int[] result = ITelephony.Stub.asInterface(ServiceManager
186 Log.v(TAG, "supplyPinReportResult returned: " + result[0] + " " + result[1]);
190 onSimCheckResponse(result[0], result[1]);
249 void onSimCheckResponse(final int result, final int attemptsRemaining) {
256 if (result == PhoneConstants.PIN_RESULT_SUCCESS) {
261 if (result == PhoneConstants.PIN_PASSWORD_INCORRECT) {
277 + " CheckSimPin.onSimCheckResponse: " + result
[all...]
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp93 int result = AndroidBitmap_getInfo(env, jbitmap, &targetInfo); local
94 if (result < 0) {
109 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
110 if (result < 0) {
124 result = AndroidBitmap_unlockPixels(env, jbitmap);
125 if (result < 0) {
133 int result = AndroidBitmap_getInfo(env, jbitmap, &info); local
134 if (result < 0) {
148 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
149 if (result <
[all...]
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java205 protected void onPostExecute(String result) { argument
209 myWebView.loadData(result, "text/html", null);
294 // Checks the user prefs and the network connection. Based on the result, decides
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDeviceSelectAction.java204 private void invokeCallback(int result) { argument
209 mCallback.onComplete(result);
H A DRoutingControlAction.java82 // the result through this callback, not through notification. Any other events that
144 private void finishWithCallback(int result) { argument
145 invokeCallback(result);
198 private void invokeCallback(int result) { argument
203 mCallback.onComplete(result);
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDeviceManager.cpp110 int result = ioctl(fd, ACCESSORY_IS_START_REQUESTED); local
112 return (result == 1);
122 int result = ioctl(fd, ACCESSORY_GET_AUDIO_MODE); local
124 return result;

Completed in 377 milliseconds

1234567891011>>