/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/ |
D | DataItemTests.java | 69 final List<DataItem> dataList = new ArrayList<>(values.length); in createDataItemsAndCollapse() local 73 dataList.add(data); in createDataItemsAndCollapse() 75 Collapser.collapseList(dataList, getContext()); in createDataItemsAndCollapse() 76 return dataList; in createDataItemsAndCollapse() 93 final List<DataItem> dataList = createDataItemsAndCollapse(kind, mValues1, mValues2); in testDataItemCollapsing_genericDataItemFields() local 95 assertEquals(1, dataList.size()); in testDataItemCollapsing_genericDataItemFields() 96 assertEquals(true, dataList.get(0).isSuperPrimary()); in testDataItemCollapsing_genericDataItemFields() 97 assertEquals(true, dataList.get(0).isPrimary()); in testDataItemCollapsing_genericDataItemFields() 98 assertEquals(1, dataList.get(0).getKindTypeColumn(kind)); in testDataItemCollapsing_genericDataItemFields() 119 final List<DataItem> dataList = in testDataItemCollapsing_email() local [all …]
|
/packages/services/Car/cpp/telemetry/cartelemetryd/tests/ |
D | TelemetryServerTest.cpp | 82 MOCK_METHOD(ScopedAStatus, onCarDataReceived, (const std::vector<CarDataInternal>& dataList), 112 std::vector<CarData> dataList = {buildCarData(101, {1})}; in TEST_F() local 114 auto status = mTelemetry->write(dataList); in TEST_F() 160 std::vector<CarData> dataList = {buildCarData(101, {1})}; in TEST_F() local 161 mTelemetry->write(dataList); in TEST_F() 171 std::vector<CarData> dataList = {buildCarData(101, {1})}; in TEST_F() local 174 mTelemetry->write(dataList); in TEST_F() 181 std::vector<CarData> dataList = {buildCarData(101, {1})}; in TEST_F() local 182 mTelemetry->write(dataList); in TEST_F() 213 std::vector<CarData> dataList = {buildCarData(101, {1})}; in TEST_F() local [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/datausage/ |
D | DataUsageCycleManagerTest.java | 79 List<NetworkCycleChartData> dataList = new ArrayList<>(); in callback_onLoadFinished_listenerOnDataLoadedCalled() local 81 mCallbacksArgumentCaptor.getValue().onLoadFinished(null, dataList); in callback_onLoadFinished_listenerOnDataLoadedCalled() 83 verify(mCallback1).onDataLoaded(dataList); in callback_onLoadFinished_listenerOnDataLoadedCalled() 84 verify(mCallback2).onDataLoaded(dataList); in callback_onLoadFinished_listenerOnDataLoadedCalled() 93 List<NetworkCycleChartData> dataList = new ArrayList<>(); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() local 95 mCallbacksArgumentCaptor.getValue().onLoadFinished(null, dataList); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 97 verify(mCallback1).onDataLoaded(dataList); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 98 verify(mCallback2, never()).onDataLoaded(dataList); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 107 List<NetworkCycleChartData> dataList = new ArrayList<>(); in callback_notLoaded_listenerOnDataLoadedNotCalled() local 109 verify(mCallback1, never()).onDataLoaded(dataList); in callback_notLoaded_listenerOnDataLoadedNotCalled() [all …]
|
D | AppSpecificDataUsageManagerTest.java | 82 List<NetworkCycleDataForUid> dataList = new ArrayList<>(); in callback_onLoadFinished_listenerOnDataLoadedCalled() local 84 mCallbacksArgumentCaptor.getValue().onLoadFinished(null, dataList); in callback_onLoadFinished_listenerOnDataLoadedCalled() 86 verify(mCallback1).onDataLoaded(dataList); in callback_onLoadFinished_listenerOnDataLoadedCalled() 87 verify(mCallback2).onDataLoaded(dataList); in callback_onLoadFinished_listenerOnDataLoadedCalled() 96 List<NetworkCycleDataForUid> dataList = new ArrayList<>(); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() local 98 mCallbacksArgumentCaptor.getValue().onLoadFinished(null, dataList); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 100 verify(mCallback1).onDataLoaded(dataList); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 101 verify(mCallback2, never()).onDataLoaded(dataList); in callback_unregisterListener_onlyOneListenerOnDataLoadedCalled() 110 List<NetworkCycleDataForUid> dataList = new ArrayList<>(); in callback_notLoaded_listenerOnDataLoadedNotCalled() local 112 verify(mCallback1, never()).onDataLoaded(dataList); in callback_notLoaded_listenerOnDataLoadedNotCalled() [all …]
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | CarTelemetrydPublisher.java | 67 @NonNull final CarDataInternal[] dataList) throws RemoteException { 70 "Received " + dataList.length + " CarData from cartelemetryd"); 73 mTelemetryHandler.post(() -> onCarDataListReceived(dataList)); 302 private void onCarDataListReceived(@NonNull CarDataInternal[] dataList) { in onCarDataListReceived() argument 303 for (CarDataInternal data : dataList) { in onCarDataListReceived()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 1013 int propId, int zoneId, List<String> dataList, long timestamp) { in createPropValueForInjecting() argument 1018 boolean boolValue = Boolean.parseBoolean(dataList.get(0)); in createPropValueForInjecting() 1023 long[] longValues = new long[dataList.size()]; in createPropValueForInjecting() 1024 for (int i = 0; i < dataList.size(); i++) { in createPropValueForInjecting() 1025 longValues[i] = Long.decode(dataList.get(i)); in createPropValueForInjecting() 1031 int[] intValues = new int[dataList.size()]; in createPropValueForInjecting() 1032 for (int i = 0; i < dataList.size(); i++) { in createPropValueForInjecting() 1033 intValues[i] = Integer.decode(dataList.get(i)); in createPropValueForInjecting() 1039 float[] floatValues = new float[dataList.size()]; in createPropValueForInjecting() 1040 for (int i = 0; i < dataList.size(); i++) { in createPropValueForInjecting() [all …]
|
/packages/services/Car/cpp/telemetry/cartelemetryd/src/ |
D | CarTelemetryImpl.cpp | 36 ndk::ScopedAStatus CarTelemetryImpl::write(const std::vector<CarData>& dataList) { in write() argument 38 mTelemetryServer->writeCarData(dataList, publisherUid); in write()
|
D | TelemetryServer.cpp | 97 void TelemetryServer::writeCarData(const std::vector<CarData>& dataList, uid_t publisherUid) { in writeCarData() argument 100 for (auto&& data : dataList) { in writeCarData()
|
D | CarTelemetryImpl.h | 40 const std::vector<aidl::android::frameworks::automotive::telemetry::CarData>& dataList)
|
D | TelemetryServer.h | 65 const std::vector<aidl::android::frameworks::automotive::telemetry::CarData>& dataList,
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | PmkCacheManager.java | 152 List<ArrayList<Byte>> dataList = new ArrayList<>(); in get() local 155 dataList.add(pmkData.data); in get() 158 return dataList; in get()
|
/packages/services/Car/cpp/telemetry/cartelemetryd/aidl/aidl_api/android.automotive.telemetry.internal/1/android/automotive/telemetry/internal/ |
D | ICarDataListener.aidl | 36 void onCarDataReceived(in android.automotive.telemetry.internal.CarDataInternal[] dataList); in onCarDataReceived() argument
|
/packages/services/Car/cpp/telemetry/cartelemetryd/aidl/aidl_api/android.automotive.telemetry.internal/current/android/automotive/telemetry/internal/ |
D | ICarDataListener.aidl | 36 void onCarDataReceived(in android.automotive.telemetry.internal.CarDataInternal[] dataList); in onCarDataReceived() argument
|
/packages/services/Car/cpp/telemetry/cartelemetryd/aidl/android/automotive/telemetry/internal/ |
D | ICarDataListener.aidl | 36 void onCarDataReceived(in CarDataInternal[] dataList); in onCarDataReceived() argument
|