Home
last modified time | relevance | path

Searched refs:subscriber_id (Results 1 – 5 of 5) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveSmsTest.py2927 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
2928 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
2929 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
2939 remove_mobile_data_usage_limit(ads[0], subscriber_id)
2957 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
2958 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
2959 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
2969 remove_mobile_data_usage_limit(ads[0], subscriber_id)
2997 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
2998 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
[all …]
DTelLiveVoiceTest.py4121 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
4122 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
4123 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
4145 remove_mobile_data_usage_limit(ads[0], subscriber_id)
4163 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
4164 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
4165 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
4184 remove_mobile_data_usage_limit(ads[0], subscriber_id)
DTelLiveDataTest.py3394 subscriber_id = dut.droid.telephonyGetSubscriberId()
3395 old_data_usage = get_mobile_data_usage(dut, subscriber_id)
3399 set_mobile_data_usage_limit(dut, data_limit, subscriber_id)
3406 dut, subscriber_id) + 5 * 1000 * 1000 < data_limit:
3416 if get_mobile_data_usage(dut, subscriber_id) < data_limit:
3426 remove_mobile_data_usage_limit(dut, subscriber_id)
/tools/test/connectivity/acts_tests/tests/google/net/
DDataUsageTest.py184 subscriber_id = ad.droid.telephonyGetSubscriberId()
187 conn_type, subscriber_id, 0, end_time, uid)
200 subscriber_id = ad.droid.telephonyGetSubscriberId()
203 conn_type, subscriber_id, 0, end_time)
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py4394 def set_mobile_data_usage_limit(ad, limit, subscriber_id=None): argument
4395 if not subscriber_id:
4396 subscriber_id = ad.droid.telephonyGetSubscriberId()
4400 ad.droid.connectivitySetDataUsageLimit(subscriber_id, str(limit))
4402 ad.droid.connectivitySetDataUsageLimit(subscriber_id, limit)
4405 def remove_mobile_data_usage_limit(ad, subscriber_id=None): argument
4406 if not subscriber_id:
4407 subscriber_id = ad.droid.telephonyGetSubscriberId()
4412 ad.droid.connectivitySetDataUsageLimit(subscriber_id, "-1")
4414 ad.droid.connectivitySetDataUsageLimit(subscriber_id, -1)