/platform_testing/tests/automotive/mobly_tests/utilities/ |
D | bt_utils.py | 33 def __init__(self, discoverer, target): argument 35 self.target = target 37 self.media_utils = MediaUtils(self.target, self.discoverer) 63 target_name = self.target.mbs.btGetName() 64 self.target.log.info('Become discoverable with name "%s" for %ds.', 66 self.target.mbs.btBecomeDiscoverable(DISCOVERABLE_TIME) 85 self.target.mbs.btEnable() 88 self.target.mbs.btBecomeDiscoverable(DISCOVERABLE_TIME) 89 self.target.mbs.btStartAutoAcceptIncomingPairRequest() 90 target_address = self.target.mbs.btGetAddress() [all …]
|
D | common_utils.py | 24 def __init__(self, target, discoverer): argument 25 self.target = target 52 self.target.mbs.wifiEnable()
|
/platform_testing/tests/automotive/mobly_tests/sms/ |
D | bt_sms_read_auto_sync_test.py | 37 self.common_utils = CommonUtils(self.target, self.discoverer) 49 self.call_utils.clear_sms_app(self.target) 51 self.target.unload_snippet('mbs') 52 self.call_utils.reboot_device(self.target) 54 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 57 target_phone_number = self.target.mbs.getPhoneNumber() 68 self.call_utils.open_notification_on_phone(self.target) 70 self.target.mbs.clickUIElementWithText(constants.SMS_TEXT)
|
D | bt_sms_read_messagebd_sync_test.py | 37 self.common_utils = CommonUtils(self.target, self.discoverer) 49 self.call_utils.clear_sms_app(self.target) 51 self.target.unload_snippet('mbs') 52 self.call_utils.reboot_device(self.target) 54 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 64 target_phone_number = self.target.mbs.getPhoneNumber() 73 self.call_utils.open_notification_on_phone(self.target) 75 self.target.mbs.clickUIElementWithText(constants.SMS_TEXT)
|
D | bt_sms_unread_sms_messagedb_sync_test.py | 37 self.common_utils = CommonUtils(self.target, self.discoverer) 49 self.call_utils.clear_sms_app(self.target) 51 self.target.unload_snippet('mbs') 52 self.call_utils.reboot_device(self.target) 54 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 56 target_phone_number = self.target.mbs.getPhoneNumber()
|
D | bt_sms_new_unread_sms_auto_sync_test.py | 41 self.common_utils = CommonUtils(self.target, self.discoverer) 53 self.call_utils.clear_sms_app(self.target) 55 self.target.unload_snippet('mbs') 56 self.call_utils.reboot_device(self.target) 58 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 70 target_phone_number = self.target.mbs.getPhoneNumber()
|
D | bt_sms_no_messages_test.py | 40 self.common_utils = CommonUtils(self.target, self.discoverer) 51 self.call_utils.clear_sms_app(self.target) 53 self.target.unload_snippet('mbs') 54 self.call_utils.reboot_device(self.target) 56 self.target.load_snippet('mbs', android_device.MBS_PACKAGE)
|
D | bt_sms_reply_from_phone_sync_test.py | 33 self.common_utils = CommonUtils(self.target, self.discoverer) 47 target_phone_number = self.target.mbs.getPhoneNumber() 55 self.call_utils.open_notification_on_phone(self.target) 57 self.target.mbs.clickUIElementWithText(constants.REPLY_SMS)
|
/platform_testing/tests/automotive/mobly_tests/uxrestriction/ |
D | uxrestriction_test_sms_db_sync.py | 34 self.common_utils = CommonUtils(self.target, self.discoverer) 46 self.call_utils.clear_sms_app(self.target) 48 self.target.unload_snippet('mbs') 49 self.call_utils.reboot_device(self.target) 51 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 54 target_phone_number = self.target.mbs.getPhoneNumber()
|
D | uxrestriction_test_play_message_while_driving.py | 28 self.common_utils = CommonUtils(self.target, self.discoverer) 40 self.call_utils.clear_sms_app(self.target) 43 self.target.unload_snippet('mbs') 44 self.call_utils.reboot_device(self.target) 46 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 61 target_phone_number = self.target.mbs.getPhoneNumber()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | LongevityClassRunner.java | 119 protected List<TestRule> getTestRules(Object target) { in getTestRules() argument 123 testRules.addAll(super.getTestRules(target)); in getTestRules() 154 protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) { in withBefores() argument 165 : addRunBefores(statement, allBeforeMethods, target); in withBefores() 173 protected Statement withAfters(FrameworkMethod method, Object target, Statement statement) { in withAfters() argument 186 target); in withAfters() 192 Statement statement, List<FrameworkMethod> befores, Object target) { in addRunBefores() argument 193 return new RunBefores(statement, befores, target); in addRunBefores() 205 Object target) { in addRunAfters() argument 206 return new RunAfterMethods(statement, afterMethods, afterClassMethods, target); in addRunAfters() [all …]
|
/platform_testing/tests/automotive/mobly_tests/ |
D | bluetooth_base_test.py | 34 self.target = android_device.get_device(self.ads, label='phone') 35 self.target.debug_tag = 'target' 37 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 41 self.bt_utils = (bt_utils.BTUtils(self.discoverer, self.target)) 52 self.target.mbs.btEnable() 62 self.target.mbs.btDisable()
|
D | bluetooth_sms_base_test.py | 30 self.target = android_device.get_device(self.ads, label='phone') 31 self.target.debug_tag = 'target' 32 self.target.load_snippet('mbs', android_device.MBS_PACKAGE) 40 self.bt_utils = (bt_utils.BTUtils(self.discoverer, self.target))
|
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/utils/ |
D | SpectatioUiUtil.java | 417 public boolean hasUiElement(BySelector target) { in hasUiElement() argument 418 validateSelector(target, /* action= */ "Check For UI Object"); in hasUiElement() 419 return mDevice.hasObject(target); in hasUiElement() 435 BySelector forward, BySelector backward, BySelector target) in scrollAndCheckIfUiElementExist() argument 437 return scrollAndFindUiObject(forward, backward, target) != null; in scrollAndCheckIfUiElementExist() 455 public boolean scrollAndCheckIfUiElementExist(BySelector scrollableSelector, BySelector target) in scrollAndCheckIfUiElementExist() argument 457 return scrollAndCheckIfUiElementExist(scrollableSelector, target, /* isVertical= */ true); in scrollAndCheckIfUiElementExist() 474 BySelector scrollableSelector, BySelector target, boolean isVertical) in scrollAndCheckIfUiElementExist() argument 476 return scrollAndFindUiObject(scrollableSelector, target, isVertical) != null; in scrollAndCheckIfUiElementExist() 722 BySelector forward, BySelector backward, BySelector target) in scrollAndFindUiObject() argument [all …]
|
/platform_testing/libraries/junit-rules/src/ |
D | ConditionalIgnoreRule.java | 29 public Statement apply(Statement base, FrameworkMethod method, Object target) { in apply() argument 38 && !target.getClass().isAssignableFrom(conditionType.getDeclaringClass())) { in apply() 52 .getDeclaredConstructor(target.getClass()) in apply() 53 .newInstance(target); in apply()
|
/platform_testing/tests/automotive/mobly_tests/pairing/ |
D | bt_discovery_test.py | 17 self.target.mbs.btSetName('LookForMe!') 28 self.target.mbs.btDisable()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/assertions/ |
D | NamedAssertion.kt | 32 override operator fun invoke(target: T) = predicate(target) in invoke()
|
/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/ |
D | IAutoPrivacySettingsHelper.java | 171 boolean verifyMicrophoneStatusMessage(String target); in verifyMicrophoneStatusMessage() argument 180 void privacyDashboardPermissionPage(String target); in privacyDashboardPermissionPage() argument
|
D | IAutoMapsHelper.java | 266 void setHomeOrWorkAddress(String address, String target); in setHomeOrWorkAddress() argument 275 void deleteAddressAdded(String target); in deleteAddressAdded() argument
|
/platform_testing/tests/automotive/mobly_tests/media/ |
D | media_test_now_playing_label_displayed.py | 29 self.media_utils = MediaUtils(self.target, self.discoverer) 30 self.common_utils = CommonUtils(self.target, self.discoverer) 35 self.video_utils_service_target = VideoRecording(self.target,self.__class__.__name__)
|
D | media_test_play_media_from_widget.py | 29 self.media_utils = MediaUtils(self.target, self.discoverer) 30 self.common_utils = CommonUtils(self.target, self.discoverer) 35 self.video_utils_service_target = VideoRecording(self.target,self.__class__.__name__)
|
D | media_test_song_is_playing.py | 29 self.media_utils = MediaUtils(self.target, self.discoverer) 30 self.common_utils = CommonUtils(self.target, self.discoverer) 35 self.video_utils_service_target = VideoRecording(self.target,self.__class__.__name__)
|
D | media_test_stream_when_radio_lunched.py | 30 self.media_utils = MediaUtils(self.target, self.discoverer) 31 self.common_utils = CommonUtils(self.target, self.discoverer) 36 self.video_utils_service_target = VideoRecording(self.target,self.__class__.__name__)
|
D | media_test_playlist_rendering.py | 29 self.media_utils = MediaUtils(self.target, self.discoverer) 30 self.common_utils = CommonUtils(self.target, self.discoverer) 35 self.video_utils_service_target = VideoRecording(self.target,self.__class__.__name__)
|
/platform_testing/libraries/health/runners/microbenchmark/src/android/platform/test/microbenchmark/ |
D | Functional.java | 121 protected Statement withBefores(FrameworkMethod method, Object target, Statement s) { 122 s = super.withBefores(method, target, s); 127 final Statement statement = befores.isEmpty() ? s : new RunBefores(s, befores, target); 134 protected Statement withAfters(FrameworkMethod method, Object target, Statement s) { 138 s = afters.isEmpty() ? s : new RunAfters(s, afters, target); 140 final Statement statement = super.withAfters(method, target, s);
|