/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | AbiUtils.java | 37 public static String parseAbi(String id) { in parseAbi() argument 38 return parseId(id)[0]; in parseAbi() 46 public static String[] parseId(String id) { in parseId() argument 47 if (id == null || !id.contains(" ")) { in parseId() 50 return id.split(" "); in parseId() 57 public static String parseTestName(String id) { in parseTestName() argument 58 return parseId(id)[1]; in parseTestName()
|
D | LightInvocationResult.java | 78 for (String id : mModuleIds) { in getModules() 79 modules.add(new ModuleResult(id)); in getModules() 104 public IModuleResult getOrCreateModule(String id) { in getOrCreateModule() argument 105 mModuleIds.add(id); in getOrCreateModule() 106 return new ModuleResult(id); in getOrCreateModule()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/view/ |
D | ViewNode.kt | 34 val id: String, constant in android.tools.traces.view.ViewNode 52 if (id != other.id) return false in equals() 62 if (children.joinToString { it.id } != other.children.joinToString { it.id }) return false in equals() 70 result = 31 * result + id.hashCode() in hashCode() 80 result = 31 * result + children.joinToString { it.id }.hashCode() in hashCode() 85 "ViewNode(classNameIndex=$classNameIndex, hashCode=$hashcode, id='$id', bounds=$bounds)" in toString() 91 id: String, in toString() 106 id, in toString()
|
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/ |
D | MultiUserHelper.java | 86 .id; in createUser() 88 return mUserManager.createUser(name, /* flags= */ 0).id; in createUser() 98 public void switchAndWaitForStable(int id, long timeoutMs) throws Exception { in switchAndWaitForStable() argument 99 switchToUserId(id); in switchAndWaitForStable() 112 public void switchToUserId(int id) throws Exception { in switchToUserId() argument 117 getCurrentForegroundUserInfo().id, id)); in switchToUserId() 119 switchUserUsingShell(id); in switchToUserId() 134 AsyncFuture<UserSwitchResult> future = mCarUserManager.switchUser(id); in switchToUserId() 140 String.format("Exception when switching to target user: %d", id), e); in switchToUserId() 151 id, USER_SWITCH_TIMEOUT_SECOND)); in switchToUserId() [all …]
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/traces/wm/ |
D | TransitionTest.kt | 35 id = 1, in canMergePartialTransitions() 45 id = 1, in canMergePartialTransitions() 55 id = 1, in canMergePartialTransitions() 78 id = 1, in mergePartialTransitionsOverrideValues() 103 id = 1, in mergePartialTransitionsOverrideValues() 148 id = 1, in getStartTransaction_directMatch() 159 id = transactionId, in getStartTransaction_directMatch() 179 Truth.assertThat(startTransaction.id).isEqualTo(transactionId) in getStartTransaction_directMatch() 187 id = 1, in getStartTransaction_noMatch() 198 id = transactionId + 10, in getStartTransaction_noMatch() [all …]
|
D | TransitionsTraceTest.kt | 37 id = 1, in canBeCompressed() 45 id = 1, in canBeCompressed() 53 id = 1, in canBeCompressed()
|
/platform_testing/libraries/automotive-helpers/utility-helper/src/android/platform/helpers/ |
D | SeekUtility.java | 79 String id, String seekBarConfig, SeekLayout layout, Supplier<Integer> valueSupplier) { in registerSeekBar() argument 80 if (mRegisteredSeekBars.containsKey(id)) { in registerSeekBar() 90 mRegisteredSeekBars.put(id, details); in registerSeekBar() 100 public int seek(String id, float targetPercentage) { in seek() argument 107 SeekBarDetails details = mRegisteredSeekBars.get(id); in seek() 139 public int getValue(String id) { in getValue() argument 140 return mRegisteredSeekBars.get(id).mValueSupplier.get(); in getValue()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/wm/ |
D | TransitionsTrace.kt | 27 require(transition.id != 0) { "Requires non-null transition id" } in asCompressed() 28 val accumulatedTransition = transitionById[transition.id] in asCompressed() 30 transitionById[transition.id] = transition in asCompressed() 32 transitionById[transition.id] = in asCompressed()
|
D | Transition.kt | 27 val id: Int, constant in android.tools.traces.wm.Transition 93 it.id == this.startTransactionId || in getStartTransaction() 105 it.id == this.finishTransactionId || in getFinishTransaction() 118 require(transition.mergeTarget == this.id) { in merge() 132 id = this.id, in merge() 189 require(transition1.id == transition2.id) { in mergePartialTransitions() 194 id = transition1.id, in mergePartialTransitions()
|
D | WindowDescriptor.kt | 4 val id = window.id constant
|
D | WindowManagerTrace.kt | 71 fun getWindowDescriptorById(id: Int): WindowDescriptor? { in getWindowDescriptorById() 74 if (window.id == id) { in getWindowDescriptorById()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/surfaceflinger/ |
D | Display.kt | 30 val id: Long, constant in android.tools.traces.surfaceflinger.Display 74 if (id != other.id) return false in equals() 86 var result = id.hashCode() in hashCode() 102 id = 0, in <lambda>() 115 id: Long, in from() 125 Display(id, name, layerStackId, size, layerStackSpace, transform, isVirtual, dpiX, dpiY) in from()
|
D | LayerDescriptor.kt | 4 val id = layer.id constant
|
D | Transaction.kt | 24 val id: Long, constant in android.tools.traces.surfaceflinger.Transaction 35 "id=$id)" in toString()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/ |
D | MyActivity.java | 45 int id = item.getItemId(); in onOptionsItemSelected() local 46 if (id == R.id.action_settings) { in onOptionsItemSelected()
|
/platform_testing/utils/shell-as/ |
D | string-utils.cpp | 63 gid_t id; in SplitIdsAndSkip() local 64 if (!StringToUInt32(id_string, &id)) { in SplitIdsAndSkip() 67 ids->push_back(id); in SplitIdsAndSkip()
|
D | README.md | 12 For example, the following are equivalent and execute `/system/bin/id` in the 21 /system/bin/id 25 shell-as --pid 1 /system/bin/id 32 shell-as --profile untrusted-app /system/bin/id
|
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
D | NotificationHelper.java | 70 public void createChannel(String id, String name, int importance, boolean vibrate, in createChannel() argument 72 if (manager.getNotificationChannel(id) != null) { in createChannel() 75 NotificationChannel channel = new NotificationChannel(id, name, importance); in createChannel() 85 public void useChannel(String id) { in useChannel() argument 86 mCurrentChannelId = id; in useChannel() 99 for (int id : ids) { in checkNotificationExistence() 100 result = result && checkNotificationExistence(id, manager); in checkNotificationExistence() 112 public boolean checkNotificationExistence(int id, NotificationManager manager) in checkNotificationExistence() argument 119 if (sbn.getId() == id) { in checkNotificationExistence() 129 Log.i(LOG_TAG, String.format("Notification (id=%d) existence = %b", id, isFound)); in checkNotificationExistence()
|
/platform_testing/libraries/audio-test-harness/server/src/main/java/com/android/media/audiotestharness/server/service/ |
D | AudioCaptureSessionFactoryImpl.java | 57 int id = sIdBase.getAndIncrement(); in createCaptureSession() local 58 LOGGER.info(String.format("Starting new capture session with id %d", id)); in createCaptureSession() 61 id, in createCaptureSession()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/extractors/ |
D | TaggedCujTransitionMatcher.kt | 175 val layers = layersTrace.entries.flatMap { it.flattenedLayers }.distinctBy { it.id } in isPermissionDialogOpenTransition() 178 layers.firstOrNull { it.id == change.layerId } in isPermissionDialogOpenTransition() 204 val layers = layersTrace.entries.flatMap { it.flattenedLayers }.distinctBy { it.id } in isTrampolinedOpenTransition() 207 val candidateTaskLayer = layers.first { it.id == candidateTaskLayerId } in isTrampolinedOpenTransition() 236 val candidateTrampolinedActivity = layers.first { it.id == candidateTrampolinedActivityId } in isTrampolinedOpenTransition() 237 if (candidateTrampolinedActivity.parent?.id != candidateTaskLayerId) { in isTrampolinedOpenTransition() 242 val candidateTargetActivity = layers.first { it.id == candidateTargetActivityId } in isTrampolinedOpenTransition() 243 if (candidateTargetActivity.parent?.id != candidateTaskLayerId) { in isTrampolinedOpenTransition()
|
/platform_testing/libraries/app-helpers/interfaces/handheld/src/android/platform/helpers/ |
D | INotificationHelper.java | 164 default void postBubbleNotification(String senderName, int count, int id) { in postBubbleNotification() argument 179 String senderName, int id, String text, String shortcutId, String messageToActivity) { in postBubbleNotification() argument 191 default void postBubbleNotification(String senderName, int id, String text) { in postBubbleNotification() argument 202 default void updateBubbleNotification(String senderName, int id, String text) { in updateBubbleNotification() argument
|
/platform_testing/libraries/flicker/src/android/tools/flicker/config/ |
D | FlickerConfigImpl.kt | 62 require(entry.assertions.keys.none { it.id == assertion.id }) { in <lambda>() 90 entry.assertions.keys.firstOrNull { it.id == assertionId } in <lambda>() 109 entry.assertions.keys.firstOrNull { it.id == assertionId } in <lambda>()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/component/ |
D | ExactComponentIdMatcher.kt | 50 override fun layerMatchesAnyOf(layers: Collection<Layer>) = layers.any { it.id == layerId } in <lambda>() 56 ): Boolean = condition(layers.filter { it.id == layerId }) in check()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/rules/ |
D | TemporaryNotificationChannel.java | 45 public TemporaryNotificationChannel(String id, String name, int importance) { in TemporaryNotificationChannel() argument 46 mId = id; in TemporaryNotificationChannel()
|
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/myapplication.widgets/ |
D | DialogView.java | 47 .setPositiveButton("Ok", (dialog, id) -> {}) in init() 48 .setNegativeButton("Cancel", (dialog, id) -> {}) in init()
|