/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioIODescriptorInterface.h | 41 IoDescriptor& desc, Filter filter, bool& active, const DeviceVector& devices) in findPreferredDevice() argument 46 active = activeClients.size() > 0; in findPreferredDevice() 47 if (active && activeClients.size() == activeClientsWithRoute.size()) { in findPreferredDevice() 60 bool active; in findPreferredDevice() local 61 sp<DeviceDescriptor> curDevice = findPreferredDevice(desc, filter, active, devices); in findPreferredDevice() 62 if (active && curDevice == nullptr) { in findPreferredDevice()
|
D | ClientDescriptor.h | 67 virtual void setActive(bool active) { mActive = active; } in setActive() argument 68 bool active() const { return mActive; } in active() function 112 void setActive(bool active) override in setActive() argument 114 int delta = active ? 1 : -1; in setActive() 241 LOG_ALWAYS_FATAL_IF(it->second->active(), in removeClient()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | pixel_format_f32.rsh | 10 // 2. When processing each layer, we use its field (active) to mark 12 // active or not active but "close enough" to an active pixel, a matte value is 24 // active, matte, and dilated_depth are reset. However, the field actual_depth 33 // active = 1: the pixel is on the target layer; 34 // active = 0: otherwise. 35 uchar active; 42 // For active pixels, dilated_depth is the same as actual depth; 44 // closest active pixels;
|
/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 4 status(0), active(0), session Id(65) 13 status(0), active(0), session Id(73) 22 status(0), active(0), session Id(81) 31 status(0), active(0), session Id(89) 40 status(0), active(0), session Id(97) 49 status(0), active(0), session Id(105) 58 status(0), active(0), session Id(113) 67 status(0), active(0), session Id(121) 76 status(0), active(0), session Id(129) 85 status(0), active(0), session Id(137) [all …]
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 249 Object[] active = mActiveBroadcast; in beginBroadcast() local 250 if (active == null || active.length < N) { in beginBroadcast() 251 mActiveBroadcast = active = new Object[N]; in beginBroadcast() 254 active[i] = mCallbacks.valueAt(i); in beginBroadcast() 309 Object[] active = mActiveBroadcast; in finishBroadcast() local 310 if (active != null) { in finishBroadcast() 313 active[i] = null; in finishBroadcast()
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/ |
D | device_for_product_strategy_sonification_respectful.pfw | 6 # - If not in call AND a music stream is active remotely: Strategy sonification (that 8 # - if not in call and no music stream active remotely and music stream active): strategy 13 # Case of stream active handled programmatically 77 # SonificationRespectful follows media if music stream is active 104 # SonificationRespectful follows media if music stream is active 131 # SonificationRespectful follows media if music stream is active 249 # SonificationRespectful follows media if music stream is active 288 # SonificationRespectful follows media if music stream is active 327 # SonificationRespectful follows media if music stream is active 364 # SonificationRespectful follows media if music stream is active [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 118 if (client->active() && in isSourceActive() 144 if (activeOnly && !client->active()) { in getHighestPriorityClient() 182 if (client->active()) { in setPatchHandle() 274 if (client->active()) { in close() 304 void AudioInputDescriptor::setClientActive(const sp<RecordClientDescriptor>& client, bool active) in setClientActive() argument 308 if (active == client->active()) { in setClientActive() 314 if (!active && mGlobalActiveCount < 1) { in setClientActive() 319 const int delta = active ? 1 : -1; in setClientActive() 337 client->setActive(active); in setClientActive() 341 int event = active ? RECORD_CONFIG_EVENT_START : RECORD_CONFIG_EVENT_STOP; in setClientActive() [all …]
|
D | AudioOutputDescriptor.cpp | 88 void AudioOutputDescriptor::setClientActive(const sp<TrackClientDescriptor>& client, bool active) in setClientActive() argument 91 if (active == (clientIter != end(mActiveClients))) { in setClientActive() 93 client->toShortString().c_str(), active, in setClientActive() 97 if (active) { in setClientActive() 102 const int delta = active ? 1 : -1; in setClientActive() 109 if (!active && mGlobalActiveCount < 1) { in setClientActive() 123 client->setActive(active); in setClientActive() 201 if ((!activeOnly || client->active()) in clientsList() 342 void SwAudioOutputDescriptor::setClientActive(const sp<TrackClientDescriptor>& client, bool active) in setClientActive() argument 346 mOutput1->setClientActive(client, active); in setClientActive() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpsControllerImpl.java | 171 private boolean updateActives(int code, int uid, String packageName, boolean active) { in updateActives() argument 174 if (item == null && active) { in updateActives() 179 } else if (item != null && !active) { in updateActives() 255 public void onOpActiveChanged(int code, int uid, String packageName, boolean active) { in onOpActiveChanged() argument 256 if (updateActives(code, uid, packageName, active)) { in onOpActiveChanged() 257 notifySuscribers(code, uid, packageName, active); in onOpActiveChanged() 271 private void notifySuscribers(int code, int uid, String packageName, boolean active) { in notifySuscribers() argument 274 cb.onActiveStateChanged(code, uid, packageName, active); in notifySuscribers()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceSettings.java | 164 private void setActive(boolean active) { in setActive() argument 165 if (mActive == active) { in setActive() 169 Slog.d(TAG, "Active: " + active); in setActive() 171 mActive = active; in setActive()
|
/frameworks/layoutlib/bridge/src/android/graphics/text/ |
D | OptimizingLineBreaker.java | 63 ArrayList<Integer> active = new ArrayList<Integer>(); in computeBreaks() local 64 active.add(0); in computeBreaks() 72 for (ListIterator<Integer> it = active.listIterator(); it.hasNext(); in computeBreaks() 103 active.clear(); in computeBreaks() 107 active.add(i); in computeBreaks() 110 if (active.isEmpty()) { in computeBreaks() 118 active.add(breakIndex); in computeBreaks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputQuickSettingsDisabler.java | 62 public void setRemoteInputActive(boolean active){ in setRemoteInputActive() argument 63 if(mRemoteInputActive != active){ in setRemoteInputActive() 64 mRemoteInputActive = active; in setRemoteInputActive()
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | TunerCallback.cpp | 114 virtual Return<void> trafficAnnouncement(bool active); 115 virtual Return<void> emergencyAnnouncement(bool active); 245 Return<void> NativeCallback::trafficAnnouncement(bool active) { in trafficAnnouncement() argument 246 ALOGV("%s(%d)", __func__, active); in trafficAnnouncement() 248 mCallbackThread.enqueue([this, active](JNIEnv *env) { in trafficAnnouncement() 249 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onTrafficAnnouncement, active); in trafficAnnouncement() 255 Return<void> NativeCallback::emergencyAnnouncement(bool active) { in emergencyAnnouncement() argument 256 ALOGV("%s(%d)", __func__, active); in emergencyAnnouncement() 258 mCallbackThread.enqueue([this, active](JNIEnv *env) { in emergencyAnnouncement() 259 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onEmergencyAnnouncement, active); in emergencyAnnouncement()
|
/frameworks/base/core/proto/android/server/ |
D | enums.proto | 24 // Device idle mode - not active. 26 // Device idle mode - active in lightweight mode. 28 // Device idle mode - active in full mode.
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
D | PhoneSwitcherMock.java | 76 public void setPhoneActive(int phoneId, boolean active) { in setPhoneActive() argument 78 if (mIsActive[phoneId].getAndSet(active) != active) { in setPhoneActive()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | FingerprintGestureController.java | 128 public void onGestureDetectionActiveChanged(boolean active) { in onGestureDetectionActiveChanged() argument 138 handler.post(() -> callback.onGestureDetectionAvailabilityChanged(active)); in onGestureDetectionActiveChanged() 140 callback.onGestureDetectionAvailabilityChanged(active); in onGestureDetectionActiveChanged()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | ITunerCallback.aidl | 30 void onTrafficAnnouncement(boolean active); in onTrafficAnnouncement() argument 31 void onEmergencyAnnouncement(boolean active); in onEmergencyAnnouncement() argument
|
D | TunerCallbackAdapter.java | 169 public void onTrafficAnnouncement(boolean active) { in onTrafficAnnouncement() argument 170 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 174 public void onEmergencyAnnouncement(boolean active) { in onEmergencyAnnouncement() argument 175 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferStateLayer.cpp | 196 if (mCurrentState.active.transform.tx() == x && mCurrentState.active.transform.ty() == y && in setFrame() 197 mCurrentState.active.w == w && mCurrentState.active.h == h) { in setFrame() 204 mCurrentState.active.transform.set(x, y); in setFrame() 205 mCurrentState.active.w = w; in setFrame() 206 mCurrentState.active.h = h; in setFrame() 533 (s.active.w != bufferWidth || s.active.h != bufferHeight)) { in updateTexImage() 536 mName.string(), bufferWidth, bufferHeight, s.active.w, s.active.h); in updateTexImage()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/ |
D | TunerCallback.java | 127 public void onTrafficAnnouncement(boolean active) { in onTrafficAnnouncement() argument 128 dispatch(() -> mClientCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 132 public void onEmergencyAnnouncement(boolean active) { in onEmergencyAnnouncement() argument 133 dispatch(() -> mClientCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeManager.java | 193 mInterfaceDestroyedListener.active = false; in releaseAware() 214 public boolean active = true; field in WifiAwareNativeManager.InterfaceDestroyedListener 220 + active); in onDestroyed() 222 if (active && mWifiNanIface != null) { in onDestroyed()
|
/frameworks/native/opengl/libagl/ |
D | texture.cpp | 110 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_validate_texture() 165 c->rasterizer.procs.activeTexture(c, c->textures.active); in ogles_unlock_textures() 304 const int active = c->textures.active; in getAndBindActiveTextureObject() local 305 const GLuint name = c->textures.tmu[active].name; in getAndBindActiveTextureObject() 308 texture_unit_t& u(c->textures.tmu[active]); in getAndBindActiveTextureObject() 331 invalidate_texture(c, active); in getAndBindActiveTextureObject() 373 const int active = c->textures.active; in createTextureSurface() local 374 EGLTextureObject* tex = c->textures.tmu[active].texture; in createTextureSurface() 609 const int active = c->textures.active; in generateMipmap() local 610 EGLTextureObject* tex = c->textures.tmu[active].texture; in generateMipmap() [all …]
|
/frameworks/av/include/media/nblog/ |
D | PerformanceAnalysis.h | 166 nsecs_t active = 0; member 178 active = 0; in reset() 186 && active == 0; in empty()
|
/frameworks/av/media/libnblog/include/media/nblog/ |
D | PerformanceAnalysis.h | 166 nsecs_t active = 0; member 178 active = 0; in reset() 186 && active == 0; in empty()
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierService.java | 124 public final void notifyCarrierNetworkChange(boolean active) { in notifyCarrierNetworkChange() argument 126 if (sRegistry != null) sRegistry.notifyCarrierNetworkChange(active); in notifyCarrierNetworkChange()
|