Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveSmsTest.py2810 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
2811 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
2812 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
2822 remove_mobile_data_usage_limit(ads[0], subscriber_id)
2840 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
2841 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
2842 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
2852 remove_mobile_data_usage_limit(ads[0], subscriber_id)
2880 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
2881 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
[all …]
DTelLiveVoiceTest.py4013 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
4014 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
4015 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
4037 remove_mobile_data_usage_limit(ads[0], subscriber_id)
4055 subscriber_id = ads[0].droid.telephonyGetSubscriberId()
4056 data_usage = get_mobile_data_usage(ads[0], subscriber_id)
4057 set_mobile_data_usage_limit(ads[0], data_usage, subscriber_id)
4076 remove_mobile_data_usage_limit(ads[0], subscriber_id)
DTelLiveDataTest.py3202 subscriber_id = dut.droid.telephonyGetSubscriberId()
3203 old_data_usage = get_mobile_data_usage(dut, subscriber_id)
3207 set_mobile_data_usage_limit(dut, data_limit, subscriber_id)
3214 dut, subscriber_id) + 5 * 1000 * 1000 < data_limit:
3224 if get_mobile_data_usage(dut, subscriber_id) < data_limit:
3234 remove_mobile_data_usage_limit(dut, subscriber_id)
/tools/test/connectivity/acts/tests/google/net/
DDataUsageTest.py183 subscriber_id = ad.droid.telephonyGetSubscriberId()
186 conn_type, subscriber_id, 0, end_time, uid)
199 subscriber_id = ad.droid.telephonyGetSubscriberId()
202 conn_type, subscriber_id, 0, end_time)
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py3798 def set_mobile_data_usage_limit(ad, limit, subscriber_id=None): argument
3799 if not subscriber_id:
3800 subscriber_id = ad.droid.telephonyGetSubscriberId()
3804 ad.droid.connectivitySetDataUsageLimit(subscriber_id, str(limit))
3806 ad.droid.connectivitySetDataUsageLimit(subscriber_id, limit)
3809 def remove_mobile_data_usage_limit(ad, subscriber_id=None): argument
3810 if not subscriber_id:
3811 subscriber_id = ad.droid.telephonyGetSubscriberId()
3816 ad.droid.connectivitySetDataUsageLimit(subscriber_id, "-1")
3818 ad.droid.connectivitySetDataUsageLimit(subscriber_id, -1)