/packages/services/Car/service/src/com/android/car/ |
D | VmsRouting.java | 105 public void addSubscription(IVmsSubscriberClient subscriber, VmsLayer layer) { in addSubscription() argument 109 mLayerSubscriptions.computeIfAbsent(layer, k -> new ArraySet<>()); in addSubscription() 115 VmsOperationRecorder.get().addSubscription(sequenceNumber, layer); in addSubscription() 124 public void removeSubscription(IVmsSubscriberClient subscriber, VmsLayer layer) { in removeSubscription() argument 128 mLayerSubscriptions.getOrDefault(layer, Collections.emptySet()); in removeSubscription() 136 mLayerSubscriptions.remove(layer); in removeSubscription() 139 VmsOperationRecorder.get().removeSubscription(sequenceNumber, layer); in removeSubscription() 149 public void addSubscription(IVmsSubscriberClient subscriber, VmsLayer layer, int publisherId) { in addSubscription() argument 153 mLayerSubscriptionsToPublishers.computeIfAbsent(layer, k -> new ArrayMap<>()) in addSubscription() 160 VmsOperationRecorder.get().addSubscription(sequenceNumber, layer); in addSubscription() [all …]
|
D | VmsLayersAvailability.java | 72 VmsLayer layer = dependency.getLayer(); in setPublishersOffering() local 76 mPotentialLayersAndPublishers.get(layer); in setPublishersOffering() 79 mPotentialLayersAndPublishers.put(layer, curPotentialLayerAndPublishers); in setPublishersOffering() 85 mPotentialLayersAndDependencies.get(layer); in setPublishersOffering() 88 mPotentialLayersAndDependencies.put(layer, curDependencies); in setPublishersOffering() 121 for (VmsLayer layer : mPotentialLayersAndDependencies.keySet()) { in calculateLayers() 122 addLayerToAvailabilityCalculationLocked(layer, in calculateLayers() 143 private void addLayerToAvailabilityCalculationLocked(VmsLayer layer, in addLayerToAvailabilityCalculationLocked() argument 147 Log.d(TAG, "addLayerToAvailabilityCalculationLocked: checking layer: " + layer); in addLayerToAvailabilityCalculationLocked() 150 if (currentAvailableLayers.contains(layer)) { in addLayerToAvailabilityCalculationLocked() [all …]
|
D | VmsSubscriberService.java | 84 public void addVmsSubscriber(IVmsSubscriberClient subscriber, VmsLayer layer) { in addVmsSubscriber() argument 87 mBrokerService.addSubscription(subscriber, layer); in addVmsSubscriber() 91 public void removeVmsSubscriber(IVmsSubscriberClient subscriber, VmsLayer layer) { in removeVmsSubscriber() argument 93 mBrokerService.removeSubscription(subscriber, layer); in removeVmsSubscriber() 98 VmsLayer layer, in addVmsSubscriberToPublisher() argument 102 mBrokerService.addSubscription(subscriber, layer, publisherId); in addVmsSubscriberToPublisher() 107 VmsLayer layer, in removeVmsSubscriberToPublisher() argument 110 mBrokerService.removeSubscription(subscriber, layer, publisherId); in removeVmsSubscriberToPublisher()
|
D | VmsPublisherService.java | 173 public void publish(IBinder token, VmsLayer layer, int publisherId, byte[] payload) { in publish() argument 176 Log.d(TAG, String.format("Publishing to %s as %d (%s)", layer, publisherId, mName)); in publish() 179 if (layer == null) { in publish() 185 .logPacketSent(layer, payloadLength); in publish() 189 mBrokerService.getSubscribersForLayerFromPublisher(layer, publisherId); in publish() 196 .logPacketDropped(layer, payloadLength); in publish() 202 listener.onVmsMessageReceived(layer, payload); in publish() 204 .logPacketReceived(layer, payloadLength); in publish() 207 .logPacketDropped(layer, payloadLength); in publish()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsOperationRecorder.java | 46 public void subscribe(VmsLayer layer) { in subscribe() argument 47 recordOp("subscribe", layer); in subscribe() 50 public void unsubscribe(VmsLayer layer) { in unsubscribe() argument 51 recordOp("unsubscribe", layer); in unsubscribe() 54 public void subscribe(VmsLayer layer, int publisherId) { in subscribe() argument 55 recordOp("subscribe", "publisherId", publisherId, layer); in subscribe() 58 public void unsubscribe(VmsLayer layer, int publisherId) { in unsubscribe() argument 59 recordOp("unsubscribe", "publisherId", publisherId, layer); in unsubscribe() 80 public void addSubscription(int sequenceNumber, VmsLayer layer) { in addSubscription() argument 81 recordOp("addSubscription", "sequenceNumber", sequenceNumber, layer); in addSubscription() [all …]
|
D | VmsSubscriberManager.java | 69 void onVmsMessageReceived(@NonNull VmsLayer layer, byte[] payload); in onVmsMessageReceived() argument 89 public void onVmsMessageReceived(VmsLayer layer, byte[] payload) { in VmsSubscriberManager() 100 dispatchOnReceiveMessage(layer, payload); in VmsSubscriberManager() 203 public void subscribe(@NonNull VmsLayer layer) { in subscribe() argument 206 mVmsSubscriberService.addVmsSubscriber(mSubscriberManagerClient, layer); in subscribe() 207 VmsOperationRecorder.get().subscribe(layer); in subscribe() 221 public void subscribe(@NonNull VmsLayer layer, int publisherId) { in subscribe() argument 225 mSubscriberManagerClient, layer, publisherId); in subscribe() 226 VmsOperationRecorder.get().subscribe(layer, publisherId); in subscribe() 252 public void unsubscribe(@NonNull VmsLayer layer) { in unsubscribe() argument [all …]
|
D | IVmsSubscriberService.aidl | 40 in VmsLayer layer) = 1; in addVmsSubscriber() argument 54 in VmsLayer layer, in addVmsSubscriberToPublisher() argument 70 in VmsLayer layer) = 5; in removeVmsSubscriber() argument 85 in VmsLayer layer, in removeVmsSubscriberToPublisher() argument
|
D | VmsLayerDependency.java | 52 public VmsLayerDependency(@NonNull VmsLayer layer, @NonNull Set<VmsLayer> dependencies) { in VmsLayerDependency() argument 53 mLayer = Preconditions.checkNotNull(layer, "layer cannot be null"); in VmsLayerDependency() 62 public VmsLayerDependency(@NonNull VmsLayer layer) { in VmsLayerDependency() argument 63 this(layer, Collections.emptySet()); in VmsLayerDependency()
|
D | VmsSubscriptionState.java | 89 for (VmsLayer layer : mLayers) { in toString() 90 sb.append(layer).append(","); in toString() 94 for (VmsAssociatedLayer layer : mSubscribedLayersFromPublishers) { in toString() 95 sb.append(layer).append(","); in toString()
|
D | VmsPublisherClientService.java | 114 public final void publish(@NonNull VmsLayer layer, int publisherId, byte[] payload) { in publish() argument 115 Preconditions.checkNotNull(layer, "layer cannot be null"); in publish() 116 if (DBG) Log.d(TAG, "Publishing for layer : " + layer); in publish() 121 mVmsPublisherService.publish(token, layer, publisherId, payload); in publish()
|
D | VmsAssociatedLayer.java | 44 public VmsAssociatedLayer(@NonNull VmsLayer layer, @NonNull Set<Integer> publisherIds) { in VmsAssociatedLayer() argument 45 mLayer = Preconditions.checkNotNull(layer, "layer cannot be null"); in VmsAssociatedLayer()
|
D | IVmsSubscriberClient.aidl | 29 void onVmsMessageReceived(in VmsLayer layer, in byte[] payload) = 0; in onVmsMessageReceived() argument
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsBrokerService.java | 150 public void addSubscription(IVmsSubscriberClient subscriber, VmsLayer layer) { in addSubscription() argument 152 if (DBG) Log.d(TAG, "Checking for first subscription. Layer: " + layer); in addSubscription() 155 firstSubscriptionForLayer = !mRouting.hasLayerSubscriptions(layer); in addSubscription() 158 mRouting.addSubscription(subscriber, layer); in addSubscription() 171 public void removeSubscription(IVmsSubscriberClient subscriber, VmsLayer layer) { in removeSubscription() argument 174 if (!mRouting.hasLayerSubscriptions(layer)) { in removeSubscription() 175 if (DBG) Log.d(TAG, "Trying to remove a layer with no subscription: " + layer); in removeSubscription() 180 mRouting.removeSubscription(subscriber, layer); in removeSubscription() 183 layerHasSubscribers = mRouting.hasLayerSubscriptions(layer); in removeSubscription() 197 public void addSubscription(IVmsSubscriberClient subscriber, VmsLayer layer, int publisherId) { in addSubscription() argument [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/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 126 public void onVmsMessageReceived(VmsLayer layer, byte[] payload) { 127 if (DBG) Log.d(TAG, "Handling a data message for Layer: " + layer); 128 mMessageQueue.enqueue(VmsMessageType.DATA, createDataMessage(layer, payload)); 737 private static VehiclePropValue createDataMessage(VmsLayer layer, byte[] payload) { in createDataMessage() argument 740 appendLayer(vehicleProp.value.int32Values, layer); in createDataMessage() 786 for (VmsLayer layer : layers) { in createSubscriptionStateMessage() 787 appendLayer(message, layer); in createSubscriptionStateMessage() 791 for (VmsAssociatedLayer layer : associatedLayers) { in createSubscriptionStateMessage() 792 appendAssociatedLayer(message, layer); in createSubscriptionStateMessage() 824 for (VmsAssociatedLayer layer : availableLayers.getAssociatedLayers()) { in createAvailableLayersMessage() [all …]
|
/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 | 121 final ChildDrawable layer = new ChildDrawable(mLayerState.mDensity); in createChildDrawable() local 122 layer.mDrawable = drawable; in createChildDrawable() 123 layer.mDrawable.setCallback(this); in createChildDrawable() 125 layer.mDrawable.getChangingConfigurations(); in createChildDrawable() 126 return layer; in createChildDrawable() 157 private void addLayer(int index, @NonNull ChildDrawable layer) { in addLayer() argument 158 mLayerState.mChildren[index] = layer; in addLayer() 333 final ChildDrawable layer = array[i]; in applyTheme() local 335 final Drawable d = layer.mDrawable; in applyTheme() 375 final ChildDrawable layer = new ChildDrawable(state.mDensity); in inflateLayers() local [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsHalServiceSubscriptionEventTest.java | 68 for (VmsLayer layer : layers) { in subscriptionTestLogic() 70 subscribeViaHal(sequenceNumber, layer); in subscriptionTestLogic() 99 private void subscribeViaHal(int sequenceNumber, VmsLayer layer) throws Exception { in subscribeViaHal() argument 103 layer.getType(), in subscribeViaHal() 104 layer.getSubtype(), in subscribeViaHal() 105 layer.getVersion()); in subscribeViaHal()
|
D | MockedVmsTestBase.java | 174 public void onVmsMessageReceived(VmsLayer layer, byte[] payload) { in onVmsMessageReceived() argument 176 mMessages.add(Pair.create(layer, payload)); in onVmsMessageReceived()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | VmsRoutingTest.java | 852 public void onVmsMessageReceived(VmsLayer layer, byte[] payload) { in onVmsMessageReceived() argument 866 private void assertNoSubscribers(VmsLayer layer) { in assertNoSubscribers() argument 867 assertSubscribers(layer); /* subscribers is empty */ in assertNoSubscribers() 870 private void assertNoSubscribers(VmsLayer layer, int publisherId) { in assertNoSubscribers() argument 871 assertSubscribers(layer, publisherId); /* subscribers is empty */ in assertNoSubscribers() 875 for (VmsLayer layer : LAYERS) { in assertSubscribers() 876 assertSubscribers(layer, subscribers); in assertSubscribers() 880 private void assertSubscribers(VmsLayer layer, IVmsSubscriberClient... subscribers) { in assertSubscribers() argument 882 assertSubscribers(layer, publisherId, subscribers); in assertSubscribers() 886 private void assertSubscribers(VmsLayer layer, int publisherId, in assertSubscribers() argument [all …]
|
/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/services/Car/tests/VmsPublisherClientSample/src/com/google/android/car/vms/publisher/ |
D | VmsPublisherClientSampleService.java | 61 for (VmsLayer layer : subscriptionState.getLayers()) { in onVmsSubscriptionChange() 62 if (layer.equals(TEST_LAYER)) { in onVmsSubscriptionChange()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | ClipAnimationHelper.java | 194 int layer = RemoteAnimationProvider.getLayer(app, mBoostModeTargetLayers); in applyTransform() local 229 layer = Integer.MAX_VALUE; in applyTransform() 235 surfaceParams[i] = new SurfaceParams(app.leash, alpha, mTmpMatrix, crop, layer, in applyTransform()
|