/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
tel_subscription_utils.py | 26 def initial_set_up_for_subid_infomation(log, ad): 27 """Initial subid setup for voice, message and data according to ad's 39 ad: android device object 49 if hasattr(ad, "default_voice_sim_slot_index"): 51 log, ad, ad.default_voice_sim_slot_index) 52 set_subid_for_outgoing_call(ad, outgoing_voice_sub_id) 54 outgoing_voice_sub_id = ad.droid.subscriptionGetDefaultVoiceSubId() 55 setattr(ad, "outgoing_voice_sub_id", outgoing_voice_sub_id) 62 if hasattr(ad, "default_message_sim_slot_index") [all...] |
tel_voice_utils.py | 274 ad, 288 ad: Android device object. 299 log, ad, get_outgoing_voice_sub_id(ad), is_airplane_mode, wfc_mode, 304 ad, 319 ad: Android device object. 331 toggle_airplane_mode(log, ad, False) 333 if ad.droid.imsIsEnhanced4gLteModeSettingEnabledByPlatform(): 334 toggle_volte(log, ad, True) 338 ad, [all...] |
tel_test_utils.py | 134 def setup_droid_properties(log, ad, sim_filename): 137 if hasattr(ad, 'cfg'): 148 sub_info_list = ad.droid.subscriptionGetAllSubInfoList() 156 sim_serial = ad.droid.telephonyGetSimSerialNumberForSubscription( 160 ad.serial)) 166 number = ad.droid.telephonyGetLine1NumberForSubscription( 171 .format(ad.serial)) 174 sim_record['operator'] = get_operator_name(log, ad, sub_id) 178 ad.model, ad.serial, sub_id, number, get_operator_name [all...] |
tel_video_utils.py | 72 def phone_setup_video(log, ad): 77 ad: android device object 80 True if ad (default sub_id) is setup correctly and idle for video call. 82 return phone_setup_video_for_subscription(log, ad, 83 get_outgoing_voice_sub_id(ad)) 86 def phone_setup_video_for_subscription(log, ad, sub_id): 91 ad: android device object 92 sub_id: ad's sub id. 95 True if ad (sub_id) is setup correctly and idle for video call. 98 toggle_airplane_mode(log, ad, False [all...] |
tel_data_utils.py | 224 def wifi_cell_switching(log, ad, wifi_network_ssid, wifi_network_pass, nw_gen): 236 ad: android object. 247 log, ad, get_default_data_sub_id(ad), nw_gen, 254 if not ensure_wifi_connected(log, ad, wifi_network_ssid, 261 toggle_airplane_mode(log, ad, False) 262 WifiUtils.wifi_toggle_state(log, ad, True) 263 ad.droid.telephonyToggleDataConnection(True) 264 if (not wait_for_wifi_data_connection(log, ad, True) or 265 not verify_http_connection(log, ad)) [all...] |
TelephonyBaseTest.py | 99 for ad in self.android_devices: 100 ad.droid.logI("Started " + log_string) 110 for ad in self.android_devices: 111 ad.droid.logI("Rerun Started " + log_string) 133 for ad in self.android_devices: 135 ad.adb.wait_for_device() 136 ad.droid.logI("Finished " + log_string) 163 for ad in self.android_devices: 164 setup_droid_properties(self.log, ad, sim_conf_file) 169 toggle_airplane_mode(self.log, ad, True [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
dtor1.cpp | 8 int ad; variable 12 ~A() { ++ad; } 26 if (!ad)
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
dtor1.cpp | 8 int ad; variable 12 ~A() { ++ad; } 26 if (!ad)
|
/bootable/recovery/minadbd/ |
fuse_adb_provider.cpp | 30 adb_data* ad = reinterpret_cast<adb_data*>(data); local 32 if (!WriteFdFmt(ad->sfd, "%08u", block)) { 37 if (!ReadFdExactly(ad->sfd, buffer, fetch_size)) { 46 adb_data* ad = reinterpret_cast<adb_data*>(data); local 47 WriteFdExactly(ad->sfd, "DONEDONE"); 51 adb_data ad; local 52 ad.sfd = sfd; 53 ad.file_size = file_size; 54 ad.block_size = block_size; 60 return run_fuse_sideload(&vtab, &ad, file_size, block_size) [all...] |
/external/clang/test/CodeGen/ |
builtins-ppc-crypto-disabled.c | 28 vector unsigned long long ad = D_INIT1 32 vector unsigned long long r1 = __builtin_crypto_vsbox(ad); 33 vector unsigned long long r2 = __builtin_crypto_vcipher(ad, bd); 34 vector unsigned long long r3 = __builtin_crypto_vcipherlast(ad, bd); 35 vector unsigned long long r4 = __builtin_crypto_vncipher(ad, bd); 36 vector unsigned long long r5 = __builtin_crypto_vncipherlast(ad, bd); 38 vector unsigned long long r7 = __builtin_crypto_vshasigmad(ad, 0, 15); 41 vector unsigned long long r8 = __builtin_crypto_vpmsumb(ad, bd); 42 vector unsigned long long r9 = __builtin_crypto_vpermxor(ad, bd, cd);
|
/tools/test/connectivity/acts/framework/tests/ |
acts_android_device_test.py | 54 ad = mock.MagicMock(name="AndroidDevice", 58 ads.append(ad) 68 return [ad.serial for ad in get_mock_ads(5)] 146 ad = android_device.get_device(ads, serial=expected_serial) 147 self.assertEqual(ad.serial, expected_serial) 154 ad = android_device.get_device(ads, 157 self.assertEqual(ad.serial, expected_serial) 158 self.assertEqual(ad.h_port, expected_h_port) 166 ad = android_device.get_device(ads, serial=len(ads) [all...] |
Sl4aSanityTest.py | 43 ad = self.android_devices[0] 46 ad.terminate_all_sessions() 48 droid, ed = ad.get_droid() 52 ad = self.android_devices[0] 54 assert wifi_toggle_state(ad.droid, ad.ed, False) 55 assert wifi_toggle_state(ad.droid, ad.ed, True)
|
/tools/test/connectivity/acts/framework/acts/ |
utils.py | 324 for ad in android_devices: 325 msg = "SL4A connection not established properly on %s." % ad.serial 326 assert ad.droid, msg 388 def sync_device_time(ad): 394 ad: The android device to sync time on. 396 droid = ad.droid 475 def force_airplane_mode(ad, new_state, timeout_value=60): 479 ad: android device object. 492 def wait_for_device_with_timeout(ad): 493 ad.adb.wait_for_device( [all...] |
/tools/test/connectivity/acts/tests/sample/ |
SampleTest.py | 29 for ad in self.android_devices: 30 ad.droid.makeToast("Hello World.")
|
/external/boringssl/src/crypto/ |
ex_data.c | 170 int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int index, void *val) { 173 if (ad->sk == NULL) { 174 ad->sk = sk_void_new_null(); 175 if (ad->sk == NULL) { 181 n = sk_void_num(ad->sk); 185 if (!sk_void_push(ad->sk, NULL)) { 191 sk_void_set(ad->sk, index, val); 195 void *CRYPTO_get_ex_data(const CRYPTO_EX_DATA *ad, int idx) { 196 if (ad->sk == NULL || idx < 0 || (size_t)idx >= sk_void_num(ad->sk)) [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
wifi_test_utils.py | 442 def wifi_toggle_state(ad, new_state=None): 446 ad: An AndroidDevice object. 454 if new_state == ad.droid.wifiCheckState(): 456 ad.droid.wifiStartTrackingStateChange() 458 ad.droid.wifiToggleState(new_state) 460 event = ad.ed.pop_event(WifiEventNames.SUPPLICANT_CON_CHANGED, SHORT_TIMEOUT) 465 return new_state == ad.droid.wifiCheckState() 467 ad.droid.wifiStopTrackingStateChange() 469 def reset_wifi(ad): 473 ad: An AndroidDevice object [all...] |
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-powerpc/ |
vle-reloc-3.d | 6 .*: 1c ad 80 08 e_add16i r5,r13,-32760
|
/tools/test/connectivity/acts/tests/google/ble/api/ |
GattApiTest.py | 30 self.ad = self.android_devices[0] 65 gatt_server_cb = self.ad.droid.gattServerCreateGattServerCallback() 66 self.ad.droid.gattServerOpenGattServer(gatt_server_cb) 90 gatt_server_cb = self.ad.droid.gattServerCreateGattServerCallback() 91 self.ad.droid.gattServerOpenGattServer(gatt_server_cb) 92 self.ad.droid.gattServerOpenGattServer(gatt_server_cb) 116 self.ad.droid.gattServerOpenGattServer(invalid_callback_index)
|
/tools/test/connectivity/acts/tests/google/bt/setup/ |
BtPreFlightTest.py | 49 for ad in self.android_devices: 51 remount_result = ad.adb.remount() 56 ad.adb.disable_verity() 58 ad.reboot() 60 remount_result = ad.adb.remount() 67 ad.adb.push("{} /system/etc/bluetooth/bt_stack.conf".format( 69 result = ad.adb.shell("cat /system/etc/bluetooth/bt_stack.conf")
|
/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)
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
TelLivePreflightTest.py | 66 ad = self.android_devices[0] 70 toggle_airplane_mode(self.log, ad, True) 72 if not ensure_wifi_connected(self.log, ad, self.wifi_network_ssid, 75 if (not wait_for_wifi_data_connection(self.log, ad, True) or 76 not verify_http_connection(self.log, ad)): 79 WifiUtils.wifi_toggle_state(self.log, ad, False) 85 for ad in self.android_devices: 87 subInfo = ad.droid.subscriptionGetAllSubInfoList() 90 toggle_airplane_mode(self.log, ad, False) 91 sub_id = ad.droid.subscriptionGetDefaultVoiceSubId( [all...] |
/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/framework/acts/test_utils/bt/ |
BluetoothBaseTest.py | 78 for ad in self.android_devices: 80 ad.adb.wait_for_device() 81 ad.take_bug_report(test_name, begin_time) 82 tombstone_path = os.path.join(ad.log_path, "BugReports", 83 "{},{}".format(begin_time, ad.serial).replace(' ','_')) 85 ad.adb.pull('/data/tombstones/', tombstone_path) 87 ad.log.error("Failed to take a bug report for {}, {}" 88 .format(ad.serial, test_name))
|