Searched refs:networkTemplate (Results 1 – 3 of 3) sorted by relevance
83 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_infoNull_returnMobileAll() local84 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_infoNull_returnMobileAll()85 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID_2)).isFalse(); in getMobileTemplate_infoNull_returnMobileAll()96 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidNull_returnMobileAll() local97 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_groupUuidNull_returnMobileAll()98 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID_2)).isFalse(); in getMobileTemplate_groupUuidNull_returnMobileAll()109 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidExist_returnMobileMerged() local110 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_groupUuidExist_returnMobileMerged()111 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID_2)).isTrue(); in getMobileTemplate_groupUuidExist_returnMobileMerged()
247 static int getNetworkType(NetworkTemplate networkTemplate) { in getNetworkType() argument248 if (networkTemplate == null) { in getNetworkType()251 final int matchRule = networkTemplate.getMatchRule(); in getNetworkType()
2214 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyAL() local2255 switch (networkTemplate) { in readPolicyAL()2276 final NetworkTemplate template = new NetworkTemplate(networkTemplate, in readPolicyAL()