Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 70) sorted by relevance

123

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientConnectionService.java78 HfpClientDeviceBlock block = null;
79 if ((block = createBlockForDevice(device)) == null) {
89 HfpClientDeviceBlock block = mDeviceBlocks.remove(device);
90 if (block == null) {
94 block.cleanup();
96 block = null;
103 HfpClientDeviceBlock block = findBlockForDevice(call.getDevice());
104 if (block == null) {
112 block.handleCall(call);
190 HfpClientDeviceBlock block = findBlockForHandle(connectionManagerAccount); in onCreateIncomingConnection() local
[all …]
/packages/modules/NetworkStack/tests/lib/multivariant/com/android/testutils/
DMiscAsserts.kt39 fun <T : Exception> assertThrows(expected: Class<T>, block: ThrowingRunnable): T { in assertThrows()
40 return assertFailsWith(expected.kotlin) { block.run() } in assertThrows()
43 fun <T : Exception> assertThrows(msg: String, expected: Class<T>, block: ThrowingRunnable): T { in assertThrows()
44 return assertFailsWith(expected.kotlin, msg) { block.run() } in assertThrows()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameSplitter.java1072 private static boolean isCJKUnicodeBlock(UnicodeBlock block) { in isCJKUnicodeBlock() argument
1073 return block == UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS in isCJKUnicodeBlock()
1074 || block == UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_A in isCJKUnicodeBlock()
1075 || block == UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS_EXTENSION_B in isCJKUnicodeBlock()
1076 || block == UnicodeBlock.CJK_SYMBOLS_AND_PUNCTUATION in isCJKUnicodeBlock()
1077 || block == UnicodeBlock.CJK_RADICALS_SUPPLEMENT in isCJKUnicodeBlock()
1078 || block == UnicodeBlock.CJK_COMPATIBILITY in isCJKUnicodeBlock()
1079 || block == UnicodeBlock.CJK_COMPATIBILITY_FORMS in isCJKUnicodeBlock()
1080 || block == UnicodeBlock.CJK_COMPATIBILITY_IDEOGRAPHS in isCJKUnicodeBlock()
1081 || block == UnicodeBlock.CJK_COMPATIBILITY_IDEOGRAPHS_SUPPLEMENT; in isCJKUnicodeBlock()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java85 mPrintJob.block(printService.getString(R.string.waiting_to_send)); in LocalPrintJob()
218 mPrintJob.block(mPrintService.getString(R.string.connect_hint_text)); in onConnectionDelayed()
260 mPrintJob.block(mPrintService.getString(R.string.printer_not_encrypted)); in deliver()
313 mPrintJob.block(blockedReason); in handleJobStatus()
333 mPrintJob.block(mPrintService.getString(R.string.printer_bad_certificate)); in handleBadCertificate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorHueView.java188 int block = 16; in makeCheckPaint() local
189 int checkdim = block*2; in makeCheckPaint()
192 int y = i / (checkdim * block); in makeCheckPaint()
193 int x = (i / block) % 2; in makeCheckPaint()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md136 // Allocate a memory block.
137 // \param size of the memory block in bytes.
138 // \returns pointer to the memory block.
141 // Resize a memory block.
142 // \param originalPtr The pointer to current memory block. Null pointer is permitted.
147 // Free a memory block.
148 // \param pointer to the memory block. Null pointer is permitted.
163 3. If the current block is full, allocate a new block of memory.
/packages/services/Car/service/src/com/android/car/
DStandards.kt29 internal inline fun <T> T.guard(block: (T) -> Unit): T { in guard()
30 return this.also(block) in guard()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DObexServerSockets.java246 public synchronized void shutdown(boolean block) { in shutdown() argument
248 Log.d(mTag, "shutdown(block = " + block + ")"); in shutdown()
256 if (block) { in shutdown()
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto28 // Number not identified as spam and the user tapped the block/report spam
32 // Number identified as spam and the user tapped on the block number call
58 // A number that was identified as spam and the user proceeded to block it.
62 // spam and block it only. The only flow is: system identified number as
63 // spam -> user wants to block it -> confirmation dialog shows up asking
64 // user to acknowledge they want to block and report as spam -> user
70 // to block a number and also report it as spam
240 // User tapped block and spam buttons in context menu, same as buttons in
/packages/modules/NetworkStack/tests/lib/src/com/android/testutils/
DHandlerUtils.kt35 if (!cv.block(timeoutMs)) { in HandlerThread()
46 if (!cv.block(timeoutMs)) { in waitForIdleSerialExecutor()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageBackend.java457 protocol.block(); in receiveImage()
884 public void block() throws InterruptedException { in block() method in ImageBackend.BlockSignalProtocol
918 ImageReleaseProtocol(boolean block, boolean close) { in ImageReleaseProtocol() argument
920 blockUntilRelease = block; in ImageReleaseProtocol()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
DSharedImageProvider.java101 mImageReadyCond.block(); in query()
131 mImageReadyCond.block(); in openFile()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBugleActionToasts.java155 final boolean block, in onUpdateDestinationBlockedAction() argument
159 block in onUpdateDestinationBlockedAction()
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp378 unsigned char* block = (unsigned char*) calloc( in allocateImage() local
382 position = block; in allocateImage()
383 unsigned char **y = (unsigned char **) (block + size); in allocateImage()
/packages/apps/Camera2/src/com/android/camera/ui/
DFaceView.java149 public void setBlockDraw(boolean block) { in setBlockDraw() argument
150 mBlocked = block; in setBlockDraw()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java83 if (conditionStopped.block(-1)) { in scan()
100 if (conditionStopped.block(-1)) { in scan()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DRecordingSampleBuffer.java187 if (!conditionVariable.block(BUFFER_WRITE_TIMEOUT_MS)) { in writeSample()
189 conditionVariable.block(); in writeSample()
/packages/apps/TV/libs/m2/
Djavapoet-1.11.1.jar ... .CodeBlock) com.squareup.javapoet.CodeBlock block public com.squareup.javapoet.FieldSpec$Builder ...
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DRecordingSampleBuffer.java187 if (!conditionVariable.block(BUFFER_WRITE_TIMEOUT_MS)) { in writeSample()
189 conditionVariable.block(); in writeSample()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DAbstractConversationListActivity.java328 final boolean success, final boolean block, in onUpdateDestinationBlockedAction() argument
331 final int messageId = block ? R.string.blocked_toast_message in onUpdateDestinationBlockedAction()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java462 private synchronized void closeServerSockets(boolean block) { in closeServerSockets() argument
466 sockets.shutdown(block); in closeServerSockets()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalEventVerifier.java83 mCond.block(timeout); in waitForEnd()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java400 assertThat(mSupportServiceAvailable.block(10000)).isTrue();; in waitForSupportService()
406 assertThat(mKeyChainAvailable.block(10000)).isTrue();; in waitForKeyChainService()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCameraThread.java70 if (!startDone.block(WAIT_FOR_COMMAND_TO_COMPLETE)) { in start()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPreparePageFadeoutTexture.java41 } else if (mResultReady.block(TIMEOUT)) { in get()

123