/packages/modules/Connectivity/thread/tests/cts/src/android/net/thread/cts/ |
D | ActiveOperationalDatasetTest.java | 90 private static byte[] removeTlv(byte[] dataset, int type) { in removeTlv() argument 91 ByteArrayOutputStream os = new ByteArrayOutputStream(dataset.length); in removeTlv() 93 while (i < dataset.length) { in removeTlv() 94 int ty = dataset[i++] & 0xff; in removeTlv() 95 byte length = dataset[i++]; in removeTlv() 97 byte[] value = Arrays.copyOfRange(dataset, i, i + length); in removeTlv() 107 private static byte[] addTlv(byte[] dataset, String tlvHex) { in addTlv() argument 108 return Bytes.concat(dataset, base16().decode(tlvHex)); in addTlv() 111 private static byte[] replaceTlv(byte[] dataset, int type, String newTlvHex) { in replaceTlv() argument 112 return addTlv(removeTlv(dataset, type), newTlvHex); in replaceTlv() [all …]
|
D | PendingOperationalDatasetTest.java | 75 PendingOperationalDataset dataset = in parcelable_parcelingIsLossLess() local 81 assertParcelingIsLossless(dataset); in parcelable_parcelingIsLossLess() 138 PendingOperationalDataset dataset = in constructor_correctValuesAreSet() local 144 assertThat(dataset.getActiveOperationalDataset()).isEqualTo(activeDataset); in constructor_correctValuesAreSet() 145 assertThat(dataset.getPendingTimestamp()) in constructor_correctValuesAreSet() 147 assertThat(dataset.getDelayTimer()).isEqualTo(Duration.ofHours(100)); in constructor_correctValuesAreSet() 211 PendingOperationalDataset dataset = in fromThreadTlvs_completePendingDatasetTlvs_success() local 214 assertThat(dataset.getActiveOperationalDataset()).isEqualTo(activeDataset); in fromThreadTlvs_completePendingDatasetTlvs_success() 215 assertThat(dataset.getPendingTimestamp()) in fromThreadTlvs_completePendingDatasetTlvs_success() 217 assertThat(dataset.getDelayTimer()).isEqualTo(Duration.ofMillis(300)); in fromThreadTlvs_completePendingDatasetTlvs_success()
|
D | ThreadNetworkControllerTest.java | 706 () -> mController.createRandomizedDataset("", mExecutor, dataset -> {})); 712 "ANetNameIs17Bytes", mExecutor, dataset -> {})); 717 ActiveOperationalDataset dataset = newRandomizedDataset("validName", mController); 719 assertThat(dataset.getNetworkName()).isEqualTo("validName"); 720 assertThat(dataset.getPanId()).isLessThan(0xffff); 721 assertThat(dataset.getChannelMask().size()).isAtLeast(1); 722 assertThat(dataset.getExtendedPanId()).hasLength(8); 723 assertThat(dataset.getNetworkKey()).hasLength(16); 724 assertThat(dataset.getPskc()).hasLength(16); 725 assertThat(dataset.getMeshLocalPrefix().getPrefixLength()).isEqualTo(64); [all …]
|
/packages/modules/Connectivity/thread/framework/java/android/net/thread/ |
D | ActiveOperationalDataset.java | 406 ByteArrayOutputStream dataset = new ByteArrayOutputStream(); in toThreadTlvs() local 408 dataset.write(TYPE_ACTIVE_TIMESTAMP); in toThreadTlvs() 410 dataset.write(activeTimestampBytes.length); in toThreadTlvs() 411 dataset.write(activeTimestampBytes, 0, activeTimestampBytes.length); in toThreadTlvs() 413 dataset.write(TYPE_NETWORK_NAME); in toThreadTlvs() 415 dataset.write(networkNameBytes.length); in toThreadTlvs() 416 dataset.write(networkNameBytes, 0, networkNameBytes.length); in toThreadTlvs() 418 dataset.write(TYPE_EXTENDED_PAN_ID); in toThreadTlvs() 419 dataset.write(mExtendedPanId.length); in toThreadTlvs() 420 dataset.write(mExtendedPanId, 0, mExtendedPanId.length); in toThreadTlvs() [all …]
|
D | PendingOperationalDataset.java | 176 ByteArrayOutputStream dataset = new ByteArrayOutputStream(); in toThreadTlvs() local 179 dataset.write(activeDatasetBytes, 0, activeDatasetBytes.length); in toThreadTlvs() 181 dataset.write(TYPE_PENDING_TIMESTAMP); in toThreadTlvs() 183 dataset.write(pendingTimestampBytes.length); in toThreadTlvs() 184 dataset.write(pendingTimestampBytes, 0, pendingTimestampBytes.length); in toThreadTlvs() 186 dataset.write(TYPE_DELAY_TIMER); in toThreadTlvs() 189 dataset.write(delayTimerBytes.length); in toThreadTlvs() 190 dataset.write(delayTimerBytes, 0, delayTimerBytes.length); in toThreadTlvs() 192 return dataset.toByteArray(); in toThreadTlvs()
|
D | IActiveOperationalDatasetReceiver.aidl | 23 void onSuccess(in ActiveOperationalDataset dataset); in onSuccess() argument
|
D | ThreadNetworkController.java | 726 public void onSuccess(ActiveOperationalDataset dataset) { in onSuccess() argument 729 mExecutor.execute(() -> mResultReceiver.onResult(dataset)); in onSuccess()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/testutils/ |
D | ResettingExampleIterator.java | 45 public ResettingExampleIterator(int limit, Dataset dataset, Duration nextLatency) { in ResettingExampleIterator() argument 48 for (ClientDataset clientDataset : dataset.getClientDataList()) { in ResettingExampleIterator() 55 public ResettingExampleIterator(int limit, Dataset dataset) { in ResettingExampleIterator() argument 56 this(limit, dataset, Duration.ZERO); in ResettingExampleIterator()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkShellCommand.java | 155 ActiveOperationalDataset dataset; in join() local 157 dataset = ActiveOperationalDataset.fromThreadTlvs(datasetTlvs); in join() 163 mControllerService.join(dataset, new IOperationReceiver.Default()); in join() 175 ActiveOperationalDataset dataset; in migrate() local 177 dataset = ActiveOperationalDataset.fromThreadTlvs(datasetTlvs); in migrate() 193 dataset, in migrate()
|
D | ActiveOperationalDatasetReceiverWrapper.java | 66 public void onSuccess(ActiveOperationalDataset dataset) { in onSuccess() argument 72 mReceiver.onSuccess(dataset); in onSuccess()
|
D | ThreadNetworkControllerService.java | 842 ActiveOperationalDataset dataset = in newChannelMasksReceiver() 850 receiver.onSuccess(dataset); in newChannelMasksReceiver()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/ |
D | FlRunnerWrapperTest.java | 147 Dataset dataset = Dataset.newBuilder().addClientData(clientDataset).build(); in testRunFederatedAnalytics_returnSuccess() local 152 new ResettingExampleIterator(dataset.getClientDataCount(), dataset); in testRunFederatedAnalytics_returnSuccess() 276 Dataset dataset = Dataset.parseFrom(in); in testRunFederatedLearning_returnsSuccess() local 280 new ResettingExampleIterator(dataset.getClientDataCount(), dataset); in testRunFederatedLearning_returnsSuccess()
|
/packages/modules/Connectivity/thread/tests/unit/src/android/net/thread/ |
D | ActiveOperationalDatasetTest.java | 66 private static byte[] addTlv(byte[] dataset, String tlvHex) { in addTlv() argument 67 return Bytes.concat(dataset, base16().decode(tlvHex)); in addTlv()
|
D | ThreadNetworkControllerTest.java | 180 ActiveOperationalDataset dataset) { in registerOperationalDatasetCallback_callbackIsInvokedWithCallingAppIdentity() 186 PendingOperationalDataset dataset) { in registerOperationalDatasetCallback_callbackIsInvokedWithCallingAppIdentity() 219 dataset -> successCallbackUid.set(Binder.getCallingUid())); in createRandomizedDataset_callbackIsInvokedWithCallingAppIdentity() 232 public void onResult(ActiveOperationalDataset dataset) {} in createRandomizedDataset_callbackIsInvokedWithCallingAppIdentity()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/utils/ |
D | FullThreadDevice.java | 175 public void joinNetwork(ActiveOperationalDataset dataset) { in joinNetwork() argument 176 mActiveOperationalDataset = dataset; in joinNetwork() 177 executeCommand("dataset set active " + base16().lowerCase().encode(dataset.toThreadTlvs())); in joinNetwork()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/backup/ |
D | KitchenSinkBackupTransport.java | 798 File dataset = new File(mRestoreSetFullDir, name); in getNextFullRestoreDataChunk() local 800 mCurFullRestoreStream = new FileInputStream(dataset); in getNextFullRestoreDataChunk()
|
/packages/apps/TV/libs/m2/ |
D | guava-28.0-android.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
D | guava-28.0-jre.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |
/packages/apps/TV/libs/ |
D | google-java-format-1.7-all-deps.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz |
|
D | en_US_wordlist.combined.gz |
|
D | en_wordlist.combined.gz |
|
D | nl_wordlist.combined.gz |
|
D | da_wordlist.combined.gz | 1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ... |