/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_dequantize_sample.cpp | 194 int32 cb = 0; in pvmp3_dequantize_sample() local 230 cb++; /* critical band counter */ in pvmp3_dequantize_sample() 239 cb = 3; in pvmp3_dequantize_sample() 243 next_cb_boundary = mp3_sfBandIndex[sfreq].l[cb+1]; in pvmp3_dequantize_sample() 247 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; in pvmp3_dequantize_sample() 249 cb_width = cb; in pvmp3_dequantize_sample() 250 cb_begin = mp3_sfBandIndex[sfreq].s[cb] * 3; in pvmp3_dequantize_sample() 257 (scalefac->l[cb] + gr_info->preflag * pretab[cb]) << 1; in pvmp3_dequantize_sample() 265 next_cb_boundary = mp3_sfBandIndex[sfreq].s[cb+1] * 3; in pvmp3_dequantize_sample() 266 cb_width = cb; in pvmp3_dequantize_sample() [all …]
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 52 , cb(_cb) in ObbCallback() 57 AStorageManager_obbCallbackFunc cb; member in ObbCallback 74 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data); in registerObbCallback() local 77 mCallbacks.push(cb); in registerObbCallback() 79 return cb; in registerObbCallback() 111 ObbCallback* cb = mCallbacks.editItemAt(i); in fireCallback() local 112 if (cb->nonce == nonce) { in fireCallback() 113 target = cb; in fireCallback() 121 target->cb(filename, state, target->data); in fireCallback() 137 ObbCallback* cb = registerObbCallback(func, data); in mountObb() local [all …]
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 426 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleScreenTurnedOn() local 427 if (cb != null) { in handleScreenTurnedOn() 428 cb.onScreenTurnedOn(); in handleScreenTurnedOn() 436 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleScreenTurnedOff() local 437 if (cb != null) { in handleScreenTurnedOff() 438 cb.onScreenTurnedOff(arg1); in handleScreenTurnedOff() 450 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in dispatchSetBackground() local 451 if (cb != null) { in dispatchSetBackground() 452 cb.onSetBackground(bmp); in dispatchSetBackground() 464 KeyguardUpdateMonitorCallback cb = mCallbacks.get(i).get(); in handleSetGenerationId() local [all …]
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | Charsets.java | 53 CharBuffer cb = CharBuffer.allocate(length); in toAsciiBytes() local 54 cb.put(chars, offset, length); in toAsciiBytes() 55 return US_ASCII.encode(cb).array(); in toAsciiBytes() 63 CharBuffer cb = CharBuffer.allocate(length); in toIsoLatin1Bytes() local 64 cb.put(chars, offset, length); in toIsoLatin1Bytes() 65 return ISO_8859_1.encode(cb).array(); in toIsoLatin1Bytes() 73 CharBuffer cb = CharBuffer.allocate(length); in toUtf8Bytes() local 74 cb.put(chars, offset, length); in toUtf8Bytes() 75 return UTF_8.encode(cb).array(); in toUtf8Bytes()
|
/frameworks/base/core/java/android/os/ |
D | RemoteCallbackList.java | 114 Callback cb = new Callback(callback, cookie); in register() local 115 binder.linkToDeath(cb, 0); in register() 116 mCallbacks.put(binder, cb); in register() 143 Callback cb = mCallbacks.remove(callback.asBinder()); in unregister() local 144 if (cb != null) { in unregister() 145 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in unregister() 163 Callback cb = mCallbacks.valueAt(cbi); in kill() local 164 cb.mCallback.asBinder().unlinkToDeath(cb, 0); in kill()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/ |
D | h264bsdWriteMacroblock.s | 29 cb RN 4 label 95 LDR cb, [image, #0x10] 118 VLD1 {qRow0, qRow1}, [data]! ;cb rows 0,1,2,3 120 VLD1 {qRow2, qRow3}, [data]! ;cb rows 4,5,6,7 126 VST1 {dRow0}, [cb@64], cwidth 129 VST1 {dRow1}, [cb@64], cwidth 132 VST1 {dRow2}, [cb@64], cwidth 135 VST1 {dRow3}, [cb@64], cwidth 138 VST1 {dRow4}, [cb@64], cwidth 141 VST1 {dRow5}, [cb@64], cwidth [all …]
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_image.c | 87 u32 *lum, *cb, *cr; in h264bsdWriteMacroblock() local 102 cb = (u32*)image->cb; in h264bsdWriteMacroblock() 105 ASSERT(!((u32)cb&0x3)); in h264bsdWriteMacroblock() 129 *cb++ = tmp1; in h264bsdWriteMacroblock() 130 *cb++ = tmp2; in h264bsdWriteMacroblock() 131 cb += width-2; in h264bsdWriteMacroblock() 179 u8 *lum, *cb, *cr; in h264bsdWriteOutputBlocks() local 204 cb = (image->data + picSize * 256 + row * picWidth * 64 + col * 8); in h264bsdWriteOutputBlocks() 205 cr = (cb + picSize * 64); in h264bsdWriteOutputBlocks() 284 imageBlock = cb; in h264bsdWriteOutputBlocks()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/ |
D | h264bsdWriteMacroblock.S | 31 #define cb r4 macro 97 LDR cb, [image, #0x10] 128 VST1 {dRow0}, [cb,:64], cwidth 131 VST1 {dRow1}, [cb,:64], cwidth 134 VST1 {dRow2}, [cb,:64], cwidth 137 VST1 {dRow3}, [cb,:64], cwidth 140 VST1 {dRow4}, [cb,:64], cwidth 143 VST1 {dRow5}, [cb,:64], cwidth 145 VST1 {dRow6}, [cb,:64], cwidth 147 VST1 {dRow7}, [cb,:64]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | QuickSettingsModel.java | 351 void addSettingsTile(QuickSettingsTileView view, RefreshCallback cb) { in addSettingsTile() argument 353 mSettingsCallback = cb; in addSettingsTile() 363 void addUserTile(QuickSettingsTileView view, RefreshCallback cb) { in addUserTile() argument 365 mUserCallback = cb; in addUserTile() 375 void addTimeTile(QuickSettingsTileView view, RefreshCallback cb) { in addTimeTile() argument 377 mTimeCallback = cb; in addTimeTile() 382 void addAlarmTile(QuickSettingsTileView view, RefreshCallback cb) { in addAlarmTile() argument 384 mAlarmCallback = cb; in addAlarmTile() 405 void addAirplaneModeTile(QuickSettingsTileView view, RefreshCallback cb) { in addAirplaneModeTile() argument 417 mAirplaneModeCallback = cb; in addAirplaneModeTile() [all …]
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 60 void setStreamSolo(int streamType, boolean state, IBinder cb); in setStreamSolo() argument 62 void setStreamMute(int streamType, boolean state, IBinder cb); in setStreamMute() argument 66 void setMasterMute(boolean state, int flags, IBinder cb); in setMasterMute() argument 92 void setMode(int mode, IBinder cb); in setMode() argument 120 int requestAudioFocus(int mainStreamType, int durationHint, IBinder cb, in requestAudioFocus() argument 226 void startBluetoothSco(IBinder cb, int targetSdkVersion); in startBluetoothSco() argument 227 void stopBluetoothSco(IBinder cb); in stopBluetoothSco() argument 229 void forceVolumeControlStream(int streamType, IBinder cb); in forceVolumeControlStream() argument
|
D | AudioSystem.java | 176 public static void setErrorCallback(ErrorCallback cb) in setErrorCallback() argument 179 mErrorCallback = cb; in setErrorCallback() 180 if (cb != null) { in setErrorCallback() 181 cb.onError(checkAudioFlinger()); in setErrorCallback()
|
D | MediaRouter.java | 811 public void addCallback(int types, Callback cb) { in addCallback() argument 812 addCallback(types, cb, 0); in addCallback() 831 public void addCallback(int types, Callback cb, int flags) { in addCallback() argument 833 int index = findCallbackInfo(cb); in addCallback() 839 info = new CallbackInfo(cb, types, flags, this); in addCallback() 850 public void removeCallback(Callback cb) { in removeCallback() argument 851 int index = findCallbackInfo(cb); in removeCallback() 856 Log.w(TAG, "removeCallback(" + cb + "): callback not registered"); in removeCallback() 860 private int findCallbackInfo(Callback cb) { in findCallbackInfo() argument 864 if (info.cb == cb) { in findCallbackInfo() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 44 public void addStateChangedCallback(BatteryStateChangeCallback cb) { in addStateChangedCallback() argument 45 mChangeCallbacks.add(cb); in addStateChangedCallback() 63 for (BatteryStateChangeCallback cb : mChangeCallbacks) { in onReceive() 64 cb.onBatteryLevelChanged(level, plugged); in onReceive()
|
D | BluetoothController.java | 57 public void addStateChangedCallback(BluetoothStateChangeCallback cb) { in addStateChangedCallback() argument 58 mChangeCallbacks.add(cb); in addStateChangedCallback() 98 for (BluetoothStateChangeCallback cb : mChangeCallbacks) { in fireCallbacks() 99 cb.onBluetoothStateChange(mEnabled); in fireCallbacks()
|
D | LocationController.java | 107 public void addSettingsChangedCallback(LocationSettingsChangeCallback cb) { in addSettingsChangedCallback() argument 108 mSettingsChangeCallbacks.add(cb); in addSettingsChangedCallback() 212 for (LocationSettingsChangeCallback cb : mSettingsChangeCallbacks) { in locationSettingsChanged() 213 cb.onLocationSettingsChanged(isEnabled); in locationSettingsChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | BrightnessController.java | 86 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChange() 87 cb.onBrightnessLevelChanged(); in onChange() 140 public void addStateChangedCallback(BrightnessStateChangeCallback cb) { in addStateChangedCallback() argument 141 mChangeCallbacks.add(cb); in addStateChangedCallback() 144 public boolean removeStateChangedCallback(BrightnessStateChangeCallback cb) { in removeStateChangedCallback() argument 145 return mChangeCallbacks.remove(cb); in removeStateChangedCallback() 178 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChanged() 179 cb.onBrightnessLevelChanged(); in onChanged()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxService.java | 155 public void registerCallback(IBordeauxServiceCallback cb) { 156 if (cb != null) mCallbacks.register(cb); 159 public void unregisterCallback(IBordeauxServiceCallback cb) { 160 if (cb != null) mCallbacks.unregister(cb);
|
D | IBordeauxService.aidl | 45 void registerCallback(IBordeauxServiceCallback cb); in registerCallback() argument 50 void unregisterCallback(IBordeauxServiceCallback cb); in unregisterCallback() argument
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 926 public void setCallback(IBinder caller, ITextToSpeechCallback cb) { 932 mCallbacks.setCallback(caller, cb); 952 public void setCallback(IBinder caller, ITextToSpeechCallback cb) { in setCallback() argument 955 if (cb != null) { in setCallback() 956 register(cb, caller); in setCallback() 957 old = mCallerToCallback.put(caller, cb); in setCallback() 961 if (old != null && old != cb) { in setCallback() 968 ITextToSpeechCallback cb = getCallbackFor(callerIdentity); in dispatchOnDone() local 969 if (cb == null) return; in dispatchOnDone() 971 cb.onDone(utteranceId); in dispatchOnDone() [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindow.java | 291 final Callback cb = getCallback(); in setContentView() local 292 if (cb != null && !isDestroyed()) { in setContentView() 293 cb.onContentChanged(); in setContentView() 310 final Callback cb = getCallback(); in setContentView() local 311 if (cb != null && !isDestroyed()) { in setContentView() 312 cb.onContentChanged(); in setContentView() 322 final Callback cb = getCallback(); in addContentView() local 323 if (cb != null && !isDestroyed()) { in addContentView() 324 cb.onContentChanged(); in addContentView() 400 final Callback cb = getCallback(); in preparePanel() local [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | IFaceLockInterface.aidl | 26 void registerCallback(IFaceLockCallback cb); in registerCallback() argument 27 void unregisterCallback(IFaceLockCallback cb); in unregisterCallback() argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | ExtractEditLayout.java | 53 public ActionMode startActionModeForChild(View sourceView, ActionMode.Callback cb) { in startActionModeForChild() argument 54 final ExtractActionMode mode = new ExtractActionMode(cb); in startActionModeForChild() 100 public ExtractActionMode(Callback cb) { in ExtractActionMode() argument 103 mCallback = cb; in ExtractActionMode()
|
/frameworks/native/include/android/ |
D | storage_manager.h | 104 AStorageManager_obbCallbackFunc cb, void* data); 110 AStorageManager_obbCallbackFunc cb, void* data);
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 75 JSAMPROW cb[8]; in compress() local 79 planes[1] = cb; in compress() 104 cb[i/2] = uRows + offset; in compress() 151 JSAMPROW cb[16]; in compress() local 155 planes[1] = cb; in compress() 178 cb[i] = uRows + offset; in compress()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 594 public final void setPreviewCallback(PreviewCallback cb) { in setPreviewCallback() argument 595 mPreviewCallback = cb; in setPreviewCallback() 598 if (cb != null) { in setPreviewCallback() 603 setHasPreviewCallback(cb != null, false); in setPreviewCallback() 620 public final void setOneShotPreviewCallback(PreviewCallback cb) { in setOneShotPreviewCallback() argument 621 mPreviewCallback = cb; in setOneShotPreviewCallback() 624 if (cb != null) { in setOneShotPreviewCallback() 627 setHasPreviewCallback(cb != null, false); in setOneShotPreviewCallback() 658 public final void setPreviewCallbackWithBuffer(PreviewCallback cb) { in setPreviewCallbackWithBuffer() argument 659 mPreviewCallback = cb; in setPreviewCallbackWithBuffer() [all …]
|