/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ConfigurationMapTest.java | 98 private ConfigurationMap mConfigs; field in ConfigurationMapTest 137 mConfigs = new ConfigurationMap(mWifiPermissionsUtil); in setUp() 149 mConfigs.setNewUser(newUserId); in switchUser() 150 mConfigs.clear(); in switchUser() 155 for (WifiConfiguration config : mConfigs.valuesForCurrentUser()) { in getEnabledNetworksForCurrentUser() 164 for (WifiConfiguration config : mConfigs.valuesForCurrentUser()) { in getEphemeralForCurrentUser() 174 assertNull(mConfigs.put(config)); in addNetworks() 197 assertEquals(config, mConfigs.getForAllUsers(config.networkId)); in verifyGetters() 203 assertEquals(config, mConfigs.getForCurrentUser(config.networkId)); in verifyGetters() 204 assertEquals(config, mConfigs.getByConfigKeyForCurrentUser( in verifyGetters() [all …]
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkMenuConfig.java | 61 private Config mConfigs[] = null; field in StkMenuConfig 93 if (DBG) CatLog.d(LOG_TAG, "getLabel: " + mConfigs[slotId].label + ", slot id: " + slotId); in getLabel() 94 return mConfigs[slotId].label; in getLabel() 104 if (mConfigs[slotId].icon != null) { in getIcon() 105 int resId = mContext.getResources().getIdentifier(mConfigs[slotId].icon, in getIcon() 110 if (DBG) CatLog.d(LOG_TAG, "getIcon: " + mConfigs[slotId].icon + ", slot id: " + slotId); in getIcon() 120 mConfigs[slotId] = NO_CONFIG; in findConfig() 128 mConfigs[slotId] = NO_CONFIG; in findConfig() 135 if (mConfigs[slotId] != null && mConfigs[slotId].mcc == mcc in findConfig() 136 && mConfigs[slotId].mnc == mnc) { in findConfig() [all …]
|
/packages/modules/StatsD/statsd/src/config/ |
D | ConfigManager.cpp | 77 auto uidIt = mConfigs.find(key.GetUid()); in UpdateConfig() 79 if (uidIt != mConfigs.end()) { in UpdateConfig() 89 if (uidIt != mConfigs.end() && uidIt->second.find(key) != uidIt->second.end() && in UpdateConfig() 103 mConfigs[key.GetUid()].insert(key); in UpdateConfig() 238 auto uidIt = mConfigs.find(uid); in RemoveConfig() 239 if (uidIt != mConfigs.end() && uidIt->second.find(key) != uidIt->second.end()) { in RemoveConfig() 268 auto uidIt = mConfigs.find(uid); in RemoveConfigs() 269 if (uidIt == mConfigs.end()) { in RemoveConfigs() 279 mConfigs.erase(uidIt); in RemoveConfigs() 299 for (auto uidIt = mConfigs.begin(); uidIt != mConfigs.end();) { in RemoveAllConfigs() [all …]
|
D | ConfigManager.h | 179 std::map<int, std::set<ConfigKey>> mConfigs; variable
|
/packages/services/Car/tests/CarTelemetryApp/src/com/android/car/cartelemetryapp/ |
D | CarMetricsCollectorService.java | 55 private Map<String, MetricsConfig> mConfigs; field in CarMetricsCollectorService 132 mConfigs = mConfigParser.getConfigs(); in onCreate() 152 if (!mConfigs.containsKey(configName)) { in addMetricsConfig() 157 configName, mConfigs.get(configName).toByteArray(), mExecutor, mAddConfigCallback); in addMetricsConfig() 166 for (String configName : mConfigs.keySet()) { in addActiveConfigs() 179 for (MetricsConfig config : mConfigs.values()) { in updateConfigData() 194 if (!mConfigs.containsKey(name)) { in updateConfigData()
|
D | ConfigListAdaptor.java | 32 private List<IConfigData> mConfigs; field in ConfigListAdaptor 70 mConfigs = configs; in ConfigListAdaptor() 85 IConfigData config = mConfigs.get(pos); in onBindViewHolder() 108 return mConfigs.size(); in getItemCount()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeCarPropertyService.java | 61 private final Map<Integer, CarPropertyConfig> mConfigs = new HashMap<>(); field in FakeCarPropertyService 110 return new CarPropertyConfigList(new ArrayList<>(mConfigs.values())); in getPropertyList() 117 CarPropertyConfig cfg = mConfigs.get(prop); in getPropertyConfigList() 184 return mConfigs.containsKey(propId) ? mPermissions.getReadPermission(propId) : null; in getReadPermission() 189 return mConfigs.containsKey(propId) ? mPermissions.getWritePermission(propId) : null; in getWritePermission() 208 mConfigs.put(propId, builder.build()); in addProperty() 219 mConfigs.put(config.getPropertyId(), config); in addProperty()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/ |
D | AidlMockedVehicleHal.java | 99 private final SparseArray<VehiclePropConfig> mConfigs = new SparseArray<>(); field in AidlMockedVehicleHal 112 mConfigs.put(config.prop, config); in addProperty() 197 propConfigs.payloads = new VehiclePropConfig[mConfigs.size()]; in getAllPropConfigs() 198 for (int i = 0; i < mConfigs.size(); i++) { in getAllPropConfigs() 201 mConfigs.valueAt(i)).build(); in getAllPropConfigs() 212 if (mConfigs.contains(prop)) { in getPropConfigs() 222 if (mConfigs.contains(prop)) { in getPropConfigs() 225 mConfigs.get(prop)).build(); in getPropConfigs()
|
D | HidlMockedVehicleHal.java | 75 private final Map<Integer, VehiclePropConfig> mConfigs = new HashMap<>(); field in HidlMockedVehicleHal 91 mConfigs.put(config.prop, config); in addProperty() 170 return new ArrayList<>(mConfigs.values()); in getAllPropConfigs() 179 VehiclePropConfig config = mConfigs.get(prop); in getPropConfigs()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarPropertyServiceUnitTest.java | 111 private final SparseArray<CarPropertyConfig<?>> mConfigs = new SparseArray<>(); field in CarPropertyServiceUnitTest 153 mConfigs.put(SPEED_ID, CarPropertyConfig.newBuilder(Float.class, SPEED_ID, in setUp() 163 mConfigs.put(HVAC_TEMP, CarPropertyConfig.newBuilder(Float.class, HVAC_TEMP, in setUp() 169 mConfigs.put(VehiclePropertyIds.GEAR_SELECTION, in setUp() 179 mConfigs.put(CONTINUOUS_READ_ONLY_PROPERTY_ID, CarPropertyConfig.newBuilder(Integer.class, in setUp() 189 mConfigs.put(WRITE_ONLY_INT_PROPERTY_ID, CarPropertyConfig.newBuilder(Integer.class, in setUp() 198 mConfigs.put(WRITE_ONLY_LONG_PROPERTY_ID, CarPropertyConfig.newBuilder(Long.class, in setUp() 207 mConfigs.put(WRITE_ONLY_FLOAT_PROPERTY_ID, CarPropertyConfig.newBuilder(Float.class, in setUp() 216 mConfigs.put(WRITE_ONLY_ENUM_PROPERTY_ID, CarPropertyConfig.newBuilder(Integer.class, in setUp() 224 mConfigs.put(WRITE_ONLY_OTHER_ENUM_PROPERTY_ID, CarPropertyConfig.newBuilder(Integer.class, in setUp() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | VehicleHalTest.java | 151 private final ArrayList<VehiclePropConfig> mConfigs = new ArrayList<>(); field in VehicleHalTest 158 mConfigs.add(powerHalConfig); in initHalServices() 164 mConfigs.add(propertyHalConfig); in initHalServices() 180 var halPropConfigs = toHalPropConfigs(mConfigs); in initVehicleHal() 273 mConfigs.clear(); 409 mConfigs.add(powerHalConfig); 419 mConfigs.add(propertyHalConfig); 1385 mConfigs.add(getPowerHalConfig()); 1386 var halPropConfigs = toHalPropConfigs(mConfigs); 1829 areaConfig.access = mConfigs.get(0).access; [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 104 private static final VehiclePropConfig mConfigs[] = new VehiclePropConfig[] { field in CarVendorExtensionManagerTest 136 assertEquals(mConfigs.length, configs.size()); in testPropertyList() 302 hal.addProperties(mConfigs); in createAidlMockedVehicleHal()
|