Home
last modified time | relevance | path

Searched refs:getConfig (Results 1 – 25 of 150) sorted by relevance

123456

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java284 lenient().when(provider.getConfig()).thenReturn(config); in createMockProvider()
580 assertEquals(config, providers.get(0).getConfig()); in addRemoveSavedProviderWithValidUserCredential()
646 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
649 assertTrue(mManager.enableAutojoin(null, provider.getConfig().getHomeSp().getFqdn(), in verifyEnableAutojoin()
652 assertFalse(mManager.enableAutojoin(null, provider.getConfig().getHomeSp() in verifyEnableAutojoin()
655 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
658 assertTrue(mManager.enableAutojoin(provider.getConfig().getUniqueId(), null, in verifyEnableAutojoin()
662 mManager.enableAutojoin(provider.getConfig().getHomeSp().getFqdn() + "-XXXX", in verifyEnableAutojoin()
677 assertTrue(mManager.enableMacRandomization(provider.getConfig().getHomeSp().getFqdn(), in verifyEnableMacRandomization()
682 assertTrue(mManager.enableMacRandomization(provider.getConfig().getHomeSp().getFqdn(), in verifyEnableMacRandomization()
[all …]
/frameworks/av/services/audiopolicy/tests/
Daudio_health_tests.cpp68 ASSERT_NE("AudioPolicyConfig::setDefault", manager.getConfig().getSource()); in TEST()
70 for (auto desc : manager.getConfig().getInputDevices()) { in TEST()
73 for (auto desc : manager.getConfig().getOutputDevices()) { in TEST()
DAudioPolicyTestManager.h26 using AudioPolicyManager::getConfig;
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DListGridLayout.java181 private int[] getConfig() { in getConfig() method in ListGridLayout
193 return getConfig()[0]; in getRowCount()
200 return getConfig()[1]; in getColumnCount()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
DBitmapUtil.java49 if (bitmap.getConfig() != Bitmap.Config.HARDWARE) { in hardwareBitmapToBundle()
51 "Passed bitmap must have hardware config, found: " + bitmap.getConfig()); in hardwareBitmapToBundle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java109 if (DEBUG) Log.d(TAG, "connect networkId=" + ap.getConfig().networkId); in connect()
111 mWifiTracker.getManager().connect(ap.getConfig().networkId, mConnectListener); in connect()
122 mWifiTracker.getManager().connect(ap.getConfig(), mConnectListener); in connect()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DPrivacyUtilsTests.java93 encoder.getConfig().toString()); in testPrivacyUtils_createInsecureDPEncoderForTest()
103 encoder.getConfig().toString()); in testPrivacyUtils_createSecureDPEncoderTest()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java121 Bitmap target = Bitmap.createBitmap(width, height, getConfig(bitmap)); in resizeBitmapByScale()
130 private static Bitmap.Config getConfig(Bitmap bitmap) { in getConfig() method in BitmapUtils
131 Bitmap.Config config = bitmap.getConfig(); in getConfig()
157 Bitmap target = Bitmap.createBitmap(size, size, getConfig(bitmap)); in resizeAndCropCenter()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsTest.java81 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testExceptionHandlingInGetSmartActionsFuture()
125 when(bitmap.getConfig()).thenReturn(Bitmap.Config.RGB_565); in testUnsupportedBitmapConfiguration()
140 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testScreenshotNotificationSmartActionsProviderInvokedOnce()
152 when(bitmap.getConfig()).thenReturn(Bitmap.Config.HARDWARE); in testSupportedBitmapConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java193 mProviders.put(provider.getConfig().getUniqueId(), provider); in setProviders()
263 String uniqueId = entry.getValue().getConfig().getUniqueId(); in removePasspointProviderWithPackage()
525 String uniqueId = provider.getConfig().getUniqueId(); in removeProviderInternal()
572 if (!TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in removeProvider()
627 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableAutojoin()
655 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in enableMacRandomization()
686 if (TextUtils.equals(provider.getConfig().getHomeSp().getFqdn(), fqdn)) { in setMeteredOverride()
719 configs.add(provider.getConfig()); in getProviderConfigs()
765 if (isExpired(match.first.getConfig())) { in matchProvider()
848 Log.d(TAG, "Matching provider " + provider.getConfig().getHomeSp().getFqdn() in getAllMatchedProviders()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DImsService.java165 public IImsConfig getConfig(int slotId) {
166 ImsConfigImplBase c = ImsService.this.getConfig(slotId);
359 public ImsConfigImplBase getConfig(int slotId) { in getConfig() method in ImsService
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java90 AudioRecordingConfiguration getConfig() { in getConfig() method in RecordingActivityMonitor.RecordingState
229 && state.getConfig().getClientUid() == uid) { in isRecordingActiveForUid()
304 state.getRiid(), state.getConfig())); in onAudioServerDied()
358 configs.add(state.getConfig()); in getActiveRecordingConfigurations()
487 sEventLogger.log(new RecordingEvent(event, riid, state.getConfig())); in updateSnapshot()
/frameworks/base/core/java/android/privacy/
DDifferentialPrivacyEncoder.java67 DifferentialPrivacyConfig getConfig(); in getConfig() method
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiAssociationTest.java71 WifiConfiguration config = getConfig(ssid, securityType, password); in testWifiAssociation()
80 private WifiConfiguration getConfig(String ssid, SecurityType securityType, String password) { in getConfig() method in WifiAssociationTest
/frameworks/base/core/jni/
Dcom_google_android_gles_jni_EGLImpl.cpp58 static inline EGLConfig getConfig(JNIEnv* env, jobject o) { in getConfig() function
227 EGLConfig cnf = getConfig(_env, config); in jni_eglCreateContext()
243 EGLConfig cnf = getConfig(_env, config); in jni_eglCreatePbufferSurface()
265 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurface()
292 EGLContext cnf = getConfig(_env, config); in jni_eglCreateWindowSurfaceTexture()
320 EGLContext cnf = getConfig(_env, config); in jni_eglGetConfigAttrib()
/frameworks/base/core/tests/privacytests/src/android/privacy/
DRapporEncoderTest.java58 assertEquals("Rappor", encoder.getConfig().getAlgorithm()); in testRapporEncoder_config()
61 + "NumBloomHashes: 2", encoder.getConfig().toString()); in testRapporEncoder_config()
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DEglHelper.java170 int[] configSpec = getConfig(); in chooseEglConfig()
184 private int[] getConfig() { in getConfig() method in EglHelper
371 int[] configs = getConfig(); in dump()
/frameworks/base/core/java/android/net/
DIpSecTransform.java160 return getConfig().equals(rhs.getConfig()) && mResourceId == rhs.mResourceId; in equals()
207 IpSecConfig getConfig() { in getConfig() method in IpSecTransform
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSmartActions.java64 if (image.getConfig() != Bitmap.Config.HARDWARE) { in getSmartActionsFuture()
67 image.getConfig())); in getSmartActionsFuture()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp68 status_t LWOmxNode::getConfig( in getConfig() function in android::hardware::media::omx::V1_0::utils::LWOmxNode
72 status_t transStatus = toStatusT(mBase->getConfig( in getConfig()
279 Return<void> TWOmxNode::getConfig( in getConfig() function in android::hardware::media::omx::V1_0::utils::TWOmxNode
283 Status status = toStatus(mBase->getConfig( in getConfig()
/frameworks/av/media/libstagefright/omx/1.0/
DWOmxNode.cpp71 status_t LWOmxNode::getConfig( in getConfig() function in android::hardware::media::omx::V1_0::implementation::LWOmxNode
75 status_t transStatus = toStatusT(mBase->getConfig( in getConfig()
282 Return<void> TWOmxNode::getConfig( in getConfig() function in android::hardware::media::omx::V1_0::implementation::TWOmxNode
286 Status status = toStatus(mBase->getConfig( in getConfig()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java317 reconfigure(width, getHeight(), getConfig()); in setWidth()
333 reconfigure(getWidth(), height, getConfig()); in setHeight()
422 if (getConfig() == Config.HARDWARE) { in checkHardware()
661 if (getConfig() == Config.HARDWARE) { in noteHardwareBitmapSlowCall()
891 boolean isHardware = source.getConfig() == Config.HARDWARE; in createBitmap()
907 final Config config = source.getConfig(); in createBitmap()
1680 public final Config getConfig() { in getConfig() method in Bitmap
1805 if (getConfig() == Config.ALPHA_8) { in setColorSpace()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DSingleFrameTextureViewTestActivity.java174 int[] configSpec = getConfig(); in onSurfaceTextureAvailable()
184 private int[] getConfig() { in onSurfaceTextureAvailable()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java178 service.getConfig().secureSettingName, in testBackupAndRestore_migration()
185 service.onSettingRestored(service.getConfig().secondarySettingName, in testBackupAndRestore_migration()
228 service.getConfig().secureSettingName, in testBackupAndRestore_migration_preO()
234 service.onSettingRestored(service.getConfig().secondarySettingName, in testBackupAndRestore_migration_preO()
242 service.getConfig().secureSettingName, in testBackupAndRestore_migration_preO()
249 service.onSettingRestored(service.getConfig().secondarySettingName, in testBackupAndRestore_migration_preO()
624 service.getConfig().secureSettingName, userId)); in testWriteXml_writesSetting()
1279 String xmlTag = service.getConfig().xmlTag; in loadXml()
1312 xml.append("<" + service.getConfig().xmlTag + ">\n"); in getParserWithEntries()
1316 xml.append("</" + service.getConfig().xmlTag + ">"); in getParserWithEntries()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIImsServiceController.aidl40 IImsConfig getConfig(int slotId); in getConfig() method

123456