/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
tel_video_utils.py | 72 def phone_setup_video(log, ad, wfc_mode=WFC_MODE_DISABLED): 77 ad: android device object 83 True if ad (default sub_id) is setup correctly and idle for video call. 85 return phone_setup_video_for_subscription(log, ad, 86 get_outgoing_voice_sub_id(ad), 91 ad, 98 ad: android device object 99 sub_id: ad's sub id. 105 True if ad (sub_id) is setup correctly and idle for video call. 108 toggle_airplane_mode(log, ad, False [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...] |
/system/hwservicemanager/ |
AccessControl.cpp | 67 struct audit_data ad; local 74 ad.pid = sourcePid; 75 ad.interfaceName = interface; 78 perm, (void *) &ad) == 0); 103 struct audit_data *ad = (struct audit_data *)data; local 105 if (!ad || !ad->interfaceName) { 110 snprintf(buf, len, "interface=%s pid=%d", ad->interfaceName, ad->pid);
|
/test/vts/runners/host/ |
utils.py | 463 def sync_device_time(ad): 469 ad: The android device to sync time on. 471 droid = ad.droid 550 def force_airplane_mode(ad, new_state, timeout_value=60): 554 ad: android device object. 567 def wait_for_device_with_timeout(ad): 568 ad.adb.wait_for_device() 571 wait_for_device_with_timeout(ad) 572 ad.adb.shell("settings put global airplane_mode_on {}".format( 580 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.25/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.25/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)
|
/system/keymaster/ |
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.
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
TelLiveSettingsTest.py | 64 self.ad = self.android_devices[0] 80 self.log, self.ad, self.wifi_network_ssid, 84 if initial_setup_wfc_mode and not set_wfc_mode(self.log, self.ad, 88 if not phone_idle_iwlan(self.log, self.ad): 94 if not wifi_toggle_state(self.log, self.ad, False): 95 self.ad.log.error("Failed to turn off WiFi.") 98 if not wifi_reset(self.log, self.ad, False): 99 self.ad.log.error("Failed to reset WiFi") 102 if not set_wfc_mode(self.log, self.ad, WFC_MODE_DISABLED): 103 self.ad.log.error("Failed to turn off WFC." [all...] |
TelLiveStressCallTest.py | 73 for ad in self.android_devices: 75 ad.log, 76 ad, 80 ad.log.error("Phone Wifi connection fails.") 82 ad.log.info("Phone WIFI is connected successfully.") 83 if not set_wfc_mode(self.log, ad, WFC_MODE_WIFI_PREFERRED): 84 ad.log.error("Phone failed to enable Wifi-Calling.") 86 ad.log.info("Phone is set in Wifi-Calling successfully.") 87 if not phone_idle_iwlan(self.log, self.ad): 88 ad.log.error("Phone is not in WFC enabled state." [all...] |
TelLivePreflightTest.py | 71 ad = self.android_devices[0] 75 toggle_airplane_mode(self.log, ad, False, strict_checking=False) 77 if not ensure_wifi_connected(self.log, ad, self.wifi_network_ssid, 79 abort_all_tests(ad.log, "WiFi connect fail") 80 if (not wait_for_wifi_data_connection(self.log, ad, True) or 81 not verify_http_connection(self.log, ad)): 82 abort_all_tests(ad.log, "Data not available on WiFi") 84 wifi_toggle_state(self.log, ad, False) 90 for ad in self.android_devices: 92 if not ensure_phone_subscription(self.log, ad) [all...] |
TelLiveStressTest.py | 76 for ad in self.android_devices: 79 ad, 83 ad.log.error("Phone Wifi connection fails.") 85 ad.log.info("Phone WIFI is connected successfully.") 86 if not set_wfc_mode(self.log, ad, WFC_MODE_WIFI_PREFERRED): 87 ad.log.error("Phone failed to enable Wifi-Calling.") 89 ad.log.info("Phone is set in Wifi-Calling successfully.") 90 if not phone_idle_iwlan(self.log, ad): 91 ad.log.error("Phone is not in WFC enabled state.") 93 ad.log.info("Phone is in WFC enabled state." [all...] |
/system/bt/stack/avdt/ |
avdt_ad.cc | 102 tAVDT_TC_TBL* p_tbl = avdt_cb.ad.tc_tbl; 103 memset(&avdt_cb.ad, 0, sizeof(tAVDT_AD)); 127 tAVDT_TC_TBL* p_tbl = avdt_cb.ad.tc_tbl; 179 idx = avdt_cb.ad.lcid_tbl[lcid - L2CAP_BASE_APPL_CID]; 182 return &avdt_cb.ad.tc_tbl[idx]; 203 tAVDT_TC_TBL* p_tbl = avdt_cb.ad.tc_tbl; 232 tAVDT_TC_TBL* p_tbl = avdt_cb.ad.tc_tbl; 263 AVDT_TRACE_DEBUG("avdt_ad_tc_tbl_to_idx: %d", (p_tbl - avdt_cb.ad.tc_tbl)); 265 return (uint8_t)(p_tbl - avdt_cb.ad.tc_tbl); 304 avdt_scb_by_hdl(avdt_cb.ad.rt_tbl[p_tbl->ccb_idx][p_tbl->tcid].scb_hdl) [all...] |
/tools/test/connectivity/acts/tests/google/tel/lab/ |
TelLabEmergencyCallTest.py | 78 self.ad = self.android_devices[0] 79 self.ad.sim_card = getattr(self.ad, "sim_card", None) 104 ensure_phone_default_state(self.log, self.ad, check_subscription=False) 105 toggle_airplane_mode_by_adb(self.log, self.ad, True) 106 self.ad.adb.shell("setprop net.lte.ims.volte.provisioned 1", 115 toggle_airplane_mode_by_adb(self.log, self.ad, True) 136 self.ad.sim_card) 137 set_usim_parameters(self.anritsu, self.ad.sim_card) 188 self.ad.droid.telephonyToggleDataConnection(False [all...] |
TelLabVoiceTest.py | 77 self.ad = self.android_devices[0] 78 self.ad.sim_card = getattr(self.ad, "sim_card", None) 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("setprop net.lte.ims.volte.provisioned 1", 113 toggle_airplane_mode_by_adb(self.log, self.ad, True) 134 self.ad.sim_card) 135 set_usim_parameters(self.anritsu, self.ad.sim_card [all...] |
/tools/test/connectivity/acts/tests/google/ble/power/ |
BleScanPowerTest.py | 58 for ad in self.android_devices: 59 if ad.serial != power_test_device_serial[0]: 60 self.ad.log.info("Disable BT for %s != %s", ad.serial, 62 disable_bluetooth(ad.droid) 91 self.ad.log.info("Send broadcast message: %s", msg) 92 self.ad.adb.shell(msg) 105 self.ad.log.info("Monsoon start_time: {}".format(result.timestamps[0])) 114 self.ad.log.info("Number of test cycles: {}".format(len(start_times)))
|
/external/autotest/client/cros/networking/ |
android_xmlrpc_server.py | 180 self.ad = ads[0] 182 self.ad = android_device.AndroidDevice(serial_number) 232 self.ad.get_droid() 233 self.ad.ed.start() 234 self.ad.start_adb_logcat() 240 self.ad.terminate_all_sessions() 241 self.ad.stop_adb_logcat() 261 self.ad.cat_adb_log(test_name, self.test_begin_time) 262 self.ad.take_bug_report(test_name, self.test_begin_time) 279 return wutils.wifi_toggle_state(self.ad, enabled [all...] |
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
magic.go | 53 ad := uint64(m.Sd) 55 ad = -uint64(m.Sd) 59 if ad == 0 || ad == 1 || ad == two31 { 65 ad &= mask 67 anc := t - 1 - t%ad 75 q2 := two31 / ad 76 r2 := two31 - q2*ad 98 if r2 >= ad { [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
magic.go | 53 ad := uint64(m.Sd) 55 ad = -uint64(m.Sd) 59 if ad == 0 || ad == 1 || ad == two31 { 65 ad &= mask 67 anc := t - 1 - t%ad 75 q2 := two31 / ad 76 r2 := two31 - q2*ad 98 if r2 >= ad { [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ilp32/ |
x86-64-rep-suffix.d | 12 4: 66 f3 ad[ ]+rep lodsw %ds:\(%rsi\),%ax 14 a: f3 ad[ ]+rep lodsl %ds:\(%rsi\),%eax 16 e: f3 48 ad[ ]+rep lodsq %ds:\(%rsi\),%rax
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
x86-64-rep-suffix.d | 11 4: 66 f3 ad[ ]+rep lodsw %ds:\(%rsi\),%ax 13 a: f3 ad[ ]+rep lodsl %ds:\(%rsi\),%eax 15 e: f3 48 ad[ ]+rep lodsq %ds:\(%rsi\),%rax
|
/tools/test/connectivity/acts/tests/google/bt/ |
BtMetricsTest.py | 37 for ad in self.android_devices: 38 if not clear_bonded_devices(ad): 42 sync_device_time(ad) 82 for ad in self.android_devices: 83 if not clear_bonded_devices(ad): 87 bonded_devices = ad.droid.bluetoothGetBondedDevices()
|
/system/security/keystore/ |
permissions.cpp | 94 struct audit_data* ad = reinterpret_cast<struct audit_data*>(data); local 95 if (!ad) { 100 snprintf(buf, len, "pid=%d uid=%d", ad->pid, ad->uid); 121 audit_data ad; local 135 ad.pid = spid; 136 ad.uid = uid; 139 reinterpret_cast<void*>(&ad)) == 0;
|