Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/packages/modules/DnsResolver/
Dresolv_cache_unit_test.cpp67 SetupParams setup; member
204 int cacheSetupResolver(uint32_t netId, const SetupParams& setup) { in cacheSetupResolver() argument
205 return resolv_set_nameservers(netId, setup.servers, setup.domains, setup.params, in cacheSetupResolver()
206 setup.resolverOptions, setup.transportTypes); in cacheSetupResolver()
228 EXPECT_EQ(nscount, static_cast<int>(expected.setup.servers.size())) << msg; in expectCacheStats()
230 EXPECT_EQ(addrToString(&servers[i]), expected.setup.servers[i]) << msg; in expectCacheStats()
234 EXPECT_EQ(dcount, static_cast<int>(expected.setup.domains.size())) << msg; in expectCacheStats()
236 EXPECT_EQ(std::string(domains[i]), expected.setup.domains[i]) << msg; in expectCacheStats()
240 EXPECT_TRUE(params == expected.setup.params) << msg; in expectCacheStats()
624 const SetupParams setup = { in TEST_F() local
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DSettingsFragmentTest.java67 mFragmentController.setup(); in use_returnsController()
84 mFragmentController.setup(); in onUxRestrictionsChanged_propagatesToControllers()
95 mFragmentController.setup(); in onDisplayPreferenceDialog_unknownPreferenceType_throwsIllegalArgumentException()
103 mFragmentController.setup(); in launchFragment_otherFragment_opensFragment()
113 mFragmentController.setup(); in launchFragment_dialogFragment_throwsError()
121 mFragmentController.setup(); in showDialog_noTag_launchesDialogFragment()
129 mFragmentController.setup(); in showDialog_withTag_launchesDialogFragment()
137 mFragmentController.setup(); in findDialogByTag_retrieveOriginalDialog_returnsDialog()
145 mFragmentController.setup(); in findDialogByTag_notDialogFragment_returnsNull()
153 mFragmentController.setup(); in findDialogByTag_noSuchFragment_returnsNull()
[all …]
DCarSettingActivityTest.java81 Robolectric.buildActivity(CarSettingActivity.class, intent).setup().get(); in launchWithIntent_resolveToFragment()
91 Robolectric.buildActivity(CarSettingActivity.class, intent).setup().get(); in launchWithIntent_hasNoBackstack()
101 Robolectric.buildActivity(CarSettingActivity.class, intent).setup().get(); in launchWithIntentFromExternalPackage_hasNoBackstack()
111 Robolectric.buildActivity(CarSettingActivity.class, intent).setup().get(); in launchWithIntentFromSettings_hasBackstack()
118 Robolectric.buildActivity(CarSettingActivity.class).setup().get(); in launchCarSettings_resolveToDefaultFragment()
128 Robolectric.buildActivity(CarSettingActivity.class, intent).setup().get(); in launchWithEmptyIntent_resolveToDefaultFragment()
160 mActivityController.setup(outState); in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent()
DTwoActionPreferenceTest.java101 FragmentController.of(fragment).setup(); in preferenceConstructed_attrDefined_actionShown()
114 FragmentController.of(fragment).setup(); in preferenceConstructed_defaultValue_actionShown()
127 FragmentController.of(fragment).setup(); in preferenceConstructed_attrDefined_actionHidden()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothSettingsFragmentTest.java113 mFragmentController.setup(); in switchCheckedOn_enablesAdapter()
125 mFragmentController.setup(); in switchCheckedOff_disablesAdapter()
135 mFragmentController.setup(); in stateChanged_turningOn_setsSwitchChecked()
144 mFragmentController.setup(); in stateChanged_turningOn_setsSwitchDisabled()
153 mFragmentController.setup(); in stateChanged_on_setsSwitchChecked()
162 mFragmentController.setup(); in stateChanged_on_setsSwitchEnabled()
173 mFragmentController.setup(); in stateChanged_on_userRestricted_setsSwitchDisabled()
182 mFragmentController.setup(); in stateChanged_turningOff_setsSwitchUnchecked()
191 mFragmentController.setup(); in stateChanged_turningOff_setsSwitchDisabled()
200 mFragmentController.setup(); in stateChanged_off_setsSwitchUnchecked()
[all …]
DBluetoothDeviceDetailsFragmentTest.java97 mFragmentController.setup(); in forgetButtonClicked_unpairsDevice()
106 mFragmentController.setup(); in forgetButtonClicked_goesBack()
117 mFragmentController.setup(); in connectionButtonClicked_deviceConnected_disconnectsDevice()
127 mFragmentController.setup(); in connectionButtonClicked_deviceNotConnected_connectsDevice()
137 mFragmentController.setup(); in deviceConnected_connectionButtonShowsDisconnect()
146 mFragmentController.setup(); in deviceNotConnected_connectionButtonShowsConnect()
155 mFragmentController.setup(); in deviceBusy_connectionButtonDisabled()
163 mFragmentController.setup(); in deviceNotBusy_connectionButtonEnabled()
DBluetoothPairingSelectionFragmentTest.java100 mFragmentController.setup(); in onStart_showsProgressBar()
125 mFragmentController.setup().onPause(); in onStop_hidesProgressBar()
138 mFragmentController.setup(); in onDeviceBondStateChanged_deviceBonded_goesBack()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DAddWifiNetworkActivity.java27 import com.android.tv.settings.connectivity.setup.AdvancedWifiOptionsFlow;
28 import com.android.tv.settings.connectivity.setup.ChooseSecurityState;
29 import com.android.tv.settings.connectivity.setup.ConnectAuthFailureState;
30 import com.android.tv.settings.connectivity.setup.ConnectFailedState;
31 import com.android.tv.settings.connectivity.setup.ConnectRejectedByApState;
32 import com.android.tv.settings.connectivity.setup.ConnectState;
33 import com.android.tv.settings.connectivity.setup.ConnectTimeOutState;
34 import com.android.tv.settings.connectivity.setup.EnterPasswordState;
35 import com.android.tv.settings.connectivity.setup.EnterSsidState;
36 import com.android.tv.settings.connectivity.setup.OptionsOrConnectState;
[all …]
DWifiConnectionActivity.java31 import com.android.tv.settings.connectivity.setup.AddStartState;
32 import com.android.tv.settings.connectivity.setup.AdvancedWifiOptionsFlow;
33 import com.android.tv.settings.connectivity.setup.ConnectAuthFailureState;
34 import com.android.tv.settings.connectivity.setup.ConnectFailedState;
35 import com.android.tv.settings.connectivity.setup.ConnectRejectedByApState;
36 import com.android.tv.settings.connectivity.setup.ConnectState;
37 import com.android.tv.settings.connectivity.setup.ConnectTimeOutState;
38 import com.android.tv.settings.connectivity.setup.EnterPasswordState;
39 import com.android.tv.settings.connectivity.setup.KnownNetworkState;
40 import com.android.tv.settings.connectivity.setup.OptionsOrConnectState;
[all …]
/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/actions/
DInputSetupActionUtilsTest.java86 Intent setup = new Intent("setup"); in getExtraSetupIntent_setupIntent() local
87 intent.putExtra("com.android.tv.extra.SETUP_INTENT", setup); in getExtraSetupIntent_setupIntent()
88 assertThat(InputSetupActionUtils.getExtraSetupIntent(intent)).isEqualTo(setup); in getExtraSetupIntent_setupIntent()
94 Intent setup = new Intent("google_setup"); in getExtraSetupIntent_googleSetupIntent() local
95 intent.putExtra("com.google.android.tv.extra.SETUP_INTENT", setup); in getExtraSetupIntent_googleSetupIntent()
96 assertThat(InputSetupActionUtils.getExtraSetupIntent(intent)).isEqualTo(setup); in getExtraSetupIntent_googleSetupIntent()
118 Intent setup = new Intent("setup"); in removeSetupIntent_setup() local
119 extras.putParcelable("com.android.tv.extra.SETUP_INTENT", setup); in removeSetupIntent_setup()
136 Intent setup = new Intent("setup"); in removeSetupIntent_bothSetups() local
137 extras.putParcelable("com.android.tv.extra.SETUP_INTENT", setup); in removeSetupIntent_bothSetups()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherFragmentTest.java79 mFragmentController.setup(); in onStart_tetherStateOn_shouldReturnSwitchStateOn()
89 mFragmentController.setup(); in onStart_tetherStateOff_shouldReturnSwitchStateOff()
99 mFragmentController.setup(); in onSwitchOn_shouldAttemptTetherOn()
112 mFragmentController.setup(); in onSwitchOff_shouldAttemptTetherOff()
124 mFragmentController.setup(); in onTetherEnabling_shouldReturnSwitchStateDisabled()
135 mFragmentController.setup(); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn()
147 mFragmentController.setup(); in onTetherDisabled_shouldReturnSwitchStateEnabledAndOff()
159 mFragmentController.setup(); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
DAddWifiFragmentTest.java104 mFragmentController.setup(); in initialState_buttonDisabled()
110 mFragmentController.setup(); in receiveNameChangeIntent_emptyName_buttonDisabled()
120 mFragmentController.setup(); in receiveNameChangeIntent_name_buttonEnabled()
133 mFragmentController.setup(); in receiveSecurityChangeIntent_nameSet_buttonDisabled()
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java17 package com.android.tv.tuner.sample.dvb.setup;
35 import com.android.tv.common.ui.setup.SetupFragment;
36 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
40 import com.android.tv.tuner.setup.BaseTunerSetupActivity;
41 import com.android.tv.tuner.setup.ConnectionTypeFragment;
42 import com.android.tv.tuner.setup.LineupFragment;
43 import com.android.tv.tuner.setup.LocationFragment;
44 import com.android.tv.tuner.setup.PostalCodeFragment;
45 import com.android.tv.tuner.setup.ScanFragment;
46 import com.android.tv.tuner.setup.ScanResultFragment;
[all …]
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java17 package com.android.tv.tuner.sample.network.setup;
35 import com.android.tv.common.ui.setup.SetupFragment;
36 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
40 import com.android.tv.tuner.setup.BaseTunerSetupActivity;
41 import com.android.tv.tuner.setup.ConnectionTypeFragment;
42 import com.android.tv.tuner.setup.LineupFragment;
43 import com.android.tv.tuner.setup.LocationFragment;
44 import com.android.tv.tuner.setup.PostalCodeFragment;
45 import com.android.tv.tuner.setup.ScanFragment;
46 import com.android.tv.tuner.setup.ScanResultFragment;
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DLocationFragment.java17 package com.android.tv.tuner.setup;
19 import static com.android.tv.tuner.setup.BaseTunerSetupActivity.PERMISSIONS_REQUEST_ACCESS_COARSE_L…
29 import com.android.tv.common.ui.setup.SetupActionHelper;
30 import com.android.tv.common.ui.setup.SetupGuidedStepFragment;
31 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
DConnectionTypeFragment.java17 package com.android.tv.tuner.setup;
23 import com.android.tv.common.ui.setup.SetupGuidedStepFragment;
24 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
DWelcomeFragment.java17 package com.android.tv.tuner.setup;
24 import com.android.tv.common.ui.setup.SetupGuidedStepFragment;
25 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
DScanResultFragment.java17 package com.android.tv.tuner.setup;
25 import com.android.tv.common.ui.setup.SetupGuidedStepFragment;
26 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
DPostalCodeFragment.java17 package com.android.tv.tuner.setup;
28 import com.android.tv.common.ui.setup.SetupGuidedStepFragment;
29 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
/packages/apps/Car/tests/
Dreadme.md7 …tests --branch pi-car-dev --single-branch`. Otherwise, see [workstation setup](#workstation-setup).
27 ### Workstation setup
29 Install [repo](https://source.android.com/setup/build/downloading#installing-repo) command line too…
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DSyncStateSwitchPreferenceTest.java38 public void setup() { in setup() method in SyncStateSwitchPreferenceTest
46 mPreference.setup(new Account("name", "type"), "authority", mContext.getPackageName(), in setup_validAuthority_shouldBeVisible()
56 mPreference.setup(new Account("name", "type"), null /* authority */, in setup_emptyAuthority_shouldBeInvisible()
/packages/apps/Dialer/java/com/android/dialer/main/impl/bottomnav/
DBottomNavBar.java72 speedDial.setup(R.string.tab_title_speed_dial, R.drawable.quantum_ic_star_vd_theme_24); in onFinishInflate()
73 callLog.setup(R.string.tab_title_call_history, R.drawable.quantum_ic_access_time_vd_theme_24); in onFinishInflate()
74 contacts.setup(R.string.tab_title_contacts, R.drawable.quantum_ic_people_vd_theme_24); in onFinishInflate()
75 voicemail.setup(R.string.tab_title_voicemail, R.drawable.quantum_ic_voicemail_vd_theme_24); in onFinishInflate()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java97 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in setupLp()
100 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in setupLp()
119 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, in measureChild()
123 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX); in measureChild()
/packages/apps/TV/src/com/android/tv/setup/
DSystemSetupActivity.java17 package com.android.tv.setup;
32 import com.android.tv.common.ui.setup.SetupActivity;
33 import com.android.tv.common.ui.setup.SetupMultiPaneFragment;
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupFragment.java17 package com.android.tv.common.ui.setup;
29 import com.android.tv.common.ui.setup.animation.FadeAndShortSlide;
30 import com.android.tv.common.ui.setup.animation.SetupAnimationHelper;

12345678910>>...17