Home
last modified time | relevance | path

Searched refs:initialize (Results 1 – 25 of 477) sorted by relevance

12345678910>>...20

/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogControllerTest.java192 mController.initialize(); in initialize_updateNetworkProviderWithFoobarCarrier_shouldUpdateCarrierWithFoobar()
199 mController.initialize(); in initialize_shouldUpdatePhoneNumber()
208 mController.initialize(); in initialize_updateLatestAreaInfoWithCdmaPhone_shouldRemoveOperatorInfoSetting()
218 mController.initialize(); in initialize_updateServiceStateWithInService_shouldUpdateTextToBeCInService()
229 mController.initialize(); in initialize_updateServiceStateWithPowerOff_shouldUpdateTextAndResetSignalStrength()
243 mController.initialize(); in initialize_updateVoiceDataOutOfService_shouldUpdateSettingAndResetSignalStrength()
256 mController.initialize(); in initialize_updateVoiceOutOfServiceDataInService_shouldUpdateTextToBeInService()
271 mController.initialize(); in initialize_updateSignalStrengthWithLte50Wcdma40_shouldUpdateSignalStrengthTo50()
286 mController.initialize(); in initialize_updateSignalStrengthWithLte50Cdma30_shouldUpdateSignalStrengthTo50()
302 mController.initialize(); in initialize_updateVoiceOutOfServiceDataInService_shouldUpdateSignalStrengthTo50()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserDetailsSettingsTest.java167 mFragment.initialize(mActivity, null); in initialize_nullArguments_shouldThrowException()
172 mFragment.initialize(mActivity, new Bundle()); in initialize_emptyArguments_shouldThrowException()
181 mFragment.initialize(mActivity, mArguments); in initialize_userSelected_shouldSetupSwitchPref()
196 mFragment.initialize(mActivity, mArguments); in initialize_guestSelected_shouldSetupSwitchPref()
209 mFragment.initialize(mActivity, mArguments); in initialize_userSelected_shouldNotShowAppAndContentPref()
218 mFragment.initialize(mActivity, mArguments); in initialize_guestSelected_shouldNotShowAppAndContentPref()
273 mFragment.initialize(mActivity, mArguments); in initialize_adminWithTelephony_shouldShowPhonePreference()
286 mFragment.initialize(mActivity, mArguments); in initialize_adminNoTelephony_shouldNotShowPhonePreference()
297 mFragment.initialize(mActivity, mArguments); in initialize_nonAdminWithTelephony_shouldNotShowPhonePreference()
307 mFragment.initialize(mActivity, mArguments); in initialize_nonAdmin_shouldNotShowAppAndContentPref()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalTest.java84 when(mIHostapdAidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithAidlImp()
85 assertEquals(mHostapdHal.initialize(), shouldSucceed); in initializeWithAidlImp()
86 verify(mIHostapdAidlMock).initialize(); in initializeWithAidlImp()
87 verify(mIHostapdHidlMock, never()).initialize(); in initializeWithAidlImp()
92 when(mIHostapdHidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithHidlImp()
93 assertEquals(mHostapdHal.initialize(), shouldSucceed); in initializeWithHidlImp()
94 verify(mIHostapdHidlMock).initialize(); in initializeWithHidlImp()
95 verify(mIHostapdAidlMock, never()).initialize(); in initializeWithHidlImp()
141 assertFalse(mHostapdHal.initialize()); in testInitFailure_null()
142 verify(mIHostapdHidlMock, never()).initialize(); in testInitFailure_null()
[all …]
DHalDeviceManagerTest.java233 chipMock.initialize(); in testStartStopFlow()
255 chipMock.initialize(); in testMultipleCallbackRegistrations()
283 chipMock.initialize(); in testWifiDeathAndRegistration()
290 verify(mWifiMock, atLeastOnce()).initialize(deathRecipientCaptor.capture()); in testWifiDeathAndRegistration()
315 chipMock.initialize(); in testWifiFail()
348 chipMock.initialize(); in testCacheMismatchError()
430 chipMock.initialize(); in testStartHalRetryUponNotAvailableFailure()
447 chipMock.initialize(); in testStartHalRetryFailUponMultipleNotAvailableFailures()
464 chipMock.initialize(); in testStartHalRetryFailUponTrueFailure()
483 chipMock.initialize(); in testAndTriggerRttLifecycleCallbacksRegBeforeChipConfig()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/consent/
DAppConsentDaoTest.java87 verify(mDatastoreSpy, never()).initialize(); in testInitializeOnlyOnce()
93 verify(mDatastoreSpy).initialize(); in testInitializeOnlyOnce()
218 verify(mDatastoreSpy).initialize(); in testSetConsentForAppSuccess()
230 verify(mDatastoreSpy).initialize(); in testSetConsentForNotFoundAppThrows()
255 verify(mDatastoreSpy).initialize(); in testSetConsentForAppIfNewWithNewKeysSuccess()
279 verify(mDatastoreSpy).initialize(); in testSetConsentForAppIfNewWithExistingKeysUsesOldValues()
291 verify(mDatastoreSpy).initialize(); in testSetConsentForNotFoundAppIfNewThrows()
318 verify(mDatastoreSpy).initialize(); in testIsConsentRevokedForAppSuccess()
330 verify(mDatastoreSpy).initialize(); in testIsConsentRevokedForNotFoundAppThrows()
362 verify(mDatastoreSpy).initialize(); in testGetKnownAppsWithConsent()
[all …]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DMatrixUtils.h35 initialize(); in Matrix33()
45 initialize(identity); in Matrix33()
51 void initialize(bool identity = false) {
93 initialize(); in Matrix9()
103 initialize(identity); in Matrix9()
109 void initialize(bool identity = false) {
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java143 mUwbCountryCode.initialize(); in testSetDefaultCountryCodeWhenNoCountryCodeAvailable()
151 mUwbCountryCode.initialize(); in testInitializeCountryCodeFromTelephony()
160 mUwbCountryCode.initialize(); in testSkipWhenExceptionThrownInInitializeCountryCodeFromTelephony()
170 mUwbCountryCode.initialize(); in testInitializeCountryCodeFromTelephonyVerifyListener()
179 mUwbCountryCode.initialize(); in testSetCountryCodeFromTelephony()
195 mUwbCountryCode.initialize(); in testSetCountryCodeFromLocation()
217 mUwbCountryCode.initialize(); in testSetCountryCodeWithForceUpdateFromTelephony()
230 mUwbCountryCode.initialize(); in testSetCountryCodeFromOemWhenTelephonyAndWifiNotAvailable()
243 mUwbCountryCode.initialize(); in testSetCountryCode_statusError()
256 mUwbCountryCode.initialize(); in testChangeInTelephonyCountryCode()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/widget/
DSortOrderSpinner.java42 initialize(); in SortOrderSpinner()
47 initialize(); in SortOrderSpinner()
52 initialize(); in SortOrderSpinner()
58 initialize(); in SortOrderSpinner()
64 initialize(); in SortOrderSpinner()
70 initialize(); in SortOrderSpinner()
73 private void initialize() { in initialize() method in SortOrderSpinner
DPlaceholderImageView.java23 initialize(); in PlaceholderImageView()
28 initialize(); in PlaceholderImageView()
34 initialize(); in PlaceholderImageView()
45 private void initialize() { in initialize() method in PlaceholderImageView
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/consent/
DAppConsentManagerTest.java67 mDatastoreSpy.initialize(); in setup()
191 verify(mDatastoreSpy).initialize(); in testSetConsentForAppSuccess()
218 verify(mDatastoreSpy).initialize(); in testSetConsentForAppIfNewWithNewKeysSuccess()
245 verify(mDatastoreSpy).initialize(); in testSetConsentForAppIfNewWithExistingKeysUsesOldValues()
288 verify(mDatastoreSpy).initialize(); in testIsConsentRevokedForAppSuccess()
313 verify(mDatastoreSpy).initialize(); in testGetKnownAppsWithConsent()
325 verify(mDatastoreSpy).initialize(); in testGetKnownAppsWithConsentNotExistentApp()
350 verify(mDatastoreSpy).initialize(); in testGetAppsWithRevokedConsent()
362 verify(mDatastoreSpy).initialize(); in testGetAppsWithRevokedConsentNonExistentApp()
377 verify(mDatastoreSpy).initialize(); in testClearAllConsentData()
[all …]
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBluetoothChannelModeDialogPreference.java33 initialize(context); in BluetoothChannelModeDialogPreference()
38 initialize(context); in BluetoothChannelModeDialogPreference()
44 initialize(context); in BluetoothChannelModeDialogPreference()
50 initialize(context); in BluetoothChannelModeDialogPreference()
58 private void initialize(Context context) { in initialize() method in BluetoothChannelModeDialogPreference
DBluetoothSampleRateDialogPreference.java33 initialize(context); in BluetoothSampleRateDialogPreference()
38 initialize(context); in BluetoothSampleRateDialogPreference()
44 initialize(context); in BluetoothSampleRateDialogPreference()
50 initialize(context); in BluetoothSampleRateDialogPreference()
58 private void initialize(Context context) { in initialize() method in BluetoothSampleRateDialogPreference
DBluetoothQualityDialogPreference.java33 initialize(context); in BluetoothQualityDialogPreference()
38 initialize(context); in BluetoothQualityDialogPreference()
43 initialize(context); in BluetoothQualityDialogPreference()
49 initialize(context); in BluetoothQualityDialogPreference()
62 private void initialize(Context context) { in initialize() method in BluetoothQualityDialogPreference
DBluetoothBitPerSampleDialogPreference.java33 initialize(context); in BluetoothBitPerSampleDialogPreference()
38 initialize(context); in BluetoothBitPerSampleDialogPreference()
44 initialize(context); in BluetoothBitPerSampleDialogPreference()
50 initialize(context); in BluetoothBitPerSampleDialogPreference()
58 private void initialize(Context context) { in initialize() method in BluetoothBitPerSampleDialogPreference
DBluetoothCodecDialogPreference.java33 initialize(context); in BluetoothCodecDialogPreference()
38 initialize(context); in BluetoothCodecDialogPreference()
43 initialize(context); in BluetoothCodecDialogPreference()
49 initialize(context); in BluetoothCodecDialogPreference()
57 private void initialize(Context context) { in initialize() method in BluetoothCodecDialogPreference
/packages/modules/AdServices/adservices/framework/java/android/adservices/
DAdServicesFrameworkInitializer.java73 (service, ctx) -> ((TopicsManager) service).initialize(ctx)); in registerServiceWrappers()
82 (service, ctx) -> ((CustomAudienceManager) service).initialize(ctx)); in registerServiceWrappers()
91 (service, ctx) -> ((AdSelectionManager) service).initialize(ctx)); in registerServiceWrappers()
100 (service, ctx) -> ((MeasurementManager) service).initialize(ctx)); in registerServiceWrappers()
108 ADID_SERVICE, (service, ctx) -> ((AdIdManager) service).initialize(ctx)); in registerServiceWrappers()
117 (service, ctx) -> ((AppSetIdManager) service).initialize(ctx)); in registerServiceWrappers()
/packages/modules/NeuralNetworks/common/cpu_operations/
DPooling.cpp55 bool initialize(const IOperationExecutionContext* context) { in initialize() function
261 NN_RET_CHECK(input.initialize(inputData, inputShape)); in averagePool()
262 NN_RET_CHECK(output.initialize(outputData, outputShape)); in averagePool()
274 NN_RET_CHECK(input.initialize(inputData, inputShape)); in l2Pool()
275 NN_RET_CHECK(output.initialize(outputData, outputShape)); in l2Pool()
287 NN_RET_CHECK(input.initialize(inputData, inputShape)); in maxPool()
288 NN_RET_CHECK(output.initialize(outputData, outputShape)); in maxPool()
302 NN_RET_CHECK(param.initialize(context)); in prepare()
338 NN_RET_CHECK(param.initialize(context)); in executeAveragePool()
353 NN_RET_CHECK(param.initialize(context)); in executeL2Pool()
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSsidPreference.java48 initialize(); in WifiTetherSsidPreference()
54 initialize(); in WifiTetherSsidPreference()
60 initialize(); in WifiTetherSsidPreference()
66 initialize(); in WifiTetherSsidPreference()
69 private void initialize() { in initialize() method in WifiTetherSsidPreference
/packages/modules/NeuralNetworks/driver/cache/nnCache/
DnnCache_test.cpp73 mCache->initialize(maxKeySize, maxValueSize, maxTotalSize, GetParam()); in TEST_P()
84 mCache->initialize(maxKeySize, maxValueSize, maxTotalSize, GetParam()); in TEST_P()
114 mCache->initialize(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE, GetParam()); in TEST_P()
223 mCache->initialize(maxKeySize, maxValueSize, maxTotalSize, GetParam()); in TEST_P()
226 mCache->initialize(maxKeySize, maxValueSize, maxTotalSize, GetParam()); in TEST_P()
254 mCache->initialize(6, 10, maxTotalSize, GetParam()); in TEST_P()
266 mCache->initialize(5, 7, maxTotalSize, GetParam()); in TEST_P()
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DNormalCallDomainSelectorTest.java133 private void initialize(ServiceState serviceState, boolean isImsRegistered, in initialize() method in NormalCallDomainSelectorTest
260 initialize(serviceState, false, false, false, false); in testOutOfService()
282 initialize(serviceState, true, true, true, true); in testDomainSelection()
288 initialize(serviceState, true, false, true, true); in testDomainSelection()
317 initialize(serviceState, false, false, false, false); in testDomainSelection()
325 initialize(serviceState, true, true, true, true); in testDomainSelection()
350 initialize(serviceState, true, true, true, true); in testWPSCallDomainSelection()
359 initialize(serviceState, true, true, true, true); in testWPSCallDomainSelection()
366 initialize(serviceState, true, false, true, true); in testWPSCallDomainSelection()
393 initialize(serviceState, true, false, true, true); in testTtyCallDomainSelection()
/packages/apps/Settings/src/com/android/settings/widget/
DRestrictedAppPreference.java42 initialize(null, null); in RestrictedAppPreference()
47 initialize(null, userRestriction); in RestrictedAppPreference()
52 initialize(attrs, userRestriction); in RestrictedAppPreference()
55 private void initialize(AttributeSet attrs, String userRestriction) { in initialize() method in RestrictedAppPreference
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryAppImpl.java50 GalleryUtils.initialize(this); in onCreate()
51 WidgetUtils.initialize(this); in onCreate()
52 PicasaSource.initialize(this); in onCreate()
53 UsageStatistics.initialize(this); in onCreate()
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/mocks/
DSyncAnswerTest.java53 when(mSlowServiceInitializer.initialize()).thenAnswer(syncException); in testForException()
65 when(mSlowServiceInitializer.initialize()).thenAnswer(syncInitialized); in testForReturn()
86 boolean initialize() { in initialize() method in SyncAnswerTest.SlowServiceInitializer
111 mSlowServiceDelegate.initialize(); in asyncSlowTask()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java124 when(mP2pIfaceHalAidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithAidlImpl()
125 assertEquals(shouldSucceed, mDut.initialize()); in initializeWithAidlImpl()
126 verify(mP2pIfaceHalAidlMock).initialize(); in initializeWithAidlImpl()
127 verify(mP2pIfaceHalHidlMock, never()).initialize(); in initializeWithAidlImpl()
135 when(mP2pIfaceHalHidlMock.initialize()).thenReturn(shouldSucceed); in initializeWithHidlImpl()
136 assertEquals(shouldSucceed, mDut.initialize()); in initializeWithHidlImpl()
137 verify(mP2pIfaceHalAidlMock, never()).initialize(); in initializeWithHidlImpl()
138 verify(mP2pIfaceHalHidlMock).initialize(); in initializeWithHidlImpl()
179 assertFalse(mDut.initialize()); in testInitFailure_null()
180 verify(mP2pIfaceHalAidlMock, never()).initialize(); in testInitFailure_null()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/multichip/
DUwbMultichipDataTest.java73 mUwbMultichipData.initialize(); in testInitializeSingleChip()
87 mUwbMultichipData.initialize(); in testInitializeMultiChipButNoFilePath()
107 mUwbMultichipData.initialize(); in testInitializeMultiChipButFileDoesNotExist()
128 mUwbMultichipData.initialize(); in testInitializeMultiChipOneChipConfig()
150 mUwbMultichipData.initialize(); in testInitializeMultiChipNoPosition()
172 mUwbMultichipData.initialize(); in testInitializeMultiChipTwoChipConfig()

12345678910>>...20