/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()
|
D | InvocationResult.java | 95 public IModuleResult getOrCreateModule(String id) { in getOrCreateModule() argument 96 IModuleResult moduleResult = mModuleResults.get(id); in getOrCreateModule() 98 moduleResult = new ModuleResult(id); in getOrCreateModule() 99 mModuleResults.put(id, moduleResult); in getOrCreateModule()
|
D | DevicePropertyInfo.java | 68 String id, in DevicePropertyInfo() argument 91 mId = id; in DevicePropertyInfo() 118 String id, in DevicePropertyInfo() argument 142 mId = id; in DevicePropertyInfo()
|
D | IInvocationResult.java | 71 IModuleResult getOrCreateModule(String id); in getOrCreateModule() argument
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/layers/ |
D | Display.kt | 26 val id: ULong, constant in com.android.server.wm.traces.common.layers.Display 37 if (id != other.id) return false in equals() 48 var result = id.toInt() in hashCode() 59 id = 0.toULong(),
|
D | LayerTraceEntryBuilder.kt | 38 val id = layer.id in <lambda>() constant 39 if (result.containsKey(id)) { in <lambda>() 40 throw RuntimeException("Duplicate layer id found: $id") in <lambda>() 42 result[id] = layer in <lambda>()
|
D | Layer.kt | 35 val id: Int, constant in com.android.server.wm.traces.common.layers.Layer 61 val stableId: String = "$type $id $name" 116 id == 0x7FFFFFFD in isTransformFlagSet() 250 val occludedByIds = _occludedBy.joinToString(", ") { it.id.toString() } in <lambda>() 324 if (id != other.id) return false in equals() 360 result = 31 * result + id in hashCode()
|
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/ |
D | MultiUserHelper.java | 78 .id; in createUser() 80 return mUserManager.createUser(name, /* flags= */ 0).id; in createUser() 90 public void switchAndWaitForStable(int id, long timeoutMs) throws Exception { in switchAndWaitForStable() argument 91 switchToUserId(id); in switchAndWaitForStable() 104 public void switchToUserId(int id) throws Exception { in switchToUserId() argument 116 AsyncFuture<UserSwitchResult> future = mCarUserManager.switchUser(id); in switchToUserId() 122 String.format("Exception when switching to target user: %d", id), e); in switchToUserId() 133 id, USER_SWITCH_TIMEOUT_SECOND)); in switchToUserId() 145 return mUserManager.removeUser(userInfo.id); in removeUser()
|
/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()
|
D | AudioCaptureSession.java | 63 int id, in create() argument 72 id)); in create() 75 return new AudioCaptureSession(id, audioCapturer, captureChunkStreamObserverOutputStream); in create()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/windowmanager/windows/ |
D | DisplayContent.kt | 29 val id: Int, in <lambda>() constant in com.android.server.wm.traces.common.windowmanager.windows.DisplayContent 48 override val name: String = id.toString() in <lambda>() 89 return "${this::class.simpleName} #$id: name=$title mDisplayRect=$displayRect " + in <lambda>() 98 if (id != other.id) return false in <lambda>() 122 result = 31 * result + id in <lambda>()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | AbstractStandardAppHelper.java | 133 String id = getLauncherName(); in open() local 135 getLauncherStrategy().launch(id, pkg); in open() 136 Log.i(LOG_TAG, "Launched package: id=" + id + ", pkg=" + pkg); in open() 301 protected UiObject2 findElementById(String id) { in findElementById() argument 302 UiObject2 element = mDevice.findObject(By.res(getPackage(), id)); in findElementById() 306 throw new UnknownUiException(String.format(ERROR_NOT_FOUND, "with id", id, getPackage())); in findElementById() 338 protected void waitAndClickById(String packageStr, String id, long timeout) { in waitAndClickById() argument 339 clickOn(mDevice.wait(Until.findObject(By.res(packageStr, id)), timeout)); in waitAndClickById() 351 protected void checkElementWithIdExists(String packageStr, String id, long timeout) { in checkElementWithIdExists() argument 352 if (!mDevice.wait(Until.hasObject(By.res(packageStr, id)), timeout)) { in checkElementWithIdExists() [all …]
|
/platform_testing/tests/automotive/health/multiuser/src/android/platform/scenario/multiuser/nonui/ |
D | SwitchToNewSecondaryUser.java | 47 if (currentUser.id != MultiUserConstants.DEFAULT_INITIAL_USER) { in setup() 56 throw new Exception("Failed to remove user: " + targetUser.id); in setup()
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationHelper.java | 121 public void sendNotification(int id, int visibility, String title) throws Exception { in sendNotification() argument 122 sendNotification(id, visibility, title, false); in sendNotification() 125 public void sendNotification(int id, int visibility, String title, boolean buzz) in sendNotification() argument 150 mNotificationManager.notify(id, notification.build()); in sendNotification() 203 public boolean checkNotificationExistence(int id, boolean exists) throws Exception { in checkNotificationExistence() argument 209 if (sbn.getId() == id) { in checkNotificationExistence() 223 public StatusBarNotification getStatusBarNotification(int id) { in getStatusBarNotification() argument 227 if (sbn.getId() == id) { in getStatusBarNotification() 290 String id = (buzz ? BUZZY_CHANNEL_ID : QUIET_CHANNEL_ID); in getChannel() local 296 channel = mNotificationManager.getNotificationChannel(id); in getChannel() [all …]
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/tags/ |
D | Tag.kt | 15 val id: Int, constant in com.android.server.wm.traces.common.tags.Tag
|
/platform_testing/tests/automotive/functional/multiuser/src/android/platform/tests/ |
D | DeleteLastAdminUser.java | 76 assertTrue((initialUser.id != newUser.id) && (initialUser.name.equals(newUser.name))); in testRemoveUserSelf()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/tags/ |
D | TagTraceParserUtil.kt | 87 id = tagProto.id, in parseFromTrace()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/common/service/processors/ |
D | FSMState.kt | 48 val startTag = Tag(id = tagId, transition, isStartTag = true, layerId = layerId, in process() 64 val endTag = Tag(id = lastTagId, transition, isStartTag = false, layerId = layerId, in addEndTransitionTag()
|
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/ |
D | StatsdHelper.java | 65 metric.id = getUniqueId(); in addEventConfig() 112 gaugeMetric.id = getUniqueId(); in addGaugeConfig() 144 private StatsdConfigProto.AtomMatcher getSimpleAtomMatcher(int id, int fieldId) { in getSimpleAtomMatcher() argument 146 atomMatcher.id = id; in getSimpleAtomMatcher() 161 config.id = configId; in getSimpleSources()
|
/platform_testing/libraries/device-collectors/src/test/platform/android/device/collectors/ |
D | StatsdListenerTest.java | 96 CONFIG_1.id = CONFIG_ID_1; in setUp() 97 CONFIG_2.id = CONFIG_ID_2; in setUp() 103 report1Key.id = CONFIG_ID_1; in setUp() 110 report1Key.id = CONFIG_ID_2; in setUp() 495 Assert.assertEquals(configs.get(CONFIG_NAME_1).id, CONFIG_ID_1); in testParsingConfigFromArguments_byName_validConfig() 497 Assert.assertEquals(configs.get(CONFIG_NAME_2).id, CONFIG_ID_2); in testParsingConfigFromArguments_byName_validConfig() 560 Assert.assertEquals(configs.get(config1Name).id, CONFIG_ID_1); in testParsingConfigFromArguments_byPath_validConfig() 562 Assert.assertEquals(configs.get(config2Name).id, CONFIG_ID_2); in testParsingConfigFromArguments_byPath_validConfig() 628 Assert.assertEquals(configs.get(config1Name).id, CONFIG_ID_1); in testParsingConfigFromArguments_byPathAndByName() 630 Assert.assertEquals(configs.get(CONFIG_NAME_2).id, CONFIG_ID_2); in testParsingConfigFromArguments_byPathAndByName() [all …]
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/assertors/common/ |
D | StatusBarLayerPositionAtEnd.kt | 37 val endDisplay = layerSubject.last().entry.displays.minByOrNull { it.id } in doEvaluate()
|
D | StatusBarLayerPositionAtStart.kt | 37 val startDisplay = layerSubject.first().entry.displays.minByOrNull { it.id } in doEvaluate()
|
D | NavBarLayerPositionAtEnd.kt | 38 val display = lastLayersSubject.entry.displays.minByOrNull { it.id } in doEvaluate()
|