Home
last modified time | relevance | path

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

1234567

/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharMatcher.java20 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
259 checkNotNull(sequence);
266 checkNotNull(sequence);
287 checkNotNull(sequence);
294 return checkNotNull(other);
297 checkNotNull(other);
315 checkNotNull(sequence);
324 checkNotNull(sequence);
331 checkNotNull(sequence);
343 checkNotNull(replacement);
[all …]
DStrings.java20 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
92 checkNotNull(string); // eager for GWT. in padStart()
124 checkNotNull(string); // eager for GWT. in padEnd()
148 checkNotNull(string); // eager for GWT. in repeat()
DCharEscapers.java18 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
43 checkNotNull(string);
49 checkNotNull(out);
56 checkNotNull(csq);
63 checkNotNull(csq);
881 checkNotNull(primary); in fallThrough()
882 checkNotNull(secondary); in fallThrough()
DSplitter.java20 import static com.google.android.mail.common.base.Preconditions.checkNotNull;
132 checkNotNull(separatorMatcher); in on()
203 checkNotNull(separatorPattern);
321 checkNotNull(trimmer);
332 checkNotNull(sequence);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DTransitionAnimationHelper.java18 import static com.android.internal.util.Preconditions.checkNotNull;
100 mAnimationComponents = checkNotNull(animationComponents); in TransitionAnimationHelper()
101 mCallback = checkNotNull(callback); in TransitionAnimationHelper()
254 this.header = checkNotNull(header,
256 this.drawable = checkNotNull(drawable,
268 this.transitions = checkNotNull(transitions);
281 this.header = checkNotNull(header);
282 this.subHeader = checkNotNull(subHeader);
283 this.image = checkNotNull(image);
284 this.providerInfo = checkNotNull(providerInfo);
DAbstractProvisioningController.java19 import static com.android.internal.util.Preconditions.checkNotNull;
83 mContext = checkNotNull(context); in AbstractProvisioningController()
84 mParams = checkNotNull(params); in AbstractProvisioningController()
86 mCallback = checkNotNull(callback); in AbstractProvisioningController()
87 mFinalizationController = checkNotNull(finalizationController); in AbstractProvisioningController()
122 mWorkerHandler = checkNotNull(handler); in start()
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()
DProvisioningManager.java20 import static com.android.internal.util.Preconditions.checkNotNull;
80 mContext = checkNotNull(context); in ProvisioningManager()
81 mFactory = checkNotNull(factory); in ProvisioningManager()
82 mProvisioningAnalyticsTracker = checkNotNull(analyticsTracker); in ProvisioningManager()
83 mTimeLogger = checkNotNull(timeLogger); in ProvisioningManager()
/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/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DFinalizationController.java22 import static com.android.internal.util.Preconditions.checkNotNull;
93 mContext = checkNotNull(context); in FinalizationController()
94 mUtils = checkNotNull(utils); in FinalizationController()
95 mSettingsFacade = checkNotNull(settingsFacade); in FinalizationController()
96 mUserProvisioningStateHelper = checkNotNull(helper); in FinalizationController()
98 mNotificationHelper = checkNotNull(notificationHelper); in FinalizationController()
99 mDeferredMetricsReader = checkNotNull(deferredMetricsReader); in FinalizationController()
DPrimaryProfileFinalizationHelper.java22 import static com.android.internal.util.Preconditions.checkNotNull;
50 mMdmPackageName = checkNotNull(mdmPackageName); in PrimaryProfileFinalizationHelper()
51 mManagedUserHandle = checkNotNull(managedUserHandle); in PrimaryProfileFinalizationHelper()
52 mUtils = checkNotNull(utils); in PrimaryProfileFinalizationHelper()
DUserProvisioningStateHelper.java26 import static com.android.internal.util.Preconditions.checkNotNull;
61 mContext = checkNotNull(context); in UserProvisioningStateHelper()
64 mUtils = checkNotNull(utils); in UserProvisioningStateHelper()
65 mSettingsFacade = checkNotNull(settingsFacade); in UserProvisioningStateHelper()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java19 import static com.android.internal.util.Preconditions.checkNotNull;
91 mIPackageManager = checkNotNull(iPackageManager); in NonRequiredAppsLogic()
92 mDevicePolicyManager = checkNotNull(devicePolicyManager); in NonRequiredAppsLogic()
94 mParams = checkNotNull(params); in NonRequiredAppsLogic()
95 mSnapshot = checkNotNull(snapshot); in NonRequiredAppsLogic()
96 mUtils = checkNotNull(utils); in NonRequiredAppsLogic()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptionController.java19 import static com.android.internal.util.Preconditions.checkNotNull;
86 mContext = checkNotNull(context, "Context must not be null").getApplicationContext(); in EncryptionController()
87 mSettingsFacade = checkNotNull(settingsFacade); in EncryptionController()
88 mUtils = checkNotNull(utils, "Utils must not be null"); in EncryptionController()
89 mHomeReceiver = checkNotNull(homeReceiver, "HomeReceiver must not be null"); in EncryptionController()
90 mNotificationHelper = checkNotNull(resumeNotificationHelper, in EncryptionController()
DPreProvisioningController.java41 import static com.android.internal.util.Preconditions.checkNotNull;
131 mContext = checkNotNull(context, "Context must not be null"); in PreProvisioningController()
132 mUi = checkNotNull(ui, "Ui must not be null"); in PreProvisioningController()
133 mTimeLogger = checkNotNull(timeLogger, "Time logger must not be null"); in PreProvisioningController()
134 mMessageParser = checkNotNull(parser, "MessageParser must not be null"); in PreProvisioningController()
135 mSettingsFacade = checkNotNull(settingsFacade); in PreProvisioningController()
136 mUtils = checkNotNull(utils, "Utils must not be null"); in PreProvisioningController()
137 mEncryptionController = checkNotNull(encryptionController, in PreProvisioningController()
139 mSharedPreferences = checkNotNull(sharedPreferences); in PreProvisioningController()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsListAdapter.java18 import static com.android.internal.util.Preconditions.checkNotNull;
55 mTermsDocuments = checkNotNull(termsDocuments); in TermsListAdapter()
56 mInflater = checkNotNull(layoutInflater); in TermsListAdapter()
57 mGroupExpandedInfo = checkNotNull(groupExpandedInfo); in TermsListAdapter()
58 mContextMenuMaker = checkNotNull(contextMenuMaker); in TermsListAdapter()
59 mContext = checkNotNull(context); in TermsListAdapter()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java51 mContext = Preconditions.checkNotNull(context); in AutomaticStorageManagerSwitchBarController()
52 mSwitchBar = Preconditions.checkNotNull(switchBar); in AutomaticStorageManagerSwitchBarController()
53 mMetrics = Preconditions.checkNotNull(metrics); in AutomaticStorageManagerSwitchBarController()
54 mDaysToRetainPreference = Preconditions.checkNotNull(daysToRetainPreference); in AutomaticStorageManagerSwitchBarController()
55 mFragmentManager = Preconditions.checkNotNull(fragmentManager); in AutomaticStorageManagerSwitchBarController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java51 mContext = Preconditions.checkNotNull(context); in AutomaticStorageManagerSwitchBarController()
52 mSwitchBar = Preconditions.checkNotNull(switchBar); in AutomaticStorageManagerSwitchBarController()
53 mMetrics = Preconditions.checkNotNull(metrics); in AutomaticStorageManagerSwitchBarController()
54 mDaysToRetainPreference = Preconditions.checkNotNull(daysToRetainPreference); in AutomaticStorageManagerSwitchBarController()
55 mFragmentManager = Preconditions.checkNotNull(fragmentManager); in AutomaticStorageManagerSwitchBarController()
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java267 Preconditions.checkNotNull(listener, "listener cannot be null"); in registerProjectionListener()
464 Preconditions.checkNotNull("serviceIntent cannot be null"); in registerProjectionRunner()
481 Preconditions.checkNotNull("serviceIntent cannot be null"); in unregisterProjectionRunner()
508 Preconditions.checkNotNull(callback, "callback cannot be null"); in startProjectionAccessPoint()
574 Preconditions.checkNotNull(device, "device cannot be null"); in requestBluetoothProfileInhibit()
592 Preconditions.checkNotNull(device, "device cannot be null"); in releaseBluetoothProfileInhibit()
610 Preconditions.checkNotNull(status, "status cannot be null"); in updateProjectionStatus()
628 Preconditions.checkNotNull(listener, "listener cannot be null"); in registerProjectionStatusListener()
659 Preconditions.checkNotNull(listener, "listener cannot be null"); in unregisterProjectionStatusListener()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DRemoveAccountAsyncTask.java25 import static com.android.internal.util.Preconditions.checkNotNull;
40 this.mContextRef = new WeakReference<>(checkNotNull(context)); in RemoveAccountAsyncTask()
41 this.mAccountToRemove = checkNotNull(accountToRemove); in RemoveAccountAsyncTask()
42 this.mUtils = checkNotNull(utils); in RemoveAccountAsyncTask()
/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;
67 mContext = checkNotNull(context); in AbstractProvisioningTask()
69 mCallback = checkNotNull(callback); in AbstractProvisioningTask()
73 checkNotNull(provisioningAnalyticsTracker)); in AbstractProvisioningTask()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DNetworkMonitor.java19 import static com.android.internal.util.Preconditions.checkNotNull;
72 mContext = checkNotNull(context); in NetworkMonitor()
73 mUtils = checkNotNull(utils); in NetworkMonitor()
81 mCallback = checkNotNull(callback); in startListening()
/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()

1234567