Home
last modified time | relevance | path

Searched refs:mConfigs (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Stk/src/com/android/stk/
DStkMenuConfig.java62 private Config mConfigs[] = null; field in StkMenuConfig
94 if (DBG) CatLog.d(LOG_TAG, "getLabel: " + mConfigs[slotId].label + ", slot id: " + slotId); in getLabel()
95 return mConfigs[slotId].label; in getLabel()
105 if (mConfigs[slotId].icon != null) { in getIcon()
106 int resId = mContext.getResources().getIdentifier(mConfigs[slotId].icon, in getIcon()
111 if (DBG) CatLog.d(LOG_TAG, "getIcon: " + mConfigs[slotId].icon + ", slot id: " + slotId); in getIcon()
121 mConfigs[slotId] = NO_CONFIG; in findConfig()
129 mConfigs[slotId] = NO_CONFIG; in findConfig()
136 if (mConfigs[slotId] != null && mConfigs[slotId].mcc == mcc in findConfig()
137 && mConfigs[slotId].mnc == mnc) { in findConfig()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java57 private Map<Integer, CarPropertyConfig<?>> mConfigs; field in CarPropertyService
139 if (mConfigs == null) { in init()
141 mConfigs = mHal.getPropertyList(); in init()
143 Log.d(TAG, "cache CarPropertyConfigs " + mConfigs.size()); in init()
168 if (mConfigs.get(propId) == null) { in registerListener()
208 if (mConfigs.get(propId).isGlobalProperty()) { in registerListener()
217 for (int areaId : mConfigs.get(propId).getAreaIds()) { in registerListener()
255 if (mConfigs.get(propId) == null) { in unregisterListenerBinderLocked()
300 for (CarPropertyConfig c : mConfigs.values()) { in getPropertyList()
314 if (mConfigs.get(prop) == null) { in getProperty()
[all …]
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java50 private final Map<Integer, CarPropertyConfig> mConfigs = new HashMap<>(); field in FakeCarPropertyService
86 return new ArrayList<>(mConfigs.values()); in getPropertyList()
103 return mConfigs.containsKey(propId) ? mPermissions.getReadPermission(propId) : null; in getReadPermission()
108 return mConfigs.containsKey(propId) ? mPermissions.getWritePermission(propId) : null; in getWritePermission()
117 mConfigs.put(propId, builder.build()); in addProperty()
128 mConfigs.put(config.getPropertyId(), config); in addProperty()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java59 private final Map<Integer, VehiclePropConfig> mConfigs = new HashMap<>(); field in MockedVehicleHal
71 mConfigs.put(config.prop, config); in addProperty()
139 return new ArrayList<>(mConfigs.values()); in getAllPropConfigs()
146 VehiclePropConfig config = mConfigs.get(prop); in getPropConfigs()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarVendorExtensionManagerTest.java93 private static final VehiclePropConfig mConfigs[] = new VehiclePropConfig[] { field in CarVendorExtensionManagerTest
125 assertEquals(mConfigs.length, configs.size()); in testPropertyList()
289 hal.addProperties(mConfigs); in createMockedVehicleHal()