Home
last modified time | relevance | path

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

12345678910>>...19

/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkSettings.java141 use(CallsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach()
142 use(SmsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach()
143 use(MobileNetworkSwitchController.class).init(getLifecycle(), mSubId); in onAttach()
144 use(CarrierSettingsVersionPreferenceController.class).init(mSubId); in onAttach()
145 use(BillingCyclePreferenceController.class).init(mSubId); in onAttach()
146 use(MmsMessagePreferenceController.class).init(mSubId); in onAttach()
147 use(DataDuringCallsPreferenceController.class).init(getLifecycle(), mSubId); in onAttach()
148 use(DisabledSubscriptionController.class).init(getLifecycle(), mSubId); in onAttach()
149 use(DeleteSimProfilePreferenceController.class).init(mSubId, this, in onAttach()
151 use(DisableSimFooterPreferenceController.class).init(mSubId); 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.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/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/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/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()
310 use(WorkSoundPreferenceController.class); in enableWorkSync()
/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.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()
224 use(WifiTetherSSIDPreferenceController.class) in updateDisplayWithNewConfig()
226 use(WifiTetherSecurityPreferenceController.class) in updateDisplayWithNewConfig()
228 use(WifiTetherPasswordPreferenceController.class) in updateDisplayWithNewConfig()
230 use(WifiTetherApBandPreferenceController.class) in updateDisplayWithNewConfig()
/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()
224 use(WifiTetherSSIDPreferenceController.class) in updateDisplayWithNewConfig()
226 use(WifiTetherSecurityPreferenceController.class) in updateDisplayWithNewConfig()
228 use(WifiTetherPasswordPreferenceController.class) in updateDisplayWithNewConfig()
230 use(WifiTetherApBandPreferenceController.class) in updateDisplayWithNewConfig()
/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/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/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/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/connecteddevice/
DConnectedDeviceDashboardFragment.java89 use(AvailableMediaDeviceGroupController.class).init(this); in onAttach()
90 use(ConnectedDeviceGroupController.class).init(this); in onAttach()
91 use(PreviouslyConnectedDevicePreferenceController.class).init(this); in onAttach()
92 use(DiscoverableFooterPreferenceController.class).init(this); in onAttach()
93 use(SlicePreferenceController.class).setSliceUri( in onAttach()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DConnectedDeviceDashboardFragment.java93 use(AvailableMediaDeviceGroupController.class).init(this); in onAttach()
94 use(ConnectedDeviceGroupController.class).init(this); in onAttach()
95 use(PreviouslyConnectedDevicePreferenceController.class).init(this); in onAttach()
96 use(DiscoverableFooterPreferenceController.class).init(this); in onAttach()
97 use(SlicePreferenceController.class).setSliceUri(nearbyEnabled in onAttach()
/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/apps/Settings/src/com/android/settings/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/tests/robotests/src/com/android/settings/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettingsTest.java49 .use(SubscribedAccessPointsPreferenceController.class); in setUp()
51 .use(SavedAccessPointsPreferenceController.class); in setUp()
63 public <T extends AbstractPreferenceController> T use(Class<T> clazz) { in use() method in SavedAccessPointsWifiSettingsTest.TestFragment
64 return super.use(clazz); in use()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DChooseLockTypeFragment.java56 controllers.add(use(NoLockPreferenceController.class, R.string.pk_no_lock)); in onAttach()
57 controllers.add(use(PatternLockPreferenceController.class, R.string.pk_pattern_lock)); in onAttach()
58 controllers.add(use(PasswordLockPreferenceController.class, R.string.pk_password_lock)); in onAttach()
59 controllers.add(use(PinLockPreferenceController.class, R.string.pk_pin_lock)); in onAttach()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/savedaccesspoints/
DSavedAccessPointsWifiSettings.java76 use(SavedAccessPointsPreferenceController.class) in onAttach()
78 use(SubscribedAccessPointsPreferenceController.class) in onAttach()
177 use(SubscribedAccessPointsPreferenceController.class) in onForget()
180 use(SavedAccessPointsPreferenceController.class) in onForget()
186 use(SavedAccessPointsPreferenceController.class)); in onForget()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageSettingsFragment.java54 use(StorageMediaCategoryPreferenceController.class, in onAttach()
56 use(StorageOtherCategoryPreferenceController.class, in onAttach()
58 use(StorageFileCategoryPreferenceController.class, in onAttach()
60 use(StorageSystemCategoryPreferenceController.class, in onAttach()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DApplicationLaunchSettingsFragment.java68 ApplicationWithVersionPreferenceController appController = use( in onAttach()
75 use(AppLinkStatePreferenceController.class, in onAttach()
77 use(DomainUrlsPreferenceController.class, in onAttach()
79 use(ClearDefaultsPreferenceController.class, in onAttach()

12345678910>>...19