/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | CpuUsageListener.java | 49 if ("true".equals(args.getString(DISABLE_PER_PACKAGE))) { in setupAdditionalArgs() 53 if ("true".equals(args.getString(DISABLE_PER_FREQ))) { in setupAdditionalArgs() 57 if ("true".equals(args.getString(DISABLE_TOTAL_PKG))) { in setupAdditionalArgs() 61 if ("true".equals(args.getString(DISABLE_TOTAL_FREQ))) { in setupAdditionalArgs() 65 if ("true".equals(args.getString(ENABLE_CPU_UTILIZATION))) { in setupAdditionalArgs()
|
D | AppStartupListener.java | 45 if ("true".equals(args.getString(DISABLE_PROC_START_DETAILS))) { in setupAdditionalArgs()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ProfileSuiteTest.java | 183 .run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 199 .equals(firstScenarioName)), in testTimestampScheduling_respectsSchedule() 200 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 219 .equals(secondScenarioName)), in testTimestampScheduling_respectsSchedule() 220 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 225 inOrderVerifier.verify(suite).run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 234 .equals(firstScenarioName)), in testTimestampScheduling_respectsSchedule() 235 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 244 .equals(secondScenarioName)), in testTimestampScheduling_respectsSchedule() 245 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() [all …]
|
D | ProfileTest.java | 127 boolean respected = outputDescriptions.equals(expectedJourneyOrder); in testProfileOrderingRespected()
|
/platform_testing/utils/permissions/src/com/android/permissionutils/ |
D | PermissionInstrumentation.java | 39 if (COMMAND_DUMP.equals(command)) { in onCreate() 41 } else if (COMMAND_GRANTALL.equals(command)) { in onCreate()
|
/platform_testing/libraries/system-helpers/accessibility-helper/src/android/system/helpers/ |
D | AccessibilityHelper.java | 81 if (swtBar != null && !swtBar.getText().equals(value.toString())) { in setTalkBackSetting() 125 if (actionBarText.equals(settingName)) { in launchSpecificAccessibilitySetting() 127 } else if (actionBarText.equals("Accessibility")) { in launchSpecificAccessibilitySetting() 152 if (!cellSwitch.getText().equals(value.toString())) { in setSettingSwitchValue() 160 return cellSwitch.getText().equals(value.toString()); in setSettingSwitchValue()
|
D | AccessibilityScannerHelper.java | 128 if (swt.getText().equals(value.toString())) { in setAccessibilityScannerSetting() 351 return txtView.getText().equals("No suggestions"); in testPass() 395 if (result.equals("No suggestions")) { in getNumberOfSuggestions()
|
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/ |
D | AppLinkTests.java | 66 assertTrue("Default app link not set to 'undefined' mode", "undefined".equals(out)); in testDefaultAppLinkSettting() 164 "always".equals(out)); in testSettingsChangeUI() 172 "never".equals(out)); in testSettingsChangeUI() 180 "always ask".equals(out)); in testSettingsChangeUI() 232 "AppLinkTestApp".equals(resolverApps.get(0).getText()) && in ensureDisambigPresent() 233 "Chrome".equals(resolverApps.get(1).getText())); in ensureDisambigPresent() 245 windows.get(windows.size() - 1).getRoot().getPackageName().equals(pkgName)); in verifyForegroundAppPackage()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BaseCollectionListener.java | 66 mIsCollectPerRun = "true".equals(args.getString(COLLECT_PER_RUN)); in onTestRunStart() 68 mSkipTestFailureMetrics = "true".equals(args.getString(SKIP_TEST_FAILURE_METRICS)); in onTestRunStart()
|
D | BatteryStatsListener.java | 91 mPerRun = "true".equals(args.getString(KEY_PER_RUN)); in onTestRunStart() 92 mToFile = !OPTION_BYTE.equals(args.getString(KEY_FORMAT)); in onTestRunStart()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | DumpsysMeminfoHelper.java | 139 if (firstTwoTokens.equals(NATIVE_HEAP_PREFIX) in parseMetrics() 140 || firstTwoTokens.equals(DALVIK_HEAP_PREFIX)) { in parseMetrics() 155 } else if (firstToken.equals(TOTAL_PREFIX)) { in parseMetrics()
|
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/ |
D | PermissionHelper.java | 236 if (!expected.equals(PermissionStatus.ON) && !expected.equals(PermissionStatus.OFF)) { in verifyPermissionSettingStatus() 244 if (permDesc.getChildren().get(1).getChildren().get(0).getText().equals(permission)) { in verifyPermissionSettingStatus() 246 return status.equals(expected.toString().toUpperCase()); in verifyPermissionSettingStatus() 326 if ((toBeSet && swt.getText().equals(PermissionStatus.ON.toString())) in togglePermissionSetting() 327 || (!toBeSet && swt.getText().equals(PermissionStatus.ON.toString()))) { in togglePermissionSetting() 423 if (obj.getText().equals("Other app capabilities")) in getPermissionDescGroupNames()
|
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/ |
D | AccountHelper.java | 75 if (backupAcct.equals(getRegisteredGoogleAccountOnDevice())) { in hasDeviceBackupAccount() 91 if (accounts[i].type.equals("com.google")) { in getRegisteredGoogleAccountOnDevice()
|
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/ |
D | IterateTestBase.java | 83 boolean cyclesSameAsInput = cycles.stream().allMatch(SIMPLE_INPUT::equals); in testCyclicOrderRespected() 104 boolean testRunsFollowInputOrder = SIMPLE_INPUT.equals( in testSequentialOrderRespected()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | AuptTestCase.java | 128 while (!launcherPkg.equals(mDevice.getCurrentPackageName()) in navigateToHome() 215 if(accounts[i].type.equals("com.google")) { in getRegisteredEmailAccount()
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
D | CommonLauncherHelper.java | 106 if (Direction.DOWN.equals(dir) || Direction.UP.equals(dir)) { in ensureIconVisible()
|
D | LeanbackLauncherStrategy.java | 413 } else if (focusedIcon.equals(appIcon)) { in launchApp() 608 while (!currentFocus.equals(previousFocus)) { in findNotificationCard() 636 } while (nextText != null && !nextText.equals(prevText)); in findApp() 648 } while (nextText != null && !nextText.equals(prevText)); in findApp() 667 while (!currentFocused.equals(prevFocused)) { in findRow() 715 while (!currentFocused.equals(prevFocused)) { in findSettingInRow()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | HelperTest.java | 73 !"true".equals(getArguments().get(SKIP_INIT_PARAM))) { in setUp()
|
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/ |
D | CpuUsageHelperTest.java | 129 if (cpuUsageEntry.getKey().equals(TOTAL_CPU_USAGE_FREQ)) { in testCpuUsageMetricsKey() 136 if (cpuUsageEntry.getKey().equals(TOTAL_CPU_USAGE)) { in testCpuUsageMetricsKey()
|
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/ |
D | WifiStrengthScannerInstrumentation.java | 118 if (scanResult.BSSID.equals(bssid)) { in getScanResult() 158 if ("".equals(line.trim())) { in getDumpsysWifiLastScanResults()
|
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/ |
D | MultiUserHelper.java | 156 .filter(user -> user.name.equals(name)) in getUserByName()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | Profile.java | 110 if (mConfiguration.getSchedule().equals(Schedule.TIMESTAMPED)) { in Profile() 119 } else if (mConfiguration.getSchedule().equals(Schedule.INDEXED)) { in Profile()
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | SfStatsCollectionHelper.java | 245 public boolean equals(Object obj) { in equals() method in SfStatsCollectionHelper.Histogram 252 return internalMap.equals(other.internalMap); in equals()
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | OverviewHelper.java | 103 if (pkg.packageName.equals(mInstrumentation.getTargetContext().getPackageName())) { in populateManyRecentApps() 173 if (!clearAll.equals(null)) { in dockAppToTopMultiwindowSlot()
|
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/ |
D | SettingsHelper.java | 430 return getStringSetting(type, internalName).equals(testVal); in verifyRadioSetting() 578 if (flashLight != null && flashLight.getText().equals(lightOn)) { in toggleQuickSettingFlashLightAndVerify() 590 Assert.assertTrue(txt.equals(lightOff)); in toggleQuickSettingFlashLightAndVerify() 592 Assert.assertTrue(txt.equals(lightOn)); in toggleQuickSettingFlashLightAndVerify()
|