/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
BtFunhausBaseTest.py | 45 self.ad = self.android_devices[0] 49 self.ad.droid.bluetoothStartPairingHelper(False) 52 self.ad.droid.bluetoothBond(self.dongle.mac_address) 55 self.ad.log.info("Verifying devices are bonded") 57 bonded_devices = self.ad.droid.bluetoothGetBondedDevices() 61 self.ad.log.info("Successfully bonded to device.") 64 self.ad.log.info("Failed to bond devices.") 92 for ad in self.android_devices: 93 sync_device_time(ad) 95 ad.adb.shell("setprop persist.bluetooth.btsnoopenable false" [all...] |
/tools/test/connectivity/acts/tests/google/ble/api/ |
GattApiTest.py | 29 self.ad = self.android_devices[0] 63 gatt_server_cb = self.ad.droid.gattServerCreateGattServerCallback() 64 self.ad.droid.gattServerOpenGattServer(gatt_server_cb) 89 gatt_server_cb = self.ad.droid.gattServerCreateGattServerCallback() 90 self.ad.droid.gattServerOpenGattServer(gatt_server_cb) 91 self.ad.droid.gattServerOpenGattServer(gatt_server_cb) 116 self.ad.droid.gattServerOpenGattServer(invalid_callback_index)
|
/tools/test/connectivity/acts/framework/tests/ |
acts_android_device_test.py | 52 ad = mock.MagicMock(name="AndroidDevice", serial=i, h_port=None) 53 ad.ensure_screen_on = mock.MagicMock(return_value=True) 54 ads.append(ad) 63 return [ad.serial for ad in get_mock_ads(5)] 196 ad = android_device.get_device(ads, serial=expected_serial) 197 self.assertEqual(ad.serial, expected_serial) 204 ad = android_device.get_device( 206 self.assertEqual(ad.serial, expected_serial) 207 self.assertEqual(ad.h_port, expected_h_port [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
tel_video_utils.py | 78 def phone_setup_video(log, ad, wfc_mode=WFC_MODE_DISABLED): 83 ad: android device object 89 True if ad (default sub_id) is setup correctly and idle for video call. 91 return phone_setup_video_for_subscription(log, ad, 92 get_outgoing_voice_sub_id(ad), 97 ad, 104 ad: android device object 105 sub_id: ad's sub id. 111 True if ad (sub_id) is setup correctly and idle for video call. 114 toggle_airplane_mode(log, ad, False [all...] |
TelephonyLabPowerTest.py | 60 self.ad = self.android_devices[0] 61 self.ad.sim_card = getattr(self.ad, "sim_card", None) 69 self.ad.reboot() 71 set_adaptive_brightness(self.ad, False) 72 set_ambient_display(self.ad, False) 73 set_auto_rotate(self.ad, False) 74 set_location_service(self.ad, False) 76 disable_doze(self.ad) 77 set_phone_screen_on(self.log, self.ad, 15 [all...] |
/tools/test/connectivity/acts/tests/google/tel/lab/ |
TelLabDataRoamingTest.py | 48 self.ad = self.android_devices[0] 49 self.ad.sim_card = getattr(self.ad, "sim_card", None) 53 if self.ad.sim_card == "VzW12349": 54 set_preferred_apn_by_adb(self.ad, "VZWINTERNET") 69 toggle_airplane_mode(self.log, self.ad, True) 70 self.ad.adb.shell( 77 toggle_airplane_mode(self.log, self.ad, True) 87 self.ad, 95 self.anritsu, self.user_params, self.ad.sim_card [all...] |
TelLabVoiceTest.py | 81 self.ad = self.android_devices[0] 82 self.ad.sim_card = getattr(self.ad, "sim_card", None) 93 if self.ad.sim_card == "VzW12349": 94 set_preferred_apn_by_adb(self.ad, "VZWINTERNET") 109 self.ad.droid.telephonyFactoryReset() 110 if self.ad.sim_card == "VzW12349": 111 self.ad.droid.imsSetVolteProvisioning(True) 113 self.ad.log.error(e) 114 toggle_airplane_mode_by_adb(self.log, self.ad, True [all...] |
TelLabMobilityTest.py | 74 self.ad = self.android_devices[0] 75 self.ad.sim_card = getattr(self.ad, "sim_card", None) 84 if self.ad.sim_card == "VzW12349": 85 set_preferred_apn_by_adb(self.ad, "VZWINTERNET") 100 self.ad.droid.telephonyFactoryReset() 102 self.ad.log.error(e) 103 toggle_airplane_mode_by_adb(self.log, self.ad, True) 104 self.ad.adb.shell( 113 toggle_airplane_mode_by_adb(self.log, self.ad, True [all...] |
/tools/test/connectivity/acts/tests/google/tel/live/ |
TelLiveStressCallTest.py | 81 for ad in self.android_devices: 83 ad.log, 84 ad, 88 ad.log.error("Phone Wifi connection fails.") 90 ad.log.info("Phone WIFI is connected successfully.") 91 if not set_wfc_mode(self.log, ad, WFC_MODE_WIFI_PREFERRED): 92 ad.log.error("Phone failed to enable Wifi-Calling.") 94 ad.log.info("Phone is set in Wifi-Calling successfully.") 95 if not phone_idle_iwlan(self.log, ad): 96 ad.log.error("Phone is not in WFC enabled state." [all...] |
TelLivePreflightTest.py | 79 for ad in self.android_devices: 80 toggle_airplane_mode_by_adb(self.log, ad, False) 115 tasks = [(ota_updater.update, [ad]) for ad in self.android_devices] 123 for ad in self.android_devices: 124 if is_sim_locked(ad): 125 ad.log.info("After OTA, SIM keeps the locked state") 126 elif getattr(ad, "is_sim_locked", False): 127 ad.log.error("After OTA, SIM loses the locked state") 128 if not unlock_sim(ad) [all...] |
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-powerpc/ |
vle-reloc-3.d | 6 .*: 1c ad 80 08 e_add16i r5,r13,-32760
|
/tools/test/connectivity/acts/framework/acts/ |
utils.py | 364 for ad in android_devices: 365 msg = "SL4A connection not established properly on %s." % ad.serial 366 assert ad.droid, msg 461 def sync_device_time(ad): 467 ad: The android device to sync time on. 469 droid = ad.droid 551 def force_airplane_mode(ad, new_state, timeout_value=60): 555 ad: android device object. 568 def wait_for_device_with_timeout(ad): 569 ad.adb.wait_for_device( [all...] |
/tools/test/connectivity/acts/tests/google/bt/setup/ |
BtPreFlightTest.py | 51 for ad in self.android_devices: 53 remount_result = ad.adb.remount() 58 ad.adb.disable_verity() 60 ad.reboot() 62 remount_result = ad.adb.remount() 69 ad.adb.push("{} /system/etc/bluetooth/bt_stack.conf".format( 71 result = ad.adb.shell("cat /system/etc/bluetooth/bt_stack.conf")
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/ |
chacha20poly1305_test.go | 19 ad, _ := hex.DecodeString(test.aad) 27 ct := aead.Seal(nil, nonce, plaintext, ad) 33 plaintext2, err := aead.Open(nil, nonce, ct, ad) 44 if len(ad) > 0 { 45 alterAdIdx := mr.Intn(len(ad)) 46 ad[alterAdIdx] ^= 0x80 47 if _, err := aead.Open(nil, nonce, ct, ad); err == nil { 50 ad[alterAdIdx] ^= 0x80 55 if _, err := aead.Open(nil, nonce, ct, ad); err == nil { 62 if _, err := aead.Open(nil, nonce, ct, ad); err == nil [all...] |
/prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/ |
chacha20poly1305_test.go | 19 ad, _ := hex.DecodeString(test.aad) 27 ct := aead.Seal(nil, nonce, plaintext, ad) 33 plaintext2, err := aead.Open(nil, nonce, ct, ad) 44 if len(ad) > 0 { 45 alterAdIdx := mr.Intn(len(ad)) 46 ad[alterAdIdx] ^= 0x80 47 if _, err := aead.Open(nil, nonce, ct, ad); err == nil { 50 ad[alterAdIdx] ^= 0x80 55 if _, err := aead.Open(nil, nonce, ct, ad); err == nil { 62 if _, err := aead.Open(nil, nonce, ct, ad); err == nil [all...] |
/external/autotest/site_utils/ |
automated_deploy_unittest.py | 14 from autotest_lib.site_utils import automated_deploy as ad 40 self.assertEqual(ad.update_prod_branch('test', 'test_dir', '123'), None) 53 ad.update_prod_branch('test', 'test_dir', '123') 68 ad.update_prod_branch('test', 'test_dir', None) 85 self.assertEqual(ad.update_prod_branch('test', 'test_dir', None), 97 with self.assertRaises(ad.AutoDeployException): 98 ad.update_prod_branch('test', 'test_dir', None) 118 actual_return = ad.get_pushed_commits(repo, 'test', '123..789') 128 actual_return = ad.get_pushed_commits(repo, 'test', '123..789')
|
/system/hwservicemanager/ |
AccessControl.cpp | 83 struct audit_data ad; local 85 ad.pid = sourceAuditPid; 86 ad.interfaceName = interface; 89 perm, (void *) &ad) == 0); 112 struct audit_data *ad = (struct audit_data *)data; local 114 if (!ad || !ad->interfaceName) { 119 snprintf(buf, len, "interface=%s pid=%d", ad->interfaceName, ad->pid);
|
/test/vts/runners/host/ |
utils.py | 474 def sync_device_time(ad): 480 ad: The android device to sync time on. 482 droid = ad.droid 561 def force_airplane_mode(ad, new_state, timeout_value=60): 565 ad: android device object. 578 def wait_for_device_with_timeout(ad): 579 ad.adb.wait_for_device() 582 wait_for_device_with_timeout(ad) 583 ad.adb.shell("settings put global airplane_mode_on {}".format( 591 def enable_doze(ad) [all...] |
/external/v8/src/ |
diy-fp.cc | 24 uint64_t ad = a * d; local 26 uint64_t tmp = (bd >> 32) + (ad & kM32) + (bc & kM32); 30 uint64_t result_f = ac + (ad >> 32) + (bc >> 32) + (tmp >> 32);
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/cfi/ |
cfi-common-6.d | 19 Augmentation data: (00 00 00 00 de ad be ef|ef be ad de 00 00 00 00) 36 Augmentation data: (00 00 00 00 de ad be ef|ef be ad de 00 00 00 00) 43 Augmentation data: (00 00 00 00 be ef de ad|ad de ef be 00 00 00 00)
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/i386/ilp32/cfi/ |
cfi-common-6.d | 19 Augmentation data: (00 00 00 00 de ad be ef|ef be ad de 00 00 00 00) 36 Augmentation data: (00 00 00 00 de ad be ef|ef be ad de 00 00 00 00) 43 Augmentation data: (00 00 00 00 be ef de ad|ad de ef be 00 00 00 00)
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ |
ota_updater.py | 31 for ad in android_devices: 32 ota_runners[ad] = ota_runner_factory.create_from_configs( 33 user_params, ad)
|
/system/keymaster/include/keymaster/key_blob_utils/ |
ae.h | 94 int ae_encrypt(ae_ctx* ctx, const void* nonce, const void* pt, int pt_len, const void* ad, 105 * ad - Pointer to associated data. 106 * ad_len - number of bytes pointed to by ad. 115 * ad_len<0, then use same ad as last message. 124 int ae_decrypt(ae_ctx* ctx, const void* nonce, const void* ct, int ct_len, const void* ad, 135 * ad - Pointer to associated data. 136 * ad_len - number of bytes pointed to by ad. 146 * ad_len<0, then use same ad as last message.
|
/bootable/recovery/minadbd/ |
fuse_adb_provider.h | 29 int read_block_adb(const adb_data& ad, uint32_t block, uint8_t* buffer, uint32_t fetch_size);
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-aarch64/ |
rela-abs-relative-be.d | 13 200010: 00 00 00 00 de ad de ad.*
|