Home
last modified time | relevance | path

Searched refs:result (Results 1 – 12 of 12) sorted by relevance

/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/
DWifiStrengthScannerInstrumentation.java90 ScanResult result = getScanResult(wifiManager, bssid); in onStart() local
91 if (result != null) { in onStart()
92 bundle.putInt("scan_result_wifi_level", wifiManager.calculateSignalLevel(result in onStart()
94 bundle.putInt("scan_result_rssi", result.level); in onStart()
95 bundle.putInt("scan_result_frequency", result.frequency); in onStart()
127 Bundle result = new Bundle(); in sendFailureStatus() local
128 result.putString("wifi_strength_scanner_failure", update); in sendFailureStatus()
129 sendStatus(Activity.RESULT_CANCELED, result); in sendFailureStatus()
170 StringBuilder result = new StringBuilder(); in executeCommand() local
177 result.append(new String(buf, 0, bytesRead)); in executeCommand()
[all …]
/platform_testing/utils/dpad/src/android/platform/test/utils/
DDPadUtil.java68 boolean result = false; in pressDPad()
72 result = mDevice.pressDPadLeft(); in pressDPad()
75 result = mDevice.pressDPadRight(); in pressDPad()
78 result = mDevice.pressDPadUp(); in pressDPad()
81 result = mDevice.pressDPadDown(); in pressDPad()
86 return result; in pressDPad()
/platform_testing/libraries/timeresult-helper/src/android/support/test/timeresulthelper/
DTimeResultLogger.java51 public static void writeResultToFile(String testCase, File destFile, Bundle result) in writeResultToFile() argument
55 for (String key : result.keySet()) { in writeResultToFile()
57 result.get(key))); in writeResultToFile()
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/
DCalculatorHelper.java89 public String getResultText(String result) { in getResultText() argument
91 Until.findObject(By.res(PACKAGE_NAME, result)), in getResultText()
97 public void clearResults(String result) { in clearResults() argument
99 Until.findObject(By.res(PACKAGE_NAME, result)), in clearResults()
105 public void scrollResults(String result) { in scrollResults() argument
107 Until.findObject(By.res(PACKAGE_NAME, result)), in scrollResults()
/platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DDeviceHelper.java76 String result = Build.MODEL; in isNexusExperienceDevice() local
77 if (result.trim().equalsIgnoreCase(PIXEL) || result.trim().equalsIgnoreCase(PIXEL_XL)) { in isNexusExperienceDevice()
/platform_testing/tests/perf/PowerPerfTest/src/com/android/powerperf/tests/
DPowerPerfTest.java49 String result = getUiDevice().executeShellCommand(mScriptFilePath); in testPowerPerf() local
50 Log.i(TAG, result); in testPowerPerf()
/platform_testing/utils/permissions/src/com/android/permissionutils/
DGrantPermissionUtil.java68 List<String> result = new ArrayList<>(); in getMissingPermissions() local
86 result.add(permission); in getMissingPermissions()
89 return result; in getMissingPermissions()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDexTestRunner.java123 Future<TestResult> result = in runTest() local
135 result.get(mTestTimeoutMillis, TimeUnit.MILLISECONDS); in runTest()
291 TestResult result = new TestResult(); in newResult() local
294 result.addListener(listener); in newResult()
297 return result; in newResult()
DAuptTestRunner.java202 public void runTest(TestResult result) { in onCreate()
207 super.runTest(result); in onCreate()
/platform_testing/utils/crashcollector/src/android/test/crashcollector/
DCollector.java158 boolean result = (mTombstones == null) || !mTombstones.containsAll(newStones); in checkNativeCrashes()
163 return result; in checkNativeCrashes()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java295 StringBuilder result = new StringBuilder(); in randomWord() local
298 result.append((char) (random.nextInt(26) + base)); in randomWord()
300 return result.toString(); in randomWord()
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/
DAccessibilityScannerHelper.java394 String result = txtView.getText(); in getNumberOfSuggestions() local
395 if (result.equals("No suggestions")) { in getNumberOfSuggestions()
398 String str = result.split("\\s+")[0]; in getNumberOfSuggestions()