/cts/suite/audio_quality/lib/include/ |
D | Log.h | 26 class Log: public FileUtil { 36 static Log* Instance(const char* dirName = NULL); 46 Log(); 47 virtual ~Log(); 51 static Log* mInstance; 55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \ 56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0) 57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0) 58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0) 59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0) [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | LogTest.java | 20 import android.util.Log; 39 Log.e(TAG, msg); in testLogOperations() 40 Log.e(TAG, msg, tr); in testLogOperations() 41 Log.w(TAG, msg); in testLogOperations() 42 Log.w(TAG, tr); in testLogOperations() 43 Log.w(TAG, msg, tr); in testLogOperations() 44 Log.i(TAG, msg); in testLogOperations() 45 Log.i(TAG, msg, tr); in testLogOperations() 46 Log.d(TAG, msg); in testLogOperations() 47 Log.d(TAG, msg, tr); in testLogOperations() [all …]
|
D | LogPrinterTest.java | 20 import android.util.Log; 31 int[] priorities = { Log.ASSERT, Log.DEBUG, Log.ERROR, Log.INFO, in testConstructor() 32 Log.VERBOSE, Log.WARN }; in testConstructor() 39 LogPrinter logPrinter = new LogPrinter(Log.DEBUG, mTag); in testPrintln()
|
/cts/suite/audio_quality/lib/src/ |
D | Log.cpp | 22 Log* Log::mInstance = NULL; 28 Log* Log::Instance(const char* dirName) in Instance() 31 mInstance = new Log(); in Instance() 36 void Log::Finalize() in Finalize() 41 void Log::printf(LogLevel level, const char* fmt, ...) in printf() 49 void Log::setLogLevel(LogLevel level) in setLogLevel() 54 Log::Log() in Log() function in Log 60 Log::~Log() in ~Log() 65 bool Log::init(const char* dirName) in init()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | CodecTest.java | 27 import android.util.Log; 74 Log.v(TAG, e.toString()); in printCpuInfo() 81 Log.v(TAG, "getDuration - " + filePath); in getDuration() 87 Log.v(TAG, e.toString()); in getDuration() 90 Log.v(TAG, "Duration " + duration); in getDuration() 92 Log.v(TAG, "release"); in getDuration() 97 Log.v(TAG, "GetCurrentPosition - " + filePath); in getCurrentPosition() 104 Log.v(TAG, "start playback"); in getCurrentPosition() 113 Log.v(TAG, e.toString()); in getCurrentPosition() 118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() [all …]
|
D | MediaRecorderStressTest.java | 28 import android.util.Log; 98 Log.v(TAG, "starting looper"); in setUp() 103 Log.v(TAG, "quit looper"); in setUp() 178 Log.v(TAG, "Start preview"); in testStressCamera() 228 Log.v(TAG, "Start preview"); in testStressRecorder() 236 Log.v(TAG, "counter = " + i); in testStressRecorder() 238 Log.v(TAG, filename); in testStressRecorder() 245 Log.v(TAG, "setEncoder"); in testStressRecorder() 248 Log.v(TAG, "setPreview"); in testStressRecorder() 250 Log.v(TAG, "prepare"); in testStressRecorder() [all …]
|
D | MediaFrameworkTest.java | 26 import android.util.Log; 60 Log.v(TAG, "onResume, acquire wakelock"); in onResume() 67 Log.v(TAG, "onPause, release wakelock"); in onPause() 74 Log.v(TAG, "Test application surface destroyed"); in surfaceDestroyed() 79 Log.v(TAG, "Test application surface changed"); in surfaceChanged() 84 Log.v(TAG, "Test application surface created"); in surfaceCreated()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/analyzer/ |
D | AutoLockTest.java | 31 import android.util.Log; 120 Log.v(TAG, String.format("Received USB broadcast with action %s ", action)); 129 Log.v(TAG, "Open accessory 3"); 138 Log.d(TAG, "permission denied for accessory " + accessory); 146 Log.v(TAG, "Usb device detached"); 163 Log.d(TAG, "openAccessory: " + accessory); in openAccessory() 170 Log.d(TAG, "accessory opened"); in openAccessory() 172 Log.d(TAG, "accessory open fail"); in openAccessory() 178 Log.v(TAG, "Setup ready"); in openAccessory() 216 Log.v(TAG, "Creating a new AutoLockTest instance"); in getSingletonTest() [all …]
|
D | ColorCheckerTest.java | 22 import android.util.Log; 73 Log.v(TAG, "Auto focus possible"); in updateCamera() 84 Log.v(TAG, "Creating a new ColorCheckerTest instance"); in getSingletonTest() 98 Log.v(TAG, "ColorCheckerTest thread started!"); in run() 111 Log.v(TAG, "Start waiting for Image"); in run() 114 Log.v(TAG, "Callback wait fails!"); in run() 122 Log.v(TAG, "Start waiting for Image"); in run() 125 Log.v(TAG, "Callback wait fails!"); in run() 135 Log.v(TAG, "Callback has returned!"); in run() 142 Log.v(TAG, "Autofocus success!"); [all …]
|
D | ExposureCompensationTest.java | 23 import android.util.Log; 61 Log.v(TAG, String.format("Exposure level is from %d to %d", in updateCamera() 75 Log.v(TAG, "Creating a new ExposureCompensationTest instance"); in getSingletonTest() 90 Log.v(TAG, "ExposureCompensationTest thread started!"); in run() 107 Log.v(TAG, String.format("Current exposure level is %d", i)); in run() 115 Log.v(TAG, "Waiting"); in run() 117 Log.v(TAG, "END Waiting"); in run() 124 Log.v(TAG, String.format("Camera exposure level is %d", mCameraExposure)); in run() 131 Log.v(TAG, "Start waiting for Image"); in run() 134 Log.v(TAG, "Callback wait fails!"); in run() [all …]
|
D | WhiteBalanceTest.java | 23 import android.util.Log; 109 Log.v(TAG, "Creating a new WhiteBalanceTest instance"); in getSingletonTest() 137 Log.v(TAG, "Waiting for white balance to adjust"); in takePicture() 139 Log.v(TAG, "END Waiting"); in takePicture() 147 Log.v(TAG, "Start waiting for Image"); in takePicture() 150 Log.v(TAG, "Callback wait fails!"); in takePicture() 160 Log.v(TAG, "WhiteBalanceTest thread started!"); in run() 173 Log.v(TAG, "Current white balance is " + mWhiteBalance); in run() 182 Log.v(TAG, "Finished taking picture, ready to process"); in run() 220 Log.v(TAG, String.format("CCT Ref is %d, %d, and CCT is %d", in prepareDebugText() [all …]
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | PermissionTestService.java | 27 import android.util.Log; 71 Log.e(TAG, "PermissionTestService received bad message: " + msg.what); in handleMessage() 109 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfFailure() 117 Log.e(TAG, "Failed to send message back to client."); in notifyClientOfSuccess() 146 Log.e(TAG, "testFileReadAccess: test file does not exists."); in testFileReadAccess() 150 Log.e(TAG, "testFileReadAccess: no permission to read test file."); in testFileReadAccess() 162 Log.e(TAG, "testFileReadAccess: failed to read test file, IOException."); in testFileReadAccess() 166 Log.e(TAG, "testFileReadAccess: failed to read test file."); in testFileReadAccess() 170 Log.e(TAG, "testFileReadAccess: wrong data read from test file."); in testFileReadAccess() 175 Log.e(TAG, "testFileReadAccess: failed to read test file, FileNotFoundException."); in testFileReadAccess() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothChatService.java | 27 import android.util.Log; 100 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState() 117 … if (D) Log.d(TAG, "start secure: " + secure + UUID.randomUUID() + " - " + UUID.randomUUID()); in start() 144 if (D) Log.d(TAG, "connect to: " + device); in connect() 167 if (D) Log.d(TAG, "connected, Socket Type: " + socketType); in connected() 203 if (D) Log.d(TAG, "stop"); in stop() 290 Log.e(TAG, "Socket Type: " + mSocketType + " listen() failed", e); in AcceptThread() 296 if (D) Log.d(TAG, "Socket Type: " + mSocketType + in run() 309 Log.e(TAG, "Socket Type: " + mSocketType + " accept() failed", e); in run() 329 Log.e(TAG, "Could not close unwanted socket", e); in run() [all …]
|
/cts/suite/pts/deviceTests/filesystemperf/src/com/android/pts/filesystemperf/ |
D | AlmostFullTest.java | 27 import android.util.Log; 52 Log.i(TAG, "++currentCounter: " + currentCounter); in AlmostFullTest() 59 Log.i(TAG, "Filling disk"); in setUp() 63 Log.i(TAG, "free disk " + freeDisk + ", to fill " + diskToFill); in setUp() 71 Log.i(TAG, "Generating file " + toFill); in setUp() 77 Log.i(TAG, "free disk " + SystemUtil.getFreeDiskSize(getContext())); in setUp() 82 Log.i(TAG, "tearDown free disk " + SystemUtil.getFreeDiskSize(getContext())); in tearDown() 84 Log.i(TAG, "--currentCounter: " + currentCounter); in tearDown() 91 Log.i(TAG, "tearDown free disk " + SystemUtil.getFreeDiskSize(getContext())); in tearDown() 101 Log.i(TAG, "Now free space is " + freeDisk); in testSequentialUpdate()
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | AudioProtocol.java | 27 import android.util.Log; 85 Log.d(TAG, "start"); in start() 93 Log.d(TAG, "stop"); in stop() 109 Log.d(TAG, "stopped"); in stop() 114 Log.d(TAG, "playback completed"); in onMarkerReached() 124 Log.e(TAG, "ignore exception", e); in onMarkerReached() 130 Log.d(TAG, "track periodic notification"); in onPeriodicNotification() 149 Log.e(TAG, "read returned " + readNow); in read() 228 Log.d(TAG, "downloaded data id " + id + " len " + dataLength); in handleDownload() 280 Log.d(TAG, "setting volume " + newVolume + " max " + maxVolume + in handleStartPlayback() [all …]
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
D | NoProcessOutgoingCallPermissionTest.java | 27 import android.util.Log; 44 Log.i(LOG_TAG, "Called phone: " + uri.toString()); in callPhone() 54 Log.i(LOG_TAG, "Beginning testProcessOutgoingCall"); in testProcessOutgoingCall() 58 Log.i(LOG_TAG, "registerReceiver --> " + ntnt); in testProcessOutgoingCall() 61 Log.i(LOG_TAG, "extras --> " + xtrs.toString()); in testProcessOutgoingCall() 69 Log.w(LOG_TAG, "wait for phone call interrupted"); in testProcessOutgoingCall() 81 Log.e(LOG_TAG, xtrs.toString()); in onReceive()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | CameraGLTest.java | 41 import android.util.Log; 92 if (LOGV) Log.v(TAG, "CameraGLTest Constructor"); in CameraGLTest() 131 Log.v(TAG, "Start camera/surfacetexture thread"); in initializeMessageLooper() 141 Log.v(TAG, "Camera " + cameraId + " is opened."); in initializeMessageLooper() 144 Log.v(TAG, "Stop camera/surfacetexture thread"); in initializeMessageLooper() 148 Log.v(TAG, "start waiting for looper"); in initializeMessageLooper() 158 if (LOGV) Log.v(TAG, "Shutting down camera"); in terminateMessageLooper() 169 if (LOGV) Log.v(TAG, "Shutdown of camera complete."); in terminateMessageLooper() 176 if (LOGV) Log.v(TAG, "PreviewCallback"); in onPreviewFrame() 190 if (LOGV) Log.v(TAG, "SurfaceTextureCallback"); in onFrameAvailable() [all …]
|
/cts/suite/audio_quality/test/ |
D | LogTest.cpp | 33 Log::LogLevel level = Log::Instance()->getLogLevel(); in TEST_F() 37 Log::Instance()->setLogLevel(Log::ELogV); in TEST_F() 58 Log::Instance()->setLogLevel(level); in TEST_F()
|
/cts/tests/src/android/app/cts/ |
D | KeyguardManagerActivity.java | 22 import android.util.Log; 42 Log.d(TAG, "onResume"); in onResume() 48 Log.d(TAG, "disableKeyguard"); in onResume() 60 Log.d(TAG, "reenableKeyguard"); in onKeyDown() 64 Log.d(TAG, "onKeyDown"); in onKeyDown()
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
D | GLSurfaceViewTest.java | 23 import android.util.Log; 70 Log.w(TAG, "Pause/Resume (w/ delay) step " + i + " - pause"); in testPauseResumeWithDelay() 75 Log.w(TAG, "Pause/Resume (w/ delay) step " + i + " - resume"); in testPauseResumeWithDelay() 94 Log.w(TAG, "Pause/Resume (no delay) step " + i + " - pause"); in testPauseResumeWithoutDelay() 98 Log.w(TAG, "Pause/Resume (no delay) step " + i + " - resume"); in testPauseResumeWithoutDelay()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | P2pBroadcastReceiverTest.java | 29 import android.util.Log; 89 Log.e(TAG, "Appropriate WIFI_P2P_PEERS_CHANGED_ACTION didn't occur"); in waitDeviceFound() 110 Log.e(TAG, "Appropriate WIFI_P2P_CONNECTION_CHANGED_ACTION didn't occur"); in waitConnectionNotice() 137 Log.e(TAG, "Appropriate WIFI_P2P_PEERS_CHANGED_ACTION didn't occur"); in waitPeerConnected() 170 Log.e(TAG, "Appropriate WIFI_P2P_PEERS_CHANGED_ACTION didn't occur"); in waitPeerDisconnected() 191 Log.e(TAG, "WIFI_P2P_CONNECTION_CHANGED_ACTION didn't occur"); in waitDisconnectionNotice() 201 Log.d(TAG, "WIFI_P2P_PEERS_CHANGED_ACTION"); in onReceive() 204 Log.d(TAG, "WIFI_P2P_CONNECTION_CHANGED_ACTION"); in onReceive() 215 Log.d(TAG, "onPeersAvailable()"); in onPeersAvailable()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecListTest.java | 26 import android.util.Log; 60 Log.d(TAG, "testComponentInstantiation"); in testComponentInstantiation() 66 Log.d(TAG, (i + 1) + ": " + info.getName()); in testComponentInstantiation() 67 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testComponentInstantiation() 74 Log.d(TAG, " skipping..."); in testComponentInstantiation() 88 Log.d(TAG, "testGetCapabilities"); in testGetCapabilities() 94 Log.d(TAG, (i + 1) + ": " + info.getName()); in testGetCapabilities() 95 Log.d(TAG, " isEncoder = " + info.isEncoder()); in testGetCapabilities() 102 Log.d(TAG, " skipping..."); in testGetCapabilities() 108 Log.d(TAG, "calling getCapabilitiesForType " + types[j]); in testGetCapabilities() [all …]
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 26 import android.util.Log; 149 Log.i(TAG, "FPS " + fps); in onDrawFrame() 159 Log.i(TAG, "Final FPS " + fps + " Num triangles " + numTriangles); in onDrawFrame() 287 Log.e(TAG, "Could not compile shader " + shaderType + ":"); in loadShader() 288 Log.e(TAG, GLES20.glGetShaderInfoLog(shader)); in loadShader() 317 Log.e(TAG, "Could not link program: "); in createProgram() 318 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram() 365 Log.e(TAG, op + ": glError " + error); in checkGlError() 414 Log.i(TAG, description + " time in secs: " + timePassedInSecs); in measureTime() 418 Log.i(TAG, "Vendor " + GLES20.glGetString(GLES20.GL_VENDOR)); in printGlInfos() [all …]
|
/cts/tests/SignatureTest/src/android/tests/sigtest/ |
D | SignatureTestLog.java | 19 import android.util.Log; 25 Log.e(TAG, msg, e); in e() 29 Log.d(TAG, msg); in d()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ContextCreationTest.java | 22 import android.util.Log; 67 Log.w(TAG, "Recreate (w/ delay) step " + i + " - pause"); in testCreationWithDelay() 81 Log.w(TAG, "Recreate (no delay) step " + i); in testCreationWithoutDelay() 95 Log.w(TAG, "Recreate multiview (no delay) step " + i + " - pause"); in testMultiviewCreationWithoutDelay()
|