Lines Matching refs:TYPE_MOBILE
69 if (!cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED,
98 assertEquals("network type is not MOBILE", ConnectivityManager.TYPE_MOBILE,
130 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,
137 NetworkInfo networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
138 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE,
154 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) {
157 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE));
171 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
172 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE,
189 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,
201 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) {
204 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE));
236 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,
243 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
244 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE,
262 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,
292 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
293 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE,
308 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,
320 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) {
323 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE));
337 NetworkInfo networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
338 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE,
353 TYPE_MOBILE,
355 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) {
358 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE));
363 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
364 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE,
375 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED,
379 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) {
382 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE));
407 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,
409 networkInfo = cmActivity.mCM.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
410 cmActivity.setStateTransitionCriteria(ConnectivityManager.TYPE_MOBILE,
433 if (!cmActivity.validateNetworkStates(ConnectivityManager.TYPE_MOBILE)) {
436 cmActivity.getTransitionFailureReason(ConnectivityManager.TYPE_MOBILE));
489 assertTrue(cmActivity.waitForNetworkState(ConnectivityManager.TYPE_MOBILE,