Home
last modified time | relevance | path

Searched refs:checkNotNull (Results 1 – 25 of 160) sorted by relevance

1234567

/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSpecifier.java19 import static com.android.internal.util.Preconditions.checkNotNull;
194 checkNotNull(ssidPattern); in setSsidPattern()
212 checkNotNull(ssid); in setSsid()
235 checkNotNull(baseAddress); in setBssidPattern()
236 checkNotNull(mask); in setBssidPattern()
254 checkNotNull(bssid); in setBssid()
280 checkNotNull(passphrase); in setWpa2Passphrase()
298 checkNotNull(passphrase); in setWpa3Passphrase()
316 checkNotNull(enterpriseConfig); in setWpa2EnterpriseConfig()
339 checkNotNull(enterpriseConfig); in setWpa3EnterpriseConfig()
[all …]
DWifiNetworkAgentSpecifier.java19 import static com.android.internal.util.Preconditions.checkNotNull;
64 checkNotNull(wifiConfiguration); in WifiNetworkAgentSpecifier()
126 checkNotNull(ns); in satisfiesNetworkSpecifier()
127 checkNotNull(ns.ssidPatternMatcher); in satisfiesNetworkSpecifier()
128 checkNotNull(ns.bssidPatternMatcher); in satisfiesNetworkSpecifier()
129 checkNotNull(ns.wifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier()
130 checkNotNull(this.mWifiConfiguration.SSID); in satisfiesNetworkSpecifier()
131 checkNotNull(this.mWifiConfiguration.BSSID); in satisfiesNetworkSpecifier()
132 checkNotNull(this.mWifiConfiguration.allowedKeyManagement); in satisfiesNetworkSpecifier()
DWifiNetworkSuggestion.java19 import static com.android.internal.util.Preconditions.checkNotNull;
269 checkNotNull(ssid); in setSsid()
294 checkNotNull(bssid); in setBssid()
320 checkNotNull(passphrase); in setWpa2Passphrase()
338 checkNotNull(passphrase); in setWpa3Passphrase()
358 checkNotNull(enterpriseConfig); in setWpa2EnterpriseConfig()
388 checkNotNull(enterpriseConfig); in setWpa3EnterpriseConfig()
411 checkNotNull(enterpriseConfig); in setWpa3EnterpriseStandardModeConfig()
437 checkNotNull(enterpriseConfig); in setWpa3Enterprise192BitModeConfig()
467 checkNotNull(passpointConfig); in setPasspointConfig()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DFinalizationController.java22 import static com.android.internal.util.Preconditions.checkNotNull;
113 mActivity = checkNotNull(activity); in FinalizationController()
114 mFinalizationControllerLogic = checkNotNull(finalizationControllerLogic); in FinalizationController()
115 mUtils = checkNotNull(utils); in FinalizationController()
116 mSettingsFacade = checkNotNull(settingsFacade); in FinalizationController()
117 mUserProvisioningStateHelper = checkNotNull(helper); in FinalizationController()
119 mNotificationHelper = checkNotNull(notificationHelper); in FinalizationController()
120 mDeferredMetricsReader = checkNotNull(deferredMetricsReader); in FinalizationController()
DPreFinalizationController.java21 import static com.android.internal.util.Preconditions.checkNotNull;
76 mContext = checkNotNull(context); in PreFinalizationController()
77 mUtils = checkNotNull(utils); in PreFinalizationController()
78 mSettingsFacade = checkNotNull(settingsFacade); in PreFinalizationController()
79 mUserProvisioningStateHelper = checkNotNull(helper); in PreFinalizationController()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DNetworkTypeLogger.java20 import static com.android.internal.util.Preconditions.checkNotNull;
57 mContext = checkNotNull(context); in NetworkTypeLogger()
58 mUtils = checkNotNull(utils); in NetworkTypeLogger()
59 mMetricsLoggerWrapper = checkNotNull(metricsLoggerWrapper); in NetworkTypeLogger()
60 mMetricsWriter = checkNotNull(metricsWriter); in NetworkTypeLogger()
61 mSharedPreferences = checkNotNull(sharedPreferences); in NetworkTypeLogger()
DTimeLogger.java28 import static com.android.internal.util.Preconditions.checkNotNull;
76 mContext = checkNotNull(context); in TimeLogger()
77 mCategory = checkNotNull(category); in TimeLogger()
78 mMetricsLoggerWrapper = checkNotNull(metricsLoggerWrapper); in TimeLogger()
79 mAnalyticsUtils = checkNotNull(analyticsUtils); in TimeLogger()
80 mProvisioningTracker = checkNotNull(provisioningAnalyticsTracker); in TimeLogger()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DUserItemsCombiner.java22 import static androidx.core.util.Preconditions.checkNotNull;
47 mResources = checkNotNull(resources); in UserItemsCombiner()
48 mState = checkNotNull(state); in UserItemsCombiner()
53 mCurrentUser = checkNotNull(userId); in overrideCurrentUserForTest()
58 mRootList = checkNotNull(rootList); in setRootListForCurrentUser()
63 mRootListOtherUser = checkNotNull(rootList); in setRootListForOtherUser()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java19 import static com.android.internal.util.Preconditions.checkNotNull;
90 mIPackageManager = checkNotNull(iPackageManager); in NonRequiredAppsLogic()
91 mDevicePolicyManager = checkNotNull(devicePolicyManager); in NonRequiredAppsLogic()
93 mParams = checkNotNull(params); in NonRequiredAppsLogic()
94 mSnapshot = checkNotNull(snapshot); in NonRequiredAppsLogic()
95 mUtils = checkNotNull(utils); in NonRequiredAppsLogic()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DMessageParser.java21 import static com.android.internal.util.Preconditions.checkNotNull;
53 mContext = checkNotNull(context); in MessageParser()
54 mUtils = checkNotNull(utils); in MessageParser()
55 mParserUtils = checkNotNull(parserUtils); in MessageParser()
56 mSettingsFacade = checkNotNull(settingsFacade); in MessageParser()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptionController.java19 import static com.android.internal.util.Preconditions.checkNotNull;
103 mContext = checkNotNull(context, "Context must not be null").getApplicationContext(); in EncryptionController()
104 mSettingsFacade = checkNotNull(settingsFacade); in EncryptionController()
105 mUtils = checkNotNull(utils, "Utils must not be null"); in EncryptionController()
106 mHomeReceiver = checkNotNull(homeReceiver, "HomeReceiver must not be null"); in EncryptionController()
107 mNotificationHelper = checkNotNull(resumeNotificationHelper, in EncryptionController()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DProfileTabs.java19 import static androidx.core.util.Preconditions.checkNotNull;
56 mTabsContainer = checkNotNull(tabLayoutContainer); in ProfileTabs()
58 mState = checkNotNull(state); in ProfileTabs()
59 mEnv = checkNotNull(env); in ProfileTabs()
60 mCommonAddons = checkNotNull(commonAddons); in ProfileTabs()
61 mUserIdManager = checkNotNull(userIdManager); in ProfileTabs()
DThumbnailCache.java19 import static androidx.core.util.Preconditions.checkNotNull;
331 this.uri = checkNotNull(uri); in SizeIndexKey()
332 this.userId = checkNotNull(userId); in SizeIndexKey()
365 this.uri = checkNotNull(uri); in CacheKey()
366 this.userId = checkNotNull(userId); in CacheKey()
367 this.point = checkNotNull(point); in CacheKey()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/imaging/
DImageBinder.java20 import static androidx.core.util.Preconditions.checkNotNull;
86 mPlaceholderType = checkNotNull(type, "Need a type"); in ImageBinder()
87 mMaxImageSize = checkNotNull(maxImageSize, "Need a size"); in ImageBinder()
88 mClient = checkNotNull(consumer, "Cannot bind a null consumer"); in ImageBinder()
92 mPlaceholderType = checkNotNull(type, "Need a type"); in ImageBinder()
93 mMaxImageSize = checkNotNull(maxImageSize, "Need a size"); in ImageBinder()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java52 mContext = Preconditions.checkNotNull(context); in AutomaticStorageManagerSwitchBarController()
53 mSwitchBar = Preconditions.checkNotNull(switchBar); in AutomaticStorageManagerSwitchBarController()
54 mMetrics = Preconditions.checkNotNull(metrics); in AutomaticStorageManagerSwitchBarController()
55 mDaysToRetainPreference = Preconditions.checkNotNull(daysToRetainPreference); in AutomaticStorageManagerSwitchBarController()
56 mFragmentManager = Preconditions.checkNotNull(fragmentManager); in AutomaticStorageManagerSwitchBarController()
/packages/apps/Car/Calendar/src/com/android/car/calendar/
DAllDayEventsItem.java19 import static com.google.common.base.Preconditions.checkNotNull;
66 mExpandCollapseIcon = checkNotNull(itemView.findViewById(R.id.expand_collapse_icon)); in AllDayEventsViewHolder()
67 mTitleTextView = checkNotNull(itemView.findViewById(R.id.title_text)); in AllDayEventsViewHolder()
68 mEventItemsView = checkNotNull(itemView.findViewById(R.id.events)); in AllDayEventsViewHolder()
71 View expandCollapseView = checkNotNull(itemView.findViewById(R.id.expand_collapse)); in AllDayEventsViewHolder()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAdminIntegratedFlowPrepareManager.java20 import static com.android.internal.util.Preconditions.checkNotNull;
77 mContext = checkNotNull(context); in AdminIntegratedFlowPrepareManager()
78 mHelper = checkNotNull(helper); in AdminIntegratedFlowPrepareManager()
79 mProvisioningAnalyticsTracker = checkNotNull(analyticsTracker); in AdminIntegratedFlowPrepareManager()
80 mTimeLogger = checkNotNull(timeLogger); in AdminIntegratedFlowPrepareManager()
DAbstractProvisioningController.java19 import static com.android.internal.util.Preconditions.checkNotNull;
86 mContext = checkNotNull(context); in AbstractProvisioningController()
87 mParams = checkNotNull(params); in AbstractProvisioningController()
89 mCallback = checkNotNull(callback); in AbstractProvisioningController()
121 mWorkerHandler = checkNotNull(handler); in start()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DDirectManipulationHandler.java81 Preconditions.checkNotNull(dmState); in Builder()
87 Preconditions.checkNotNull(nudgeDelegate); in setNudgeHandler()
94 Preconditions.checkNotNull(centerButtonDelegate); in setCenterButtonHandler()
101 Preconditions.checkNotNull(backDelegate); in setBackHandler()
108 Preconditions.checkNotNull(rotationDelegate); in setRotationHandler()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java19 import static com.android.internal.util.Preconditions.checkNotNull;
87 mNetworkMonitor = checkNotNull(networkMonitor); in AddWifiNetworkTask()
88 mWifiConfigurationProvider = checkNotNull(wifiConfigurationProvider); in AddWifiNetworkTask()
90 mUtils = checkNotNull(utils); in AddWifiNetworkTask()
91 mInjector = checkNotNull(injector); in AddWifiNetworkTask()
DAbstractProvisioningTask.java20 import static com.android.internal.util.Preconditions.checkNotNull;
66 mContext = checkNotNull(context); in AbstractProvisioningTask()
68 mCallback = checkNotNull(callback); in AbstractProvisioningTask()
72 checkNotNull(provisioningAnalyticsTracker)); in AbstractProvisioningTask()
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/
DDirectManipulationHandler.java80 Preconditions.checkNotNull(dmState); in Builder()
85 Preconditions.checkNotNull(nudgeDelegate); in setNudgeHandler()
91 Preconditions.checkNotNull(backDelegate); in setBackHandler()
97 Preconditions.checkNotNull(rotationDelegate); in setRotationHandler()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java104 Preconditions.checkNotNull(mKeyStore); in installKeys()
204 Preconditions.checkNotNull(mKeyStore); in removeEntryFromKeyStore()
219 Preconditions.checkNotNull(mKeyStore); in removeKeys()
261 Preconditions.checkNotNull(mKeyStore); in updateNetworkKeys()
262 Preconditions.checkNotNull(config.enterpriseConfig); in updateNetworkKeys()
272 Preconditions.checkNotNull(existingConfig.enterpriseConfig); in updateNetworkKeys()
/packages/apps/Tag/src/com/android/apps/tag/record/
DTextRecord.java49 mLanguageCode = Preconditions.checkNotNull(languageCode); in TextRecord()
50 mText = Preconditions.checkNotNull(text); in TextRecord()
134 Preconditions.checkNotNull(text); in newTextRecord()
135 Preconditions.checkNotNull(locale); in newTextRecord()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSizesController.java176 Preconditions.checkNotNull(mTotalSize), in build()
177 Preconditions.checkNotNull(mAppSize), in build()
178 Preconditions.checkNotNull(mDataSize), in build()
179 Preconditions.checkNotNull(mCacheSize), in build()

1234567