Home
last modified time | relevance | path

Searched refs:configs (Results 1 – 22 of 22) sorted by relevance

/packages/services/Car/tests/libvehiclenetwork-java-test/src/com/android/car/vehiclenetwork/libtest/
DVehicleNetworkTest.java64 VehiclePropConfigs configs = mVehicleNetwork.listProperties(); in testListProperties() local
65 assertNotNull(configs); in testListProperties()
66 assertTrue(configs.getConfigsCount() > 0); in testListProperties()
67 Log.i(TAG, "got configs:" + configs.getConfigsCount()); in testListProperties()
68 for (VehiclePropConfig config : configs.getConfigsList()) { in testListProperties()
72 int oneProperty = configs.getConfigs(0).getProp(); in testListProperties()
76 configs.getConfigs(0), configs2.getConfigs(0))); in testListProperties()
89 VehiclePropConfigs configs = mVehicleNetwork.listProperties(); in testGetProperty() local
90 assertNotNull(configs); in testGetProperty()
91 assertTrue(configs.getConfigsCount() > 0); in testGetProperty()
[all …]
DVehicleNetworkMockedTest.java449 VehiclePropConfigs configs = in onListProperties() local
451 return configs; in onListProperties()
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
DVehiclePropConfigsParcelable.java26 public final VehiclePropConfigs configs; field in VehiclePropConfigsParcelable
28 public VehiclePropConfigsParcelable(VehiclePropConfigs configs) { in VehiclePropConfigsParcelable() argument
29 this.configs = configs; in VehiclePropConfigsParcelable()
35 configs = VehiclePropConfigs.parseFrom(blob); in VehiclePropConfigsParcelable()
49 dest.writeBlob(configs.toByteArray()); in writeToParcel()
DVehicleNetwork.java137 return parcelable.configs; in listProperties()
654 VehiclePropConfigs configs = vehicleNetwork.getHalMock().onListProperties(); in onListProperties() local
655 return new VehiclePropConfigsParcelable(configs); in onListProperties()
/packages/services/Car/libvehiclenetwork/native/
DIVehicleNetworkHalMock.cpp78 std::unique_ptr<VehiclePropConfigs> configs(new VehiclePropConfigs()); in onListProperties() local
79 if (configs.get() == NULL) { in onListProperties()
82 if(!configs->ParseFromArray(blob.blob->data(), size)) { in onListProperties()
88 status = VehicleNetworkProtoUtil::fromVehiclePropConfigs(*configs.get(), in onListProperties()
184 std::unique_ptr<VehiclePropConfigs> configs(new VehiclePropConfigs()); in onTransact() local
185 ASSERT_OR_HANDLE_NO_MEMORY(configs.get(), return NO_MEMORY); in onTransact()
186 VehicleNetworkProtoUtil::toVehiclePropConfigs(holder->getList(), *configs.get()); in onTransact()
187 int size = configs->ByteSize(); in onTransact()
193 configs->SerializeToArray(blob.blob->data(), size); in onTransact()
DIVehicleNetwork.cpp86 std::unique_ptr<VehiclePropConfigs> configs(new VehiclePropConfigs()); in listProperties() local
87 if (configs.get() == NULL) { in listProperties()
90 if(!configs->ParseFromArray(blob.blob->data(), size)) { in listProperties()
96 status = VehicleNetworkProtoUtil::fromVehiclePropConfigs(*configs.get(), in listProperties()
267 std::unique_ptr<VehiclePropConfigs> configs(new VehiclePropConfigs()); in onTransact() local
268 ASSERT_OR_HANDLE_NO_MEMORY(configs.get(), return NO_MEMORY); in onTransact()
269 VehicleNetworkProtoUtil::toVehiclePropConfigs(holder->getList(), *configs.get()); in onTransact()
270 int size = configs->ByteSize(); in onTransact()
276 configs->SerializeToArray(blob.blob->data(), size); in onTransact()
DVehicleNetworkProtoUtil.cpp562 r = fromVehiclePropConfig(in.configs(i), *entry); in fromVehiclePropConfigs()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceView.java164 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local
165 egl.eglChooseConfig(display, CONFIG_ATTRIBUTES, configs, numConfigs, numConfig); in chooseConfig()
168 printConfigs(egl, display, configs); in chooseConfig()
172 return chooseConfig(egl, display, configs); in chooseConfig()
176 EGLConfig[] configs) { in chooseConfig() argument
177 for (EGLConfig config : configs) { in chooseConfig()
213 EGLConfig[] configs) { in printConfigs() argument
214 int numConfigs = configs.length; in printConfigs()
218 printConfig(egl, display, configs[i]); in printConfigs()
/packages/apps/Camera2/src/com/android/camera/
DSurfaceTextureRenderer.java201 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig() local
203 display, CONFIG_SPEC, configs, numConfigs, numConfig)) { in chooseConfig()
207 return configs[0]; in chooseConfig()
/packages/services/Car/service/src/com/android/car/
DCarTestService.java132 VehiclePropConfigs configs = VehicleHal.getInstance().getVehicleNetwork().listProperties( in isPropertySupported() local
134 return configs != null; in isPropertySupported()
/packages/apps/Settings/src/com/android/settings/drawable/
DDrawableWrapper.java54 public void setChangingConfigurations(int configs) { in setChangingConfigurations() argument
55 mDrawable.setChangingConfigurations(configs); in setChangingConfigurations()
/packages/apps/Settings/src/com/android/settings/wifi/
DConfigureWifiSettings.java94 List<WifiConfiguration> configs = mWifiManager.getConfiguredNetworks(); in initPreferences() local
95 if (configs == null || configs.size() == 0) { in initPreferences()
/packages/apps/Gallery2/src/com/android/photos/views/
DBlockingGLTextureView.java116 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local
118 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig()
122 return configs[0]; in chooseEglConfig()
/packages/services/Car/car-systemtest-lib/src/android/car/test/
DCarTestManager.java151 VehiclePropConfigs configs = testManager.getHalMock().onListProperties(); in onListProperties() local
152 return new VehiclePropConfigsParcelable(configs); in onListProperties()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java206 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local
208 if (!mEgl.eglChooseConfig(mEglDisplay, configSpec, configs, 1, configsCount)) { in chooseEglConfig()
212 return configs[0]; in chooseEglConfig()
/packages/apps/Nfc/src/com/android/nfc/beam/
DFireflyRenderer.java355 EGLConfig[] configs = new EGLConfig[1]; in chooseEglConfig() local
356 if (!mEgl.eglChooseConfig(mEglDisplay, sEglConfig, configs, 1, configsCount)) { in chooseEglConfig()
360 return configs[0]; in chooseEglConfig()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java266 public static void dumpProperties(PrintWriter writer, Collection<VehiclePropConfig> configs) { in dumpProperties() argument
267 for (VehiclePropConfig config : configs) { in dumpProperties()
DAudioHalService.java187 VehiclePropConfigs configs = vn.listProperties( in setAudioRoutingPolicy() local
189 if (configs == null) { in setAudioRoutingPolicy()
/packages/services/Car/vehicle_network_service/
DVehicleNetworkService.cpp379 vehicle_prop_config_t const* configs = mDevice->list_properties(mDevice, &numConfigs); in onFirstRef() local
383 mProperties->getList().push_back(&configs[i]); in onFirstRef()
385 configs = getInternalProperties(); in onFirstRef()
387 mProperties->getList().push_back(&configs[i]); in onFirstRef()
/packages/services/Car/libvehiclenetwork/proto/
DVehicleNetworkProto.proto41 repeated VehiclePropConfig configs = 1; field
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java853 StreamConfigurationMap configs = in getDefaultPictureSize() local
855 android.util.Size[] supportedSizes = configs.getOutputSizes(sCaptureImageFormat); in getDefaultPictureSize()
DOneCameraZslImpl.java390 StreamConfigurationMap configs = in getDefaultPictureSize() local
392 android.util.Size[] supportedSizes = configs.getOutputSizes(sCaptureImageFormat); in getDefaultPictureSize()