/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/services/ |
D | Services.java | 19 import static java.util.Map.entry; 181 entry(Context.ACCESSIBILITY_SERVICE, AccessibilityManager.class), 182 entry(Context.CAPTIONING_SERVICE, CaptioningManager.class), 183 entry(Context.ACCOUNT_SERVICE, AccountManager.class), 184 entry(Context.ACTIVITY_SERVICE, ActivityManager.class), 187 entry(Context.ALARM_SERVICE, AlarmManager.class), 188 entry(Context.AUDIO_SERVICE, AudioManager.class), 189 entry(Context.AUDIO_DEVICE_VOLUME_SERVICE, AudioDeviceVolumeManager.class), 190 entry(Context.MEDIA_ROUTER_SERVICE, MediaRouter.class), 191 entry(Context.HDMI_CONTROL_SERVICE, HdmiControlManager.class), [all …]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | Av1FilmGrainValidationTest.java | 87 Map.entry(3, new FrameMetadata(3, 2385.037126, 2417.27729)), in input() 88 Map.entry(10, new FrameMetadata(10, 2342.782887, 2384.061935)), in input() 89 Map.entry(55, new FrameMetadata(55, 2204.930969, 2240.242686)), in input() 90 Map.entry(70, new FrameMetadata(70, 2286.123113, 2319.397801)), in input() 91 Map.entry(92, new FrameMetadata(92, 2365.240550, 2396.21792)), in input() 92 Map.entry(122, new FrameMetadata(122, 2253.176403, 2287.724775)), in input() 93 Map.entry(131, new FrameMetadata(131, 2144.242954, 2177.774318)), in input() 94 Map.entry(139, new FrameMetadata(139, 2158.459979, 2191.296022)), in input() 95 Map.entry(151, new FrameMetadata(151, 2180.469236, 2214.399074)), in input() 96 Map.entry(169, new FrameMetadata(169, 2356.567787, 2390.686406)), in input() [all …]
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | ActivityResultMultiplexedLatch.java | 44 private Latch(Entry entry) { in Latch() argument 45 mEntry = entry; in Latch() 86 Entry entry; in bindThread() local 93 entry = new Entry(requestCode); in bindThread() 94 mActivityEntries.put(requestCode, entry); in bindThread() 97 return new Latch(entry); in bindThread() 104 Entry entry; in onActivityResult() local 106 entry = mActivityEntries.remove(requestCode); in onActivityResult() 108 if (entry == null) { in onActivityResult() 112 entry.resultCode = resultCode; in onActivityResult() [all …]
|
/cts/tests/vibrator/src/android/os/cts/ |
D | VibrationEffectXmlSerializationTest.java | 677 <waveform-entry amplitude="default" durationMs="10"/> 704 <waveform-entry durationMs="10" amplitude="-1"/> 714 <waveform-entry durationMs="-1" amplitude="default"/> 727 <waveform-entry durationMs="10" amplitude="default"/> 736 <waveform-entry durationMs="10" amplitude="default"/> 747 <waveform-entry durationMs="10" amplitude="default"/> 756 <waveform-entry durationMs="10" amplitude="default"/> 769 <waveform-entry durationMs="10" amplitude="default"/> 771 <waveform-entry durationMs="10" amplitude="default"/> 780 <waveform-entry durationMs="10" amplitude="default"/> [all …]
|
/cts/hostsidetests/gputools/layers/jni/ |
D | glesLayer.cpp | 56 EGLFuncPointer entry = funcMap["glCompileShader"]; in glesLayer_glCompileShaderA() local 58 PFNGLCOMPILESHADERPROC next = reinterpret_cast<PFNGLCOMPILESHADERPROC>(entry); in glesLayer_glCompileShaderA() 69 EGLFuncPointer entry = funcMap["glCompileShader"]; in glesLayer_glCompileShaderB() local 71 PFNGLCOMPILESHADERPROC next = reinterpret_cast<PFNGLCOMPILESHADERPROC>(entry); in glesLayer_glCompileShaderB() 82 EGLFuncPointer entry = funcMap["glDrawArraysInstanced"]; in glesLayer_glDrawArraysInstanced() local 84 PFNGLDRAWARRAYSINSTANCEDPROC next = reinterpret_cast<PFNGLDRAWARRAYSINSTANCEDPROC>(entry); in glesLayer_glDrawArraysInstanced() 95 EGLFuncPointer entry = funcMap["glBindBuffer"]; in glesLayer_glBindBuffer() local 97 PFNGLBINDBUFFERPROC next = reinterpret_cast<PFNGLBINDBUFFERPROC>(entry); in glesLayer_glBindBuffer() 108 EGLFuncPointer entry = funcMap["glGetString"]; in glesLayer_glGetString() local 110 PFNGLGETSTRINGPROC next = reinterpret_cast<PFNGLGETSTRINGPROC>(entry); in glesLayer_glGetString() [all …]
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | JsonPrinter.java | 95 for (Entry entry : entries) { in writeTargetFileInfo() 97 mJsonWriter.name("name").value(entry.getName()); in writeTargetFileInfo() 98 mJsonWriter.name("type").value(entry.getType().toString()); in writeTargetFileInfo() 99 mJsonWriter.name("size").value(entry.getSize()); in writeTargetFileInfo() 100 mJsonWriter.name("content_id").value(entry.getContentId()); in writeTargetFileInfo() 101 mJsonWriter.name("code_id").value(entry.getCodeId()); in writeTargetFileInfo() 102 mJsonWriter.name("abi_architecture").value(entry.getAbiArchitecture()); in writeTargetFileInfo() 103 mJsonWriter.name("abi_bits").value(entry.getAbiBits()); in writeTargetFileInfo() 104 mJsonWriter.name("parent_folder").value(entry.getParentFolder()); in writeTargetFileInfo() 105 mJsonWriter.name("relative_path").value(entry.getRelativePath()); in writeTargetFileInfo() [all …]
|
D | DepCsvPrinter.java | 61 for (Entry entry : mRelContent.getEntries().values()) { in compareEntries() 62 if (entry.getType() == Entry.EntryType.EXE) { in compareEntries() 63 String exeName = entry.getName(); in compareEntries() 65 writeCsv(entry, fileName); in compareEntries() 77 for (Entry entry : mRelContent.getEntries().values()) { in compareEntry() 78 if (entry.getName().equals(exeName)) { in compareEntry() 79 writeCsv(entry, fileName); in compareEntry() 85 public void writeCsv(Entry entry, String fileName) { in writeCsv() argument 87 String exeName = entry.getName(); in writeCsv() 93 mBits = entry.getAbiBits(); in writeCsv() [all …]
|
D | DepPrinter.java | 59 for (Entry entry : mRelContent.getEntries().values()) { in compareEntries() 60 if (entry.getType() == Entry.EntryType.EXE) { in compareEntries() 61 String exeName = entry.getName(); in compareEntries() 63 writeDigraph(entry, fileName); in compareEntries() 75 for (Entry entry : mRelContent.getEntries().values()) { in compareEntry() 76 if (entry.getName().equals(exeName)) { in compareEntry() 77 writeDigraph(entry, fileName); in compareEntry() 83 public void writeDigraph(Entry entry, String fileName) { in writeDigraph() argument 85 String exeName = entry.getName(); in writeDigraph() 90 mBits = entry.getAbiBits(); in writeDigraph() [all …]
|
D | ReleaseParser.java | 217 for (Entry entry : entryList) { in getFolderContentId() 218 md.update(entry.getContentId().getBytes(StandardCharsets.UTF_8)); in getFolderContentId() 236 for (Entry entry : getFileEntries()) { in writeRelesaeContentCsvFile() 240 entry.getType(), in writeRelesaeContentCsvFile() 241 entry.getName(), in writeRelesaeContentCsvFile() 242 entry.getSize(), in writeRelesaeContentCsvFile() 243 entry.getRelativePath(), in writeRelesaeContentCsvFile() 244 entry.getContentId(), in writeRelesaeContentCsvFile() 245 entry.getParentFolder(), in writeRelesaeContentCsvFile() 246 entry.getCodeId(), in writeRelesaeContentCsvFile() [all …]
|
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/ |
D | ApnTest.java | 24 import static java.util.Map.entry; 78 entry(Carriers.NAME, NAME), 79 entry(Carriers.APN, APN), 80 entry(Carriers.PROXY, PROXY), 81 entry(Carriers.PORT, PORT), 82 entry(Carriers.MMSC, MMSC), 83 entry(Carriers.MMSPROXY, MMSPROXY), 84 entry(Carriers.MMSPORT, MMSPORT), 85 entry(Carriers.USER, USER), 86 entry(Carriers.PASSWORD, PASSWORD), [all …]
|
/cts/tests/tests/security/native/verified_boot/ |
D | VerifiedBootTest.cpp | 64 for (const auto& entry : mounted_fstab) { in getVerityMountPoints() local 65 mount_points.insert(entry.mount_point); in getVerityMountPoints() 73 for (const auto& entry : fstab) { in getVerityMountPoints() local 74 if (!entry.fs_mgr_flags.avb) { in getVerityMountPoints() 78 if (mount_points.find(entry.mount_point) == mount_points.end()) { in getVerityMountPoints() 79 GTEST_LOG_(INFO) << entry.mount_point << " isn't mounted, skipping"; in getVerityMountPoints() 83 if (mount_points.find(entry.mount_point) == mount_points.end()) { in getVerityMountPoints() 84 GTEST_LOG_(INFO) << entry.mount_point << " isn't mounted, skipping"; in getVerityMountPoints() 88 if (android::base::EqualsIgnoreCase(entry.fs_type, "emmc")) { in getVerityMountPoints() 89 GTEST_LOG_(INFO) << entry.mount_point << " has emmc fs_type, skipping"; in getVerityMountPoints() [all …]
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | VirtualPath.java | 42 public static ZipEntryPath get(ZipFile zip, ZipEntry entry) { in get() argument 43 return new ZipEntryPath(zip, entry); in get() 124 private final ZipEntry entry; field in VirtualPath.ZipEntryPath 126 private ZipEntryPath(ZipFile zip, ZipEntry entry) { in ZipEntryPath() argument 128 this.entry = entry; in ZipEntryPath() 133 return zip.getInputStream(entry); in newInputStream() 146 && entry.getName().equals(that.entry.getName()); in equals() 151 return Objects.hash(zip.getName(), entry.getName()); in hashCode() 156 return "zip:file:" + zip.getName() + "!/" + entry.getName(); in toString()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | VirtualDisplayActivity.java | 154 for (VirtualDisplayEntry entry : mVirtualDisplays.values()) { in destroyVirtualDisplays() 155 Log.d(TAG, "destroying:" + entry.display); in destroyVirtualDisplays() 156 entry.display.release(); in destroyVirtualDisplays() 157 root.removeView(entry.surfaceView); in destroyVirtualDisplays() 166 final VirtualDisplayRequest entry = in surfaceCreated() local 169 if (entry == null) { in surfaceCreated() 173 final int densityDpi = entry.extras.getInt(KEY_DENSITY_DPI, DEFAULT_DENSITY_DPI); in surfaceCreated() 174 final boolean resizeDisplay = entry.extras.getBoolean(KEY_RESIZE_DISPLAY); in surfaceCreated() 185 = entry.extras.getBoolean(KEY_CAN_SHOW_WITH_INSECURE_KEYGUARD); in surfaceCreated() 190 final boolean publicDisplay = entry.extras.getBoolean(KEY_PUBLIC_DISPLAY); in surfaceCreated() [all …]
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | ParsedAttestationRecord.java | 113 ASN1Primitive entry = findAuthorizationListEntry(softwareEnforcedAuthorizations, tag); in getSoftwareAuthorizationInteger() local 114 return Optional.ofNullable(entry).map(ParsedAttestationRecord::getIntegerFromAsn1); in getSoftwareAuthorizationInteger() 118 ASN1Primitive entry = findAuthorizationListEntry(teeEnforcedAuthorizations, tag); in getTeeAuthorizationInteger() local 119 return Optional.ofNullable(entry).map(ParsedAttestationRecord::getIntegerFromAsn1); in getTeeAuthorizationInteger() 122 ASN1Primitive entry = findAuthorizationListEntry(softwareEnforcedAuthorizations, tag); in getSoftwareAuthorizationBoolean() local 123 return entry != null; in getSoftwareAuthorizationBoolean() 127 ASN1Primitive entry = findAuthorizationListEntry(teeEnforcedAuthorizations, tag); in getTeeAuthorizationBoolean() local 128 return entry != null; in getTeeAuthorizationBoolean() 132 …ASN1OctetString entry = (ASN1OctetString) findAuthorizationListEntry(softwareEnforcedAuthorization… in getSoftwareAuthorizationByteString() local 133 return Optional.ofNullable(entry).map(ASN1OctetString::getOctets); in getSoftwareAuthorizationByteString() [all …]
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | ApnDatabaseTest.java | 20 import static java.util.Map.entry; 74 entry(Carriers.NAME, NAME), 75 entry(Carriers.APN, APN), 76 entry(Carriers.PROXY, PROXY), 77 entry(Carriers.PORT, PORT), 78 entry(Carriers.MMSC, MMSC), 79 entry(Carriers.MMSPROXY, MMSPROXY), 80 entry(Carriers.MMSPORT, MMSPORT), 81 entry(Carriers.NUMERIC, NUMERIC), 82 entry(Carriers.USER, USER), [all …]
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ObjectTracker.java | 113 final ConsumableEntry entry = mConsumables.removeFirst(); in tearDown() local 114 if (!entry.mConsumable.isConsumed()) { in tearDown() 115 StateLogger.logE("Found unconsumed object " + entry.mConsumable in tearDown() 116 + " that was created from:", entry.mStackTrace); in tearDown() 118 new IllegalStateException("Unconsumed object " + entry.mConsumable); in tearDown() 119 if (entry.mStackTrace != null) { in tearDown() 120 t.initCause(entry.mStackTrace); in tearDown()
|
/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | AppSearchHostTestBase.java | 61 for (Map.Entry<String, String> entry : args.entrySet()) { in runDeviceTestAsUserInPkgA() 62 deviceTestRunOptions.addInstrumentationArg(entry.getKey(), entry.getValue()); in runDeviceTestAsUserInPkgA() 82 for (Map.Entry<String, String> entry : args.entrySet()) { in runContactsIndexerDeviceTestAsUserInPkgA() 83 deviceTestRunOptions.addInstrumentationArg(entry.getKey(), entry.getValue()); in runContactsIndexerDeviceTestAsUserInPkgA() 96 for (Map.Entry<String, String> entry : args.entrySet()) { in runEnterpriseContactsDeviceTestAsUserInPkgA() 97 deviceTestRunOptions.addInstrumentationArg(entry.getKey(), entry.getValue()); in runEnterpriseContactsDeviceTestAsUserInPkgA()
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 152 for (ParsedProcEntry entry : entries) { in testNoAccessibleListeningPorts() 153 String addrPort = entry.localAddress.getHostAddress() + ':' + entry.port; in testNoAccessibleListeningPorts() 154 String addrUid = entry.localAddress.getHostAddress() + ' ' + entry.uid; in testNoAccessibleListeningPorts() 155 String addrPortUid = addrPort + ' ' + entry.uid; in testNoAccessibleListeningPorts() 157 if (isPortListening(entry.state, isTcp) in testNoAccessibleListeningPorts() 160 && !(tv && isOemUid(entry.uid) && isOemException(addrPort)) in testNoAccessibleListeningPorts() 161 && (!entry.localAddress.isLoopbackAddress() ^ loopback)) { in testNoAccessibleListeningPorts() 162 if (isTcp && !isTcpConnectable(entry.localAddress, entry.port)) { in testNoAccessibleListeningPorts() 166 int appId = UserHandle.getAppId(entry.uid); in testNoAccessibleListeningPorts() 172 + entry.localAddress.getHostAddress() + ", port=" in testNoAccessibleListeningPorts() [all …]
|
/cts/tests/credentials/src/android/credentials/cts/unittests/service/ |
D | CredentialEntryTest.java | 83 final CredentialEntry entry = new CredentialEntry(sCredOption, sSlice); in testConstructorWithBeginGetCredentialOption_success() local 85 assertThat(entry.getType()).isSameInstanceAs(sCredOption.getType()); in testConstructorWithBeginGetCredentialOption_success() 86 assertThat(entry.getBeginGetCredentialOptionId()).isSameInstanceAs(sCredOption.getId()); in testConstructorWithBeginGetCredentialOption_success() 87 assertThat(entry.getSlice()).isSameInstanceAs(sSlice); in testConstructorWithBeginGetCredentialOption_success() 116 final CredentialEntry entry = new CredentialEntry(sCredEntryId, sCredEntryType, sSlice); in testConstructorWithRawId_success() local 118 assertThat(entry.getBeginGetCredentialOptionId()).isEqualTo(sCredEntryId); in testConstructorWithRawId_success() 119 assertThat(entry.getType()).isEqualTo(sCredEntryType); in testConstructorWithRawId_success() 120 assertThat(entry.getSlice()).isSameInstanceAs(sSlice); in testConstructorWithRawId_success()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | DropBoxReceiver.java | 49 final DropBoxManager.Entry entry = in DropBoxReceiver() 51 if (entry == null) { in DropBoxReceiver() 54 Log.d(TAG, "ErrorsTest got message from drobpox: " + entry.getTag()); in DropBoxReceiver() 55 mStartMs = entry.getTimeMillis(); in DropBoxReceiver() 56 String stackTrace = entry.getText(64 * 1024); in DropBoxReceiver() 80 entry.close(); in DropBoxReceiver()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApexSignatureVerificationTest.java | 127 for (Map.Entry<String, File> entry : mExtractedTestDirMap.entrySet()) { in testApexIncludePubKey() 128 final File pubKeyFile = FileUtil.findFile(entry.getValue(), APEX_PUB_KEY_NAME); in testApexIncludePubKey() 130 assertWithMessage("apex:" + entry.getKey() + " does not contain pubkey").that( in testApexIncludePubKey() 147 for (Map.Entry<String, File> entry : mExtractedTestDirMap.entrySet()) { in testApexPubKeyIsNotWellKnownKey() 148 final File pubKeyFile = FileUtil.findFile(entry.getValue(), APEX_PUB_KEY_NAME); in testApexPubKeyIsNotWellKnownKey() 156 entry.getKey() + " must not use well known pubkey " in testApexPubKeyIsNotWellKnownKey() 174 for (Map.Entry<String, File> entry : mLocalApexFileMap.entrySet()) { in extractApexFiles() 175 final String testSrcDirPath = TEST_APEX_SOURCE_DIR_PREFIX + entry.getKey(); in extractApexFiles() 178 ZipUtil.extractZip(new ZipFile(entry.getValue()), apexDir); in extractApexFiles() 182 mExtractedTestDirMap.put(entry.getKey(), apexDir); in extractApexFiles() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ConferenceHelper.java | 52 for (Map.Entry<String, TestImsCallSessionImpl> entry : mSessions.entrySet()) { in getActiveSession() 53 if (entry.getKey().equals(callId)) { in getActiveSession() 54 return entry.getValue(); in getActiveSession() 68 for (Map.Entry<String, TestImsCallSessionImpl> entry : mSessions.entrySet()) { in getHoldSession() 69 TestImsCallSessionImpl callSession = entry.getValue(); in getHoldSession()
|
/cts/tests/tests/media/misc/jni/ |
D | native-media-jni.cpp | 110 PsshEntry *entry = &info->entries[i]; in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative() local 112 entry->uuid[0], in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative() 113 entry->uuid[1], in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative() 114 entry->uuid[14], in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative() 115 entry->uuid[15], in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative() 116 entry->datalen); in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative() 118 AMediaCrypto *crypto = AMediaCrypto_new(entry->uuid, entry->data, entry->datalen); in Java_android_media_misc_cts_NativeDecoderTest_testPsshNative()
|
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/ |
D | AuthenticationEntryTest.java | 60 AuthenticationEntry entry = in testConstructor() local 63 assertThat(entry.getKey()).isEqualTo(KEY); in testConstructor() 64 assertThat(entry.getSubkey()).isEqualTo(SUBKEY); in testConstructor() 65 TestUtils.assertEquals(entry.getSlice(), SLICE); in testConstructor() 66 assertThat(entry.getStatus()).isEqualTo(STATUS); in testConstructor() 67 assertThat(entry.getFrameworkExtrasIntent().getAction()).isEqualTo( in testConstructor()
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputJsonParser.java | 231 private InputEvent parseInputEvent(int testCaseNumber, int source, JSONObject entry) { in parseInputEvent() argument 234 if (entry.has("keycode")) { in parseInputEvent() 235 event = parseKeyEvent(source, entry); in parseInputEvent() 236 } else if (entry.has("axes")) { in parseInputEvent() 237 event = parseMotionEvent(source, entry); in parseInputEvent() 240 "Input event is not specified correctly. Received: " + entry); in parseInputEvent() 244 throw new RuntimeException("Could not process entry " + testCaseNumber + " : " + entry); in parseInputEvent() 481 private KeyEvent parseKeyEvent(int source, JSONObject entry) throws JSONException { in parseKeyEvent() argument 482 int action = keyActionFromString(entry.getString("action")); in parseKeyEvent() 483 int keyCode = KeyEvent.keyCodeFromString(entry.getString("keycode")); in parseKeyEvent() [all …]
|