/bionic/libc/bionic/ |
sysinfo.cpp | 54 int result = 0; local 58 ++result; 61 return result;
|
/bionic/libc/kernel/uapi/linux/ |
atm_tcp.h | 44 int result; member in struct:atmtcp_control
|
/bionic/tests/ |
semaphore_test.cpp | 89 void* result; local 90 ASSERT_EQ(0, pthread_join(t1, &result)); 91 ASSERT_EQ(0, pthread_join(t2, &result)); 92 ASSERT_EQ(0, pthread_join(t3, &result)); 173 int result = sem_wait(sem); local 174 if (result == 0) { 177 if (result == -1) { 203 void* result; local 204 ASSERT_EQ(0, pthread_join(thread, &result)); 205 ASSERT_EQ(0U, reinterpret_cast<uintptr_t>(result)); 226 void* result; local [all...] |
/bootable/recovery/applypatch/ |
main.cpp | 184 int result; local 187 result = ShowLicenses(); 189 result = CheckMode(argc, argv); 191 result = SpaceMode(argc, argv); 193 result = PatchMode(argc, argv); 196 if (result == 2) { 199 return result;
|
/bootable/recovery/updater/ |
updater.cpp | 153 char* result = Evaluate(&state, root); local 159 if (result == NULL) { 192 fprintf(cmd_pipe, "ui_print script succeeded: result was [%s]\n", result); 193 free(result);
|
/build/kati/ |
exec.cc | 108 int result = RunCommand(shell_, command->cmd.c_str(), local 112 if (result != 0) { 115 command->output.c_str(), WEXITSTATUS(result)); 118 command->output.c_str(), WEXITSTATUS(result));
|
/build/tools/ziptime/ |
ZipFile.cpp | 75 status_t result = 0; local 88 result = -1; 96 result = -1; 109 result = -1; 116 result = -1; 130 result = -1; 135 result = mEOCD.readBuf(buf + i, readAmount - i); 136 if (result != 0) { 158 result = -1; 169 result = pEntry->initAndRewriteFromCDE(mZipFp) [all...] |
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/command/ |
CompatibilityConsole.java | 21 import com.android.compatibility.common.tradefed.result.IInvocationResultRepo; 22 import com.android.compatibility.common.tradefed.result.InvocationResultRepo; 324 IInvocationResult result = results.get(i); local 325 Map<String, String> invocationInfo = result.getInvocationInfo(); 336 result.getModuleCompleteCount(), result.getModules().size()); 340 Integer.toString(result.countResults(TestStatus.PASS)), 341 Integer.toString(result.countResults(TestStatus.FAIL)), 343 CompatibilityBuildHelper.getDirSuffix(result.getStartTime()), 344 result.getTestPlan() [all...] |
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
MyActivity.java | 28 private final SynchronousQueue<Result> mResult = new SynchronousQueue<>(); 30 public static class Result { 35 public Result(int requestCode, int resultCode, Intent data) { 54 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS); 60 public Result getResult() { 61 final Result result; local 63 result = mResult.poll(30, TimeUnit.SECONDS); 67 if (result == null) { 68 throw new IllegalStateException("Activity didn't receive a Result in 30 seconds") [all...] |
/cts/hostsidetests/services/windowmanager/dndtargetappsdk23/src/android/wm/cts/dndtargetappsdk23/ |
DropTarget.java | 52 String result = key + "=" + value; local 53 Log.i(LOG_TAG, result); 54 mTextView.setText(result);
|
/cts/libs/view/src/com/android/view/ |
Position.java | 103 int result = 17; local 104 result = 31 * result + Float.floatToIntBits(mX); 105 result = 31 * result + Float.floatToIntBits(mY); 106 return result;
|
/cts/suite/audio_quality/lib/src/ |
FileUtil.cpp | 53 int result = mkdir(reportTopDir, S_IRWXU); local 54 if ((result == -1) && (errno != EEXIST)) { 68 result = mkdir(path.string(), S_IRWXU); 69 if ((result == -1) && (errno != EEXIST)) { 158 bool result = doVprintf(false, -1, fmt, ap); local 160 return result;
|
/cts/suite/audio_quality/lib/src/task/ |
TaskGeneric.cpp | 88 TaskGeneric::ExecutionResult* result = reinterpret_cast<TaskGeneric::ExecutionResult*>(data); local 89 *result = child->run(); 90 if (*result != TaskGeneric::EResultOK) { 91 LOGE("child type %d returned %d", child->getType(), *result); 99 ExecutionResult result = EResultOK; local 100 forEachChild(runChild, &result); 101 return result;
|
TaskSave.cpp | 71 int result = mkdir(dirName.string(), S_IRWXU); local 72 if ((result == -1) && (errno != EEXIST)) {
|
/cts/tests/app/src/android/app/cts/ |
ActivityManagerMemoryInfoTest.java | 71 ActivityManager.MemoryInfo result = new ActivityManager.MemoryInfo(); local 72 result.readFromParcel(parcel); 73 assertEquals(AVAILMEM, result.availMem); 74 assertEquals(THRESHOLD, result.threshold); 75 assertEquals(LOWMEMORY, result.lowMemory); 78 result = new ActivityManager.MemoryInfo(); 80 result.readFromParcel(null);
|
/cts/tests/sample/src/android/sample/cts/ |
SampleDeviceResultTest.java | 65 double[] result = MeasureTime.measure(REPEAT, new MeasureRun() { local 82 Stat.StatResult stat = Stat.getStat(result); 87 reportLog.addValues("times", result, ResultType.LOWER_BETTER, ResultUnit.MS);
|
/cts/tests/tests/media/libaudiojni/ |
sl-utils.cpp | 101 SLresult result = slCreateEngine(&engine, local 104 if (result != SL_RESULT_SUCCESS) { 105 ALOGE("slCreateEngine() failed: %s", getSLErrStr(result)); 109 result = (*engine)->Realize(engine, SL_BOOLEAN_FALSE /* async */); 110 if (result != SL_RESULT_SUCCESS) { 111 ALOGE("Realize() failed: %s", getSLErrStr(result));
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
CommonDatabaseUtils.java | 36 String[] result = null; local 39 result = new String[cursor.getColumnCount()]; 40 fillArray(cursor, result); 45 return result; 49 ArrayList<String[]> result = new ArrayList<String[]>(); local 54 result.add(record); 59 return result;
|
/cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/ |
RSBase.java | 36 private int result; field in class:RSBase 44 if (result == 0) { 48 result = mID; 78 result = 0; 89 assertTrue(result != RS_MSG_TEST_FAILED);
|
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_type.cpp | 40 bool result = true; local 52 result &= (b.create() != nullptr); 57 return result;
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
HtmlReport.java | 66 StreamResult result = new StreamResult(out); local 67 transformer.transform(xmlSource, result);
|
/cts/tools/dasm/src/dasm/ |
Utils.java | 37 String[] result = null; local 39 result = list.split("[\\s]*,[\\s]*|[\\s]*\\.\\.[\\s]*"); 40 return result; 87 String result[] = new String[3]; local 108 result[0] = signature.substring(0, mpos); 109 result[1] = signature.substring(mpos + 1, sigpos); 110 result[2] = signature.substring(sigpos); 115 return result; 124 String result[] = new String[2]; local 128 result[0] = null 146 String result[] = new String[2]; local [all...] |
/cts/tools/dasm/src/java_cup/ |
terminal_set.java | 134 boolean result; 139 result = _elements.get(sym.index()); 142 if (!result) 145 return result; 228 String result; local 231 result = "{"; 238 result += ", "; 242 result += terminal.find(t).name(); 245 result += "}"; 247 return result; [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
ResultReporter.java | 17 package com.android.cts.tradefed.result; 28 * the test result XML.
|
/cts/tools/utils/ |
VogarUtils.java | 20 import vogar.Result; 46 * a known failure that is a result of an unsupported abi. 56 if (expectation.getResult() == Result.SUCCESS) { 63 return expectation.getResult() != Result.SUCCESS && !foundAbi; 70 ExpectationStore result = ExpectationStore.parse(getExpectationFiles(dir), ModeId.DEVICE); local 71 return result;
|