Searched refs:networkTemplate (Results 1 – 3 of 3) sorted by relevance
81 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_infoNull_returnMobileAll() local82 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_infoNull_returnMobileAll()83 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID_2)).isFalse(); in getMobileTemplate_infoNull_returnMobileAll()93 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidNull_returnMobileAll() local94 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_groupUuidNull_returnMobileAll()95 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID_2)).isFalse(); in getMobileTemplate_groupUuidNull_returnMobileAll()105 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidExist_returnMobileMerged() local106 assertThat(networkTemplate.matchesSubscriberId(SUBSCRIBER_ID)).isTrue(); in getMobileTemplate_groupUuidExist_returnMobileMerged()107 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()
2207 final int networkTemplate = readIntAttribute(in, ATTR_NETWORK_TEMPLATE); in readPolicyAL() local2248 switch (networkTemplate) { in readPolicyAL()2269 final NetworkTemplate template = new NetworkTemplate(networkTemplate, in readPolicyAL()