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

1234567891011>>

/frameworks/base/services/core/java/com/android/server/hdmi/
H A DActiveSourceHandler.java97 private void invokeCallback(int result) { argument
102 mCallback.onComplete(result);
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsMeasurementsProvider.java59 protected ListenerOperation<IGpsMeasurementsListener> getHandlerOperation(int result) { argument
61 switch (result) {
74 Log.v(TAG, "Unhandled addListener result: " + result);
H A DGpsNavigationMessageProvider.java60 protected ListenerOperation<IGpsNavigationMessageListener> getHandlerOperation(int result) { argument
62 switch (result) {
75 Log.v(TAG, "Unhandled addListener result: " + result);
/frameworks/base/services/tests/servicestests/src/com/android/server/notification/
H A DValidateNotificationPeopleTest.java32 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
33 assertNull("lack of extra should return null", result);
41 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
42 assertStringArrayEquals("string should be in result[0]", expected, result);
50 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
51 assertStringArrayEquals("char[] should be in result[0]", expected, result);
59 String[] result = ValidateNotificationPeople.getExtraPeople(bundle);
60 assertStringArrayEquals("charSequence should be in result[
147 assertStringArrayEquals(String message, String[] expected, String[] result) argument
[all...]
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java62 public static void dumpResult(String tag, boolean result, String outputFile) { argument
70 if (result) {
77 if (result) {
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppLoadingScreen.java100 protected void onPostExecute(Boolean result) { argument
/frameworks/base/tools/aapt/tests/
H A DCrunchCache_test.cpp58 int result = cc.crunch(cu); local
59 cout << ((result > 0) ? "PASSED" : "FAILED") << endl;
60 errno += ((result > 0) ? 0 : 1);
63 expectEqual(result, EXPECTED_RESULT, "number of files touched");
74 result = cc.crunch(cu, true);
75 expectEqual(result, EXPECTED_OVERWRITES, "number of files touched with overwrite");
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp134 int result = 0; local
137 result = 1;
141 if (result) {
146 return result;
/frameworks/compile/libbcc/lib/ExecutionEngine/
H A DObjectLoader.cpp33 ObjectLoader *result = NULL; local
42 // Create result object
43 result = new (std::nothrow) ObjectLoader();
44 if (result == NULL) {
52 result->mImpl = new (std::nothrow) ELFObjectLoaderImpl();
53 if (result->mImpl == NULL) {
59 if (!result->mImpl->load(pMemStart, pMemSize)) {
65 if (!result->mImpl->relocate(pResolver)) {
81 result->mDebugImage = new (std::nothrow) uint8_t [ pMemSize ];
82 if (result
108 ObjectLoader *result = NULL; local
[all...]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
H A Dparameters.cpp30 double result = pf[0] * ppd[1][1] * s.c * us * l; local
31 return result;
44 double result = test_parameters(&f, d, s); local
45 return(result == 0 ? 0 : -1);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DTreeAllocator.h42 NodeType* result = Alloc::allocate(); local
43 Alloc::construct(result);
44 return result;
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOTPLT.cpp42 uint64_t result = 0; local
46 result += got->size();
48 return result;
/frameworks/compile/mclinker/unittests/
H A DGCFactoryListTraitsTest.h65 Node *result = allocate(); local
66 new (result) Node(pInit);
67 return result;
H A DLEB128Test.cpp48 leb128::ByteType *result; local
51 result = buffer;
52 size = leb128::encode<uint32_t>(result, 2);
54 ASSERT_EQ(result, buffer + 1);
57 result = buffer;
58 size = leb128::encode<uint32_t>(result, 127);
60 ASSERT_EQ(result, buffer + 1);
63 result = buffer;
64 size = leb128::encode<uint32_t>(result, 128);
67 ASSERT_EQ(result, buffe
94 leb128::ByteType *result; local
140 leb128::ByteType *result; local
302 leb128::ByteType *result; local
419 leb128::ByteType *result; local
466 leb128::ByteType *result; local
501 leb128::ByteType *result; local
517 char *result; local
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferAlloc.cpp55 status_t result = reply.readInt32(); local
56 if (result == NO_ERROR) {
58 result = reply.read(*graphicBuffer);
63 *error = result;
96 sp<GraphicBuffer> result = local
99 if (result != 0) {
100 reply->write(*result);
107 reply->writeStrongBinder( new BufferReference(result) );
/frameworks/native/libs/gui/tests/
H A DSurface_test.cpp69 int result = -123; local
71 &result);
73 EXPECT_EQ(1, result);
80 int result = -123; local
82 &result);
84 EXPECT_EQ(1, result);
133 int result = -123; local
134 int err = anw->query(anw.get(), NATIVE_WINDOW_CONCRETE_TYPE, &result);
136 EXPECT_EQ(NATIVE_WINDOW_SURFACE, result);
/frameworks/native/services/batteryservice/
H A DIBatteryPropertiesRegistrar.cpp93 status_t result = getProperty(id, &val); local
95 reply->writeInt32(result);
/frameworks/native/services/sensorservice/
H A DLinearAccelerationSensor.cpp41 bool result = mGravitySensor.process(outEvent, event); local
42 if (result && event.type == SENSOR_TYPE_ACCELEROMETER) {
/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/rs/cpu_ref/linkloader/include/impl/
H A DELFSectionSymTab.hxx33 size_t result = 0; local
36 result++;
39 return result;
44 size_t result = 0; local
47 result++;
50 return result;
/frameworks/wilhelm/src/itf/
H A DIAndroidEffectCapabilities.c28 result = SL_RESULT_PARAMETER_INVALID;
34 result = SL_RESULT_SUCCESS;
51 result = SL_RESULT_PARAMETER_INVALID;
67 result = SL_RESULT_SUCCESS;
93 SLresult result = android_genericFx_queryNumEffects(&numEffects); local
94 if (SL_RESULT_SUCCESS != result) {
95 SL_LOGE("android_genericFx_queryNumEffects %u", result);
107 // Remember the first failing result code, but keep going
108 if (SL_RESULT_SUCCESS == result) {
109 result
[all...]
H A DIMetadataTraversal.c34 result = SL_RESULT_SUCCESS;
38 result = SL_RESULT_PARAMETER_INVALID;
51 result = SL_RESULT_PARAMETER_INVALID;
58 result = SL_RESULT_SUCCESS;
71 result = SL_RESULT_PARAMETER_INVALID;
78 result = SL_RESULT_SUCCESS;
91 result = SL_RESULT_FEATURE_UNSUPPORTED; local
106 result = SL_RESULT_PARAMETER_INVALID;
/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 Dobject.c26 SLresult result; local
31 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
32 assert(SL_RESULT_SUCCESS == result);
33 result = (*engineObject)->Realize(engineObject, SL_BOOLEAN_FALSE);
34 assert(SL_RESULT_SUCCESS == result);
36 result = (*engineObject)->GetInterface(engineObject, SL_IID_ENGINE, &engineEngine);
37 assert(SL_RESULT_SUCCESS == result);
53 result = (*engineEngine)->QueryNumSupportedInterfaces(engineEngine, objectID, NULL);
54 assert(SL_RESULT_PARAMETER_INVALID == result);
56 result
[all...]
H A Dxa.c25 XAresult result; local
28 result = xaCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
29 printf("result = %d\n", result);
30 assert(XA_RESULT_SUCCESS == result);
33 result = (*engineObject)->Realize(engineObject, XA_BOOLEAN_FALSE);
34 printf("result = %d\n", result);
37 result = (*engineObject)->GetInterface(engineObject, XA_IID_ENGINE, &engineEngine);
38 printf("result
[all...]

Completed in 2345 milliseconds

1234567891011>>