Searched refs:dataConnectionReasons (Results 1 – 2 of 2) sorted by relevance
889 DataConnectionReasons dataConnectionReasons = new DataConnectionReasons(); in testDataSetup() local890 boolean allowed = mDct.isDataAllowed(dataConnectionReasons); in testDataSetup()891 assertFalse(dataConnectionReasons.toString(), allowed); in testDataSetup()900 dataConnectionReasons = new DataConnectionReasons(); in testDataSetup()901 allowed = mDct.isDataAllowed(dataConnectionReasons); in testDataSetup()902 assertTrue(dataConnectionReasons.toString(), allowed); in testDataSetup()931 DataConnectionReasons dataConnectionReasons = new DataConnectionReasons(); in testDataRetry() local932 boolean allowed = mDct.isDataAllowed(dataConnectionReasons); in testDataRetry()933 assertFalse(dataConnectionReasons.toString(), allowed); in testDataRetry()942 dataConnectionReasons = new DataConnectionReasons(); in testDataRetry()[all …]
1305 public boolean isDataAllowed(DataConnectionReasons dataConnectionReasons) { in isDataAllowed() argument1306 return isDataAllowed(null, REQUEST_TYPE_NORMAL, dataConnectionReasons); in isDataAllowed()1321 DataConnectionReasons dataConnectionReasons) { in isDataAllowed() argument1370 if (dataConnectionReasons != null) { in isDataAllowed()1371 dataConnectionReasons.add(DataAllowedReasonType.EMERGENCY_APN); in isDataAllowed()1482 if (dataConnectionReasons != null) { in isDataAllowed()1483 dataConnectionReasons.copyFrom(reasons); in isDataAllowed()1520 if (dataConnectionReasons != null) { in isDataAllowed()1521 dataConnectionReasons.copyFrom(reasons); in isDataAllowed()1603 DataConnectionReasons dataConnectionReasons = new DataConnectionReasons(); in trySetupData() local[all …]