/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/ |
D | BackupUtilsTest.java | 58 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue() 60 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndEnabled_returnsTrue() 77 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse() 79 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndDisabled_returnsFalse() 96 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue() 98 } else if (command.equals("bmgr enable false")) { in testEnableBackup_whenEnableFalseAndEnabled_returnsTrue() 115 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse() 117 } else if (command.equals("bmgr enable false")) { in testEnableBackup_whenEnableFalseAndDisabled_returnsFalse() 135 if (command.equals("bmgr enabled")) { in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines() 137 } else if (command.equals("bmgr enable true")) { in testEnableBackup_whenEnableTrueAndEnabledAndCommandsReturnMultipleLines() [all …]
|
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/ |
D | ProfileSuiteTest.java | 203 .run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 219 .equals(firstScenarioName)), in testTimestampScheduling_respectsSchedule() 220 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 239 .equals(secondScenarioName)), in testTimestampScheduling_respectsSchedule() 240 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 245 inOrderVerifier.verify(suite).run(argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 254 .equals(firstScenarioName)), in testTimestampScheduling_respectsSchedule() 255 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() 264 .equals(secondScenarioName)), in testTimestampScheduling_respectsSchedule() 265 argThat(notifier -> notifier.equals(mRunNotifier))); in testTimestampScheduling_respectsSchedule() [all …]
|
/platform_testing/libraries/collectors-helper/memory/test/src/com/android/helpers/tests/ |
D | MemLeaksHelperTest.java | 150 assertTrue(metrics.get(mMemLeaksHelper.PROC_MEM_BYTES + "com.android.chrome").equals(0L)); in testGetMetricsNoIncrease() 152 assertTrue(metrics.get(mMemLeaksHelper.PROC_ALLOCATIONS + "com.android.chrome").equals(0L)); in testGetMetricsNoIncrease() 325 metrics.get(mMemLeaksHelper.PROC_MEM_BYTES + "com.android.chrome").equals(1000L)); in testGetMetricsHasIncrease() 328 metrics.get(mMemLeaksHelper.PROC_ALLOCATIONS + "com.android.chrome").equals(10L)); in testGetMetricsHasIncrease() 424 metrics.get(mMemLeaksHelper.PROC_MEM_BYTES + "com.google.android.ims").equals(0L)); in testNoUnreachableMemory() 429 .equals(0L)); in testNoUnreachableMemory() 952 metrics.get(mMemLeaksHelper.PROC_MEM_BYTES + "com.android.systemui").equals(752L)); in testByGivenNamesDiffOff() 955 metrics.get(mMemLeaksHelper.PROC_ALLOCATIONS + "com.android.systemui").equals(5L)); in testByGivenNamesDiffOff() 962 .equals(1016L)); in testByGivenNamesDiffOff() 968 .equals(3L)); in testByGivenNamesDiffOff() [all …]
|
/platform_testing/libraries/device-collectors/src/main/platform-collectors/src/android/device/collectors/ |
D | CpuUsageListener.java | 47 if ("true".equals(args.getString(DISABLE_PER_PACKAGE))) { in setupAdditionalArgs() 51 if ("true".equals(args.getString(DISABLE_TOTAL_PKG))) { in setupAdditionalArgs() 55 if ("true".equals(args.getString(ENABLE_CPU_UTILIZATION))) { in setupAdditionalArgs()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/loggers/ |
D | TestLogData.java | 91 public boolean equals(Object other) { in equals() method in TestLogData.LogAnnotation 99 return Objects.equals(mLogs, o.mLogs); in equals() 119 public boolean equals(Object other) { in equals() method in TestLogData.LogHolder 127 return Objects.equals(mDataName, o.mDataName) && Objects.equals(mLogFile, o.mLogFile); in equals()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutPullParser.java | 92 …if (LIST_VIEW.equals(name) || EXPANDABLE_LIST_VIEW.equals(name) || GRID_VIEW.equals(name) || SPINN… in getViewCookie() 97 if (namespace != null && namespace.equals(TOOLS_URI)) { in getViewCookie() 99 if (attribute.equals(ATTR_IGNORE)) { in getViewCookie()
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | TestScreenshotsMetadata.java | 75 public boolean equals(Object o) { in equals() method in TestScreenshotsMetadata 83 return Objects.equals(mTestName, that.mTestName) in equals() 84 && Objects.equals(mScreenshotMetadataSet, that.mScreenshotMetadataSet); in equals() 142 public boolean equals(Object o) { in equals() method in TestScreenshotsMetadata.ScreenshotMetadata 151 return mScreenshotName.equals(that.mScreenshotName) in equals() 152 && mDescription.equals(that.mDescription); in equals()
|
D | TestResultHistory.java | 72 public boolean equals(Object o) { in equals() method in TestResultHistory 80 return Objects.equals(mTestName, that.mTestName) in equals() 81 && Objects.equals(mExecutionRecords, that.mExecutionRecords); in equals() 167 public boolean equals(Object o) { in equals() method in TestResultHistory.ExecutionRecord
|
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/ |
D | IFlagsValueProvider.java | 24 return "true".equals(value) || "false".equals(value); in isBooleanValue()
|
/platform_testing/tests/automotive/functional/uxrestriction/src/android/platform/tests/ |
D | UxRestrictionTest.java | 73 assertTrue("Phone ringtone setting is not disabled", currentTitle.equals(newTitle)); in testRestrictedSoundSettings() 85 assertFalse("Hotspot is not working", currentHotspotState.equals(newHotspotState)); in testRestrictedNetworkSettings() 98 assertTrue("Bluetooth setting is not disabled", currentTitle.equals(newTitle)); in testRestrictedBluetoothSettings() 108 assertTrue("Apps & notification settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedAppSettings() 120 assertTrue("Profiles and accounts settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedProfilesAndAccountsSettings() 132 assertTrue("Security settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedSecuritySettings() 144 assertTrue("System settings is not disabled", currentTitle.equals(newTitle)); in testRestrictedSystemSettings()
|
/platform_testing/libraries/audio-test-harness/tradefed/src/main/java/com/android/media/audiotestharness/tradefed/ |
D | AudioTestHarnessServerLogForwardingHandler.java | 48 if (record.getLevel().equals(Level.SEVERE)) { in publish() 53 } else if (record.getLevel().equals(Level.WARNING)) { in publish() 58 } else if (record.getLevel().equals(Level.INFO)) { in publish() 60 } else if (record.getLevel().equals(Level.FINE)) { in publish()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | InjectedTestCase.kt | 37 override fun equals(other: Any?): Boolean { in getName() method 40 if (!super.equals(other)) return false in getName()
|
/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/collectors-helper/adservices/src/com/android/helpers/ |
D | JSScriptEngineLatencyHelper.java | 85 if (SANDBOX_INIT_TIME.equals(metric)) { in processInput() 87 } else if (ISOLATE_CREATE_TIME.equals(metric)) { in processInput() 89 } else if (JAVA_EXECUTION_TIME.equals(metric)) { in processInput() 91 } else if (WEBVIEW_EXECUTION_TIME.equals(metric)) { in processInput()
|
D | TopicsLatencyHelper.java | 75 if (TOPICS_HOT_START_LATENCY_METRIC.equals(metric)) { in processInput() 77 } else if (TOPICS_COLD_START_LATENCY_METRIC.equals(metric)) { in processInput()
|
/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()
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/validators/ |
D | ValidateUiElement.java | 80 if (JsonConfigConstants.CLICKABLE.equals(type) in deserialize() 81 || JsonConfigConstants.SCROLLABLE.equals(type)) { in deserialize() 86 if (JsonConfigConstants.MULTIPLE.equals(type)) { in deserialize() 96 if (JsonConfigConstants.MULTIPLE.equals(specifier.getType())) { in deserialize() 100 if (JsonConfigConstants.HAS_ANCESTOR.equals(specifier.getType())) { in deserialize() 112 if (JsonConfigConstants.HAS_ANCESTOR.equals(type)) { in deserialize() 121 if (JsonConfigConstants.HAS_DESCENDANT.equals(type)) { in deserialize()
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | ICamera2Helper.java | 56 if (mode.toString().equals(name)) return mode; in fromString() 87 if (camera.toString().equals(name)) return camera; in fromString()
|
/platform_testing/tests/automotive/functional/settings/src/android/platform/tests/ |
D | PrivacySettingVerifyUIElementsTest.java | 71 assertFalse("Back button is not working", currentTitle.equals(newTitle)); in testVerifyMicrophoneUIElement() 86 assertFalse("Back button is not working", currentTitle.equals(newTitle)); in testVerifyLocationUIElement() 101 assertFalse("Back button is not working", currentTitle.equals(newTitle)); in testVerifyAppPermissionsUIElement() 118 assertFalse("Back button is not working", currentTitle.equals(newTitle)); in testVerifyInfotainmentSystemDataUIElement()
|
D | DateTimeSettingTest.java | 73 assertTrue(mDateTimeSettingsHelper.get().getDate().equals(DATE)); in testSetDate() 85 assertTrue(mDateTimeSettingsHelper.get().getTime().equals(FULL_TIME_TWENTYFOUR)); in testSetTimeTwentyFourHourFormat() 91 assertTrue(mDateTimeSettingsHelper.get().getTimeZone().equals(TIME_ZONE_FULL)); in testSetTimeZone()
|
D | SoundSettingTest.java | 101 assertTrue("Sound was not changed", sound.equals(RINGTONE)); in testChangeRingtone() 108 assertTrue("Sound was not changed", sound.equals(NOTIFICATION_SOUND)); in testChangeNotificationSound() 115 assertTrue("Sound was not changed", sound.equals(ALARM_SOUND)); in testChangeAlarmSound()
|
/platform_testing/tests/automotive/functional/mediacenter/src/android/platform/tests/ |
D | NoUserLoggedInTest.java | 54 mMediaCenterHelper.get().getMediaAppTitle().equals(mMediaApp.get())); in testNoUserLogInMessage() 58 noUserLoginMsg.equals("Please sign in to YouTube Music.")); in testNoUserLogInMessage()
|
/platform_testing/libraries/collectors-helper/system/test/src/com/android/helpers/tests/ |
D | TimingHelperTest.java | 112 assertTrue(metrics.get("total-bugreport-duration").equals(183122)); in testGetMetrics() 113 assertTrue(metrics.get("bugreport-compress-duration").equals(1631)); in testGetMetrics() 114 assertTrue(metrics.get("total-test-duration").equals(413824)); in testGetMetrics()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | CompoundAssertion.kt | 72 override fun equals(other: Any?): Boolean { in <lambda>() method 76 if (!super.equals(other)) { in <lambda>()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/ |
D | FrameworkResources.java | 95 if (!parser.getName().equals("public")) { //$NON-NLS-1$ in loadPublicResources() 104 if (attribute.equals("name")) { //$NON-NLS-1$ in loadPublicResources() 110 } else if (attribute.equals("type")) { //$NON-NLS-1$ in loadPublicResources() 117 if (typeName.equals(lastTypeName)) { in loadPublicResources()
|