/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/ |
D | WifiStrengthScannerInstrumentation.java | 90 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/ |
D | DPadUtil.java | 68 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/ |
D | TimeResultLogger.java | 51 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/ |
D | CalculatorHelper.java | 89 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/ |
D | DeviceHelper.java | 76 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/ |
D | PowerPerfTest.java | 49 String result = getUiDevice().executeShellCommand(mScriptFilePath); in testPowerPerf() local 50 Log.i(TAG, result); in testPowerPerf()
|
/platform_testing/utils/permissions/src/com/android/permissionutils/ |
D | GrantPermissionUtil.java | 68 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/ |
D | DexTestRunner.java | 123 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()
|
D | AuptTestRunner.java | 202 public void runTest(TestResult result) { in onCreate() 207 super.runTest(result); in onCreate()
|
/platform_testing/utils/crashcollector/src/android/test/crashcollector/ |
D | Collector.java | 158 boolean result = (mTombstones == null) || !mTombstones.containsAll(newStones); in checkNativeCrashes() 163 return result; in checkNativeCrashes()
|
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
D | DownloadAppTestHelper.java | 295 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/ |
D | AccessibilityScannerHelper.java | 394 String result = txtView.getText(); in getNumberOfSuggestions() local 395 if (result.equals("No suggestions")) { in getNumberOfSuggestions() 398 String str = result.split("\\s+")[0]; in getNumberOfSuggestions()
|