/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsOperationRecorder.java | 67 public void subscribe(VmsLayer layer) { in subscribe() argument 68 recordOp("subscribe", layer); in subscribe() 74 public void unsubscribe(VmsLayer layer) { in unsubscribe() argument 75 recordOp("unsubscribe", layer); in unsubscribe() 82 public void subscribe(VmsLayer layer, int publisherId) { in subscribe() argument 83 recordOp("subscribe", "publisherId", publisherId, layer); in subscribe() 90 public void unsubscribe(VmsLayer layer, int publisherId) { in unsubscribe() argument 91 recordOp("unsubscribe", "publisherId", publisherId, layer); in unsubscribe() 129 public void addSubscription(int sequenceNumber, VmsLayer layer) { in addSubscription() argument 130 recordOp("addSubscription", "sequenceNumber", sequenceNumber, layer); in addSubscription() [all …]
|
D | VmsSubscriptionHelper.java | 65 public void subscribe(@NonNull VmsLayer layer) { in subscribe() argument 66 Objects.requireNonNull(layer, "layer cannot be null"); in subscribe() 68 if (mLayerSubscriptions.add(layer)) { in subscribe() 78 public void subscribe(@NonNull VmsLayer layer, int providerId) { in subscribe() argument 79 Objects.requireNonNull(layer, "layer cannot be null"); in subscribe() 81 SparseBooleanArray providerIds = mPublisherSubscriptions.computeIfAbsent(layer, in subscribe() 94 public void unsubscribe(@NonNull VmsLayer layer) { in unsubscribe() argument 95 Objects.requireNonNull(layer, "layer cannot be null"); in unsubscribe() 97 if (mLayerSubscriptions.remove(layer)) { in unsubscribe() 107 public void unsubscribe(@NonNull VmsLayer layer, int providerId) { in unsubscribe() argument [all …]
|
D | VmsSubscriberManager.java | 62 void onVmsMessageReceived(@NonNull VmsLayer layer, byte[] payload); in onVmsMessageReceived() argument 177 public void subscribe(@NonNull VmsLayer layer) { in subscribe() argument 178 mSubscriptionHelper.subscribe(layer); in subscribe() 189 public void subscribe(@NonNull VmsLayer layer, int publisherId) { in subscribe() argument 190 mSubscriptionHelper.subscribe(layer, publisherId); in subscribe() 207 public void unsubscribe(@NonNull VmsLayer layer) { in unsubscribe() argument 208 mSubscriptionHelper.unsubscribe(layer); in unsubscribe() 219 public void unsubscribe(@NonNull VmsLayer layer, int publisherId) { in unsubscribe() argument 220 mSubscriptionHelper.unsubscribe(layer, publisherId); in unsubscribe() 278 public void onPacketReceived(int providerId, VmsLayer layer, byte[] packet) { in onPacketReceived() argument [all …]
|
D | VmsClient.java | 244 public void publishPacket(int providerId, @NonNull VmsLayer layer, @NonNull byte[] packet) { in publishPacket() argument 245 Objects.requireNonNull(layer, "layer cannot be null"); in publishPacket() 252 mService.publishPacket(mClientToken, providerId, layer, packet); in publishPacket() 255 mService.publishLargePacket(mClientToken, providerId, layer, in publishPacket() 331 public void onPacketReceived(int providerId, VmsLayer layer, byte[] packet) { in onPacketReceived() argument 333 Log.d(TAG, "Received packet from " + providerId + " for: " + layer in onPacketReceived() 337 callback.onPacketReceived(providerId, layer, packet)); in onPacketReceived() 341 public void onLargePacketReceived(int providerId, VmsLayer layer, SharedMemory packet) { in onLargePacketReceived() argument 343 Log.d(TAG, "Received large packet from " + providerId + " for: " + layer in onLargePacketReceived() 355 callback.onPacketReceived(providerId, layer, largePacket)); in onLargePacketReceived()
|
D | VmsLayerDependency.java | 71 public VmsLayerDependency(@NonNull VmsLayer layer) { in VmsLayerDependency() argument 72 this(layer, Collections.emptySet()); in VmsLayerDependency() 100 @NonNull VmsLayer layer, in VmsLayerDependency() 102 this.mLayer = layer; in VmsLayerDependency() 190 VmsLayer layer = (VmsLayer) in.readTypedObject(VmsLayer.CREATOR); in VmsLayerDependency() local 193 this.mLayer = layer; in VmsLayerDependency()
|
D | VmsPublisherClientService.java | 138 public final void publish(@NonNull VmsLayer layer, int publisherId, byte[] payload) { in publish() argument 139 getVmsClient().publishPacket(publisherId, layer, payload); in publish() 205 public void onPacketReceived(int providerId, VmsLayer layer, byte[] packet) { in onPacketReceived() argument
|
D | IVmsClientCallback.aidl | 38 in VmsLayer layer, in onPacketReceived() argument 43 in VmsLayer layer, in onLargePacketReceived() argument
|
D | IVmsBrokerService.aidl | 70 in VmsLayer layer, in publishPacket() argument 76 in VmsLayer layer, in publishLargePacket() argument
|
D | VmsClientManager.java | 80 void onPacketReceived(int providerId, @NonNull VmsLayer layer, @NonNull byte[] packet); in onPacketReceived() argument
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsLayerAvailability.java | 68 VmsLayer layer = dependency.getLayer(); in setPublishersOffering() local 71 mPotentialLayersAndPublishers.computeIfAbsent(layer, k -> new HashSet<>()) in setPublishersOffering() 75 mPotentialLayersAndDependencies.computeIfAbsent(layer, k -> new HashSet<>()) in setPublishersOffering() 106 for (VmsLayer layer : mPotentialLayersAndDependencies.keySet()) { in calculateLayers() 107 addLayerToAvailabilityCalculationLocked(layer, in calculateLayers() 122 private void addLayerToAvailabilityCalculationLocked(VmsLayer layer, in addLayerToAvailabilityCalculationLocked() argument 126 Log.d(TAG, "addLayerToAvailabilityCalculationLocked: checking layer: " + layer); in addLayerToAvailabilityCalculationLocked() 129 if (currentAvailableLayers.contains(layer)) { in addLayerToAvailabilityCalculationLocked() 133 if (!mPotentialLayersAndDependencies.containsKey(layer)) { in addLayerToAvailabilityCalculationLocked() 137 if (cyclicAvoidanceSet.contains(layer)) { in addLayerToAvailabilityCalculationLocked() [all …]
|
D | VmsBrokerService.java | 210 public void publishPacket(IBinder clientToken, int providerId, VmsLayer layer, byte[] packet) { in publishPacket() argument 212 deliverToSubscribers(clientToken, providerId, layer, packet.length, in publishPacket() 213 callback -> callback.onPacketReceived(providerId, layer, packet)); in publishPacket() 217 public void publishLargePacket(IBinder clientToken, int providerId, VmsLayer layer, in publishLargePacket() argument 221 deliverToSubscribers(clientToken, providerId, layer, packet.getSize(), in publishLargePacket() 222 callback -> callback.onLargePacketReceived(providerId, layer, largePacket)); in publishLargePacket() 226 private void deliverToSubscribers(IBinder clientToken, int providerId, VmsLayer layer, in deliverToSubscribers() argument 229 if (!client.hasOffering(providerId, layer) && !client.isLegacyClient()) { in deliverToSubscribers() 230 throw new IllegalArgumentException("Client does not offer " + layer + " as " in deliverToSubscribers() 235 .logPacketSent(layer, packetLength); in deliverToSubscribers() [all …]
|
D | VmsClientInfo.java | 137 boolean hasOffering(int providerId, VmsLayer layer) { in hasOffering() argument 139 return mPotentialOfferings.get(providerId, Collections.emptySet()).contains(layer); in hasOffering() 175 boolean isSubscribed(int providerId, VmsLayer layer) { in isSubscribed() argument 178 || mLayerSubscriptions.contains(layer) in isSubscribed() 179 || mLayerAndProviderSubscriptions.getOrDefault(layer, Collections.emptySet()) in isSubscribed() 219 for (VmsLayer layer : mLayerSubscriptions) { in dump() 220 writer.println(prefix + layer); in dump()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 124 public void onPacketReceived(int providerId, VmsLayer layer, byte[] packet) { 125 if (DBG) Log.d(TAG, "Handling a data message for Layer: " + layer); 126 setPropertyValue(createDataMessage(layer, providerId, packet)); 680 private static VehiclePropValue createDataMessage(VmsLayer layer, int publisherId, in createDataMessage() argument 684 appendLayer(vehicleProp.value.int32Values, layer); in createDataMessage() 729 for (VmsLayer layer : layers) { in createSubscriptionStateMessage() 730 appendLayer(message, layer); in createSubscriptionStateMessage() 734 for (VmsAssociatedLayer layer : associatedLayers) { in createSubscriptionStateMessage() 735 appendAssociatedLayer(message, layer); in createSubscriptionStateMessage() 767 for (VmsAssociatedLayer layer : availableLayers.getAssociatedLayers()) { in createAvailableLayersMessage() [all …]
|
/packages/services/Car/service/src/com/android/car/stats/ |
D | VmsClientLogger.java | 111 public void logPacketSent(VmsLayer layer, long size) { in logPacketSent() argument 112 getLayerEntry(layer).packetSent(size); in logPacketSent() 121 public void logPacketReceived(VmsLayer layer, long size) { in logPacketReceived() argument 122 getLayerEntry(layer).packetReceived(size); in logPacketReceived() 131 public void logPacketDropped(VmsLayer layer, long size) { in logPacketDropped() argument 132 getLayerEntry(layer).packetDropped(size); in logPacketDropped() 143 private VmsClientStats getLayerEntry(VmsLayer layer) { in getLayerEntry() argument 146 layer, in getLayerEntry() 147 (k) -> new VmsClientStats(mUid, layer)); in getLayerEntry()
|
D | VmsClientStats.java | 58 VmsClientStats(int uid, VmsLayer layer) { in VmsClientStats() argument 61 mLayerType = layer.getType(); in VmsClientStats() 62 mLayerChannel = layer.getSubtype(); in VmsClientStats() 63 mLayerVersion = layer.getVersion(); in VmsClientStats()
|
/packages/apps/Camera2/tests/exiftool_parser/ |
D | parser.py | 41 layer = 0 variable 50 if new_layer > layer: 53 for i in range(layer - new_layer): 56 layer = new_layer variable 61 if new_layer < layer: 62 for i in range(layer - new_layer): 64 layer = new_layer variable
|
/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | DynamicAdaptiveIconDrawable.java | 118 final ChildDrawable layer = new ChildDrawable(mLayerState.mDensity); in createChildDrawable() local 119 layer.mDrawable = drawable; in createChildDrawable() 120 layer.mDrawable.setCallback(this); in createChildDrawable() 122 layer.mDrawable.getChangingConfigurations(); in createChildDrawable() 123 return layer; in createChildDrawable() 154 private void addLayer(int index, @NonNull ChildDrawable layer) { in addLayer() argument 155 mLayerState.mChildren[index] = layer; in addLayer() 330 final ChildDrawable layer = array[i]; in applyTheme() local 332 final Drawable d = layer.mDrawable; in applyTheme() 372 final ChildDrawable layer = new ChildDrawable(state.mDensity); in inflateLayers() local [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsHalServiceSubscriptionEventTest.java | 71 for (VmsLayer layer : layers) { in subscriptionTestLogic() 73 subscribeViaHal(sequenceNumber, layer); in subscriptionTestLogic() 102 private void subscribeViaHal(int sequenceNumber, VmsLayer layer) throws Exception { in subscribeViaHal() argument 106 layer.getType(), in subscribeViaHal() 107 layer.getSubtype(), in subscribeViaHal() 108 layer.getVersion()); in subscribeViaHal()
|
D | MockedVmsTestBase.java | 157 public void onVmsMessageReceived(VmsLayer layer, byte[] payload) { in onVmsMessageReceived() argument 159 mMessages.add(Pair.create(layer, payload)); in onVmsMessageReceived()
|
D | VmsPublisherSubscriberTest.java | 601 private void assertDataMessage(VmsLayer layer, byte[] payload) { in assertDataMessage() argument 603 assertEquals(layer, message.first); in assertDataMessage()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RemoteAnimationProvider.java | 63 int layer = target.prefixOrderIndex; in findLowestOpaqueLayerTarget() local 64 if (layer < lowestLayer) { in findLowestOpaqueLayerTarget() 65 lowestLayer = layer; in findLowestOpaqueLayerTarget()
|
/packages/apps/ThemePicker/src/com/google/android/apps/wallpaper/asset/ |
D | ThemeBundleThumbAsset.java | 93 Drawable layer = mLayerResolver.resolveLayer((LayerDrawable) thumb); in doInBackground() local 94 if (layer instanceof BitmapDrawable) { in doInBackground() 95 return ((BitmapDrawable) layer).getBitmap(); in doInBackground()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | FrameLayoutWithOverlay.java | 54 protected void setAlphaLayer(View layer) { in setAlphaLayer() argument 55 mOverlay.setAlphaLayer(layer); in setAlphaLayer()
|
/packages/apps/Test/connectivity/sl4n/ |
D | README.md | 6 APIs and accessing the HAL layer in an platform-independent manner. This tool enables remote
|
/packages/services/Car/car-lib/api/ |
D | system-lint-baseline.txt | 589 Missing nullability on parameter `layer` in method `addHalSubscription` 591 Missing nullability on parameter `layer` in method `addSubscription` 595 Missing nullability on parameter `layer` in method `removeHalSubscription` 597 Missing nullability on parameter `layer` in method `removeSubscription` 605 Missing nullability on parameter `layer` in method `subscribe` 607 Missing nullability on parameter `layer` in method `subscribe` 609 Missing nullability on parameter `layer` in method `unsubscribe` 611 Missing nullability on parameter `layer` in method `unsubscribe`
|