Searched refs:result (Results 1 - 25 of 72) sorted by relevance

123

/development/tools/jdwpspy/
H A DCommon.h38 u2 result; local
40 result = *pSrc++ << 8;
41 result |= *pSrc++;
43 return result;
51 u4 result; local
53 result = *pSrc++ << 24;
54 result |= *pSrc++ << 16;
55 result |= *pSrc++ << 8;
56 result |= *pSrc++;
58 return result;
66 u8 result; local
[all...]
/development/ndk/platforms/android-9/samples/native-audio/jni/
H A Dnative-audio-jni.c122 SLresult result; local
124 result = (*bqPlayerBufferQueue)->Enqueue(bqPlayerBufferQueue, nextBuffer, nextSize);
125 // the most likely other result is SL_RESULT_BUFFER_INSUFFICIENT,
127 assert(SL_RESULT_SUCCESS == result);
139 SLresult result; local
140 result = (*recorderRecord)->SetRecordState(recorderRecord, SL_RECORDSTATE_STOPPED);
141 if (SL_RESULT_SUCCESS == result) {
151 SLresult result; local
154 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL);
155 assert(SL_RESULT_SUCCESS == result);
194 SLresult result; local
259 SLresult result; local
321 SLresult result; local
340 SLresult result; local
370 SLresult result; local
381 SLresult result; local
392 SLresult result; local
423 SLresult result; local
434 SLresult result; local
445 SLresult result; local
456 SLresult result; local
468 SLresult result; local
530 SLresult result; local
545 SLresult result; local
618 SLresult result; local
636 SLresult result; local
687 SLresult result; local
[all...]
/development/testrunner/tests/
H A Dam_instrument_parser_tests.py27 result="""INSTRUMENTATION_RESULT: performance.java_size=4871
34 am_instrument_parser._ParseInstrumentationFinishedBundle(result)
76 result = am_instrument_parser.TestResult(segment1)
77 map = result.GetResultFields()
83 self.assertEquals(1, result.GetStatusCode())
85 result = am_instrument_parser.TestResult(segment2)
86 map = result.GetResultFields()
94 self.assertEquals(0, result.GetStatusCode())
96 result = am_instrument_parser.TestResult(segment3)
97 map = result
[all...]
/development/samples/ApiDemos/src/com/example/android/apis/view/
H A DLabelView.java138 int result = 0;
144 result = specSize;
147 result = (int) mTextPaint.measureText(mText) + getPaddingLeft()
151 result = Math.min(result, specSize);
155 return result;
164 int result = 0;
171 result = specSize;
174 result = (int) (-mAscent + mTextPaint.descent()) + getPaddingTop()
178 result
[all...]
/development/samples/SimpleJNI/jni/
H A Dnative.cpp26 int result = a + b; local
27 ALOGI("%d + %d = %d", a, b, result);
28 return result;
89 jint result = -1; local
105 result = JNI_VERSION_1_4;
108 return result;
/development/tools/findunused/
H A Dfind_unused_resources.rb36 result = Array.new
40 result << path
46 result
76 result = Array.new
81 result << matchData[1].to_s
86 result
160 result = UnusedResources.new
161 result.appDir = dir
162 result.unusedLayoutIds = layouts
163 result
[all...]
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
H A DSignatureSourcerTest.java49 String result = mSourcer.getReturnType().toString();
53 result);
61 String result = mSourcer.getReturnType().toString();
65 result);
91 String result = mSourcer.formalsToString();
94 result);
104 String result = mSourcer.formalsToString();
107 result);
122 String result = mSourcer.getReturnType().toString();
125 result);
[all...]
/development/samples/Home/src/com/example/android/home/
H A DApplicationInfo.java78 int result;
79 result = (title != null ? title.hashCode() : 0);
81 result = 31 * result + (name != null ? name.hashCode() : 0);
82 return result;
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
H A DAuthenticator.java95 final Bundle result = new Bundle();
96 result.putString(AccountManager.KEY_ERROR_MESSAGE, "invalid authTokenType");
97 return result;
107 final Bundle result = new Bundle();
108 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
109 result.putString(AccountManager.KEY_ACCOUNT_TYPE, Constants.ACCOUNT_TYPE);
110 result.putString(AccountManager.KEY_AUTHTOKEN, authToken);
111 return result;
141 final Bundle result = new Bundle();
142 result
[all...]
/development/ndk/platforms/android-4/samples/san-angeles/jni/
H A Ddemo.c119 GLOBJECT *result; local
120 result = (GLOBJECT *)malloc(sizeof(GLOBJECT));
121 if (result == NULL)
123 result->count = vertices;
124 result->vertexComponents = vertexComponents;
125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents *
127 result->colorArray = (GLubyte *)malloc(vertices * 4 * sizeof(GLubyte));
130 result->normalArray = (GLfixed *)malloc(vertices * 3 *
134 result->normalArray = NULL;
135 if (result
208 GLOBJECT *result; local
352 GLOBJECT *result; local
[all...]
H A Dimportgl.c66 int result = 1; local
86 if (procAddress == NULL) result = 0; \
103 if (procAddress == NULL) result = 0; \
153 return result;
/development/tools/hosttestlib/src/com/android/hosttest/
H A DDeviceTestSuite.java53 public void runTest(Test test, TestResult result) { argument
59 test.run(result);
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
H A DPrepareMusicRetrieverTask.java43 protected void onPostExecute(Void result) { argument
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DTextToSpeechActivity.java92 // Note that a language may not be available, and the result will indicate this.
93 int result = mTts.setLanguage(Locale.US);
95 // int result mTts.setLanguage(Locale.FRANCE);
96 if (result == TextToSpeech.LANG_MISSING_DATA ||
97 result == TextToSpeech.LANG_NOT_SUPPORTED) {
101 // Check the documentation for other possible result codes.
/development/samples/TtsEngine/src/com/example/android/ttsengine/
H A DCheckVoiceData.java68 int result;
71 result = TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL;
75 result = TextToSpeech.Engine.CHECK_VOICE_DATA_MISSING_DATA;
78 result = TextToSpeech.Engine.CHECK_VOICE_DATA_PASS;
88 setResult(result, returnData);
/development/samples/USB/AdbTest/src/com/android/adb/
H A DAdbMessage.java152 String result = "Adb Message: " + commandName + " arg0: " + getArg0() +
155 result += (" data: \"" + getDataString() + "\"");
157 return result;
161 int result = 0;
166 result += x;
168 return result;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
H A DM4.java45 M4 result = new M4();
51 result.m[i][j] = m1[i][0]*m2[0][j] + m1[i][1]*m2[1][j] + m1[i][2]*m2[2][j] + m1[i][3]*m2[3][j];
55 return result;
/development/scripts/
H A Dadd-accounts56 result = RunCmd(args)
57 if result is None: return None
58 return "No such file" not in result
H A Dadd-accounts-sdk53 result = RunCmd(args)
54 if result is None: return None
55 return "No such file" not in result
H A Dsymbol.py136 result = {}
145 result[addr] = (source_symbol, source_location, object_symbol_with_offset)
147 return result
173 result = {}
184 result[addr] = (symbol, location)
187 return result
238 result = {}
265 result[target_addr] = (current_symbol, i_target - current_symbol_addr)
271 return result
/development/tools/labpretest/
H A Dlabpretest.sh195 local result=$($ADB -s $device shell getprop dev.bootcomplete)
196 local result_test=${result:1:1}
201 result=$($ADB -s $device shell getprop dev.bootcomplete)
202 result_test=${result:0:1}
538 result=$($ADB -s $device shell getprop dev.bootcomplete)
539 result_test=${result:1:1}
544 result=$($ADB -s $device shell getprop dev.bootcomplete)
545 result_test=${result:0:1}
550 result=$($ADB -s $device shell pm path android)
551 result_test=${result
[all...]
/development/testrunner/
H A Dam_instrument_parser.py25 def ParseAmInstrumentOutput(result):
30 result (string): Raw output of "am instrument"
48 for line in result.splitlines():
67 def _ParseInstrumentationFinishedBundle(result):
73 result (string): Raw output of "am instrument"
90 for line in result.split('\n'):
119 result_dict['shortMsg'] = "No result returned from instrumentation"
125 """A class that contains information about a single test result."""
/development/tools/etc1tool/
H A Detc1tool.cpp146 int result = -1; local
216 result = 0;
218 if (result) {
228 return result;
236 int result = -1; local
293 result = 0;
306 return result;
318 int result = -1; local
392 result = 0;
402 return result;
407 int result = -1; local
454 int result = -1; local
[all...]
/development/samples/ToyVpn/src/com/example/android/toyvpn/
H A DToyVpnClient.java56 protected void onActivityResult(int request, int result, Intent data) { argument
57 if (result == RESULT_OK) {
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/
H A DNotepadv1.java44 boolean result = super.onCreateOptionsMenu(menu);
46 return result;

Completed in 288 milliseconds

123