Home
last modified time | relevance | path

Searched refs:use (Results 1 – 25 of 548) sorted by relevance

12345678910>>...22

/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkSettings.java133 use(DataUsageSummaryPreferenceController.class); in onAttach()
137 use(CallsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach()
138 use(SmsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach()
139 use(MobileNetworkSwitchController.class).init(getLifecycle(), mSubId); in onAttach()
140 use(CarrierSettingsVersionPreferenceController.class).init(mSubId); in onAttach()
141 use(BillingCyclePreferenceController.class).init(mSubId); in onAttach()
142 use(MmsMessagePreferenceController.class).init(mSubId); in onAttach()
143 use(DataDuringCallsPreferenceController.class).init(getLifecycle(), mSubId); in onAttach()
144 use(DisabledSubscriptionController.class).init(getLifecycle(), mSubId); in onAttach()
145 use(DeleteSimProfilePreferenceController.class).init(mSubId, this, in onAttach()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DMobileNetworkSettings.java134 use(CallsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach()
135 use(SmsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach()
136 use(MobileNetworkSwitchController.class).init(getLifecycle(), mSubId); in onAttach()
137 use(CarrierSettingsVersionPreferenceController.class).init(mSubId); in onAttach()
138 use(BillingCyclePreferenceController.class).init(mSubId); in onAttach()
140 use(MobileDataPreferenceController.class).init(getFragmentManager(), mSubId); in onAttach()
141 use(RoamingPreferenceController.class).init(getFragmentManager(), mSubId); in onAttach()
142 use(ApnPreferenceController.class).init(mSubId); in onAttach()
143 use(CarrierPreferenceController.class).init(mSubId); in onAttach()
144 use(DataUsagePreferenceController.class).init(mSubId); in onAttach()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppInfoDashboardFragment.java141 final TimeSpentInAppPreferenceController timeSpentInAppPreferenceController = use( in onAttach()
146 use(AppDataUsagePreferenceController.class).setParentFragment(this); in onAttach()
148 use(AppInstallerInfoPreferenceController.class); in onAttach()
151 use(AppInstallerPreferenceCategoryController.class).setChildren(Arrays.asList(installer)); in onAttach()
152 use(AppNotificationPreferenceController.class).setParentFragment(this); in onAttach()
154 use(AppOpenByDefaultPreferenceController.class) in onAttach()
158 use(AppPermissionPreferenceController.class).setParentFragment(this); in onAttach()
159 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach()
160 use(AppSettingPreferenceController.class) in onAttach()
163 use(AppStoragePreferenceController.class).setParentFragment(this); in onAttach()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppInfoDashboardFragment.java140 use(TimeSpentInAppPreferenceController.class).setPackageName(packageName); in onAttach()
142 use(AppDataUsagePreferenceController.class).setParentFragment(this); in onAttach()
144 use(AppInstallerInfoPreferenceController.class); in onAttach()
147 use(AppInstallerPreferenceCategoryController.class).setChildren(Arrays.asList(installer)); in onAttach()
148 use(AppNotificationPreferenceController.class).setParentFragment(this); in onAttach()
149 use(AppOpenByDefaultPreferenceController.class).setParentFragment(this); in onAttach()
150 use(AppPermissionPreferenceController.class).setParentFragment(this); in onAttach()
151 use(AppPermissionPreferenceController.class).setPackageName(packageName); in onAttach()
152 use(AppSettingPreferenceController.class) in onAttach()
155 use(AppStoragePreferenceController.class).setParentFragment(this); in onAttach()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsFragment.java137 mControllers.add(use( in onAttach()
140 mControllers.add(use(WifiFrequencyPreferenceController.class, R.string.pk_wifi_frequency) in onAttach()
142 mControllers.add(use(WifiSecurityPreferenceController.class, R.string.pk_wifi_security) in onAttach()
144 mControllers.add(use(WifiMacAddressPreferenceController.class, R.string.pk_wifi_mac_address) in onAttach()
146 mControllers.add(use(WifiIpAddressPreferenceController.class, R.string.pk_wifi_ip).init( in onAttach()
148 mControllers.add(use(WifiGatewayPreferenceController.class, R.string.pk_wifi_gateway).init( in onAttach()
150 mControllers.add(use(WifiSubnetPreferenceController.class, R.string.pk_wifi_subnet_mask) in onAttach()
152 mControllers.add(use(WifiDnsPreferenceController.class, R.string.pk_wifi_dns).init( in onAttach()
154 mControllers.add(use(WifiLinkSpeedPreferenceController.class, R.string.pk_wifi_link_speed) in onAttach()
156 mControllers.add(use(WifiIpv6AddressPreferenceController.class, R.string.pk_wifi_ipv6).init( in onAttach()
/packages/apps/Settings/src/com/android/settings/
DAllInOneTetherSettings.java186 mSSIDPreferenceController = use(WifiTetherSSIDPreferenceController.class); in onAttach()
187 mSecurityPreferenceController = use(WifiTetherSecurityPreferenceController.class); in onAttach()
188 mPasswordPreferenceController = use(WifiTetherPasswordPreferenceController.class); in onAttach()
189 mApBandPreferenceController = use(WifiTetherApBandPreferenceController.class); in onAttach()
190 getSettingsLifecycle().addObserver(use(UsbTetherPreferenceController.class)); in onAttach()
191 getSettingsLifecycle().addObserver(use(BluetoothTetherPreferenceController.class)); in onAttach()
192 getSettingsLifecycle().addObserver(use(EthernetTetherPreferenceController.class)); in onAttach()
193 getSettingsLifecycle().addObserver(use(WifiTetherDisablePreferenceController.class)); in onAttach()
234 use(UsbTetherPreferenceController.class).setTetherEnabler(mTetherEnabler); in onActivityCreated()
235 use(BluetoothTetherPreferenceController.class).setTetherEnabler(mTetherEnabler); in onActivityCreated()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DSoundSettings.java178 volumeControllers.add(use(AlarmVolumePreferenceController.class)); in onAttach()
179 volumeControllers.add(use(MediaVolumePreferenceController.class)); in onAttach()
180 volumeControllers.add(use(RingVolumePreferenceController.class)); in onAttach()
181 volumeControllers.add(use(NotificationVolumePreferenceController.class)); in onAttach()
182 volumeControllers.add(use(CallVolumePreferenceController.class)); in onAttach()
183 volumeControllers.add(use(RemoteVolumePreferenceController.class)); in onAttach()
185 use(HandsFreeProfileOutputPreferenceController.class).setCallback(listPreference -> in onAttach()
188 use(HandsFreeProfileOutputPreferenceController.class).getPreferenceKey(); in onAttach()
309 use(WorkSoundPreferenceController.class); in enableWorkSync()
/packages/apps/Settings/src/com/android/settings/location/
DLocationSettings.java85 use(AppLocationPermissionPreferenceController.class).init(this); in onAttach()
86 use(RecentLocationRequestPreferenceController.class).init(this); in onAttach()
87 use(LocationServicePreferenceController.class).init(this); in onAttach()
88 use(LocationFooterPreferenceController.class).init(this); in onAttach()
89 use(LocationForWorkPreferenceController.class).init(this); in onAttach()
90 use(LocationServiceForWorkPreferenceController.class).init(this); in onAttach()
DLocationWorkProfileSettings.java52 use(AppLocationPermissionPreferenceController.class).init(this); in onAttach()
53 use(LocationServiceForWorkPreferenceController.class).init(this); in onAttach()
54 use(LocationFooterPreferenceController.class).init(this); in onAttach()
55 use(LocationForWorkPreferenceController.class).init(this); in onAttach()
58 final RecentLocationRequestPreferenceController controller = use( in onAttach()
DLocationPersonalSettings.java52 use(AppLocationPermissionPreferenceController.class).init(this); in onAttach()
53 use(LocationServicePreferenceController.class).init(this); in onAttach()
54 use(LocationFooterPreferenceController.class).init(this); in onAttach()
57 final RecentLocationRequestPreferenceController controller = use( in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSettings.java113 mSSIDPreferenceController = use(WifiTetherSSIDPreferenceController.class); in onAttach()
114 mSecurityPreferenceController = use(WifiTetherSecurityPreferenceController.class); in onAttach()
115 mPasswordPreferenceController = use(WifiTetherPasswordPreferenceController.class); in onAttach()
116 mApBandPreferenceController = use(WifiTetherApBandPreferenceController.class); in onAttach()
223 use(WifiTetherSSIDPreferenceController.class) in updateDisplayWithNewConfig()
225 use(WifiTetherSecurityPreferenceController.class) in updateDisplayWithNewConfig()
227 use(WifiTetherPasswordPreferenceController.class) in updateDisplayWithNewConfig()
229 use(WifiTetherApBandPreferenceController.class) in updateDisplayWithNewConfig()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dstream.md3 …::Stream` is a concept for reading/writing JSON. Here we first show how to use streams provided. A…
37 Note that, `StringStream` is a typedef of `GenericStringStream<UTF8<> >`, user may use another enco…
66 When parsing a JSON from file, you may read the whole JSON into memory and use ``StringStream`` abo…
68 However, if the JSON is big, or memory is limited, you can use `FileReadStream`. It only read a par…
80 FILE* fp = fopen("big.json", "rb"); // non-Windows use "r"
93 Apart from reading file, user can also use `FileReadStream` to read `stdin`.
109 FILE* fp = fopen("output.json", "wb"); // non-Windows use "w"
130use `EncodedInputStream` and `EncodedOutputStream`. If the stream can be UTF-8, UTF-16LE, UTF-16BE…
146 FILE* fp = fopen("utf16le.json", "rb"); // non-Windows use "r"
171 FILE* fp = fopen("output_utf32le.json", "wb"); // non-Windows use "w"
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSettings.java116 mSSIDPreferenceController = use(WifiTetherSSIDPreferenceController.class); in onAttach()
117 mSecurityPreferenceController = use(WifiTetherSecurityPreferenceController.class); in onAttach()
118 mPasswordPreferenceController = use(WifiTetherPasswordPreferenceController.class); in onAttach()
119 mApBandPreferenceController = use(WifiTetherApBandPreferenceController.class); in onAttach()
231 use(WifiTetherSSIDPreferenceController.class) in updateDisplayWithNewConfig()
233 use(WifiTetherSecurityPreferenceController.class) in updateDisplayWithNewConfig()
235 use(WifiTetherPasswordPreferenceController.class) in updateDisplayWithNewConfig()
237 use(WifiTetherApBandPreferenceController.class) in updateDisplayWithNewConfig()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundSettings.java178 volumeControllers.add(use(AlarmVolumePreferenceController.class)); in onAttach()
179 volumeControllers.add(use(MediaVolumePreferenceController.class)); in onAttach()
180 volumeControllers.add(use(RingVolumePreferenceController.class)); in onAttach()
181 volumeControllers.add(use(NotificationVolumePreferenceController.class)); in onAttach()
182 volumeControllers.add(use(CallVolumePreferenceController.class)); in onAttach()
184 use(HandsFreeProfileOutputPreferenceController.class).setCallback(listPreference -> in onAttach()
187 use(HandsFreeProfileOutputPreferenceController.class).getPreferenceKey(); in onAttach()
302 use(WorkSoundPreferenceController.class); in enableWorkSync()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DLockscreenDashboardFragmentTest.java86 doReturn(controller).when(mTestFragment).use( in onAttach_alwaysOn_shouldInvokeSetters()
98 doReturn(controller).when(mTestFragment).use( in onAttach_notifications_shouldInvokeSetters()
109 doReturn(controller).when(mTestFragment).use(DoubleTapScreenPreferenceController.class); in onAttach_doubleTap_shouldInvokeSetters()
119 doReturn(controller).when(mTestFragment).use(PickupGesturePreferenceController.class); in onAttach_pickUp_shouldInvokeSetters()
137 protected <T extends AbstractPreferenceController> T use(Class<T> clazz) { in use() method in LockscreenDashboardFragmentTest.TestFragment
138 return super.use(clazz); in use()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneSettings.java187 use(RegionPreferenceController.class).getRegionId()); in onRegionZonePreferenceClicked()
207 use(RegionPreferenceController.class).setRegionId(regionId); in setDisplayedRegion()
216 use(RegionZonePreferenceController.class).setTimeZoneInfo(tzInfo); in setDisplayedTimeZoneInfo()
219 use(RegionZonePreferenceController.class).setClickable(tzInfo == null || in setDisplayedTimeZoneInfo()
221 use(TimeZoneInfoPreferenceController.class).setTimeZoneInfo(tzInfo); in setDisplayedTimeZoneInfo()
228 use(FixedOffsetPreferenceController.class).setTimeZoneInfo( in setDisplayedFixedOffsetTimeZoneInfo()
231 use(FixedOffsetPreferenceController.class).setTimeZoneInfo(null); in setDisplayedFixedOffsetTimeZoneInfo()
240 if (Objects.equals(regionId, use(RegionPreferenceController.class).getRegionId()) in onZonePickerRequestResult()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DTimeZoneSettings.java183 use(RegionPreferenceController.class).getRegionId()); in onRegionZonePreferenceClicked()
203 use(RegionPreferenceController.class).setRegionId(regionId); in setDisplayedRegion()
212 use(RegionZonePreferenceController.class).setTimeZoneInfo(tzInfo); in setDisplayedTimeZoneInfo()
215 use(RegionZonePreferenceController.class).setClickable(tzInfo == null || in setDisplayedTimeZoneInfo()
217 use(TimeZoneInfoPreferenceController.class).setTimeZoneInfo(tzInfo); in setDisplayedTimeZoneInfo()
224 use(FixedOffsetPreferenceController.class).setTimeZoneInfo( in setDisplayedFixedOffsetTimeZoneInfo()
227 use(FixedOffsetPreferenceController.class).setTimeZoneInfo(null); in setDisplayedFixedOffsetTimeZoneInfo()
236 if (Objects.equals(regionId, use(RegionPreferenceController.class).getRegionId()) in onZonePickerRequestResult()
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccess.java48 use(UnrestrictedDataAccessPreferenceController.class).setParentFragment(this); in onCreate()
67 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onOptionsItemSelected()
68 use(UnrestrictedDataAccessPreferenceController.class).rebuild(); in onOptionsItemSelected()
91 use(UnrestrictedDataAccessPreferenceController.class).setSession(getSettingsLifecycle()); in onAttach()
92 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onAttach()
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses9 you may not use this file except in compliance with the License.
26 "License" shall mean the terms and conditions for use, reproduction,
94 use, offer to sell, sell, import, and otherwise transfer the Work,
142 for use, reproduction, or distribution of Your modifications, or
143 for any such Derivative Works as a whole, provided Your use,
155 6. Trademarks. This License does not grant permission to use the trade
157 except as required for reasonable and customary use in describing the
176 result of this License or out of the use or inability to use the
208 "License" shall mean the terms and conditions for use, reproduction,
276 use, offer to sell, sell, import, and otherwise transfer the Work,
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DUnrestrictedDataAccess.java53 use(UnrestrictedDataAccessPreferenceController.class).setParentFragment(this); in onCreate()
72 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onOptionsItemSelected()
73 use(UnrestrictedDataAccessPreferenceController.class).rebuild(); in onOptionsItemSelected()
96 use(UnrestrictedDataAccessPreferenceController.class).setSession(getSettingsLifecycle()); in onAttach()
97 use(UnrestrictedDataAccessPreferenceController.class).setFilter(mFilter); in onAttach()
/packages/modules/DnsResolver/
DNOTICE4 Redistribution and use in source and binary forms, with or without
33 Redistribution and use in source and binary forms, with or without
61 Redistribution and use in source and binary forms, with or without
89 you may not use this file except in compliance with the License.
105 Redistribution and use in source and binary forms, with or without
134 Redistribution and use in source and binary forms, with or without
142 3. All advertising materials mentioning features or use of this software
167 Redistribution and use in source and binary forms, with or without
193 Permission to use, copy, modify, and distribute this software for any
214 Redistribution and use in source and binary forms, with or without
[all …]
/packages/apps/TV/res/raw/
Dthird_party_licenses12 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
39 "License" shall mean the terms and conditions for use, reproduction,
107 use, offer to sell, sell, import, and otherwise transfer the Work,
155 for use, reproduction, or distribution of Your modifications, or
156 for any such Derivative Works as a whole, provided Your use,
168 6. Trademarks. This License does not grant permission to use the trade
170 except as required for reasonable and customary use in describing the
189 result of this License or out of the use or inability to use the
222 you may not use this file except in compliance with the License.
244 "License" shall mean the terms and conditions for use, reproduction,
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java67 use(MultiNetworkHeaderController.class).init(getSettingsLifecycle()); in onAttach()
68 use(AirplaneModePreferenceController.class).setFragment(this); in onAttach()
69 getSettingsLifecycle().addObserver(use(AllInOneTetherPreferenceController.class)); in onAttach()
75 use(AllInOneTetherPreferenceController.class).initEnabler(getSettingsLifecycle()); in onCreatePreferences()
137 use(MobilePlanPreferenceController.class); in onCreateDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettingsTest.java50 .use(SubscribedAccessPointsPreferenceController.class); in setUp()
52 .use(SavedAccessPointsPreferenceController.class); in setUp()
64 public <T extends AbstractPreferenceController> T use(Class<T> clazz) { in use() method in SavedAccessPointsWifiSettingsTest.TestFragment
65 return super.use(clazz); in use()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints2/
DSavedAccessPointsWifiSettings2Test.java51 .use(SubscribedAccessPointsPreferenceController2.class); in setUp()
53 .use(SavedAccessPointsPreferenceController2.class); in setUp()
65 public <T extends AbstractPreferenceController> T use(Class<T> clazz) { in use() method in SavedAccessPointsWifiSettings2Test.TestFragment
66 return super.use(clazz); in use()

12345678910>>...22