/tools/tradefederation/core/tests/src/com/android/tradefed/util/zip/ |
D | MergedZipEntryCollectionTest.java | 38 CentralDirectoryInfo info = createZipEntry(startOffset); in testMergeZipEntries_smallGap() local 39 entries.add(info); in testMergeZipEntries_smallGap() 40 startOffset += info.getCompressedSize() + MergedZipEntryCollection.HEADER_SIZE; in testMergeZipEntries_smallGap() 44 info = createZipEntry(startOffset); in testMergeZipEntries_smallGap() 45 entries.add(info); in testMergeZipEntries_smallGap() 46 startOffset += info.getCompressedSize() + MergedZipEntryCollection.HEADER_SIZE; in testMergeZipEntries_smallGap() 61 CentralDirectoryInfo info = createZipEntry(startOffset); in testMergeZipEntries_largeGap() local 62 entries.add(info); in testMergeZipEntries_largeGap() 63 startOffset += info.getCompressedSize() + MergedZipEntryCollection.HEADER_SIZE; in testMergeZipEntries_largeGap() 67 info = createZipEntry(startOffset); in testMergeZipEntries_largeGap() [all …]
|
/tools/test/connectivity/acts/tests/google/bt/pts/ |
D | cmd_input.py | 51 self.log.info("Failed to connect to bonded device...") 57 self.log.info("Connected to HSP service...") 87 self.log.info("New device is {}".format(device)) 89 self.log.info("Failed to setup new vars with {}".format(err)) 98 self.log.info(FAILURE.format(cmd, err)) 105 self.log.info(FAILURE.format(cmd, err)) 112 self.log.info(FAILURE.format(cmd, err)) 123 self.log.info(FAILURE.format(cmd, err)) 131 self.log.info(FAILURE.format(cmd, err)) 139 self.log.info(FAILURE.format(cmd, err)) [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LegacySubprocessResultsReporter.java | 49 FailedTestEventInfo info = in testAssumptionFailure() local 51 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_ASSUMPTION_FAILURE, info); in testAssumptionFailure() 61 TestEndedEventInfo info = in testEnded() local 64 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_ENDED, info); in testEnded() 69 FailedTestEventInfo info = in testFailed() local 71 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_FAILED, info); in testFailed() 76 BaseTestEventInfo info = new BaseTestEventInfo(testId.getClassName(), testId.getTestName()); in testIgnored() local 77 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_IGNORED, info); in testIgnored() 87 TestStartedEventInfo info = in testStarted() local 89 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_STARTED, info); in testStarted() [all …]
|
D | SubprocessResultsReporter.java | 93 FailedTestEventInfo info = in testAssumptionFailure() local 95 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_ASSUMPTION_FAILURE, info); in testAssumptionFailure() 108 TestEndedEventInfo info = in testEnded() local 114 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_ENDED, info); in testEnded() 120 FailedTestEventInfo info = in testFailed() local 122 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_FAILED, info); in testFailed() 128 BaseTestEventInfo info = new BaseTestEventInfo(testId.getClassName(), testId.getTestName()); in testIgnored() local 129 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_IGNORED, info); in testIgnored() 136 TestRunEndedEventInfo info = in testRunEnded() local 138 printEvent(SubprocessTestResultsParser.StatusKeys.TEST_RUN_ENDED, info); in testRunEnded() [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/car/ |
D | car_media_utils.py | 59 log.info(" {} Event Not received".format(event)) 61 log.info("Event Received : {}".format(event)) 85 log.info("Sending passthru : {}".format(cmd)) 102 log.info("Playing Artist: {}, Album: {}, Title: {}".format(artist, album, 104 log.info("Duration: {}, NumTracks: {}".format(duration, numTracks)) 118 log.info("Device1 metadata:") 120 log.info("Device2 metadata:") 124 log.info("Song Titles do not match") 128 log.info("Song Albums do not match") 132 log.info("Song Artists do not match") [all …]
|
D | car_telecom_utils.py | 46 log.info("Dialing up droid {} call uri {}".format( 51 log.info("We're still in call {}".format(ad.serial)) 67 log.info( 75 log.info("Call ID: {} dev {}".format(call_id, ad.serial)) 78 log.info("CallId is empty!") 105 log.info("Call ID {} already in {} dev {}!".format( 126 log.info("Droid {} in call {} state {}".format( 130 log.info("Did not get into state {} dev {}".format( 148 log.info("Hanging up droid {} call {}".format( 152 log.info("We are not in-call {}".format(ad.serial)) [all …]
|
D | tel_telecom_utils.py | 40 log.info("Dialing up droid {} call uri {}".format( 54 log.info( 62 log.info("Call ID: {} dev {}".format(call_id, ad.serial)) 65 log.info("CallId is empty!") 91 log.info("Call ID {} already in {} dev {}!".format( 102 log.info("Did not get into state {} dev {}".format( 121 log.info("Hanging up droid {} call {}".format( 125 log.info("We are not in-call {}".format(ad.serial)) 141 log.info("Did not get TelecomCallRemoved event") 146 log.info("Removed call {}".format(event)) [all …]
|
/tools/test/connectivity/acts/tests/google/bt/setup/ |
D | BtPreFlightTest.py | 35 self.log.info("****START: {} DEVICE INFO****".format(serial)) 36 self.log.info("BOOTLOADER VERSION {}".format(d.getBuildBootloader( 38 self.log.info("BUILD HARDWARE {}".format(d.getBuildHardware())) 39 self.log.info("BUILD PRODUCT {}".format(d.getBuildProduct())) 40 self.log.info("*ENVIRONMENT DETAILS*") 41 self.log.info(pprint.pformat(d.environment())) 42 self.log.info("****END: {} DEVICE INFO****".format(serial)) 52 self.log.info("Remounting device...") 57 self.log.info("Disable verity on device...") 59 self.log.info("Rebooting device...") [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/ |
D | TestInfoTest.java | 37 TestInfo info = new TestInfo("test1", "folder1", false, keywords); in testAddOption() local 38 info.addOption(new TestOption("option2", "value2")); in testAddOption() 39 info.addOption(new TestOption("option1", "value1")); in testAddOption() 41 assertEquals("option1", info.getOptions().get(0).getName()); in testAddOption() 42 assertEquals("value1", info.getOptions().get(0).getValue()); in testAddOption() 43 assertEquals("option2", info.getOptions().get(1).getName()); in testAddOption() 44 assertEquals("value2", info.getOptions().get(1).getValue()); in testAddOption() 51 info.toString()); in testAddOption() 52 assertEquals("test1 - false", info.getNameAndHostOnly()); in testAddOption()
|
/tools/test/connectivity/acts/framework/acts/test_utils/gnss/ |
D | gnss_test_utils.py | 68 ad.log.info("Attempt %d - %s" % (retries + 1, remount_result)) 82 ad.log.info("Reboot device to make changes take effect.") 97 ad.log.info("Enable GNSS VERBOSE Logging and persistent logcat.") 126 ad.log.info("Enable FLP flags and Disable GMS location-based quake " 157 ad.log.info("Disable XTRA Throttle.") 169 ad.log.info("Enable SUPL mode.") 180 ad.log.info("Disable SUPL mode.") 192 ad.log.info("Disable XTRA-daemon until next reboot.") 206 ad.log.info("Disable Private DNS mode.") 222 ad.log.info("Setting Bluetooth state to False") [all …]
|
/tools/test/connectivity/acts/tests/google/bt/hid/ |
D | HidDeviceTest.py | 53 self.log.info("BluetoothHidDevice NOT Ready") 61 self.log.info("Device: registration done") 65 self.log.info("Device: unregister") 103 self.log.info("Device bonded: {}".format( 105 self.log.info("Host bonded: {}".format( 114 self.log.info("Device: connected: {}".format( 117 self.log.info("Host: set report") 129 self.log.info("Host: get report") 140 self.log.info("Host: set_protocol") 151 self.log.info("Host: send data") [all …]
|
/tools/test/connectivity/acts/tests/google/tel/live/ |
D | TelLiveNoQXDMLogTest.py | 87 self.dut.log.info("DUT capabilities: %s", self.dut_capabilities) 139 ad.log.info("Telephony Bootup Time Test %s Iteration: %d / %d", 143 ad.log.info("reboot!") 158 ad.log.info("Bootup Time is %d", bootup_time) 178 ad.log.info("List Blocked %s", blocked_for_calculate) 183 ad.log.info("Time Diff is %d for %s", time_diff.seconds, 193 ad.log.info("Telephony Bootup Time Test %s Iteration: %d / %d %s", 196 ad.log.info("Final Keyword Time Dict %s", keyword_time_dict) 201 ad.log.info("Average %s for %d iterations = %.2f seconds", 208 ad.log.info("Bootup Time Dict: %s", keyword_time_dict) [all …]
|
/tools/test/connectivity/acts/tests/google/bt/system_tests/ |
D | RfcommLongevityTest.py | 76 self.log.info("iteration {} connection".format(i + 1)) 81 self.log.info("iteration {} data".format(((n + 1) + ( 86 self.log.info("Iteration {} completed".format(n)) 121 self.log.info("iteration {} connection".format(i + 1)) 126 self.log.info("iteration {} data".format(((n + 1) + ( 131 self.log.info("Iteration {} completed".format(n)) 166 self.log.info("iteration {} connection".format(i + 1)) 171 self.log.info("iteration {} data".format(((n + 1) + ( 176 self.log.info("Iteration {} completed".format(n)) 211 self.log.info("iteration {} connection".format(i + 1)) [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/ |
D | TelephonyTokenProvider.java | 43 SimCardInformation info = getSimInfo(device); in hasToken() local 44 if (info == null || !info.mHasTelephonySupport) { in hasToken() 45 CLog.e("SimcardInfo: %s", info); in hasToken() 51 if ("5".equals(info.mSimState)) { in hasToken() 56 device.getSerialNumber(), token, info); in hasToken() 59 if (info.mCarrierPrivileges) { in hasToken() 64 device.getSerialNumber(), token, info); in hasToken() 67 if (info.mHasSecuredElement && info.mHasSeService) { in hasToken() 85 device.getSerialNumber(), token, info); in hasToken()
|
/tools/test/connectivity/acts/tests/google/net/ |
D | SocketKeepaliveTest.py | 83 self.log.info("Max Keepalives for mobile network: %s" % self.max_ka_net) 88 self.log.info("Max Keepalives on wifi network: %s" % self.max_ka_wifi) 90 self.log.info("Kernel version: %s" % self.kernel_version) 111 self.log.info("Iface: %s" % iface) 199 self.log.info("KA count: %s, expected %s" % (len(time_stamps), 243 self.log.info("Source port: %s" % sport) 244 self.log.info("KA count: %s, expected: %s" % (len(ka_dict[sport]), 269 self.log.info("KA interval: %s, expected: %s" % (diff, interval)) 298 self.log.info("Socket Keepalive time interval: %s" % time_interval) 318 self.log.info("Socket key: %s" % sock) [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_tools/ |
D | adb_sideload_ota_tool.py | 35 logging.info('Rooting adb') 37 logging.info('Rebooting to sideload') 40 logging.info('Sideloading ota package') 42 logging.info('Running adb sideload with package "%s"' % package_path) 45 logging.info('Sideload complete. Waiting for device to come back up.') 48 logging.info('Device is up. Update complete.')
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | ble_lib.py | 54 self.dut.log.info("Advertisement started successfully.") 57 self.dut.log.info("Advertisement failed to start.") 78 self.log.info( 81 self.log.info(self.advertisement_list) 105 self.log.info("Advertiser address is: {}".format(str(address))) 139 info = line.split() 140 manu_id = int(info[0]) 142 for data in info[1:]: 156 self.log.info( 159 self.log.info(self.advertisement_list) [all …]
|
D | bt_carkit_lib.py | 83 self.log.info("Failed to connect to bonded device...") 89 self.log.info("Connected to HSP service...") 161 self.log.info( 164 self.log.info( 170 self.log.info("Test iteration {}.".format(n + 1)) 171 self.log.info("Disconnecting device {}...".format( 176 self.log.info("Connecting device {}...".format( 183 self.log.info( 198 self.log.info( 221 self.log.info( [all …]
|
D | bt_coc_test_utils.py | 61 client_ad.log.info( 77 client_ad.log.info("do_multi_connection_throughput: " 121 log.info( 162 client_ad.log.info( 180 client_ad.log.info( 196 client_ad.log.info("setup_gatt_connection returns success") 217 client_ad.log.info( 230 client_ad.log.info("Assigned PSM value={}".format(psm_value)) 236 client_ad.log.info("orchestrate_coc_connection: call " 244 server_ad.log.info("CoC Server Connection Active") [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | PushFilePreparerTest.java | 121 BuildInfo info = new BuildInfo(); in testPushFile_RemoteIsDir() local 126 info.setFile("perf_test", testFile, "v1"); in testPushFile_RemoteIsDir() 133 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushFile_RemoteIsDir() 145 BuildInfo info = new BuildInfo(); in testPushFile_duplicateKey() local 150 info.setFile("perf_test", testFile, "v1"); in testPushFile_duplicateKey() 164 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushFile_duplicateKey() 176 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsDir() local 181 info.setFile("perf_test", testFile, "v1"); in testPushDir_RemoteIsDir() 192 mTestInfo.getContext().addDeviceBuildInfo("device", info); in testPushDir_RemoteIsDir() 204 BuildInfo info = new BuildInfo(); in testPushDir_RemoteIsFile() local [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_subscription_utils.py | 169 for info in subInfo: 170 if info['simSlotIndex'] == sim_slot_index: 171 return info['subscriptionId'] 185 for info in subInfo: 186 if info['simSlotIndex'] == sim_slot_index: 187 return info['displayName'] 202 for info in subInfo: 203 if info['simSlotIndex'] == sim_slot_index: 204 return info['carrierId'] 281 ad.log.info("Default Subid for all service is %s", sub_id) [all …]
|
D | tel_test_utils.py | 267 ad.log.info("iccid = %s", iccid) 284 ad.log.info("subId %s SIM record: %s", sub_id, sub_record) 336 ad.log.info("sub_id %s sub_info = %s", sub_id, sub_info) 346 ad.log.info("roaming is not enabled, enable it") 348 ad.log.info("SubId %s info: %s", sub_id, sorted(sub_info.items())) 374 ad.log.info("SubInfoList is %s", sub_info_list) 431 ad.log.info("Carrier ID is not supported") 433 ad.log.info("SubId %s info: %s", sub_id, sorted( 447 ad.log.info( 455 ad.log.info("SubId %s info: %s", sub_id, sorted( [all …]
|
/tools/test/connectivity/acts/tests/google/bt/car_bt/ |
D | BtCarHfpFuzzTest.py | 46 self.log.info("Connected {}".format(connected)) 80 self.log.info("Dialing at droid {}".format(a.droid.getBuildDisplay())) 88 self.log.info("Hanging up at droid {}".format(b.droid.getBuildDisplay( 113 self.log.info("HF still in call, send hangup") 154 self.log.info("test_fuzz outgoing_hf: {}".format(delay)) 160 self.log.info("Devices not able to stabilize!") 195 self.log.info("test_fuzz outgoing_ag: {}".format(delay)) 236 self.log.info("test_fuzz dial_hf hangup_ag: {}".format(delay)) 242 self.log.info("Devices not able to stabilize!") 277 self.log.info("test_fuzz dial_ag hangup_hf: {}".format(delay)) [all …]
|
/tools/test/connectivity/acts/tests/google/usb/ |
D | UsbTetheringFunctionsTest.py | 111 self.log.info('Usb tethering is enabled.') 114 self.log.info('Enable usb tethering - attempt %d' % (i + 1)) 175 self.log.info(out) 215 self.log.info('Waiting for SMS sent event') 236 self.log.info('Waiting for MMS sent event') 253 self.log.info(event) 271 self.log.info('Disable mobile data.') 273 self.log.info('Enable wifi.') 310 self.log.info('Enable airplane mode.') 312 self.log.info('Disable airplane mode.') [all …]
|
/tools/test/connectivity/acts/framework/acts/libs/ota/ota_runners/ |
D | ota_runner.py | 48 log.info('Starting Update. Beginning build info: %s', old_info) 49 log.info('Stopping services.') 51 log.info('Beginning tool.') 53 log.info('Tool finished. Waiting for boot completion.') 61 log.info('Boot completed. Rooting adb.') 63 log.info('Root complete.') 65 self.android_device.log.info('Skipping SL4A install.') 68 self.android_device.log.info('Re-installing SL4A from "%s".', 75 log.info('Starting services.') 78 log.info('Services started. Running ota tool cleanup.') [all …]
|